2.3.6 · D3Coordinate Geometry

Worked examples — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

2,424 words11 min readBack to topic

The scenario matrix

Below is the full list of case classes a line-equation question can belong to. Every worked example below is tagged with which cell it fills, so you can see the coverage is complete.

Cell Case class Covered by
A Positive slope, point–slope → all forms Ex 1
B Negative slope, line falling to the right Ex 2
C Two given points (slope computed) Ex 3
D Zero slope — horizontal line Ex 4
E Undefined slope — vertical line Ex 4
F Standard form → read slope & both intercepts Ex 5
G Sign trap: in Ex 6
H Fractional / negative intercepts, all-quadrant sketch Ex 7
I Real-world word problem (units matter) Ex 8
J Limiting behaviour: slope → steeper → vertical Ex 9
K Exam twist: unknown coefficient from a condition Ex 10

Notice cells D and E — the flat wall and the vertical wall — are exactly the two that break the friendly machine. We give them their own example so you never get stuck.


Example 1 — Positive slope, build all four forms (Cell A)

Step 1 — Point–slope. Substitute and into the parent form : Why this step? Point–slope is the one form that needs only a point and a slope — exactly what we were handed, so no computation is wasted.

Step 2 — Slope–intercept. Distribute and isolate : Why this step? Expanding the bracket turns the point form into the machine form , exposing the -intercept .

Step 3 — Standard form. Move everything to one side and clear the fraction (multiply by ): Why this step? Standard form wants integer coefficients with on the right; multiplying by removes the halves.

Leaning: , so the line climbs as you move right. Look at the amber line in the figure below.

Figure — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

Example 2 — Negative slope, line falling to the right (Cell B)

Step 1 — Point–slope, then expand. Why this step? Same parent form; the only new thing is that the slope is negative, so distributing flips the sign of every term inside the bracket. Watch that carefully — dropping a minus here is the #1 error.

Step 2 — -intercept. The -intercept is where the line meets the -axis, i.e. where : Why this step? "On the -axis" means height zero, so we set and solve. This is the same trick you'll reuse in Distance of a point from a line.

Because , the line falls to the right (cyan line, figure).

Figure — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

Example 3 — Two given points (Cell C)

Step 1 — Compute the slope. Using with as point 1, as point 2: Why this step? Two points don't hand us the slope directly, so we must build it first — this is the only extra work two-point problems carry.

Step 2 — Point–slope with either point. Use : Why this step? Once is known, a two-point problem becomes a point–slope problem — no new formula needed.


Example 4 — The two walls: horizontal and vertical (Cells D and E)

Step 1 — Horizontal line (slope ). Every point on a horizontal line shares the same height. That height is , so: Why this step? Slope ; plug into and is left. No survives — height never changes.

Step 2 — Vertical line (slope undefined). Every point shares the same -coordinate, : Why this step? Here the "run" is , so is division by zero — undefined. That's precisely why fails and standard form (here ) must be used. See Straight line as a first-degree equation for why still counts as a genuine line.

Figure — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

Example 5 — Standard form → read off slope and both intercepts (Cell F)

Step 1 — Solve for to expose the slope. So and -intercept , i.e. . Why this step? Turning the equation back into is the surest way to see the slope — no memorised sign to trust.

Step 2 — -intercept. Set in the original: Why this step? -intercept always means ; using the original equation avoids fraction juggling.


Example 6 — The sign trap when is negative (Cell G)

Step 1 — Apply the formula carefully. Here , : Why this step? The two minus signs (the formula's minus and the negative ) cancel. Rushing gives a wrong negative answer.

Step 2 — Cross-check by solving for . Slope . Agrees. Why this step? When a sign feels risky, solving for is the referee. It never lies about the slope.


Example 7 — Fractional intercepts, drawing across quadrants (Cell H)

Step 1 — -intercept. Set : , point . Why this step? In , the constant is the -intercept — read it, don't compute it.

Step 2 — -intercept. Set : Why this step? Two points and are enough to draw the whole line.

Step 3 — Quadrant tour. With and both intercepts negative, the line passes through quadrant II (upper-left, near ), quadrant III (lower-left), and quadrant IV (lower-right). It never touches quadrant I. Why this step? Covering all four quadrants is the "every scenario" discipline — you should always be able to say where a line does and does not go.

Figure — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

Example 8 — Real-world word problem (units matter) (Cell I)

Step 1 — Match the story to . The fare rises by a fixed amount per km — that "per km" rate is the slope: ₹/km. The starting charge at is the intercept: ₹. So: Why this step? "Fixed amount per unit" is the plain-English definition of slope; "value when the input is zero" is the plain-English definition of intercept. Word problems are just wearing a costume.

Step 2 — Evaluate at . Why this step? The question asks for a specific fare, so we feed the specific distance into the machine.

Units check: . The dimensions balance — the answer is genuinely money. The ₹40 is the ==-intercept==: the fare you pay for km (just for getting in).


Example 9 — Limiting behaviour: slope grows toward vertical (Cell J)

Step 1 — Interpret growing slope geometrically. Slope is , where is the angle with the positive -axis (from Slope of a line). Big means big , which pushes toward : Why this step? We use because it converts a ratio (rise/run) into an angle, and angles make "approaching vertical" precise.

Step 2 — The limit. As , : the lines crowd toward the vertical line (the -axis). But a truly vertical line has undefined slope, so it can never be — it is the standard-form line . Why this step? This shows why standard form is not optional: it is the only form that survives the limit. The vertical line is the "point at infinity" of the slope family.

Figure — Equations of a line — slope-intercept, point-slope, two-point, standard (ax+by+c=0)

Example 10 — Exam twist: find the unknown coefficient (Cell K)

Step 1 — Use "the point lies on the line". A point on a line satisfies its equation. Substitute : Why this step? "Passes through" is the whole hint — it turns the geometric condition into an algebra equation for .

Step 2 — Slope of the now-complete line. With : , so : Why this step? Once is known the line is ordinary standard form, and finishes it. This is the same skill you'll need for Parallel and perpendicular lines, where a condition on pins down an unknown coefficient.


One-line recap of the coverage

Recall Did we really hit every cell?

A ::: Ex 1 (positive slope, all forms) B ::: Ex 2 (negative slope, falling line) C ::: Ex 3 (two points → slope first) D ::: Ex 4a (horizontal, slope 0) E ::: Ex 4b (vertical, undefined slope) F ::: Ex 5 (standard → slope + both intercepts) G ::: Ex 6 (sign trap with negative ) H ::: Ex 7 (fractional intercepts, all quadrants) I ::: Ex 8 (word problem with units) J ::: Ex 9 (limit toward vertical) K ::: Ex 10 (unknown coefficient from a condition)


Connections

  • Parent topic — the four forms
  • Slope of a line — every example above starts by nailing .
  • Angle between two lines — Ex 9's view feeds directly into this.
  • Parallel and perpendicular lines — Ex 10's "find the unknown" trick generalises here.
  • Distance of a point from a line — uses the standard form we build in Ex 1, 4, 5, 6, 10.
  • Intercept form of a line — Ex 5 and Ex 7's intercepts lead into .
  • Straight line as a first-degree equation — why even (Ex 4) is a legitimate line.