1 BETA

Functions

8 learning objectives

1. Overview

Functions are a core topic in IGCSE Additional Mathematics, appearing in many exam questions, and are fundamental to understanding calculus, coordinate geometry, and trigonometry. This topic covers the definition of a function, its domain and range, how to combine functions through composition, and how to reverse a function using inverse functions. Mastering functions is essential for success in more advanced topics. Expect questions that require you to find domains and ranges, determine if an inverse exists, calculate composite functions, and sketch modulus functions.


Key Definitions

  • Function: A rule that maps each element in a set (domain) to exactly one element in another set (range).
  • Domain: The set of all possible input values (xx-values) for which the function is defined.
  • Range (Image Set): The set of all possible output values (f(x)f(x) or yy-values) resulting from the domain.
  • One-one Function: A function where every output corresponds to exactly one unique input. Only one-one functions have inverses.
  • Many-one Function: A function where two or more different inputs produce the same output (e.g., f(x)=x2f(x) = x^2).
  • Composite Function: A function formed by applying one function to the result of another (e.g., fg(x)fg(x)).
  • Inverse Function (f1f^{-1}): A function that reverses the effect of f(x)f(x), mapping the range back to the domain.

Core Content

A. Function Notation

Functions can be written as f(x)=2x+3f(x) = 2x + 3 or using mapping notation f:x2x+3f: x \mapsto 2x + 3.

  • f2(x)f^2(x) does not mean [f(x)]2[f(x)]^2; it means f(f(x))f(f(x)).
  • For a composite function gf(x)gf(x), you apply ff first, then apply gg to the result. Order matters: gf(x)fg(x)gf(x) \neq fg(x).

B. Domain and Range

  • Domain of ff = Range of f1f^{-1}
  • Range of ff = Domain of f1f^{-1}
  • To find the range, consider the shape of the graph or find the maximum/minimum points.
  • Notation: Always use f(x)f(x) or yy for range (e.g., f(x)0f(x) \geq 0) and xx for domain (e.g., xR,x2x \in \mathbb{R}, x \neq 2).

C. Inverse Functions

An inverse f1(x)f^{-1}(x) exists if and only if f(x)f(x) is a one-one function.

  • Why a function may not have an inverse: If it is "many-one" (like a parabola), horizontal lines cross the graph more than once, meaning one yy-value could lead back to multiple xx-values, which is not allowed for a function.
  • Restricting Domain: We can often make a many-one function one-one by restricting its domain (e.g., for f(x)=x2f(x) = x^2, we might restrict it to x0x \geq 0).

Worked Example 1 — Finding an Inverse (Quadratic)

Question: The function ff is defined by f(x)=x26x+5f(x) = x^2 - 6x + 5 for x3x \geq 3. Find an expression for f1(x)f^{-1}(x).

  1. Complete the square: f(x)=x26x+5f(x) = x^2 - 6x + 5 f(x)=(x26x+9)9+5f(x) = (x^2 - 6x + 9) - 9 + 5 (Completing the square) f(x)=(x3)24f(x) = (x - 3)^2 - 4

  2. Let y=f(x)y = f(x): y=(x3)24y = (x - 3)^2 - 4

  3. Swap xx and yy: x=(y3)24x = (y - 3)^2 - 4

  4. Rearrange for yy: x+4=(y3)2x + 4 = (y - 3)^2 ±x+4=y3\pm \sqrt{x + 4} = y - 3 y=3±x+4y = 3 \pm \sqrt{x + 4}

  5. Choose the correct sign: Since the domain of ff is x3x \geq 3, the range of f1f^{-1} must be y3y \geq 3. Therefore, we take the positive root. f1(x)=3+x+4f^{-1}(x) = 3 + \sqrt{x + 4}

  6. State the domain of f1(x)f^{-1}(x): The range of f(x)f(x) is f(x)4f(x) \geq -4. Therefore the domain of f1(x)f^{-1}(x) is x4x \geq -4.

Answer: f1(x)=3+x+4f^{-1}(x) = 3 + \sqrt{x + 4} for x4x \geq -4

Worked Example 2 — Finding an Inverse (Rational Function)

