I can
- put a number into a linear function f(x) and find the output
- find x when I know f(x)
- find the gradient of a line through two points and the x-intercept of a line
Key idea
A linear function has the form f(x) = mx + c. The number m is the gradient (how steep the line is). The number c is where the line crosses the y-axis.
f(−4) means: put −4 in place of x. To find x when f(x) is given, set the rule equal to that number and solve.
The gradient through (x1, y1) and (x2, y2) is the change in y divided by the change in x: (y2 − y1) ÷ (x2 − x1).
The x-intercept is where the line meets the x-axis. There y = 0, so put y = 0 and solve for x.
Worked examples
Example 1: f(x) = −3x + 2. Find f(−4).
Watch it: f(x) = −3x + 2, find f(−4), step by step:
- Put x = −4 into the function.
- Replace x with −4.
- A negative times a negative is positive: −3 × (−4) = 12.
- 12 + 2 = 14. So f(−4) = 14.
- Replace x with −4: −3 × (−4) + 2.
- A negative times a negative is positive: 12 + 2.
f(−4) = 14
Example 2: gradient through (1, 2) and (3, 8)
Watch it: gradient through (1, 2) and (3, 8), step by step:
- The gradient is the change in y divided by the change in x.
- Change in y: 8 − 2 = 6. Change in x: 3 − 1 = 2.
- 6 ÷ 2 = 3.
- The line goes up 6 while it goes across 2. The gradient is 3.
- Change in y: 8 − 2 = 6.
- Change in x: 3 − 1 = 2.
- Divide: 6 ÷ 2 = 3.
The gradient is 3
Example 3: x-intercept of y = 2x − 6
Watch it: x-intercept of y = 2x − 6, step by step:
- At the x-intercept y = 0.
- Add 6 to both sides.
- Divide by 2: x = 3.
- The line crosses the x-axis at x = 3.
- At the x-intercept y = 0, so 2x − 6 = 0.
- Add 6: 2x = 6.
- Divide by 2: x = 3.
The x-intercept is 3
Try it
Show answer
-11Show answer
-6Show answer
-2Show answer
2Show answer
-1/2Common mistakes
- Mixing up the order when finding the gradient. Subtract y first, then x, and keep the same point first in both.
- Forgetting that −3 × (−4) is positive.
- Giving the y-intercept when asked for the x-intercept. For the x-intercept, put y = 0.
Remember
- Gradient = change in y ÷ change in x.
- For the x-intercept put y = 0. For the y-intercept put x = 0.
Practise this
Worksheets 1 to 10 of Level 13 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh