You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
This lesson covers the equations and properties of straight lines, building on GCSE knowledge and extending it to A-Level standard as required by the Edexcel 9MA0 specification. You must be confident with gradient, different forms of the equation of a line, parallel and perpendicular lines, and finding equations from given information.
The gradient (slope) of a line through two points (x₁, y₁) and (x₂, y₂) is:
m = (y₂ − y₁) / (x₂ − x₁)
The gradient measures the rate of change of y with respect to x. A positive gradient means the line slopes upward from left to right; a negative gradient means it slopes downward.
Example: Find the gradient of the line through (2, 5) and (6, 13).
m = (13 − 5) / (6 − 2) = 8/4 = 2
This is often the most useful form when you know the gradient and one point on the line.
Example: Find the equation of the line with gradient 3 passing through (2, 7).
y − 7 = 3(x − 2) y − 7 = 3x − 6 y = 3x + 1
Any linear equation can be written in this form. It is useful when dealing with perpendicular lines and when the question asks for the answer "in the form ax + by + c = 0".
Example: Write y = 2x − 5 in general form.
2x − y − 5 = 0
The midpoint of the line segment joining (x₁, y₁) and (x₂, y₂) is:
M = ((x₁ + x₂)/2, (y₁ + y₂)/2)
d = √((x₂ − x₁)² + (y₂ − y₁)²)
Example: Find the distance between (1, 3) and (4, 7).
d = √((4 − 1)² + (7 − 3)²) = √(9 + 16) = √25 = 5
Two lines are parallel if and only if they have the same gradient.
If line 1 has gradient m₁ and line 2 has gradient m₂, then the lines are parallel when m₁ = m₂.
Two lines are perpendicular if and only if the product of their gradients is −1:
m₁ × m₂ = −1
Equivalently, m₂ = −1/m₁. The gradient of the perpendicular line is the negative reciprocal of the original gradient.
Example: A line has gradient 3/4. The gradient of any line perpendicular to it is −4/3.
Exam Tip: When asked to prove two lines are perpendicular, calculate both gradients and show their product is −1. Simply stating they "look perpendicular" on a sketch earns no marks.
Example: Find the equation of the line parallel to 2x + 3y = 6 that passes through (3, −1).
Step 1: Find the gradient of 2x + 3y = 6. Rearrange: y = −(2/3)x + 2, so m = −2/3.
Step 2: Parallel line has the same gradient: m = −2/3.
Step 3: Use point-gradient form: y − (−1) = (−2/3)(x − 3) y + 1 = (−2/3)x + 2 y = (−2/3)x + 1
Example: Find the equation of the perpendicular bisector of the line segment joining A(1, 4) and B(5, 2).
Step 1: Midpoint of AB = ((1+5)/2, (4+2)/2) = (3, 3).
Step 2: Gradient of AB = (2 − 4)/(5 − 1) = −2/4 = −1/2.
Step 3: Gradient of perpendicular = −1/(−1/2) = 2.
Step 4: Equation: y − 3 = 2(x − 3), so y = 2x − 3.
| Term | Definition |
|---|---|
| Gradient | The rate of change of y with respect to x; the slope of a line |
| y-intercept | The y-coordinate where the line crosses the y-axis |
| Perpendicular bisector | A line that is perpendicular to a given segment and passes through its midpoint |
| Negative reciprocal | If m is the gradient, the negative reciprocal is −1/m |
| Collinear | Points that lie on the same straight line |
Edexcel 9MA0 Pure Mathematics specification, section 4 (Coordinate geometry in the (x, y) plane), sub-strand 4.1 — straight lines covers the equation of a straight line, including the forms y−y1=m(x−x1) and ax+by+c=0; gradient conditions for two straight lines to be parallel or perpendicular; be able to use straight line models in a variety of contexts (refer to the official specification document for exact wording). Although 4.1 is a Year 1 sub-strand, straight-line technique is examined synoptically across 9MA0-01 and 9MA0-02 Pure papers and threads through 9MA0-03 Statistics and Mechanics. Straight-line content surfaces in:
The Edexcel formula booklet does not list the gradient, midpoint or distance formulae — they must be memorised. The booklet does list the equation of a circle, but the line-circle interaction (tangents, chords, perpendicular bisectors) requires confident straight-line manipulation.
Question (8 marks):
The points A(−2,1), B(4,5) and C(6,−3) are the vertices of a triangle.
(a) Find an equation of the perpendicular bisector of AB, giving your answer in the form ax+by+c=0 where a, b, c are integers. (4)
(b) The perpendicular bisector of AB meets the line AC at the point D. Find the coordinates of D. (2)
(c) Hence find the exact area of triangle ABD. (2)
Solution with mark scheme:
(a) Step 1 — find the midpoint of AB.
MAB=(2−2+4,21+5)=(1,3)
M1 — correct application of the midpoint formula. Common error: candidates compute 2x2−x1 instead of 2x1+x2, confusing midpoint with half-difference. That loses both M1 and the downstream A1.
Step 2 — find the gradient of AB.
mAB=4−(−2)5−1=64=32
M1 — gradient calculation. Examiners explicitly check the sign of the run x2−x1; writing −2−45−1=−32 is a sign-direction slip that propagates through the whole question.
Step 3 — gradient of the perpendicular bisector.
The perpendicular gradient is the negative reciprocal: m⊥=−2/31=−23.
M1 — correct negative reciprocal. The classic A-vs-A* slip: writing +23 (forgetting the negation) or −32 (forgetting the reciprocation).
Step 4 — assemble the equation through MAB=(1,3) with gradient −23.
y−3=−23(x−1)
Multiply through by 2: 2y−6=−3(x−1)=−3x+3, hence 3x+2y−9=0.
A1 — final answer in the requested integer form 3x+2y−9=0. The question's "ax+by+c=0 where a, b, c are integers" is a binding format instruction; leaving the answer as y=−23x+29 loses the A1 even though it is mathematically equivalent.
(b) Step 1 — equation of AC. Gradient mAC=6−(−2)−3−1=8−4=−21. Through A(−2,1): y−1=−21(x+2), i.e. y=−21x.
M1 — correct equation of AC.
Step 2 — solve simultaneously with 3x+2y−9=0. Substitute y=−21x: 3x+2(−21x)−9=0⟹3x−x−9=0⟹2x=9⟹x=29. Hence y=−49.
A1 — D=(29,−49).
(c) Step 1 — base. ∣AB∣=(4−(−2))2+(5−1)2=36+16=52=213.
Step 2 — perpendicular height. Because D lies on the perpendicular bisector of AB, the height of the triangle is ∣MABD∣.
∣MABD∣=(29−1)2+(−49−3)2=449+16441=16196+441=16637=4713
M1 — recognising that MABD is the perpendicular height because D lies on the perpendicular bisector. This is the AO2 reasoning step that distinguishes this question.
Area =21⋅213⋅4713=47⋅13=491.
A1 — exact area 491 square units.
Total: 8 marks (M5 A3 split as shown).
Question (6 marks): The line ℓ1 has equation 3x−2y+4=0. The line ℓ2 passes through the point P(5,1) and is perpendicular to ℓ1.
(a) Find an equation of ℓ2, giving your answer in the form y=mx+c. (3)
(b) The lines ℓ1 and ℓ2 intersect at Q. Find the exact distance PQ. (3)
Mark scheme decomposition by AO:
(a)
(b)
Total: 6 marks split AO1 = 4, AO2 = 1, AO3 = 1. Straight-line questions on Paper 1 are AO1-dominated, but the simultaneous-equation step in (b) crosses into AO2 (selecting strategy) and the final exact-form distance into AO3 (synthesising techniques across the question).
Connects to:
Section 7 — Differentiation (tangents and normals): the tangent to y=f(x) at x=a is the straight line y−f(a)=f′(a)(x−a). The normal at the same point has gradient −1/f′(a) and is constructed by the same point-gradient template you use in 4.1. Every "find the equation of the tangent / normal" question in 9MA0-01 collapses into a straight-line problem once the gradient f′(a) has been computed.
Section 4.2 — Circles (tangent perpendicular to radius): if a circle has centre C and a tangent touches it at T, then the tangent is perpendicular to CT. Computing the tangent's equation requires the negative-reciprocal of the radius gradient — exactly the construction in 4.1.
Section 12 — Vectors (line in vector form): the line through point a with direction b has vector equation r=a+tb for scalar parameter t. Eliminating t between the components recovers the Cartesian form y−y1=m(x−x1) where the gradient m is the ratio of the components of b.
Mechanics — kinematics with constant acceleration: on a velocity-time graph, motion under constant acceleration produces a straight line whose gradient is the acceleration and whose y-intercept is the initial velocity. The equation v=u+at is exactly y=mx+c with relabelled axes.
Statistics — linear regression: the least-squares regression line of y on x, y=a+bx, is a straight-line model fitted to data. The gradient b is interpreted as the rate of change of the response variable, and the line passes through (xˉ,yˉ) — a direct application of point-gradient form in a statistical context.
Straight-line questions on 9MA0 split AO marks as follows:
| AO | Typical share | Earned by |
|---|---|---|
| AO1 (knowledge / procedure) | 60–75% | Computing gradients, applying point-gradient form, rearranging to general form, finding midpoints and distances |
| AO2 (reasoning / interpretation) | 15–30% | Recognising when to use perpendicular bisectors, justifying perpendicularity via m1m2=−1, presenting answers in requested form |
| AO3 (problem-solving) | 5–15% | Multi-stage problems combining intersection points, areas of triangles from coordinates, and modelling contexts (kinematics, regression) |
Examiner-rewarded phrasing: "the gradient of the line AB is mAB=x2−x1y2−y1"; "since m1m2=−1, the lines are perpendicular"; "in the form ax+by+c=0 where a, b, c are integers, multiplying through by the lowest common denominator". Phrases that lose marks: stating "the line looks parallel" without computing gradients; writing "perpendicular gradient is 1/m" (forgetting the minus sign); leaving fractional coefficients when integer form is requested.
A specific Edexcel pattern to watch: questions that ask for the answer "in the form ax+by+c=0" do not accept y=mx+c even if numerically equivalent. Conversely, questions that say "find the equation of the line" with no format specified accept either form, but A* presentation always picks the form that produces integer coefficients where possible.
Question: A line passes through the points P(2,−3) and Q(8,9). Find an equation of the line in the form y=mx+c.
Grade C response (~210 words):
The gradient is m=8−29−(−3)=612=2.
Using y−y1=m(x−x1) with P(2,−3):
y−(−3)=2(x−2) y+3=2x−4 y=2x−7
So the equation is y=2x−7.
Examiner commentary: Full marks (3/3). The candidate computes the gradient cleanly using the difference quotient with the correct sign convention (the y2−y1=9−(−3)=12 step is the place where Grade D candidates typically slip by writing 9−3=6 and getting m=1). Point-gradient substitution is correct, the −(−3)=+3 is handled without error, and the rearrangement to y=mx+c form is presented neatly. Working is brief but every step is verifiable. This is the model Grade C answer for a procedural straight-line question — efficient, correct, and presented in the requested form. Many candidates lose marks here by leaving the answer as y+3=2x−4 without the final tidy-up to y=mx+c form, which the question explicitly demands.
Grade A response (~260 words):*
I will use the gradient formula and then point-gradient form to construct the equation.
Gradient: m=x2−x1y2−y1=8−29−(−3)=612=2.
Point-gradient form through P(2,−3) with m=2:
y−(−3)=2(x−2) y+3=2x−4 y=2x−7
Verification: substitute Q(8,9): y=2(8)−7=16−7=9. \checkmark
So the equation is y=2x−7 in the form y=mx+c with m=2 and c=−7.
Examiner commentary: Full marks (3/3). Beyond procedural correctness, the candidate explicitly states the gradient formula in symbolic form before substituting numbers — a habit that signals AO1 fluency and protects against transcription errors. The chosen point is named (P rather than just "(2, -3)"), the algebra is laid out in display form rather than a single squashed line, and the final answer is verified by substituting the other point Q — a self-check that takes 5 seconds and catches arithmetic slips. Identifying m and c explicitly closes the loop with the question stem ("in the form y=mx+c"). This is examination craft: the candidate scores the same 3 marks as the Grade C response but demonstrates the discipline that on harder, multi-step questions would protect a string of A1 marks.
Question: The points A(1,2), B(7,4) and C(5,10) form a triangle.
(a) Show that AC is perpendicular to AB. (2)
(b) Find the exact area of triangle ABC. (4)
Grade B response (~290 words):
(a) Gradient of AB: 7−14−2=62=31.
Gradient of AC: 5−110−2=48=2.
Product: 31×2=32. So they are not perpendicular.
(b) Using the distance formula: ∣AB∣=36+4=40 ∣AC∣=16+64=80
Area =21∣AB∣×∣AC∣=214080=213200=21⋅402=202.
Examiner commentary: Part (a) earns 1/2: gradients are correctly computed but the candidate concludes "not perpendicular" — a critical AO2 error. The product 31×2=32, not −1, so the candidate's arithmetic is right but the perpendicular condition is misapplied. The correct conclusion is that the gradient of AC should be the negative reciprocal of 31, namely −3, not 2. So AC is not perpendicular to AB — but the candidate has reached this conclusion by the wrong route. In part (b), the candidate has assumed the triangle is right-angled at A (using 21∣AB∣∣AC∣), which is a consequence of the question's premise that the candidate failed to verify. Award 2/4 method marks. Total: 3/6. The slip is symptomatic of Grade B work: arithmetic competence without the AO2 alertness to verify that the perpendicularity premise actually holds before exploiting it.
Grade A response (~370 words):*
(a) Gradient of AB: mAB=7−14−2=62=31.
Gradient of AC: mAC=5−110−2=48=2.
Product: mAB⋅mAC=31⋅2=32.
Since mAB⋅mAC=−1, the lines AB and AC are not perpendicular. The question's claim is false as stated, so I will instead compute the area directly without assuming a right angle.
(b) Using the determinant area formula for a triangle with vertices (x1,y1), (x2,y2), (x3,y3):
Area=21∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣
Substituting A(1,2), B(7,4), C(5,10):
Area=21∣1(4−10)+7(10−2)+5(2−4)∣=21∣−6+56−10∣=21(40)=20
So the exact area is 20 square units.
Examiner commentary: This response would score full marks if the question's premise were correct, but it isn't — the candidate has spotted that mAB⋅mAC=32=−1 and refused to proceed with a false assumption. In a real exam, this would be flagged as an apparent error in the question; under the actual mark scheme as written above (6 marks), the candidate would score 2/2 in (a) for correctly identifying non-perpendicularity, and 4/4 in (b) for using the determinant area formula — a technique that bypasses the need for a right angle entirely. The phrase "I will instead compute the area directly without assuming a right angle" is exactly the kind of metacognitive disclosure that examiners reward when a student notices a question premise has failed and adapts. The determinant formula is not in the formula booklet but is a recognised A* technique. Total: 6/6.
Question: The line ℓ has equation 2x+3y−12=0.
(a) Find the coordinates of the points A and B where ℓ meets the x-axis and y-axis respectively. (2)
(b) Find the perpendicular distance from the origin O to the line ℓ, giving your answer in exact form. (4)
(c) Hence find the exact area of triangle OAB and verify it equals 21∣AB∣⋅d, where d is the perpendicular distance from O to ℓ. (3)
Grade A response (~410 words):*
(a) Setting y=0: 2x−12=0⟹x=6, so A=(6,0). Setting x=0: 3y−12=0⟹y=4, so B=(0,4).
(b) The foot of the perpendicular from O to ℓ lies on the line through O perpendicular to ℓ. Rearranging 2x+3y−12=0 to y=−32x+4 gives gradient −32. The perpendicular through O has gradient 23, equation y=23x.
Solving simultaneously: 23x=−32x+4⟹69x+64x=4⟹613x=4⟹x=1324, hence y=1336. The foot of the perpendicular is F=(1324,1336).
Distance d=∣OF∣=(1324)2+(1336)2=13576+1296=131872=131213.
This matches the standard formula d=22+32∣2(0)+3(0)−12∣=1312=131213. \checkmark
(c) Area of OAB using base-height with right angle at O: area =21⋅∣OA∣⋅∣OB∣=21⋅6⋅4=12 square units.
Verification using 21∣AB∣d: ∣AB∣=36+16=52=213, so 21⋅213⋅131213=1312⋅13=12. \checkmark
The two formulae agree, confirming the area is 12 square units.
Examiner commentary: Full marks (9/9). Part (a) is procedural (2/2). Part (b) earns 4/4 by computing the perpendicular distance two ways — first by finding the foot of the perpendicular explicitly (the long route, demonstrating understanding), then verifying via the standard point-to-line distance formula d=∣ax0+by0+c∣/a2+b2 (the short route, demonstrating fluency). The dual computation is an A* signature: it shows that the candidate doesn't merely apply a memorised formula but understands why it works. Part (c) earns 3/3 by computing the area in the natural way (right-angled triangle at the origin) and then verifying the alternative 21∣AB∣d formulation — closing the synoptic loop between elementary geometry and the perpendicular-distance machinery. The exact-form answers (131213 rationalised, 213 extracted) are presented to specification.
The errors that distinguish A from A* on straight-line questions:
Sign error in the negative reciprocal. The perpendicular gradient is −m1, not m1 and not −m. Forgetting the negation produces a parallel line; forgetting the reciprocation produces a line at a non-perpendicular angle. The most common slip is to compute m=32 and write the perpendicular as −32 instead of −23.
Confusing parallel and perpendicular conditions. Parallel: m1=m2. Perpendicular: m1m2=−1. Candidates who write "perpendicular when m1=−m2" or "parallel when m1m2=1" are conflating the two; the latter holds only when m1=m2=±1.
Mixing up midpoint and distance formulae. Midpoint: (2x1+x2,2y1+y2) — sum divided by 2. Distance: (x2−x1)2+(y2−y1)2 — difference squared, summed, square-rooted. The two share the same input variables but combine them inversely. Writing (2x2−x1,2y2−y1) for the midpoint is a frequent slip.
Leaving non-simplified gradient fractions. A gradient computed as 612 should be written as 2, not left as a fraction. Examiners deduct A marks for "unsimplified" final answers, especially when the gradient feeds into a subsequent perpendicular calculation where the unsimplified form risks further error.
Forgetting "in the form ax+by+c=0". A binding format instruction. Candidates who leave the answer as y=−23x+29 when integer-coefficient general form is requested lose the final A1, even though the line itself is correct. Always multiply through by the LCM of denominators to clear fractions.
Incorrect handling of negative coordinates in midpoint and gradient. With points like A(−2,1) and B(4,−3), the gradient is 4−(−2)−3−1=6−4=−32. Bracket the negatives explicitly: y2−y1=(−3)−(1)=−4 and x2−x1=(4)−(−2)=6. Skipping the brackets produces sign errors that examiners flag as "lack of bracketing".
Assuming perpendicular bisector passes through one of the two endpoints. The perpendicular bisector of segment AB passes through the midpoint of AB, not through A or B. Candidates who substitute A instead of the midpoint into point-gradient form produce a line with the right gradient but the wrong intercept — a single-mark slip that propagates through any downstream intersection question.
A handful of presentation slips repeatedly cost candidates marks on Paper 1 straight-line questions. They are about discipline, not technique.
Straight-line geometry at A-Level is the entry point to several undergraduate trajectories:
Oxbridge interview prompt: "Two lines in the plane are given by y=m1x+c1 and y=m2x+c2. Derive the angle θ between them in terms of m1 and m2. What goes wrong when one of the lines is vertical, and how would you handle that case?"
An elegant A* technique that bypasses gradient calculations: three points A(x1,y1), B(x2,y2), C(x3,y3) are collinear if and only if the area of the triangle they form is zero. Using the shoelace-style determinant:
Area=21∣x1(y2−y3)+x2(y3−y1)+x3(y1−y2)∣
Setting this to zero gives the collinearity condition.
Worked example: Show that the points P(1,2), Q(4,8) and R(7,14) are collinear, and find the equation of the line through them.
Method 1 (gradient comparison): mPQ=4−18−2=2. mQR=7−414−8=2. Since mPQ=mQR and they share point Q, the points are collinear.
Method 2 (area determinant): Substitute into the area formula:
Area=21∣1(8−14)+4(14−2)+7(2−8)∣=21∣−6+48−42∣=21(0)=0
The area is zero, confirming collinearity.
Equation of the line: through P(1,2) with gradient 2: y−2=2(x−1), hence y=2x.
Why A candidates value the determinant approach:* the gradient method requires two separate gradient calculations and a comparison; the determinant compresses the test into a single evaluation. More importantly, the determinant generalises directly to signed area (the absolute-value bars come off), which is the correct tool when the orientation of the triangle matters — for example in vector cross products, in computing whether a point is to the left or right of a directed line, and in the winding-number tests used in computational geometry. Recognising the determinant pattern in A-Level builds the muscle memory that makes the linear-algebra determinant feel natural in a Year 1 course.
A subtlety: the signed area is positive if the points are listed counter-clockwise and negative if clockwise. In A-Level questions you take the absolute value; in computational geometry and physics you keep the sign because it encodes orientation.
This content is aligned with the Pearson Edexcel GCE A Level Mathematics (9MA0) specification, Paper 1 — Pure Mathematics, Section 4: Coordinate geometry. For the most accurate and up-to-date information, please refer to the official Pearson Edexcel specification document.
graph TD
A["Two points<br/>(x1,y1), (x2,y2)"] --> B["Compute gradient<br/>m = (y2-y1)/(x2-x1)"]
B --> C{"What does the<br/>question want?"}
C -->|"Equation of<br/>this line"| D["Point-gradient form<br/>y - y1 = m(x - x1)"]
C -->|"Parallel line<br/>through new point"| E["Same gradient m<br/>+ new point"]
C -->|"Perpendicular line<br/>through new point"| F["Negative reciprocal<br/>m_perp = -1/m"]
C -->|"Perpendicular<br/>bisector"| G["Midpoint M<br/>+ gradient -1/m"]
D --> H{"Required form?"}
E --> H
F --> H
G --> H
H -->|"y = mx + c"| I["Rearrange to<br/>slope-intercept"]
H -->|"ax + by + c = 0"| J["Clear fractions,<br/>integer coefficients"]
I --> K["Verify by substituting<br/>a known point"]
J --> K
style F fill:#e74c3c,color:#fff
style G fill:#9b59b6,color:#fff
style J fill:#27ae60,color:#fff
style K fill:#3498db,color:#fff