Question: The function gg is defined by g(x)=2x+1x3g(x) = \frac{2x + 1}{x - 3} for x3x \neq 3. Find an expression for g1(x)g^{-1}(x).

  1. Let y=g(x)y = g(x): y=2x+1x3y = \frac{2x + 1}{x - 3}

  2. Swap xx and yy: x=2y+1y3x = \frac{2y + 1}{y - 3}

  3. Rearrange for yy: x(y3)=2y+1x(y - 3) = 2y + 1 (Multiply both sides by y3y-3) xy3x=2y+1xy - 3x = 2y + 1 (Expand) xy2y=3x+1xy - 2y = 3x + 1 (Collect yy terms on one side) y(x2)=3x+1y(x - 2) = 3x + 1 (Factor out yy) y=3x+1x2y = \frac{3x + 1}{x - 2} (Divide by x2x-2)

  4. State the domain of g1(x)g^{-1}(x): The range of g(x)g(x) can be found by considering the horizontal asymptote of g(x)g(x), which is y=2y=2. Therefore the domain of g1(x)g^{-1}(x) is x2x \neq 2.

Answer: g1(x)=3x+1x2g^{-1}(x) = \frac{3x + 1}{x - 2} for x2x \neq 2

Worked Example 3 — Composite Functions

Question: Given f(x)=3x2f(x) = 3x - 2 and g(x)=x2+1g(x) = x^2 + 1, find an expression for fg(x)fg(x) and gf(x)gf(x).

  1. Find fg(x)fg(x): fg(x)=f(g(x))fg(x) = f(g(x)) fg(x)=f(x2+1)fg(x) = f(x^2 + 1) (Substitute g(x)g(x) into ff) fg(x)=3(x2+1)2fg(x) = 3(x^2 + 1) - 2 (Substitute x2+1x^2+1 into f(x)f(x)) fg(x)=3x2+32fg(x) = 3x^2 + 3 - 2 (Expand) fg(x)=3x2+1fg(x) = 3x^2 + 1

  2. Find gf(x)gf(x): gf(x)=g(f(x))gf(x) = g(f(x)) gf(x)=g(3x2)gf(x) = g(3x - 2) (Substitute f(x)f(x) into gg) gf(x)=(3x2)2+1gf(x) = (3x - 2)^2 + 1 (Substitute 3x23x-2 into g(x)g(x)) gf(x)=(9x212x+4)+1gf(x) = (9x^2 - 12x + 4) + 1 (Expand) gf(x)=9x212x+5gf(x) = 9x^2 - 12x + 5

Answers: fg(x)=3x2+1fg(x) = 3x^2 + 1 and gf(x)=9x212x+5gf(x) = 9x^2 - 12x + 5

D. Graphical Relationships

  • The graph of y=f1(x)y = f^{-1}(x) is a reflection of y=f(x)y = f(x) in the line y=xy = x.
  • Any point (a,b)(a, b) on ff becomes (b,a)(b, a) on f1f^{-1}.

E. Modulus Functions y=f(x)y = |f(x)|

The modulus (absolute value) makes any negative output positive.

  • To sketch y=f(x)y = |f(x)|: Sketch y=f(x)y = f(x) normally, then reflect any part of the graph that is below the xx-axis upwards so it is above the xx-axis.
  • 📊A V-shaped graph for y=mx+cy=|mx+c| or a "W" shape for a reflected quadratic y=ax2+bx+cy=|ax^2+bx+c| where the vertex was originally below the x-axis.

Worked Example 4 — Modulus Equations

Question: Solve the equation 3x+1=x2|3x + 1| = |x - 2|.

  1. Case 1: 3x+1=x23x + 1 = x - 2 2x=32x = -3 x=32x = -\frac{3}{2}

  2. Case 2: 3x+1=(x2)3x + 1 = -(x - 2) 3x+1=x+23x + 1 = -x + 2 4x=14x = 1 x=14x = \frac{1}{4}

Answers: x=32,x=14x = -\frac{3}{2}, x = \frac{1}{4}. (Always check for extraneous solutions by substituting back into the original modulus).


Extended Content

Additional Mathematics is a single-tier syllabus — all content above applies to all students.


Key Equations & Notation

