E2.13 Algebra and graphs
Syllabus aims: understand functions, domain and range, function notation, inverse functions and composite functions.
A function (دالة) gives exactly one output for each input. f(x) = 3x − 5 means: multiply the input by 3, then subtract 5. f(4) = 3 × 4 − 5 = 7. The domain is the set of allowed inputs and the range is the set of outputs.
Inverse (الدالة العكسية) f−1(x) undoes f. Write y = f(x), swap x and y, then make y the subject. Composite function (دالة مركّبة): fg(x) means f(g(x)), so do g first, then f.
f(x) = 3x − 5 and h(x) = 2x² + 3. Find f(4), h(−2) and the value of x when f(x) = 10.
Step 1. f(4) = 12 − 5 = 7.
Step 2. h(−2) = 2 × (−2)² + 3 = 2 × 4 + 3 = 11.
Step 3. 3x − 5 = 10, so 3x = 15 and x = 5.
Find f−1(x) for f(x) = 3x − 5 and g−1(x) for g(x) = 4x − 1.
Step 1. f: y = 3x − 5. Swap: x = 3y − 5. So 3y = x + 5 and f−1(x) = x + 53.
Step 2. g: y = 4x − 1. Swap: x = 4y − 1. So y − 1 = 4x.
Step 3. g−1(x) = 1 + 4x = x + 4x.
Check: g(5) = 44 = 1 and g−1(1) = 51 = 5. ✓
f(x) = 2x + 1 and g(x) = x². Find fg(x), gf(x) and fg(3).
Step 1. fg(x) = f(g(x)) = f(x²) = 2x² + 1.
Step 2. gf(x) = g(2x + 1) = (2x + 1)² = 4x² + 4x + 1.
Step 3. fg(3) = 2 × 9 + 1 = 19. (And gf(3) = 49, which is different: the order matters.)
Check: fg(3): g(3) = 9, f(9) = 19. ✓
Try each question first. Tap to see the answer.
Q1 (easy). f(x) = 5x + 2. Find f(−3).
5 × (−3) + 2 = −15 + 2 = −13.
Q2 (easy). h(x) = x² − 4. Solve h(x) = 12.
x² = 16, so x = 4 or x = −4.
Q3 (medium). Find f−1(x) for f(x) = 2x + 7.
x = 2y + 7, so y = x − 72. f−1(x) = x − 72.
Q4 (medium). f(x) = x + 3 and g(x) = 2x. Find fg(x) and gf(x).
fg(x) = 2x + 3. gf(x) = 2(x + 3) = 2x + 6. Answers: fg(x) = 2x + 3 and gf(x) = 2x + 6.
Q5 (harder). f(x) = 3x + 2 and g(x) = 2x − 1. Find fg(x) in its simplest form.
f(g(x)) = 3(2x − 1) + 2 = 32x + 1.