Functions

AS Level Mathematics · Pure Mathematics 1. A short explanation of the idea, the rules to remember, the mistake to avoid, a worked example and practice questions with answers.

Test this topic freeAll AS Level Mathematics topics

The idea

A function is a rule that gives exactly one output for each input. The domain is the set of inputs allowed. The range is the set of outputs that the function actually produces. To find a range, sketch the graph over the given domain, or use the completed square form for a quadratic.

A function is one-one if every output comes from only one input. Only a one-one function has an inverse. The inverse f−1 undoes f, so the domain and range swap over.

A composite function applies one function and then another. gf can only be formed when the range of f lies inside the domain of g. Graphs can also be moved or stretched by changing the formula in simple ways.

Rules to remember

Common mistake

Students read fg(x) from left to right and apply f first. The function nearest to x acts first, so fg(x) means g and then f. Also, f(x + a) moves the graph to the left, not to the right.

Worked example

f(x) = 3x − 2 and g(x) = x2 + 1 for all real x. Solve gf(x) = 17.

  1. Apply f first: gf(x) = g(3x − 2) = (3x − 2)2 + 1.
  2. (3x − 2)2 + 1 = 17, so (3x − 2)2 = 16 and 3x − 2 = 4 or −4.
  3. 3x = 6 gives x = 2. 3x = −2 gives x = −2/3.

Answer: x = 2 or x = −2/3

Practice questions

Try each one, then open the answer.

1. f(x) = x2 − 4x + 1 for x ≥ k. Find the smallest value of k for which f is one-one.

  1. A
    k = −2
  2. B
    k = 1
  3. C
    k = 2
  4. D
    k = 4
Show answer

Answer: C. Complete the square: f(x) = (x − 2)2 − 3, vertex at x = 2. Restricting the domain to x ≥ 2 keeps only one arm of the parabola, so f is one-one; smallest k = 2.

2. The function f is one-one. The graph of y = f−1(x) is the reflection of the graph of y = f(x) in which line?

  1. A
    the x-axis
  2. B
    the y-axis
  3. C
    the line y = −x
  4. D
    the line y = x
Show answer

Answer: D. Inverting swaps the roles of x and y, so every point (a, b) on y = f(x) becomes (b, a) on y = f−1(x); this is reflection in the line y = x.

3. f(x) = 4 − (x + 1)2 for x ≤ −1. Find f−1(x) and state its domain.

  1. A
    f−1(x) = −1 + √(4 − x), x ≤ 4
  2. B
    f−1(x) = −1 − √(4 − x), x ≤ 4
  3. C
    f−1(x) = √(4 − x) − 1, x ≥ 4
  4. D
    f−1(x) = −1 − √(x − 4), x ≥ 4
Show answer

Answer: B. y = 4 − (x + 1)2 gives (x + 1)2 = 4 − y, and since x ≤ −1 we need x + 1 ≤ 0, so x + 1 = −√(4 − y). Hence f−1(x) = −1 − √(4 − x); its domain is the range of f, which is x ≤ 4.

More questions on this topic

Read the full notes

Keep going

← QuadraticsCoordinate geometry →All rules on one pageStuck? Ask a question