f:xf: x \mapsto \dots: Function ff maps xx to a value. fg(x)fg(x): Composite function: f(g(x))f(g(x)). f1(x)f^{-1}(x): Inverse function of ff. f(x)|f(x)|: Modulus of f(x)f(x) (always 0\geq 0). f(x)Rf(x) \in \mathbb{R}: The range is the set of all real numbers.


Common Mistakes to Avoid

  • Wrong Notation for Range: Writing x>5x > 5 for the range. ✓ Right: Range must use f(x)f(x) or yy, e.g., f(x)>5f(x) > 5.
  • Incorrect Composite Order: Calculating gf(x)gf(x) as g(x)×f(x)g(x) \times f(x). ✓ Right: gf(x)gf(x) means substituting the entire expression of f(x)f(x) into every 'xx' in g(x)g(x).
  • Keeping both roots for inverses: Leaving an inverse as f1(x)=2±xf^{-1}(x) = 2 \pm \sqrt{x}. ✓ Right: Check the original domain. If xx \geq vertex, use ++. If xx \leq vertex, use -.
  • Logarithm Domains: Forgetting that for f(x)=ln(xk)f(x) = \ln(x-k), the domain must be x>kx > k.
  • Sign Errors: Swapping xx and yy then making a sign error during algebraic rearrangement.
  • Exact Value Errors: Giving a decimal approximation when the question requires an exact answer in terms of surds or ln\ln. ✓ Right: Leave your answer as 5\sqrt{5}, 13\frac{1}{3}, or ln2\ln 2 unless the question explicitly asks for a decimal approximation.
  • Forgetting Domain Restrictions: When finding the inverse of f(x)=x2f(x) = \sqrt{x-2}, not stating the domain of f1(x)f^{-1}(x) as x0x \geq 0. ✓ Right: The range of f(x)f(x) is y0y \geq 0, so the domain of f1(x)f^{-1}(x) is x0x \geq 0.
  • Missing Solutions in Modulus Equations: Only considering the positive case when solving f(x)=a|f(x)| = a. ✓ Right: Remember to solve both f(x)=af(x) = a and f(x)=af(x) = -a.

Exam Tips

  • Command Words: If a question says "State the range," it is usually a 1-mark question that requires no working—look for horizontal asymptotes or vertices.
  • Paper 1 (Non-Calculator): Expect to handle surds and fractions. f(x)=x+1x2f(x) = \frac{x+1}{x-2} is a common type for finding inverses.
  • Formula Sheet: Note that no function formulas are provided on the IGCSE Additional Maths formula sheet. You must memorize the methods for completing the square and finding inverses.
  • Show That: In "show that" questions for inverse functions, clearly state "Let y=f(x)y = f(x)" and "Swap xx and yy" to earn method marks.
  • Graphing: When sketching f(x)|f(x)| for a quadratic, always label the yy-intercept, xx-intercepts, and the coordinates of the reflected maximum point.
  • Existence of Inverses: If asked why f1f^{-1} doesn't exist, the standard answer is: "Because ff is a many-one function (or fails the horizontal line test)."
  • Paper 1 (Non-Calculator): Practice algebraic manipulation to avoid errors when finding inverses. Pay close attention to signs and the order of operations.
  • Paper 2 (Calculator Allowed): Use your calculator to check your answers, especially for modulus equations. Graph both sides of the equation to visually confirm your solutions.




Exam-Style Questions

Practice these original exam-style questions to test your understanding. Each question mirrors the style, structure, and mark allocation of real Cambridge 0606 papers.

Exam-Style Question 1 — Paper 1 (No Calculator Allowed) [10 marks]

Question:

The function ff is defined by f(x)=4x+1x3f(x) = \frac{4x + 1}{x - 3} for x>3x > 3.

(a) Find an expression for f1(x)f^{-1}(x). [5]

(b) Write down the domain and range of f1(x)f^{-1}(x). [3]

(c) Explain why f(x)f(x) does not have an inverse if the domain is not restricted. [2]

Worked Solution:

