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
  • All IB Subjects
  • IB Diploma
  • IB ESS
  • IB Economics
  • IB Business Management
  • IB Math AI
  • IB Math AA
Question Banks
  • ESS Question Bank
  • Economics Question Bank
  • Business Management Question Bank
  • Math AI Question Bank
  • Math AA Question Bank
Predicted Topics 2026
  • ESS Predictions 2026
  • Economics Predictions 2026
  • Business Management Predictions 2026
  • Math AI Predictions 2026
  • Math AA Predictions 2026

Study Resources

  • Free Study Notes
  • Mock Exams
  • Revision Guide
  • Flashcards
  • Exam Skills
  • Command Terms
  • Past Paper Feedback
  • Grade Calculator
  • Exam Timetable 2026

Company

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

© 2026 Aimnova. All rights reserved.

Made with 💜 for IB students worldwide

v0.1.899
NotesMath AI HLTopic 2.1
Unit 2 · Functions · Topic 2.1

IB Math AI HL — Equations of a line

IB Mathematics AI SL topic covering core concepts and exam-style applications.

Exam technique guidePractice questions

Key concepts in Equations of a line

Key Idea: A straight line is fully defined by two numbers: its gradient (steepness) and its y-intercept (where it hits the y-axis). Know these two numbers and you can write the equation, spot parallel lines, and find perpendicular ones.

What the IB asks you to do:


📐 Reading the gradient

m=y2−y1x2−x1m = \frac{y_2 - y_1}{x_2 - x_1}m=x2​−x1​y2​−y1​​
Rise divided by run — how much y changes for every 1 unit increase in x
Parallel lines have the same gradient. They never meet. Perpendicular lines have gradients that multiply to −1. If one line has gradient 3, the perpendicular gradient = −1 ÷ 3 = −⅓. Shortcut: flip the fraction and change the sign.

✏️ Worked examples

Find the equation of a line through two points

Find the equation of the line through (1, 4) and (3, 10).

Step by step:

  1. Gradient: m = (10 − 4) ÷ (3 − 1) = 6 ÷ 2 = 3

  2. Use point-slope with point (1, 4): y − 4 = 3(x − 1)

  3. Expand: y − 4 = 3x − 3

  4. Rearrange: y = 3x + 1

Final answer:

y = 3x + 1

Find a perpendicular line

Line L has equation y = 2x − 5. Find the equation of the perpendicular through (4, 3).

Step by step:

  1. Gradient of L: m = 2

  2. Perpendicular gradient: −1 ÷ 2 = −½

  3. Use point-slope with (4, 3): y − 3 = −½(x − 4)

  4. Rearrange: y = −½x + 5

Final answer:

y = −½x + 5

Interpret in context

A phone plan charges a $20 connection fee plus $0.15 per minute. Write the cost equation and interpret m and c.

Step by step:

  1. Equation: C = 0.15t + 20 (t = minutes)

  2. Gradient m = 0.15 → cost increases by $0.15 per minute

  3. y-intercept c = 20 → fixed connection fee of $20 (cost when t = 0)

Final answer:

C = 0.15t + 20

Show the gradient calculation first — even if you can see it from the graph, write m = (y₂ − y₁)/(x₂ − x₁). That step earns a method mark on its own. Point-slope is your friend — you almost never need to use y = mx + c from scratch. Find m, use point-slope, then rearrange. Perpendicular check: multiply the two gradients together. If the answer is −1, you're right. Context questions: m = rate of change, c = starting value. The units of m come from the units of y divided by the units of x.

IB-style question [7 marks]

Line L passes through the points A(−2, 1) and B(2, 9). (a) Find the gradient of L. (b) Find the equation of L in the form y = mx + c. (c) The line N is perpendicular to L and passes through the point (4, 0). Find the equation of N in the form y = mx + c.

Step by step:

  1. (a) Find the gradient of L from the two given points.

    mL=9−12−(−2)=84=2m_L = \frac{9 - 1}{2 - (-2)} = \frac{8}{4} = 2mL​=2−(−2)9−1​=48​=2
  2. (b) Use point-slope with m = 2 and the point A(−2, 1), then rearrange.

    y−1=2(x+2)  ⇒  y=2x+5y - 1 = 2(x + 2) \;\Rightarrow\; y = 2x + 5y−1=2(x+2)⇒y=2x+5
  3. (c) N is perpendicular to L, so its gradient is the negative reciprocal of 2 — flip the fraction and change the sign.

    mN=−12m_N = -\frac{1}{2}mN​=−21​
  4. N passes through (4, 0); substitute into y = mx + c to find c.

    0=−12(4)+c  ⇒  0=−2+c  ⇒  c=20 = -\tfrac{1}{2}(4) + c \;\Rightarrow\; 0 = -2 + c \;\Rightarrow\; c = 20=−21​(4)+c⇒0=−2+c⇒c=2
  5. Write the equation of N.

    y=−12x+2y = -\tfrac{1}{2}x + 2y=−21​x+2
Final answer:

(a) gradient of L = 2. (b) y = 2x + 5. (c) y = −(1/2)x + 2.

What you'll learn in Topic 2.1

  • 2.1.1 Gradient and y-intercept
  • 2.1.2 Writing the equation of a straight line
  • 2.1.3 Parallel and perpendicular lines
  • 2.1.4 Linear models in context
Suggested study order: Read the notes for each sub-topic below → test yourself with flashcards → attempt practice questions → review exam technique.

Study resources — 2.1 Equations of a line

2.1.1

Gradient and y-intercept

Notes
2.1.2

Writing the equation of a straight line

Notes
2.1.3

Parallel and perpendicular lines

Notes
2.1.4

Linear models in context

Notes

Ready to study Equations of a line?

Get AI-powered practice questions, personalised feedback, and a study planner tailored to your IB Math AI HL exam date.

Start studying free

Topic 2.1 Equations of a line forms a core part of Unit 2: Functions in IB Math AI HL. Mastering these concepts will strengthen your understanding of connected topics across the syllabus and prepare you for exam questions that require analysis, evaluation, and real-world application.

Previous topic
1.15 Eigenvalues & eigenvectors (HL only)
Next topic
2.2 Functions, domains, ranges, and graphs
All Math AI HL topics
Exam technique

Ready to practice?

Get AI-graded practice questions, mock exams, flashcards, and a personalised study plan — all aligned to your IB syllabus.

Start Studying Free

No credit card required · Cancel anytime