POPStudying

Pearson Edexcel 4MA1 IGCSE  ·  Topic G5.15

G5.15 The Equation of a Straight Line

Image  ·  914 × 270

01 — Explanation

What do m and c represent in y=mx+c?

In y=mx+cy=mx+c: mm is the gradient (steepness), and cc is the yy-intercept — the point (0,c)(0,c) where the line crosses the yy-axis (since every point on the yy-axis has x=0x=0). Everything in this topic comes down to finding these two values.

02 — Explanation

How do I find m and c if the equation isn't already in that form?

Rearrange to isolate yy. Example: find m,cm,c for 3x+2y−6=03x+2y-6=0.

  1. 2y=−3x+62y=-3x+6
  2. y=−32x+3y=-\tfrac32x+3

So m=−32m=-\tfrac32, c=3c=3.

Exam Tip

A frequent error is reading off mm and cc before fully dividing every term by the coefficient of yy — always complete the division across the whole equation first.

03 — Explanation

How do I find the equation from a graph?

  1. Read cc directly: where the line crosses the yy-axis.
  2. Pick two clear grid-intersection points and calculate m=riserunm=\dfrac{\text{rise}}{\text{run}}, checking the sign against the direction of slope.
  3. Substitute mm and cc into y=mx+cy=mx+c.

If the yy-intercept isn't visible or isn't an integer, find mm from two other clear points first, then substitute one of those points into y=mx+cy=mx+c to solve for cc algebraically.

04 — Explanation

How do I find the equation from a gradient and one point, or from two points?

Gradient + one point: substitute the gradient for mm, then substitute the point's coordinates to solve for cc.

Two points: first calculate m=y2−y1x2−x1m=\dfrac{y_2-y_1}{x_2-x_1}, then proceed exactly as above using either point.

Example: Line through (−1,6)(-1,6) and (5,−4)(5,-4).

  1. m=−4−65−(−1)=−106=−53m=\dfrac{-4-6}{5-(-1)}=\dfrac{-10}{6}=-\dfrac53
  2. Substitute (5,−4)(5,-4): −4=−53(5)+c⇒−4=−253+c⇒c=133-4=-\dfrac53(5)+c \Rightarrow -4=-\dfrac{25}{3}+c \Rightarrow c=\dfrac{13}{3}

Equation: y=−53x+133y=-\dfrac53x+\dfrac{13}{3}.

Exam Tip

Either of the two given points will produce the same final equation — pick whichever has the simpler numbers to substitute.

05 — Explanation

What are the special cases, and the parallel/perpendicular rules?

  • Horizontal line: y=cy=c (gradient 00).
  • Vertical line: x=kx=k (gradient undefined — a mnemonic: Horizontal → 0 → Y=c; Vertical → Undefined → X=k).
  • Parallel lines: same gradient.
  • Perpendicular lines: gradients multiply to −1-1 (negative reciprocal).

Worked Example

Points B(4,5)B(4,5) and D(−2,−1)D(-2,-1) define segment BDBD. Find the equation of its perpendicular bisector, NN.

  1. Gradient of BDBD: mBD=5−(−1)4−(−2)=66=1m_{BD}=\dfrac{5-(-1)}{4-(-2)}=\dfrac{6}{6}=1.
  2. Perpendicular gradient: mN=−1m_N=-1.
  3. Midpoint of BDBD: (4+(−2)2,5+(−1)2)=(1,2)\left(\dfrac{4+(-2)}{2},\dfrac{5+(-1)}{2}\right)=(1,2).
  4. Substitute into y=−x+cy=-x+c: 2=−1+c⇒c=32=-1+c \Rightarrow c=3.

Equation of NN: y=−x+3y=-x+3.

Exam Tip

"Perpendicular bisector" packs in two separate instructions — perpendicular (use the negative reciprocal gradient) and bisector (pass through the midpoint). Missing either half loses marks even with correct arithmetic elsewhere.

06 — Explanation

How do I check my final equation is actually correct?

Substitute both of your original coordinate points back into your final equation — each one should make the equation balance. This simple habit catches almost every slip in the gradient or the cc-value before you move on, and takes only a few seconds compared to the marks it protects. It's especially worth doing on multi-step problems (like the perpendicular bisector above), where an error in an early step — the gradient of BDBD, say — would otherwise silently propagate through the rest of the working undetected.