(a)

  1. Let y=f(x)y = f(x), so y=4x+1x3y = \frac{4x + 1}{x - 3}. To find the inverse, swap xx and yy: x=4y+1y3x = \frac{4y + 1}{y - 3} [Swap x and y to begin finding the inverse]

  2. Rearrange to make yy the subject: x(y3)=4y+1x(y - 3) = 4y + 1 xy3x=4y+1xy - 3x = 4y + 1 xy4y=3x+1xy - 4y = 3x + 1 y(x4)=3x+1y(x - 4) = 3x + 1 y=3x+1x4y = \frac{3x + 1}{x - 4} [Isolate y]

  3. Write the inverse function using correct notation: f1(x)=3x+1x4f^{-1}(x) = \frac{3x + 1}{x - 4} [Express the answer in terms of f^{-1}(x)]

f1(x)=3x+1x4\boxed{f^{-1}(x) = \frac{3x + 1}{x - 4}}

How to earn full marks: Remember to swap xx and yy at the start, and then rearrange to make yy the subject, expressing your final answer as f1(x)f^{-1}(x).

(b)

  1. The domain of f1(x)f^{-1}(x) is the range of f(x)f(x). Since f(x)=4x+1x3=4(x3)+13x3=4+13x3f(x) = \frac{4x + 1}{x - 3} = \frac{4(x-3)+13}{x-3}=4+\frac{13}{x-3}, as xx tends to infinity, f(x)f(x) approaches 4. Also, f(x)f(x) can take any value greater than 4. Therefore, the range of f(x)f(x) is f(x)>4f(x) > 4 Domain of f1(x)f^{-1}(x): x>4x > 4 [State the domain of the inverse function]

  2. The range of f1(x)f^{-1}(x) is the domain of f(x)f(x). Range of f1(x)f^{-1}(x): f1(x)>3f^{-1}(x) > 3 [State the range of the inverse function]

Domain: x>4, Range: f1(x)>3\boxed{\text{Domain: } x > 4, \text{ Range: } f^{-1}(x) > 3}

How to earn full marks: State the domain and range clearly, remembering that the domain of f1(x)f^{-1}(x) is the range of f(x)f(x), and vice versa.

(c)

  1. For f(x)f(x) to have an inverse, it must be a one-to-one function. If the domain is not restricted, then f(x)f(x) is not a one-to-one function.
  2. For example, f(0)=13f(0) = -\frac{1}{3} and f(14)=13f(-\frac{1}{4}) = -\frac{1}{3}.
  3. Therefore, f(x)f(x) is a many-to-one function if the domain is not restricted, and does not have an inverse.

If the domain is not restricted, the function is many-to-one, so it does not have an inverse.\boxed{\text{If the domain is not restricted, the function is many-to-one, so it does not have an inverse.}}

How to earn full marks: Explain that for a function to have an inverse, it must be one-to-one, and show with an example that f(x)f(x) is many-to-one when the domain is unrestricted.

Common Pitfall: When finding the inverse, remember to swap xx and yy first before rearranging. Also, be careful with the domain and range of the inverse function – they are related to the range and domain of the original function, respectively.

Exam-Style Question 2 — Paper 1 (No Calculator Allowed) [8 marks]

Question:

The functions gg and hh are defined as follows: g(x)=x26x+5g(x) = x^2 - 6x + 5 for xRx \in \mathbb{R} h(x)=3x2h(x) = 3x - 2 for xRx \in \mathbb{R}

(a) Find the range of g(x)g(x). [3]

(b) Find hg(x)hg(x) in its simplest form. [3]

(c) Solve h(x)=g(0)h(x) = g(0). [2]

Worked Solution:

(a)

  1. Complete the square for g(x)g(x): g(x)=(x3)29+5=(x3)24g(x) = (x - 3)^2 - 9 + 5 = (x - 3)^2 - 4 [Complete the square to find the vertex]

  2. The minimum value of g(x)g(x) occurs when (x3)2=0(x - 3)^2 = 0, which gives g(x)=4g(x) = -4. Since (x3)2(x-3)^2 is always non-negative, the range of g(x)g(x) is g(x)4g(x) \ge -4.

g(x)4\boxed{g(x) \ge -4}

How to earn full marks: Complete the square correctly to find the vertex of the parabola, then state the range using the correct inequality sign.

