Function notation
- A function takes an input and gives an output. f(x) = 3x + 2 means 'multiply by 3, then add 2'.
- f(4) means substitute x = 4: f(4) = 3 × 4 + 2 = 14.
- To solve f(x) = 20, write 3x + 2 = 20, so x = 6.
Composite functions
- fg(x) means do g first, then f. If f(x) = 3x + 2 and g(x) = x², then fg(x) = 3x² + 2 and gf(x) = (3x + 2)².
- fg(2) = f(g(2)) = f(4) = 14. Usually fg(x) and gf(x) are different.
Inverse functions
- The inverse function f⁻¹(x) reverses f. Write y = f(x), make x the subject, then swap back to x.
- For f(x) = 3x + 2: y = 3x + 2, so x = (y − 2)/3, and f⁻¹(x) = (x − 2)/3.
- The inverse undoes the function: f(4) = 14 and f⁻¹(14) = 4.
Key terms
- Function
- A rule that turns each input into exactly one output.
- Input
- The value that goes into a function.
- Output
- The value that comes out of a function.
- Composite function
- Two functions applied one after the other, such as fg(x).
- Inverse function
- The function that reverses another, written f⁻¹(x).
Quick questions on Functions
- f(x) = 3x + 2. What is f(4)?
- 14: 3 × 4 + 2 = 14.
- f(x) = x² − 1. What is f(−3)?
- 8: (−3)² − 1 = 9 − 1.
- f(x) = 3x + 2. Solve f(x) = 20.
- x = 6: 3x + 2 = 20, so 3x = 18.
- f(x) = 3x + 2 and g(x) = x². What is fg(2)?
- 14: g(2) = 4, then f(4) = 14.
- f(x) = 3x + 2 and g(x) = x². What is gf(x)?
- (3x + 2)²: Apply f first, then square the result.
- What does fg(x) mean?
- Apply g first, then f: The function nearest to x is applied first.
- f(x) = 3x + 2. What is f⁻¹(x)?
- (x − 2)/3: Subtract 2, then divide by 3.
- f(x) = 2x − 5. What is f⁻¹(3)?
- 4: f⁻¹(x) = (x + 5)/2, and (3 + 5)/2 = 4.
Functions: questions and answers
- What does an inverse function do?
- It reverses the original function. f⁻¹(f(x)) = x.
- g(x) = x/2 + 1. What is g(10)?
- 10 ÷ 2 + 1 = 6.
- f(x) = x + 3 and g(x) = 2x. What is fg(x)?
- 2x + 3. g first gives 2x, then add 3.