SECTION 1
Historical Context & Motivation
Humans have been thinking about straight-line relationships for thousands of years. Ancient surveyors in Egypt noticed that the Nile's flood levels rose at roughly the same rate each day during flood season, making it possible to predict water heights and plan crop planting. This core idea — that a quantity changes at a constant rate — lies at the heart of what we now call a linear function. Over the centuries, mathematicians refined this idea into one of the most powerful and widely used tools in all of mathematics.
~300 BCE • Euclid's Elements
1637 • Descartes & the Coordinate Plane
1795 • Gauss & Least Squares
20th Century • Linear Models Everywhere
The question that drives this topic is deceptively simple: If something changes at a steady pace, how can we describe it, graph it, and use it to make predictions? Answering that question with precision is exactly what SL 2.2 is about.
SECTION 2
Core Principles & Definitions
A linear function connects two variables with a relationship that produces a perfectly straight line when graphed on the Cartesian plane. Before we dive into calculations, let's lock down the four foundational ideas you'll use throughout the course.
Linear Function
Gradient (Slope)
y-Intercept
Rate of Change
KEY TAKEAWAY
SECTION 3
Visualising Linear Functions
The graph below shows the line y = 2x + 3 plotted on a coordinate plane. Pay close attention to how the gradient triangle (rise over run) and the y-intercept are marked — these two features define every linear function you'll ever meet.
Every linear function graph shares these features. The line extends infinitely in both directions, the gradient triangle can be drawn between any two points and will always yield the same ratio, and the y-intercept sits exactly where x = 0. When you see a graph in an exam, these are the first two features to identify.
SECTION 4
Mathematical Framework
The IB formula booklet provides several forms for linear functions. Understanding each form — what it tells you and when to use it — is essential for the exam and for real-world modelling.
SLOPE-INTERCEPT FORM
m = gradient (rate of change), c = y-intercept (value of y when x = 0). This is the form used most often in IB Applications and Interpretation.
GRADIENT FORMULA
Given any two points (x₁, y₁) and (x₂, y₂) on the line, this formula calculates the gradient. Remember: it doesn't matter which point you call 'point 1' as long as you stay consistent.
POINT-SLOPE FORM
Useful when you know the gradient m and one point (x₁, y₁) on the line but not the y-intercept. You can always rearrange this into slope-intercept form.
IB Exam Tip
SECTION 5
Understanding Different Gradients
The sign and size of the gradient dramatically change what the linear model means in context. A positive gradient signals growth or increase, a negative gradient signals decline, and a zero gradient means no change at all. The diagram below compares four key cases side by side.
| Gradient (m) | Direction of Line | Real-World Example |
|---|---|---|
| m > 0 (positive) | Rises from left to right | Earning $15/hour: total pay rises with hours worked |
| m < 0 (negative) | Falls from left to right | A phone battery losing 10 % per hour |
| m = 0 | Horizontal line | A flat monthly subscription fee regardless of usage |
| Large |m| | Steep line | Rapid temperature drop during a cold front |
| Small |m| | Shallow line | Slow, steady erosion of a hillside over years |
How gradient value translates to graph behaviour and real-world meaning
SECTION 6
Worked Example — Water Tank Model
A water tank is being filled at a constant rate. At time t = 0 minutes the tank already holds 20 litres of water. After 5 minutes, it holds 45 litres. Find the linear model that describes the volume V (in litres) as a function of time t (in minutes), and predict the volume after 12 minutes.
Finding the Linear Model for a Water Tank
- 1
Step 1 — Identify Given Values
We have two data points: (t₁, V₁) = (0, 20) and (t₂, V₂) = (5, 45). Because t₁ = 0, we already know the y-intercept: c = 20.c = 20 - 2
Step 2 — Calculate the Gradient
Use the gradient formula: m = (V₂ − V₁) / (t₂ − t₁) = (45 − 20) / (5 − 0) = 25 / 5.m = 5 litres per minute - 3
Step 3 — Write the Linear Model
Substitute m and c into y = mx + c. Using context-appropriate variable names:V = 5t + 20 - 4
Step 4 — Interpret in Context
The gradient m = 5 means the tank fills at a rate of 5 litres per minute. The y-intercept c = 20 means there were already 20 litres in the tank when timing began. - 5
Step 5 — Predict Volume at t = 12
Substitute t = 12 into the model: V = 5(12) + 20 = 60 + 20.V = 80 litres
Interpretation Matters
SECTION 7
Strengths & Limitations of Linear Models
Linear models are beautifully simple, but simplicity is a double-edged sword. It's important to recognise when a straight line is a good fit for the data and when a more complex model (quadratic, exponential, etc.) would be more appropriate.
| Strengths | Limitations |
|---|---|
| Easy to create — only two data points are needed to define the line | Assumes a constant rate of change, which rarely holds over large ranges |
| Simple to interpret — the gradient and intercept have clear, intuitive meanings | Cannot model curves, acceleration, or saturation effects |
| Great for interpolation (predicting within the data range) | Extrapolation can be unreliable if the trend changes outside the observed range |
| Foundational — many advanced models (regression, calculus) build on linearity | Real-world constraints (e.g., capacity limits) may make the model unrealistic |
When to trust — and when to question — a linear model
KEY TAKEAWAY
SECTION 8
Connection to Advanced Models
Linear functions are the first step on a ladder of increasingly powerful models you'll encounter in IB Maths. Understanding how linear relates to what comes next helps you see the bigger picture and prepares you for SL 2.5 (modelling) and later HL topics.
| Feature | Linear Model (SL 2.2) | Beyond Linear (SL 2.5+) |
|---|---|---|
| Equation form | y = mx + c | y = ax² + bx + c (quadratic), y = abˣ (exponential), etc. |
| Rate of change | Constant — same everywhere | Variable — changes depending on x |
| Graph shape | Straight line | Parabola, curve, exponential growth/decay |
| Typical use | Constant-speed motion, fixed-rate billing | Projectile motion, population growth, radioactive decay |
| Number of parameters | 2 (m and c) | 3 or more, allowing more flexible curve shapes |
Linear vs. non-linear modelling at a glance
In calculus, you'll learn that the gradient of any smooth curve at a single point is found by zooming in until the curve looks like a straight line — a tangent line. So even when the world isn't linear, linear thinking is still the tool you use to analyse it locally. Mastering SL 2.2 now gives you a head start on those more advanced ideas.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
A linear function has the form y = mx + c, where m (the gradient) represents the constant rate of change and c (the y-intercept) is the output value when x = 0. The gradient is calculated using m = (y₂ − y₁) / (x₂ − x₁) and can be positive (line rises), negative (line falls), or zero (horizontal line).
Linear models are powerful for situations with constant rates — such as fixed-speed travel, hourly wages, or steady filling of a tank — but have limitations when the rate of change is not truly constant. Always interpret m and c in context for full IB marks, and question whether extrapolation beyond the given data is reasonable. Mastering these ideas prepares you for quadratic, exponential, and other non-linear models later in the course.