(b)

  1. Substitute g(x)g(x) into h(x)h(x): hg(x)=h(g(x))=3(g(x))2=3(x26x+5)2hg(x) = h(g(x)) = 3(g(x)) - 2 = 3(x^2 - 6x + 5) - 2 [Substitute the function]

  2. Expand and simplify: hg(x)=3x218x+152=3x218x+13hg(x) = 3x^2 - 18x + 15 - 2 = 3x^2 - 18x + 13

hg(x)=3x218x+13\boxed{hg(x) = 3x^2 - 18x + 13}

How to earn full marks: Substitute g(x)g(x) into h(x)h(x) correctly, then expand and simplify the expression fully.

(c)

  1. Find g(0)g(0): g(0)=(0)26(0)+5=00+5=5g(0) = (0)^2 - 6(0) + 5 = 0 - 0 + 5 = 5 [Calculate g(0)]

  2. Solve h(x)=5h(x) = 5: 3x2=53x - 2 = 5 3x=73x = 7 x=73x = \frac{7}{3}

x=73\boxed{x = \frac{7}{3}}

How to earn full marks: First, calculate g(0)g(0), then set h(x)h(x) equal to that value and solve for xx.

Common Pitfall: When completing the square, double-check your arithmetic, especially when subtracting the squared term. Also, remember the order of operations when finding composite functions – work from the inside out!

Exam-Style Question 3 — Paper 2 (Calculator Allowed) [9 marks]

Question:

The function ff is defined by f(x)=83x+2f(x) = \frac{8}{3x+2} for x0x \ge 0.

(a) Find f1(x)f^{-1}(x). [4]

(b) The function gg is defined by g(x)=x+5g(x) = \sqrt{x+5} for x5x \ge -5. Find the domain and range of fg(x)fg(x). Give your answers to 2 decimal places where appropriate. [5]

Worked Solution:

(a)

  1. Let y=f(x)y = f(x), so y=83x+2y = \frac{8}{3x + 2}. Swap xx and yy: x=83y+2x = \frac{8}{3y + 2} [Swap x and y to begin finding the inverse]

  2. Rearrange to make yy the subject: x(3y+2)=8x(3y + 2) = 8 3xy+2x=83xy + 2x = 8 3xy=82x3xy = 8 - 2x y=82x3xy = \frac{8 - 2x}{3x} [Isolate y]

  3. Write the inverse function using correct notation: f1(x)=82x3xf^{-1}(x) = \frac{8 - 2x}{3x} [Express the answer in terms of f^{-1}(x)]

f1(x)=82x3x\boxed{f^{-1}(x) = \frac{8 - 2x}{3x}}

How to earn full marks: Remember to swap xx and yy at the beginning, and then isolate yy to express the inverse function correctly.

(b)

  1. Find the composite function fg(x)fg(x): fg(x)=f(g(x))=f(x+5)=83x+5+2fg(x) = f(g(x)) = f(\sqrt{x+5}) = \frac{8}{3\sqrt{x+5} + 2} [Substitute g(x) into f(x)]

  2. Find the domain of fg(x)fg(x). Since x5x \ge -5 and the square root is defined, the domain is x5x \ge -5. [State the domain of the composite function, based on the domain of g(x)]

  3. Find the range of fg(x)fg(x). When x=5x=-5, fg(x)=835+5+2=4fg(x)=\frac{8}{3\sqrt{-5+5} + 2}=4. As xx approaches infinity, x+5\sqrt{x+5} also approaches infinity, so 3x+5+23\sqrt{x+5}+2 approaches infinity, and thus 83x+5+2\frac{8}{3\sqrt{x+5} + 2} approaches 0. Therefore, the range is 0<fg(x)40 < fg(x) \le 4.

Domain: x5, Range: 0<fg(x)4\boxed{\text{Domain: } x \ge -5, \text{ Range: } 0 < fg(x) \le 4}

How to earn full marks: Find the composite function, then state the domain considering the domain of g(x)g(x), and determine the range by considering the minimum and maximum possible values of fg(x)fg(x).

Common Pitfall: When dealing with composite functions and square roots, always consider the domain restrictions of the inner function. Also, remember that the range of a function can be restricted by the denominator approaching infinity.

