Equations of Straight Lines: Gradient, Intercepts & Beyond

Straight lines are the building blocks of mathematical modelling in IB Mathematics AI. This note guides you through gradients, intercepts, and line relationships with real-world context and GDC techniques. Master these foundations to excel in regression, optimisation, and calculus topics.

Free preview

Read the preview below. The full note is free with an account.

Unlock the full notes

What this note covers

This note covers the fundamentals of straight-line equations: calculating gradients from coordinates, writing equations in gradient-intercept and general forms, finding intercepts, and determining parallel or perpendicular relationships.

These skills underpin linear regression, financial modelling, and calculus approximations throughout the AI course, making them indispensable for exam success at both Standard and Higher Level.

01

Equations of Straight Lines: Gradient, Intercepts, Parallel and Perpendicular

IB DP Mathematics: Applications and Interpretation | SL & HL | Unit 2: Functions

02

Real-World Introduction

A road engineer designing a mountain highway must calculate the steepness of each section of road. Too steep, and heavy vehicles cannot climb; too shallow, and drainage fails. That steepness — rise divided by run — is exactly the gradient of a straight line.

Straight-line models appear throughout IB Mathematics AI: as regression lines fitted to data, as linear cost and revenue functions in financial modelling, and as the tangent lines that approximate curves in calculus. Mastering the equation of a straight line is therefore foundational to almost every other topic in the course.

03

Core Concepts & Definitions

Consider two points on a line. Moving from one to the other, the line rises (or falls) by a certain vertical amount for every horizontal unit travelled. This ratio of vertical change to horizontal change is constant for any two points on the same straight line — it is the defining property of linearity.

m=y2−y1x2−x1,x1≠x2m = \frac{y_2 - y_1}{x_2 - x_1}, \quad x_1 \neq x_2

A positive gradient means the line rises left to right. A negative gradient means it falls. A zero gradient means the line is horizontal. An undefined gradient means the line is vertical.

The gradient is a rate of change. In a

The preview ends here

Read the full note

  • The complete note with worked examples
  • Practice questions with mark schemes
  • Help from an experienced tutor
Unlock the full notes

Takeaways

Key takeaways

  1. 01

    Calculate gradients with confidence

    Use the gradient formula to find the slope between any two coordinate points, interpreting positive, negative, zero, and undefined cases.

  2. 02

    Write equations in multiple forms

    Express lines in gradient-intercept form (y = mx + c) and general form (ax + by + d = 0), and convert between them fluently.

  3. 03

    Determine line equations from given data

    Find the equation of a line through a point with a given gradient, or through two given points, using algebraic methods.

  4. 04

    Identify parallel and perpendicular lines

    Apply gradient relationships — equal gradients for parallel lines, negative reciprocal gradients for perpendicular lines — to classify line pairs.

  5. 05

    Interpret intercepts in context

    Calculate x- and y-intercepts from any line equation and explain their real-world meaning in modelling scenarios.

FAQs

Common questions

What forms of line equations are covered in this note?

The note covers gradient-intercept form (y = mx + c) and general form (ax + by + d = 0), with practice converting between them and using each for different problem types.

How does this topic connect to linear regression in Topic 4?

The least-squares regression line is itself a straight line; its gradient represents the rate of change and its y-intercept the predicted value when the explanatory variable is zero — concepts introduced here.

Is this study note suitable for both SL and HL students?

Yes. The content aligns with the SL and HL syllabus for Mathematics: Applications and Interpretation, Unit 2: Functions, Topic 2.1.

Can I use a graphic display calculator (GDC) for these problems?

Absolutely. The note includes guidance on using the GDC to graph lines, find intersections, and verify algebraic results — a key skill for Paper 2.

Get the full "Equations of Straight Lines: Gradient, Intercepts, Parallel and Perpendicular" notes

Full notes, practice questions and expert tutors are available to TYCHR students.