Skip to main content
ScotlandMathsSyllabus dot point

How do functions combine, invert and transform, and how do those operations move and reshape their graphs?

Functions and their domain and range, composite functions, inverse functions, exponential and logarithmic graphs, and the graphs that result from translating, reflecting and stretching a known function.

A focused answer to the SQA Higher Mathematics functions and graphs content, covering domain and range, composite and inverse functions, the shapes of exponential and logarithmic graphs, and how translating, reflecting and stretching transforms the graph of a known function.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Domain and range
  3. Composite functions
  4. Inverse functions
  5. Exponential and logarithmic graphs
  6. Transformations
  7. Examples in context
  8. Try this

What this dot point is asking

The SQA wants you to work with the domain and range of a function, form and evaluate composite functions, find inverse functions, recognise exponential and logarithmic graphs, and sketch graphs produced by translating, reflecting and stretching a known function.

Domain and range

The domain of a function is the set of inputs for which it is defined; the range is the set of outputs it produces. Two situations restrict a domain: a denominator must not be zero, so 1x3\dfrac{1}{x - 3} excludes x=3x = 3, and the expression under a square root must not be negative, so x1\sqrt{x - 1} requires x1x \ge 1. Always quote the domain restriction when a function has one.

Composite functions

To form f(g(x))f(g(x)), substitute g(x)g(x) into ff. The order matters, so f(g(x))f(g(x)) is usually not the same as g(f(x))g(f(x)). The domain of the composite must avoid any value that makes an inside function undefined.

Inverse functions

The inverse f1f^{-1} reverses the effect of ff, so f(f1(x))=xf(f^{-1}(x)) = x. To find it, write y=f(x)y = f(x), swap xx and yy, then make yy the subject. The graph of y=f1(x)y = f^{-1}(x) is the reflection of y=f(x)y = f(x) in the line y=xy = x.

Exponential and logarithmic graphs

Transformations

Transformations split into outside changes (which affect yy and act vertically, in the natural direction) and inside changes (which affect xx and act horizontally, in the opposite direction to what they look like).

Examples in context

Graph transformations let you build a model from a known shape. A standard cooling curve y=f(x)y = f(x) for an object can be shifted to y=f(x)+20y = f(x) + 20 to model the same cooling towards a room temperature of 2020 degrees rather than zero. Recognising that adding a constant outside the function raises the asymptote lets a scientist reuse one template curve for many ambient conditions without re-deriving the model.

Try this

Q1. Given f(x)=x3f(x) = x - 3 and g(x)=4xg(x) = 4x, find g(f(x))g(f(x)). [2 marks]

  • Cue. g(f(x))=4(x3)=4x12g(f(x)) = 4(x - 3) = 4x - 12.

Q2. Describe the transformation that maps y=f(x)y = f(x) onto y=f(x2)+5y = f(x - 2) + 5. [2 marks]

  • Cue. A translation 22 to the right and 55 up.

Q3. Given f(x)=1x1f(x) = \dfrac{1}{x - 1}, state the value excluded from the domain and find f1(x)f^{-1}(x). [3 marks]

  • Cue. Exclude x=1x = 1; from y=1x1y = \dfrac{1}{x - 1} swap and rearrange to f1(x)=1x+1f^{-1}(x) = \dfrac{1}{x} + 1.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA Higher 20195 marksFunctions are defined by f(x)=3x1f(x) = 3x - 1 and g(x)=1x+2g(x) = \dfrac{1}{x + 2}, where x2x \neq -2. Find an expression for h(x)=f(g(x))h(x) = f(g(x)) in its simplest form, and state the value of xx that must be excluded from the domain of hh.
Show worked answer →

Apply gg first, then ff: h(x)=f(g(x))=f ⁣(1x+2)h(x) = f\big(g(x)\big) = f\!\left(\dfrac{1}{x + 2}\right) (1 mark).

Substitute into f(x)=3x1f(x) = 3x - 1: h(x)=31x+21=3x+21h(x) = 3 \cdot \dfrac{1}{x + 2} - 1 = \dfrac{3}{x + 2} - 1 (1 mark).

Combine over a common denominator: h(x)=3(x+2)x+2=1xx+2h(x) = \dfrac{3 - (x + 2)}{x + 2} = \dfrac{1 - x}{x + 2} (2 marks).

The excluded value is x=2x = -2, because gg (the inner function) is undefined there (1 mark). Markers reward the correct order of composition, the simplification, and identifying the domain restriction from the inner function.

SQA Higher 20224 marksThe function is defined by f(x)=52xf(x) = 5 - 2x for xRx \in \mathbb{R}. Find a formula for the inverse function f1(x)f^{-1}(x), and verify that f(f1(x))=xf\big(f^{-1}(x)\big) = x.
Show worked answer →

Write y=52xy = 5 - 2x (1 mark). Swap xx and yy: x=52yx = 5 - 2y (1 mark).

Make yy the subject: 2y=5x2y = 5 - x, so y=5x2y = \dfrac{5 - x}{2}, giving f1(x)=5x2f^{-1}(x) = \dfrac{5 - x}{2} (1 mark).

Verify: f(f1(x))=52(5x2)=5(5x)=xf\big(f^{-1}(x)\big) = 5 - 2\left(\dfrac{5 - x}{2}\right) = 5 - (5 - x) = x, as required (1 mark). Markers reward swapping the variables, rearranging for yy, and the verification by composition.

Related dot points

Sources & how we know this