Functions
2.12 Functions – Cheat Sheet
1. Functions, Domain, and Range
- Function: A rule mapping each input (x) to exactly one output (y).
- Notation: f(x) means “function f of x”.
- Domain: All allowed input values for x.
- Range: All possible output values for y.
Example: f(x) = 3x − 5
- Domain: all real numbers (unless restricted).
- Range: all real numbers.
Mapping Diagram: Shows how each element in the domain maps to exactly one element in the range.
2. Function Notation Examples
| Function | Input | Working | Output |
|---|---|---|---|
| f(x) = 3x − 5 | x = 4 | 3(4) − 5 | 7 |
| h(x) = 2x² + 3 | x = −2 | 2(4) + 3 | 11 |
3. Inverse Functions (f⁻¹(x))
- Reverses the effect of the function.
- Steps to find inverse:
- Write y = f(x).
- Swap x and y.
- Rearrange to make y the subject.
- Replace y with f⁻¹(x).
Example: f(x) = 3x − 5
- y = 3x − 5
- Swap: x = 3y − 5
- x + 5 = 3y → y = (x + 5)/3
- f⁻¹(x) = (x + 5)/3
4. Composite Functions (gf)(x) = g(f(x))
- Apply f first, then g to the result.
Example 1:
f(x) = 3x − 5, g(x) = (x + 4)/5
- f(x) = 3x − 5
- g(f(x)) = [(3x − 5) + 4] / 5 = (3x − 1)/5
Example 2:
f(x) = 3/(x + 2), g(x) = (3x + 5)²
- f(x) = 3/(x + 2)
- g(f(x)) = [3(3/(x + 2)) + 5]² = [(9/(x + 2)) + 5]²
- Simplify: [(9 + 5(x + 2)) / (x + 2)]² = [(9 + 5x + 10) / (x + 2)]² = [(5x + 19) / (x + 2)]²
5. Quick Function Rules Table
| Rule | Meaning | Example |
|---|---|---|
| f(x) + g(x) | Add outputs | If f(x) = x², g(x) = x, f + g = x² + x |
| f(x) − g(x) | Subtract outputs | x² − x |
| f(x) × g(x) | Multiply outputs | x³ |
| f(x) ÷ g(x) | Divide outputs | x |
6. Domain Restrictions
- Cannot divide by zero → Denominator ≠ 0.
- Even root (√) requires non-negative inside.
Example: f(x) = 1/(x − 3) → Domain: x ≠ 3
7. Examples Table for Quick Reference
| Problem | Working | Answer |
|---|---|---|
| f(x) = 3x − 5, find f(4) | 3(4) − 5 | 7 |
| f(x) = 2x + 1, find f⁻¹(x) | y = 2x + 1 → swap → x = 2y + 1 → y = (x − 1)/2 | f⁻¹(x) = (x − 1)/2 |
| f(x) = 3x − 5, g(x) = (x + 4)/5, find gf(x) | g(f(x)) = (3x − 1)/5 | (3x − 1)/5 |
| f(x) = 3/(x + 2), g(x) = (3x + 5)², find gf(x) | Substitute, simplify | [(5x + 19)/(x + 2)]² |