Exam-Style Question 4 — Paper 2 (Calculator Allowed) [11 marks]

Question:

The function f(x)f(x) is defined as f(x)=x23x4f(x) = |x^2 - 3x - 4| for xRx \in \mathbb{R}.

(a) Sketch the graph of y=f(x)y = f(x) for 2x5-2 \le x \le 5, showing the coordinates of any turning points and points where the graph intersects the xx-axis. [5]

(b) Find the range of f(x)f(x). [2]

(c) Determine the values of kk for which the equation f(x)=kf(x) = k has exactly 4 solutions. [4]

Worked Solution:

(a)

  1. Factorise the quadratic: x23x4=(x+1)(x4)x^2 - 3x - 4 = (x+1)(x-4). The roots are x=1x=-1 and x=4x=4. [Find the roots of the quadratic]

  2. Find the vertex of the quadratic before taking the modulus: x=(3)2(1)=1.5x = \frac{-(-3)}{2(1)} = 1.5. y=(1.5)23(1.5)4=2.254.54=6.25y = (1.5)^2 - 3(1.5) - 4 = 2.25 - 4.5 - 4 = -6.25. [Find the x-coordinate of the vertex using -b/2a, then substitute to find the y-coordinate]

  3. The vertex of y=x23x4y = |x^2 - 3x - 4| is therefore at (1.5,6.25)(1.5, 6.25). The points of intersection with the x-axis are (-1,0) and (4,0).

  4. Sketch the graph, reflecting the portion below the x-axis. The graph passes through (-2,6) and (5,6).

📊A set of axes with x from -2 to 5 and y from 0 to 7. A parabola-like shape is shown. The original parabola y = x^2 - 3x - 4 has roots at x = -1 and x = 4. The portion of the curve between x = -1 and x = 4 is reflected above the x-axis. The vertex of the reflected portion is at (1.5, 6.25). The points (-2, 6) and (5, 6) are also shown on the graph. The x-intercepts are labeled (-1, 0) and (4, 0), and the vertex is labeled (1.5, 6.25).

How to earn full marks: Find the roots and vertex of the quadratic, reflect the part of the graph below the x-axis, and label all key points clearly on your sketch.

(b)

  1. From the graph, the minimum value of f(x)f(x) is 0 and the maximum value is 6 (at x=2x=-2 and x=5x=5).
  2. The range of f(x)f(x) is 0f(x)60 \le f(x) \le 6.

0f(x)6\boxed{0 \le f(x) \le 6}

How to earn full marks: State the range using the correct inequality signs, based on the minimum and maximum y-values of the graph.

(c)

  1. For f(x)=kf(x) = k to have exactly 4 solutions, the line y=ky = k must intersect the graph of y=f(x)y = f(x) in 4 places.
  2. This occurs when 0<k<6.250 < k < 6.25.

0<k<6.25\boxed{0 < k < 6.25}

How to earn full marks: Determine the range of kk values for which a horizontal line y=ky=k intersects the graph at exactly four points, using the vertex of the reflected portion of the graph.

Common Pitfall: When sketching modulus functions, remember to reflect the part of the graph that's below the x-axis. Also, be careful when finding the vertex of the original quadratic – a small arithmetic error can throw off the entire graph.

Frequently Asked Questions: Functions

What is Function in Functions?

Function: A rule that maps each element in a set (domain) to exactly one element in another set (range).

What is Domain in Functions?

Domain: The set of all possible input values (x-values) for which the function is defined.

What is Range (Image Set) in Functions?

Range (Image Set): The set of all possible output values (f(x) or y-values) resulting from the domain.

What is One-one Function in Functions?

One-one Function: A function where every output corresponds to exactly one unique input. Only one-one functions have inverses.

What is Many-one Function in Functions?

Many-one Function: A function where two or more different inputs produce the same output (e.g., f(x) = x^2).

What is Composite Function in Functions?

Composite Function: A function formed by applying one function to the result of another (e.g., fg(x)).

What is Inverse Function (f^{-1}) in Functions?

Inverse Function (f^{-1}): A function that reverses the effect of f(x), mapping the range back to the domain.