aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Stay in the loop

Study tips, product updates, and early access to new features.

aimnova.

AI-powered IB study platform with personalised plans, instant feedback, and examiner-style marking.

IB Subjects

  • IB Diploma
  • All IB Subjects
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI SL
  • IB Math AA SL
  • Grade Calculator
  • Exam Timetable 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI SL Predictions 2026
  • Math AA SL Predictions 2026

Study Resources

  • Free Study Notes
  • Revision Guide
  • Flashcards
  • ESS Question Bank
  • BM Question Bank
  • Mock Exams
  • Past Paper Feedback
  • Exam Skills
  • Command Terms

Company

  • Features
  • Pricing
  • About Us
  • Blog
  • Contact
  • Terms
  • Privacy
  • Cookies

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.868
NotesMath AA HLTopic 2.1Equations of lines
Back to Math AA HL Topics
2.1.12 min read

Equations of lines

IB Mathematics: Analysis and Approaches • Unit 2

Smart study tools

Turn reading into results

Move beyond passive notes. Answer real exam questions, get AI feedback, and build the skills that earn top marks.

Get Started Free

Contents

  • Gradient — rise over run
  • The three forms of a line
  • Build a line from what you're given
  • Intercepts — where it crosses the axes
Gradient measures steepness: The gradient m is how steep a line is — rise ÷ run.

Picture going right one step: → m = 3 means go up 3 → m = −2 means go down 2 → m = 0 means stay flat To find it exactly, read two points off the line and divide the change in y by the change in x.
one point on the line
another point on the line

[Diagram: math-gradient-visualizer] - Available in full study mode

IB-style question — gradient from two points

Find the gradient of the line through A(1, 2) and B(4, 11).

Step by step

  1. Gradient formula — subtract in the same order, top and bottom.
  2. Work it out.

Final answer

m = 3 (the line rises 3 for every 1 across).

What the sign tells you

  • m > 0 → uphill (left to right).
  • m < 0 → downhill.
  • m = 0 → horizontal line y = c.

Watch out

  • Subtract in the same order top and bottom.
  • A vertical line x = a has no gradient (run = 0).
  • rise/run, never run/rise.
Same line, three outfits: A straight line can be written three ways — pick whichever fits the question.

Gradient–intercept

  • m = gradient
  • c = y-intercept
  • Best for graphing

Point–gradient

  • Use a point + gradient
  • Best for building a line

General form

  • Tidy integer form
  • Gradient = −a/b
EquationGradient my-intercept c
y = 3x + 535
y = −x + 2−12
y = ½x − 4½−4 (keep the minus!)
y = 606 (flat line)

[Diagram: math-sketch-from-m-and-c] - Available in full study mode

IB-style question — switch between forms

Write y − 3 = 2(x − 1) in the form y = mx + c, then in the form ax + by + d = 0.

Step by step

  1. Expand the bracket.
  2. Make y the subject → gradient–intercept form.
  3. Move everything to one side → general form.

Final answer

y = 2x + 1, or equivalently 2x − y + 1 = 0.

IB-style question — gradient from ax + by + d = 0

Find the gradient of the line 4x + 3y − 12 = 0.

Step by step

  1. Make y the subject — move the x-term and the constant to the other side.
  2. Divide every term by 3.
  3. The gradient is the number multiplying x.

Final answer

Gradient m = −4/3. Shortcut: straight from ax + by + d = 0, the gradient is m = −a/b = −4/3 — this exact step shows up in real exams.

Get feedback like a real examiner

Submit your answers and get instant feedback — what you did well, what's missing, and exactly what to write to score full marks.

Try AI Tutor Free7-day free trial • No card required
Point + gradient, or two points: Given a gradient and a point: put the gradient into y = mx + c, then substitute the point to find c.

Given two points: find the gradient first, then do the same.

IB-style question — a point and a gradient

Find the equation of the line with gradient 3 that passes through (2, 5).

Give your answer as y = mx + c.

Step by step

  1. Start with y = mx + c, using m = 3.
  2. Substitute the point (2, 5): put x = 2 and y = 5.
  3. Solve for c.
  4. Write the full equation.

Final answer

y = 3x − 1.

IB-style question — two points

Find the equation of the line through P(1, 2) and Q(3, 8).

Step by step

  1. Gradient formula first.
  2. Start y = 3x + c and substitute one point, say (1, 2).
  3. Solve for c.
  4. Write the full equation.

Final answer

y = 3x − 1.

[Diagram: math-sketch-from-m-and-c] - Available in full study mode

Faster alternative — point–gradient form: Another standard method (also in the formula booklet) is point–gradient form: y − y₁ = m(x − x₁).

Drop in the point and gradient, then expand — e.g. y − 5 = 3(x − 2) → y = 3x − 1.

Same answer; use whichever you find clearer.

(With two points, either point works.)
Set the other coordinate to zero: y-intercept: set x = 0.

x-intercept: set y = 0 and solve.

(And in y = mx + c, the number c is the y-intercept — read it straight off.)

IB-style question — both intercepts

Find where the line y = 2x − 6 crosses each axis.

Step by step

  1. y-intercept: put x = 0.
  2. x-intercept: put y = 0 and solve.

Final answer

Crosses the y-axis at (0, −6) and the x-axis at (3, 0).

Don't swap the coordinates: The y-intercept is the point (0, c) and the x-intercept is (x, 0) — the zero goes in different slots.

A common slip is writing (−6, 0) for the y-intercept.

Try an IB Exam Question — Free AI Feedback

Test yourself on Equations of lines. Write your answer and get instant AI feedback — just like a real IB examiner.

Find the gradient of the line passing through A(−1, 3) and B(2, 12). [2 marks]

Related Math AA HL Topics

Continue learning with these related topics from the same unit:

2.1.2Parallel lines
2.1.3Perpendicular lines
2.1.4Perpendicular bisector
2.10.1Solving equations
View all Math AA HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Math AA HL

Previous
1.16.2One solution, none, or infinitely many
Next
Parallel lines2.1.2

8 questions to test your understanding

Reading is just the start. Students who tested themselves scored 82% on average — try IB-style questions with AI feedback.

Start Free TrialView All Math AA HL Topics