I can
- find the value of a function such as f(−2)
- find k when f(k) is given, and simplify f(a − 2)
- find a gradient and an x-intercept
- write the equation of a line, and a parallel or perpendicular line
Key idea
A function such as f(x) = 3x − 7 is a rule. f(−2) means put −2 in place of x. If the input is an expression like a − 2, put the whole expression in brackets, then expand.
For a line, the gradient is rise over run: (y₂ − y₁)/(x₂ − x₁). A line is y = mx + c, where m is the gradient and c the y-intercept. The x-intercept is where y = 0. Parallel lines have the same gradient. Perpendicular lines have gradients that multiply to −1.
Worked examples
Example 1: h(x) = 2x² − 5x + 7. Find h(−4).
Watch it: h(−4) where h(x) = 2x² − 5x + 7, step by step:
- h(x) = 2x² − 5x + 7. Find h(−4).
- Put −4 in place of x.
- (−4)² = 16, so 2 × 16 = 32. Then −5 × (−4) = 20.
- 32 + 20 + 7 = 59. So h(−4) = 59.
- Put −4 in place of x: 2(−4)² − 5(−4) + 7.
- (−4)² = 16, so 2 × 16 = 32. Then −5 × −4 = 20.
- 32 + 20 + 7 = 59.
h(−4) = 59
Example 2: g(x) = x² + 2x + 3. Simplify g(a − 2).
Watch it: g(a − 2) where g(x) = x² + 2x + 3, step by step:
- g(x) = x² + 2x + 3. Put a − 2 in place of x.
- Expand: (a − 2)² = a² − 4a + 4 and 2(a − 2) = 2a − 4.
- Collect like terms: −4a + 2a = −2a, and 4 − 4 + 3 = 3.
- g(a − 2) = (a − 2)² + 2(a − 2) + 3.
- Expand: a² − 4a + 4 + 2a − 4 + 3.
- Collect like terms.
g(a − 2) = a² − 2a + 3
Example 3: Find the equation of the line through (−2, 9) and (0, 1).
Watch it: The line through (−2, 9) and (0, 1), step by step:
- The gradient is the change in y divided by the change in x.
- Change in y: 1 − 9 = −8. Change in x: 0 − (−2) = 2.
- Gradient = −8/2 = −4.
- The line crosses the y-axis at (0, 1), so c = 1. So y = −4x + 1.
- Gradient = (1 − 9)/(0 − (−2)) = −8/2 = −4.
- The line crosses the y-axis at (0, 1), so c = 1.
y = −4x + 1
Try it
Show answer
-13Show answer
5Show answer
-1Show answer
-2Show answer
5x + 18Show answer
-x + 6Common mistakes
- Squaring a negative wrongly. (−4)² is 16, not −16.
- Mixing up the order of the points when finding a gradient. Subtract y and x in the same order.
Remember
- f(a) means put a in place of x.
- Parallel lines share a gradient. Perpendicular gradients multiply to −1.
Practise this
Worksheets 141 to 160 of Level 10 practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh