Module 16 of 46Lesson 1 of 12 · AA 2.1 — Equations of straight lines
Course map · Topic 2: Functions

2.1 Equations of straight lines

SL & HL11 worked questions

Straight lines are the simplest graphs, and they appear everywhere in AA: tangents and normals in calculus, perpendicular bisectors in geometry, linear models in context. You must be able to find a line's equation quickly and exactly, by hand.

✏️ Start with the questions. Try each one on paper, then open the solution and compare.
Stuck? Open the notes ↓

✏️ Practice questions

Try each question on paper first. Then open the solution and compare every step.

Question 1●○○ Warm-up✍️ By hand · Paper 1 · no calculator[4 marks]
The points and lie on a straight line .
  1. (a) Find the gradient of .[2]
  2. (b) Find the equation of in the form .[2]
Show the full step-by-step solution
Step 1🧠 ThinkWhat is a gradient?
The gradient tells us how much goes up when goes up by 1. We find it from two points: “change in ” divided by “change in ”.
Part (a)
Step 1✍️ By handRise over run
M1
A1
Part (b)
Step 1🧠 ThinkUse one point to find c
We know . Every point on the line fits this equation, so put in : , .
Step 2✍️ By handSubstitute A
M1
A1
✅ Check it Check with : . ✔ Both points fit.
Final answer (a)   (b)
Question 2●○○ Warm-up✍️ By hand · Paper 1 · no calculator[4 marks]
The line has equation .
  1. (a) Find the gradient of .[2]
  2. (b) Find the coordinates of the points where meets the -axis and the -axis.[2]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkMake y the subject
The gradient is the number in front of only when the equation looks like . So first we get on its own.
Step 2✍️ By handRearrange
M1
gradient A1
Part (b)
Step 1🧠 ThinkAxis crossings
On the -axis, . On the -axis, . Put each zero into the original equation.
Step 2✍️ By handPut x = 0, then y = 0
, so A1
, so A1
Final answer (a)   (b) and
⚠️ Common mistake Saying the gradient is 3 (the coefficient of ) or . Rearrange carefully.
Question 3●○○ Warm-up✍️ By hand · Paper 1 · no calculator[4 marks]
The line has equation . The line is perpendicular to and passes through . Find the equation of , giving your answer in the form where .
Show the full step-by-step solution
Step 1🧠 ThinkPerpendicular means “flip and change the sign”
Perpendicular lines meet at a right angle. Their gradients multiply to . The gradient of is ; flip it to and change the sign to .
Step 2✍️ By handGradient of L₂
A1
Step 3✍️ By handPoint–gradient form, then clear the fraction
M1
  (multiply both sides by 2)
A1A1
✅ Check it Put in : . ✔ And . ✔
Final answer (or any integer multiple)
Question 4●●○ Standard✍️ By hand · Paper 1 · no calculator[3 marks]
Show that the points , and lie on the same straight line.
Show the full step-by-step solution
Step 1🧠 ThinkWhat does “collinear” need?
Three points lie on one line if the slope from to is the same as the slope from to . Because both pieces share the point , equal gradients means they are the same line, not two parallel lines.
Step 2✍️ By handTwo gradients
M1A1
and is a common point, so , , are collinearR1 AG
💡 Remember In a “show that” question the last line must state the conclusion in words. Mentioning the common point is what earns the reasoning mark.
Final answer and the lines share , so the points are collinear.
Question 5●●○ Standard✍️ By hand · Paper 1 · no calculator[5 marks]
Consider the lines and , where .
  1. (a) Find the value of for which and are parallel.[2]
  2. (b) Find the value of for which and are perpendicular.[3]
