A brief note on Domain, Range, Inverse and Composite Functions . Read it before a test. Try each question at the end before you open its answer.
Functions, domain and range Function: exactly one output for each input. One-one: no output is shared. Many-one: some output is shared. Domain: the allowed inputs. Range (image set): the outputs that occur. Domain rules: no zero in a bottom, no negative under a square root, no logarithm of zero or less. Quadratic on an interval: compare the turning point (if inside) with both ends. f 2 ( x ) f^2(x) f 2 ( x ) means f ( f ( x ) ) f(f(x)) f ( f ( x )) . y = ∣ f ( x ) ∣ y = |f(x)| y = ∣ f ( x ) ∣ : keep the part on or above the x x x -axis, reflect the part below it. The range is never negative. Inverse functions Method: write y = f ( x ) y = f(x) y = f ( x ) , swap x x x and y y y , solve for y y y . Only a one-one function has an inverse. Restrict a quadratic to one side of its turning point. Domain of f − 1 f^{-1} f − 1 is the range of f f f . Range of f − 1 f^{-1} f − 1 is the domain of f f f . Graph: the reflection of y = f ( x ) y = f(x) y = f ( x ) in the line y = x y = x y = x . Composite functions g f ( x ) = g ( f ( x ) ) gf(x) = g(f(x)) g f ( x ) = g ( f ( x )) : the function next to x x x acts first. Usually g f ≠ f g gf \ne fg g f = f g . Domain of g f gf g f is inside the domain of f f f . Range of g f gf g f is inside the range of g g g . Undo a composite in the opposite order: ( g f ) − 1 = f − 1 g − 1 (gf)^{-1} = f^{-1}g^{-1} ( g f ) − 1 = f − 1 g − 1 . A worked example f ( x ) = x + 5 x − 2 f(x) = \dfrac{x + 5}{x - 2} f ( x ) = x − 2 x + 5 for x ≠ 2 x \ne 2 x = 2 , and g ( x ) = x 2 g(x) = x^2 g ( x ) = x 2 . Find f − 1 ( x ) f^{-1}(x) f − 1 ( x ) and g f ( 0 ) gf(0) g f ( 0 ) .
Swap. x = y + 5 y − 2 x = \dfrac{y + 5}{y - 2} x = y − 2 y + 5 , so x y − 2 x = y + 5 xy - 2x = y + 5 x y − 2 x = y + 5 and y ( x − 1 ) = 2 x + 5 y(x - 1) = 2x + 5 y ( x − 1 ) = 2 x + 5 . Inverse. f − 1 ( x ) = 2 x + 5 x − 1 f^{-1}(x) = \dfrac{2x + 5}{x - 1} f − 1 ( x ) = x − 1 2 x + 5 , for x ≠ 1 x \ne 1 x = 1 . Composite. f ( 0 ) = − 5 2 f(0) = -\dfrac{5}{2} f ( 0 ) = − 2 5 , so g f ( 0 ) = 25 4 gf(0) = \dfrac{25}{4} g f ( 0 ) = 4 25 . Practice with new numbers
A program to try The program checks the inverse and the composite of the worked example with exact fractions.
Read it first. Then run it. Is f_inverse(f(x)) always equal to x?
1. Change g to return x + 1. Predict gf(x) for x = 0.
Mistakes to avoid Reading f 2 ( x ) f^2(x) f 2 ( x ) as ( f ( x ) ) 2 (f(x))^2 ( f ( x ) ) 2 . The wrong order in g f ( x ) gf(x) g f ( x ) : f f f acts first. Finding an inverse of a many-one function without restricting the domain. Choosing the wrong square-root sign for the restricted domain. Forgetting that y = ∣ f ( x ) ∣ y = |f(x)| y = ∣ f ( x ) ∣ is never negative. Check yourself State the range of f ( x ) = ( x − 4 ) 2 + 1 f(x) = (x - 4)^2 + 1 f ( x ) = ( x − 4 ) 2 + 1 for x ≥ 4 x \ge 4 x ≥ 4 . Stuck? Show a hint Show the answerFind f − 1 ( x ) f^{-1}(x) f − 1 ( x ) for f ( x ) = 6 − 2 x f(x) = 6 - 2x f ( x ) = 6 − 2 x . Stuck? Show a hint Show the answerf ( x ) = x + 1 f(x) = x + 1 f ( x ) = x + 1 and g ( x ) = 2 x g(x) = 2x g ( x ) = 2 x . Find g f ( 3 ) gf(3) g f ( 3 ) and f g ( 3 ) fg(3) f g ( 3 ) . Stuck? Show a hint Show the answerWhy does f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 for all real x x x have no inverse? Stuck? Show a hint Show the answerf ( x ) = x − 6 f(x) = x - 6 f ( x ) = x − 6 and g ( x ) = x g(x) = \sqrt{x} g ( x ) = x . State the largest domain of g f gf g f . Stuck? Show a hint Show the answerSources Cambridge International, IGCSE Additional Mathematics 0606 syllabus, unit 1 Functions.