Module 16 of 47Lesson 1 of 6 · AI 2.1 — Equations of straight lines
Course map · Topic 2: Functions
2.1 Equations of straight lines
A straight line is the simplest model there is: something that goes up (or down) by the same amount every step. You must be able to find its gradient, write its equation in three different forms, and spot parallel and perpendicular lines.
✏️ Start with the questions. Try each one on paper, then open the solution and compare.
Stuck? Open the notes ↓Try each question on paper first. Then open the solution and compare every step.
Question 1●○○ Warm-up[4 marks]
The points and lie on the line .
- (a) Find the gradient of
.[2] - (b) Find the equation of
in the form .[2]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkGradient = rise ÷ run
Going from to , how far do we go up (rise) and how far do we go across (run)? Up: from 3 to 11. Across: from 2 to 6. Always take the same point first, top and bottom.
Step 2✍️ By handUse the gradient formula
Part (b)
Step 1🧠 ThinkFind c using one point
We know . The point is on the line, so putting must give . That lets us find .
Step 2✍️ By handSubstitute A(2, 3)
Step 3🖩 On the GDCCheck: graph it and see it goes through both points
tab💻 Tab›2x-1›enter💻 Enter
On a Graphs page, type the right-hand side on the entry line. The line should pass through and .
✅ Check it Point : . ✔
Final answer (a) (b)
Question 2●○○ Warm-up[3 marks]
The line has equation . Write down the gradient of and the coordinates of the point where crosses the -axis.
Show the full step-by-step solution
Step 1🧠 ThinkGet y on its own
In the form we can simply read the gradient and the -intercept . So first move everything except to the other side, then divide by 2.
Step 2✍️ By handRearrange
gradient A1
Step 3🖩 On the GDCSee it on the graph
The line falls 3 units for every 2 units to the right, and crosses the -axis at 6.
Final answer Gradient ( ); crosses the -axis at .
⚠️ Common mistake Saying the gradient is 3 (or ). The sign changes when moves across the equals sign.
Question 3●○○ Warm-up[3 marks]
A line has gradient and passes through the point . Find its equation, giving your answer in the form , where .
Show the full step-by-step solution
Step 1🧠 ThinkOne point + gradient → point–gradient form
We are given exactly what needs: , , . “ ” just means a, b, d must be whole numbers (integers).
Step 2✍️ By handSubstitute, expand, tidy up
✅ Check it Put in : . ✔ Gradient from : , so . ✔
Final answer (any multiple, e.g. , is also correct)
Question 4●●○ Standard[3 marks]
Find the equation of the line that is parallel to and passes through the point . Give your answer in the form .
Show the full step-by-step solution
Step 1🧠 ThinkParallel means same steepness
Parallel lines never meet, like railway tracks, so they climb at the same rate. The new line therefore also has gradient . Only the intercept is different.
Step 2✍️ By handUse the point (−1, 4)
Step 3🖩 On the GDCBoth lines on one screen
💡 Remember Careful with the double minus: .
Final answer
Question 5●●○ Standard[5 marks]
The line has equation . The line is perpendicular to and passes through the point . Find the equation of in the form , where .
Show the full step-by-step solution
Step 1🧠 ThinkPlan
Step 1: find the gradient of (make the subject). Step 2: the perpendicular gradient is “flip the fraction and change the sign”. Step 3: use the point .
Step 2✍️ By handGradient of L₁
Step 3✍️ By handPerpendicular gradient
Flip to get , then change the sign.
Check: ✔
Step 4✍️ By handEquation through P(4, 1)
Multiply by 2:
Step 5🖩 On the GDCCheck the right angle on the GDC
menu💻 click menu on keypad››
Graph and . On a normal window the angle can look wrong because the axes have different scales. Zoom – Square makes 1 unit across equal 1 unit up, and the 90° angle appears.
Final answer
⚠️ Common mistake Using (forgot the sign) or (forgot to flip).
Question 6●●○ Standard[4 marks]
Find the coordinates of the point where the lines and intersect.
Show the full step-by-step solution
Step 1🧠 ThinkIntersect = the point that is on both lines
At the crossing point, the and values satisfy both equations at once. We can solve by hand (substitution) or let the GDC find the crossing.
Step 2✍️ By handBy hand: substitute y = 2x − 3 into the second equation
Step 3🖩 On the GDCWith the GDC: rearrange, graph, then Intersection
tab💻 Tab›2x-3›enter💻 Enter›tab💻 Tab›(12-x)/3›enter💻 Enter›menu💻 click menu on keypad››
The GDC needs , so rewrite as . Then choose Intersection, click to the left of the crossing (lower bound) and to the right (upper bound).
Final answer
Question 7●●○ Standard[6 marks]
The cost of a taxi ride in Gaborone is a linear function of the distance travelled. A ride of 8 km costs P 52 and a ride of 15 km costs P 83.50. Let be the cost in pula and the distance in km.
- (a) Find an equation for
in terms of .[3] - (b) Interpret, in context, the gradient and the
-intercept.[2] - (c) Lesedi has P 70. Find the greatest distance she can travel.[1]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkTwo facts = two points
“8 km costs P 52” is the point . “15 km costs P 83.50” is the point . A line through two points: gradient first, then the intercept.
Step 2✍️ By handGradient, then intercept
Part (b)
Step 1✍️ By handSay what the numbers mean, with units
Gradient 4.5: each extra km costs P 4.50.A1
Intercept 16: a fixed charge of P 16 before any distance (the starting fee).A1
Part (c)
Step 1✍️ By handSet C = 70 and solve
Step 2🖩 On the GDCOr: intersect with the line y = 70
Graph and , then Intersection. Use a window that fits the context: from 0 to 20, from 0 to 110.
Final answer (a) (b) P 4.50 per km; P 16 fixed starting charge (c) 12 km
⚠️ Common mistake In (b), writing “the gradient is 4.5” without saying what it means. Interpret = give the meaning with units.
Question 8●●○ Standard[3 marks]
The line through the points and has gradient . Find the value of .
Show the full step-by-step solution
Step 1🧠 ThinkWrite the gradient formula with the unknown in it
We don't know one -coordinate, but we know the answer to the gradient calculation. So write the formula, set it equal to 4, and solve for .
Step 2✍️ By handForm an equation and solve
✅ Check it . ✔
Final answer
Question 9●●○ Standard[3 marks]
The line is perpendicular to the line . Find the value of .
Show the full step-by-step solution
Step 1🧠 ThinkFind both gradients, then multiply to −1
The second line already shows its gradient: . For the first line we must make the subject — its gradient will contain .
Step 2✍️ By handGradient of kx + 3y = 6
Step 3✍️ By handPerpendicular condition
✅ Check it With : , and . ✔
Final answer
Question 10●●● Exam-level[7 marks]
The points and are shown on a map grid.
- (a) Find the gradient of
.[2] - (b) Find the coordinates of
, the midpoint of .[1] - (c) Find the equation of the line through
that is perpendicular to . Give your answer in the form .[3] - (d) This line crosses the
-axis at . Find the coordinates of .[1]
Show the full step-by-step solution
Part (a)
Step 1✍️ By handGradient formula
Part (b)
Step 1🧠 ThinkMidpoint = the average of the coordinates
Halfway between the -values, and halfway between the -values.
Step 2✍️ By handAverage the coordinates
Part (c)
Step 1✍️ By handPerpendicular gradient, then point M
Part (d)
Step 1🧠 ThinkOn the x-axis, y = 0
Every point on the -axis has . Put into the equation.
Step 2✍️ By handSet y = 0
Step 3🖩 On the GDCPicture of the whole question
The red line (f2) is the perpendicular bisector: it cuts in half at a right angle (Zoom – Square used).
Final answer (a) (b) (c) (d)
Question 11●●● Exam-level[7 marks]
Two water tanks are filled and emptied at a farm near Maun. Tank A starts with 1200 litres and loses water at a constant 75 litres per hour. Tank B starts with 300 litres and gains water at a constant 45 litres per hour. Let be the volume in litres after hours.
- (a) Write down an equation for the volume in each tank.[2]
- (b) Find the time when the two tanks contain the same volume, and find this volume.[3]
- (c) Find the time it takes for tank A to become empty.[2]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkStarting value + rate × time
The starting amount is the intercept . The rate is the gradient : negative when the water goes down, positive when it goes up.
Step 2✍️ By handWrite the two models
Part (b)
Step 1✍️ By handSame volume: set them equal
Step 2🖩 On the GDCSame answer from the graphs
menu💻 click menu on keypad›››menu💻 click menu on keypad››
Set the window to fit the story: (time) 0 to 18, (volume) 0 to 1300. Then use Intersection.
Part (c)
Step 1✍️ By handEmpty means V = 0
Final answer (a) , (b) after 7.5 hours, 637.5 litres (c) 16 hours
Question 12●●● Exam-level[9 marks]
The line has equation . It meets the -axis at and the -axis at . is the origin.
- (a) Find the coordinates of
and of .[2] - (b) Find the area of triangle
.[1] - (c) The line
passes through and is perpendicular to . Find the equation of .[2] - (d) Find the coordinates of the point
where and meet.[2] - (e) Hence find the shortest distance from
to .[2]
Show the full step-by-step solution
Part (a)
Step 1🧠 ThinkAxis crossings
On the -axis ; on the -axis . Put each one into the equation.
Step 2✍️ By handTwo substitutions
Part (b)
Step 1✍️ By handRight-angled triangle: half × base × height
The triangle has its right angle at . Base , height (lengths are positive).
Area A1
Part (c)
Step 1✍️ By handGradient of L₁, then the perpendicular
Through the origin, so : A1
Part (d)
Step 1🖩 On the GDCIntersection on the GDC
tab💻 Tab›0.75x+3›enter💻 Enter›tab💻 Tab›-4x/3›enter💻 Enter›menu💻 click menu on keypad››
Use Zoom – Square so the right angle at is visible.
Step 2✍️ By handOr by hand
Part (e)
Step 1🧠 ThinkWhy “hence”?
The shortest way from a point to a line is the path that meets the line at 90°. That path is exactly . So the distance we want is the length .
Step 2✍️ By handDistance from O(0, 0) to R(−1.44, 1.92)
✅ Check it Area of another way: , the same as (b). ✔
Final answer (a) , (b) 6 (c) (d) (e) 2.4
🆘 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² =^2then →. - Fraction: type
/· √: typesqrt(· π: typepi· eˣ: typeexp(· 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 ascentralDiff(— it is the same command.
🎯 What you must know
- Gradient
= how steep the line is = . Positive: goes up to the right. Negative: goes down. Zero: flat (horizontal). - Gradient–intercept form
: is the gradient and is the -intercept (where the line crosses the -axis). - General form
: everything on one side, usually with whole numbers. To read the gradient, rearrange to first. - Point–gradient form
: use it when you know the gradient and one point . - Parallel lines have the same gradient:
. - Perpendicular lines (meet at 90°) have gradients that multiply to
: . So flip the fraction and change the sign: . - In a context, the gradient is a rate (e.g. pula per km) and the
-intercept is the starting value (when ).
Gradient
📘 In the formula booklet
Gradient–intercept form
📘 In the formula booklet
General form
📘 In the formula booklet
Point–gradient form
📘 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.
Draw a line on a Graphs page: show the entry line, type the right-hand side, press enter
tab💻 Tab›2x-3›enter💻 Enter
- Press tab to move to the next box.
- Type 2x-3.
- Press enter.
Worked example: Question 1 — Check: graph it and see it goes through both points
On a Graphs page, type the right-hand side on the entry line. The line should pass through and .
Find where two lines cross
menu💻 click menu on keypad››
- Start on a Graphs page (ctrl doc adds one).
- Press menu.
- Choose .
- Choose .
- 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.
Worked example: Question 6 — With the GDC: rearrange, graph, then Intersection
The GDC needs , so rewrite as . Then choose Intersection, click to the left of the crossing (lower bound) and to the right (upper bound).
Make right angles look like right angles (equal scales)
menu💻 click menu on keypad››
- Start on a Graphs page (ctrl doc adds one).
- Press menu.
- Choose .
- Choose .
Worked example: Question 5 — Check the right angle on the GDC
Graph and . On a normal window the angle can look wrong because the axes have different scales. Zoom – Square makes 1 unit across equal 1 unit up, and the 90° angle appears.
⚠️ Where students lose marks
- Subtracting the coordinates in a different order on top and bottom:
is wrong — keep the same point first in both. - Reading the gradient straight from
as . You must make the subject first: has gradient , not 3. - For a perpendicular gradient, only flipping the fraction or only changing the sign. You must do both.
- When asked for the form
, leaving fractions in. Multiply through so , , are integers.