Show the full step-by-step solution
Step 1🧠 ThinkGet both gradients first
Write each line as . The gradient of will contain ; then we set up an equation for .
Step 2✍️ By handGradients
A1
Part (a)
Step 1✍️ By handParallel: equal gradients
A1
Part (b)
Step 1✍️ By handPerpendicular: product = −1
M1
A1
✅ Check it With : , , product . ✔
Final answer (a)   (b)
Question 6●●○ Standard✍️ By hand · Paper 1 · no calculator[5 marks]
The points and are the ends of a line segment. Find the equation of the perpendicular bisector of , giving your answer in the form where .
Show the full step-by-step solution
Step 1🧠 ThinkTwo words, two facts
“Bisector” = it cuts exactly in half, so it passes through the midpoint. “Perpendicular” = it meets at a right angle, so its gradient is the negative reciprocal of .
Step 2✍️ By handMidpoint and gradient of PQ
A1
A1
perpendicular gradient M1
Step 3✍️ By handEquation through M(1, 1)
A1A1
✅ Check it Every point on a perpendicular bisector is the same distance from and . Try : distance to is , to is . ✔
Final answer
Question 7●●○ Standard✍️ + 🖩 · Paper 2[4 marks]
Find the coordinates of the point of intersection of the lines and .
Show the full step-by-step solution
Step 1🧠 ThinkWhere two lines cross
The crossing point is on both lines, so its and fit both equations at the same time. On Paper 2 the quickest safe route is the GDC: graph both lines and use Intersection.
Step 2🖩 On the GDCRewrite as y = …, graph, then Intersection
ctrl+doc💻 Ctrl+I›tab💻 Tab›(12-2x)/3›enter💻 Enter›tab💻 Tab›0.8x-1.5›enter💻 Enter›menu💻 click menu on keypad›6: Analyze Graph›4: Intersection
The Graphs page only accepts , so becomes . In Intersection click to the left of the crossing (lower bound), then to the right (upper bound).
1.1*DocRAD⚡1Actions▣2View✎3Graph Entry/Edit⌕4Window / Zoom⌇5Trace⌕6Analyze Graph▦7Table△8Geometry⚙9Settings...1Zero2Minimum3Maximum4Intersection5dy/dx6Integral7Bounded Area8Analyze Conics
menu → 6: Analyze Graph → 4: Intersection
1.11.2*DocRAD-286-4xy11f1(x)=12−2·x3f2(x)=0.8·x−1.5(3.75, 1.5)
Intersection: (3.75, 1.5)
Step 3🖩 On the GDCOr: simult( on a Calculator page
simult([[2,3][0.8,-1]],[[12][1.5]])›enter💻 Enter
📍 Where to find it on the TI-Nspire
simult(is inmenu💻 click menu on keypad›7: Matrix & Vector›6: Simultaneous
Write both as : and . The first matrix holds the coefficients, the second the right-hand sides.
1.1*DocRADsimult230.8-1,121.53.751.5
x = 3.75, y = 1.5
Step 4✍️ By handBy hand (to check)
M1
A1
Final answer
Question 8●●○ Standard🖩 GDC · Paper 2[5 marks]
Water drains from a tank at a constant rate. After 4 minutes the tank holds 1350 litres; after 10 minutes it holds 870 litres. Let be the volume in litres after minutes.
  1. (a) Find an equation for in terms of .[3]
  2. (b) Write down the volume at .[1]
  3. (c) Find the time at which the tank is empty.[1]
Show the full step-by-step solution
Step 1🧠 ThinkConstant rate = straight line
A constant rate means a straight-line graph of against . The two readings are two points: and .
Part (a)
Step 1✍️ By handGradient, then the equation
M1A1
A1
💡 Remember The gradient has a meaning: the tank loses 80 litres every minute.
Part (b)
Step 1✍️ By handThe intercept
litresA1
Part (c)
Step 1🖩 On the GDCGraph V and use Zero
tab💻 Tab›-80x+1670›enter💻 Enter›menu💻 click menu on keypad›4: Window / Zoom›1: Window Settings…›menu💻 click menu on keypad›6: Analyze Graph›1: Zero
Set the window to fit the story: (time) from 0 to 25, (volume) from 0 to 1800. Then Zero: click left, then right of the crossing.
1.11.2*DocRAD02518000xy5200f1(x)=-80·x+1670(20.875, 0)(0, 1670)
Step 2✍️ By handAnswer
minutesA1
Final answer (a)   (b) 1670 litres   (c) minutes
Question 9●●● Exam-level✍️ By hand · Paper 1 · no calculator[9 marks]
The triangle has vertices , and .
  1. (a) Show that angle is a right angle.[3]
  2. (b) Find the equation of the line through that is parallel to .[2]
  3. (c) Find the -coordinate where this line meets the -axis.[1]
  4. (d) Find the exact area of triangle .[3]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkRight angle at A
The angle at is between the sides and . It is exactly when these two sides are perpendicular: their gradients multiply to .
Step 2✍️ By handTwo gradients and their product
A1
A1
, so and R1 AG
Part (b)
Step 1✍️ By handSame gradient as AB, through C
M1
A1
Part (c)
Step 1✍️ By handPut y = 0
A1
Part (d)
Step 1🧠 ThinkRight-angled triangle: half base × height
Because the right angle is at , the two sides and are the base and the height. Find their lengths with Pythagoras and keep surds exact.
Step 2✍️ By handLengths and area
A1
Area M1
A1
Final answer (a)   (b)   (c)   (d) 20 square units
Question 10●●● Exam-level✍️ + 🖩 · Paper 2[8 marks]
In Gaborone, Taxi A charges a fixed fee of P 12 plus P 6.50 per kilometre. Taxi B charges P 20 plus P 5.20 per kilometre. Let be the cost in pula for a journey of km.
  1. (a) Write down an equation for for each taxi.[2]
  2. (b) Find the distance for which both taxis cost the same, and that cost.[3]
  3. (c) Thato travels 10 km. State which taxi is cheaper and by how much.[2]
  4. (d) Interpret the gradient of the equation for Taxi B.[1]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkFixed fee = intercept, per-km price = gradient
The fixed fee is paid even for 0 km, so it is the -intercept. Each extra kilometre adds the same amount, so that amount is the gradient.
Step 2✍️ By handTwo models
A: A1
B: A1
Part (b)
Step 1🖩 On the GDCGraph both and find the Intersection
tab💻 Tab›6.5x+12›enter💻 Enter›tab💻 Tab›5.2x+20›enter💻 Enter›menu💻 click menu on keypad›6: Analyze Graph›4: Intersection
Window: from 0 to 12, from 0 to 100.
1.11.2*DocRAD0121000xy210f1(x)=6.5·x+12f2(x)=5.2·x+20(6.15385, 52)
Step 2✍️ By handAnswer with units
kmA1
A1
Check by hand:
Part (c)
Step 1✍️ By handSubstitute d = 10
A:   B:
Taxi B is cheaper, by P 5A1A1
Part (d)
Step 1✍️ By handMeaning of 5.2
Taxi B charges P 5.20 for each extra kilometre.A1
Final answer (a) A: ; B:   (b) km, cost P 52   (c) Taxi B, by P 5   (d) P 5.20 per km
Question 11●●● Exam-level✍️ By hand · Paper 1 · no calculator[10 marks]
The line passes through the points and . The line has equation and passes through the point .
  1. (a) Find the equation of in the form , where .[3]
  2. (b) Find the value of .[1]
  3. (c) Show that and are perpendicular.[2]
  4. (d) Find the point of intersection of and .[2]
  5. (e) Find the area of the triangle formed by , and the -axis.[2]
Show the full step-by-step solution
Part (a)
Step 1✍️ By handGradient and equation
A1
M1
A1
Part (b)
Step 1✍️ By handThe point (5, 1) fits L₂
A1
Part (c)
Step 1✍️ By handGradient of L₂ and the product
A1
, so R1 AG
Part (d)
Step 1🧠 ThinkElimination
We have and . Make the -terms cancel: multiply the first by 3 and the second by 2, then add.
Step 2✍️ By handSolve simultaneously
and
M1
; point A1
Part (e)
Step 1🧠 ThinkDraw it in your head
Two corners of the triangle are on the -axis (the -intercepts of the lines). The third corner is . The side on the -axis is the base; the height is the horizontal distance from the -axis to , which is 2.
Step 2✍️ By handIntercepts and area
;  
base M1
area A1
Final answer (a)   (b)   (c)   (d)   (e)
🆘 Stuck on a question? Open the notes, GDC toolkit and common mistakes
💻 Using the TI-Nspire CX Student Software on a laptop
  • The screens in these notes are drawn exactly as the Student Software shows them. The keypad on the left of the software works like the handheld — click its keys with the mouse.
  • menu: click menu on the on-screen keypad (or Documents Toolbox ▸ 🔧). The menu numbers and letters are the same as in these notes.
  • enter = Enter  ·  tab = Tab (next box)  ·  esc = Esc  ·  del = Backspace.
  • Powers: type ^ (Shift+6), the power, then press → to come back down before typing more. x² = ^2 then →.
  • Fraction: type /  ·  √: type sqrt(  ·  π: type pi  ·  eˣ: type exp(  ·  store: type :=. For EE (×10ⁿ) and i, click them on the keypad.
  • New page: Ctrl+I (or the Insert menu)  ·  change page: Ctrl+← / Ctrl+→  ·  graph entry line: Ctrl+G  ·  var: Ctrl+L.
  • Radian / Degree: click Settings in the status bar at the bottom of the window. The mode (RAD or DEG) shows in the top bar.
  • IB exam mode (Press-to-Test): everything in these notes works on the non-CAS TI-Nspire with the IB exam settings. In exam mode there are no dot-product, cross-product, unit-vector or eigenvalue keys and no Diff Eq graphs — the notes show the allowed way (type the components, use polyRoots on the characteristic equation, do Euler steps on a Calculator page).
  • If you type nDeriv(, the software shows it as centralDiff( — it is the same command.

🎯 What you must know

  • Gradient through and : = rise over run. Positive: up to the right; negative: down; zero: horizontal.
  • Three forms of a line: gradient–intercept ; general ; point–gradient .
  • From : rearrange to , so the gradient is .
  • Parallel lines have equal gradients: . Perpendicular lines: , i.e. (flip and change sign).
  • Vertical line: (gradient undefined). Horizontal line: (gradient 0).
  • “Give your answer in the form where ” means: clear all fractions, bring everything to one side.
  • Intersection of two lines: solve simultaneously (substitution or elimination) by hand; on Paper 2 use Graphs → Intersection or simult(.
Gradient
📘 In the formula booklet
Equations of a line
;\ \ ax+by+d=0;\ \ y-y_1=m(x-x_1)\)
📘 In the formula booklet
Perpendicular gradients
🧠 Learn this one

🖩 Your GDC toolkit for this subtopic

Follow the steps on your own TI-Nspire CX II. The screens show what you should see.

Graph two lines (each written as y = …)
ctrl+doc💻 Ctrl+I›tab💻 Tab›(12-2x)/3›enter💻 Enter
  1. Press ctrl then doc to add a new page.
  2. Press tab to move to the next box.
  3. Type (12-2x)/3.
  4. Press enter.
1.11.2*DocRAD-286-4xy11f1(x)=12−2·x3f2(x)=0.8·x−1.5(3.75, 1.5)
Intersection: (3.75, 1.5)
Worked example: Question 7 — Rewrite as y = …, graph, then Intersection
The Graphs page only accepts , so becomes . In Intersection click to the left of the crossing (lower bound), then to the right (upper bound).
Find where two lines cross
menu💻 click menu on keypad›6: Analyze Graph›4: Intersection
  1. Start on a Graphs page (ctrl doc adds one).
  2. Press menu.
  3. Choose 6: Analyze Graph.
  4. Choose 4: Intersection.
  5. Move the pointer to the LEFT of the crossing point and press click, then to the RIGHT and press click. The intersection point and its coordinates appear.
1.1*DocRAD⚡1Actions▣2View✎3Graph Entry/Edit⌕4Window / Zoom⌇5Trace⌕6Analyze Graph▦7Table△8Geometry⚙9Settings...1Zero2Minimum3Maximum4Intersection5dy/dx6Integral7Bounded Area8Analyze Conics
menu → 6: Analyze Graph → 4: Intersection
1.11.2*DocRAD-286-4xy11f1(x)=12−2·x3f2(x)=0.8·x−1.5(3.75, 1.5)
Intersection: (3.75, 1.5)
Worked example: Question 7 — Rewrite as y = …, graph, then Intersection
The Graphs page only accepts , so becomes . In Intersection click to the left of the crossing (lower bound), then to the right (upper bound).
Choose a window that fits a context
menu💻 click menu on keypad›4: Window / Zoom›1: Window Settings…
  1. Start on a Graphs page (ctrl doc adds one).
  2. Press menu.
  3. Choose 4: Window / Zoom.
  4. Choose 1: Window Settings….
  5. Type the XMin, XMax, YMin and YMax values (press tab to move between boxes), then press enter. The graph redraws in the new window.
1.1*DocRAD⚡1Actions▣2View✎3Graph Entry/Edit⌕4Window / Zoom⌇5Trace⌕6Analyze Graph▦7Table△8Geometry⚙9Settings...1Window Settings...2Zoom – Box3Zoom – In4Zoom – Out5Zoom – Standard6Zoom – Quadrant 17Zoom – User8Zoom – Trig9Zoom – Data
The menu path
1.11.2*DocRAD02518000xy5200f1(x)=-80·x+1670(20.875, 0)(0, 1670)
Worked example: Question 8 — Graph V and use Zero
Set the window to fit the story: (time) from 0 to 25, (volume) from 0 to 1800. Then Zero: click left, then right of the crossing.
Solve two linear equations on a Calculator page
simult([[2,3][0.8,-1]],[[12][1.5]])›enter💻 Enter
📍 Where to find it on the TI-Nspire
simult(is inmenu💻 click menu on keypad›7: Matrix & Vector›6: Simultaneous
  1. Type simult([[2,3][0.8,-1]],[[12][1.5]]).
  2. Press enter.
1.1*DocRADsimult230.8-1,121.53.751.5
x = 3.75, y = 1.5
Worked example: Question 7 — Or: simult( on a Calculator page
Write both as : and . The first matrix holds the coefficients, the second the right-hand sides.

⚠️ Where students lose marks

  • Subtracting coordinates in a different order on top and bottom: gives the wrong sign.
  • Reading the gradient of as 3. Rearrange to first: the gradient is .
  • Perpendicular gradient: only changing the sign () or only flipping (). You must do both: .
  • Leaving fractions in the answer when the question asks for with integer coefficients.
  • On the GDC: forgetting that a line like must be rewritten as before it can be graphed.