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.
Read the preview below. The full note is free with an account.
Unlock the full notesWhat 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.
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
Takeaways
Key takeaways
- 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.
- 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.
- 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.
- 04
Identify parallel and perpendicular lines
Apply gradient relationships — equal gradients for parallel lines, negative reciprocal gradients for perpendicular lines — to classify line pairs.
- 05
Interpret intercepts in context
Calculate x- and y-intercepts from any line equation and explain their real-world meaning in modelling scenarios.

