krit.club logo

Functions - Composition of functions

Grade 11IB_AA

Review the key concepts, formulae, and examples before starting your quiz.

🔑Concepts

•

Composition of functions is the process of combining two or more functions where the output of one function becomes the input for the next. The notation (f∘g)(x)(f \circ g)(x) represents f(g(x))f(g(x)), meaning g(x)g(x) is evaluated first, then the result is substituted into ff.

•

The domain of (f∘g)(x)(f \circ g)(x) is the set of all xx in the domain of gg such that g(x)g(x) is in the domain of ff. This 'double-filtering' process ensures that the inner function produces a valid input for the outer function.

Mapping diagram showing sets X, Y, and Z with functions g mapping X to Y and f mapping Y to Z.
•

Composition is not commutative in general, meaning (f∘g)(x)≠(g∘f)(x)(f \circ g)(x) \neq (g \circ f)(x). The order of operations is critical: the function closest to the variable xx is applied first.

•

Composition with an identity function or an inverse: A function composed with its inverse results in the identity function, f(f−1(x))=xf(f^{-1}(x)) = x, effectively 'undoing' the operation.

📐Formulae

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

(g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x))

(f∘f−1)(x)=x(f \circ f^{-1})(x) = x

(f∘g∘h)(x)=f(g(h(x)))(f \circ g \circ h)(x) = f(g(h(x)))

💡Examples

Problem 1:

Given f(x)=2x+5f(x) = 2x + 5 and g(x)=x2−3g(x) = x^2 - 3, find (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x).

Solution:

(f∘g)(x)=f(g(x))=f(x2−3)=2(x2−3)+5=2x2−6+5=2x2−1(f \circ g)(x) = f(g(x)) = f(x^2 - 3) = 2(x^2 - 3) + 5 = 2x^2 - 6 + 5 = 2x^2 - 1 (g∘f)(x)=g(f(x))=g(2x+5)=(2x+5)2−3=4x2+20x+25−3=4x2+20x+22(g \circ f)(x) = g(f(x)) = g(2x + 5) = (2x + 5)^2 - 3 = 4x^2 + 20x + 25 - 3 = 4x^2 + 20x + 22

Explanation:

To find f(g(x))f(g(x)), substitute the entire expression for g(x)g(x) into every xx in f(x)f(x). To find g(f(x))g(f(x)), substitute the expression for f(x)f(x) into every xx in g(x)g(x).

Problem 2:

Let h(x)=x−1h(x) = \sqrt{x-1} and k(x)=1xk(x) = \frac{1}{x}. Determine the expression for (k∘h)(x)(k \circ h)(x) and state its domain.

Solution:

(k∘h)(x)=k(h(x))=k(x−1)=1x−1(k \circ h)(x) = k(h(x)) = k(\sqrt{x-1}) = \frac{1}{\sqrt{x-1}} Domain: For x−1\sqrt{x-1} to be defined, x−1≥0  ⟹  x≥1x - 1 \ge 0 \implies x \ge 1. For the fraction to be defined, the denominator cannot be zero, so x−1≠0  ⟹  x≠1\sqrt{x-1} \neq 0 \implies x \neq 1. Combining these, the domain is x>1x > 1.

Explanation:

The domain is restricted by the inner function (which requires x≥1x \ge 1) and the outer function (which prevents the denominator from being zero at x=1x=1).

Problem 3:

If f(x)=3x−2f(x) = 3x - 2, find the value of xx such that (f∘f)(x)=19(f \circ f)(x) = 19.

Solution:

First, find (f∘f)(x)(f \circ f)(x): (f∘f)(x)=f(3x−2)=3(3x−2)−2=9x−6−2=9x−8(f \circ f)(x) = f(3x - 2) = 3(3x - 2) - 2 = 9x - 6 - 2 = 9x - 8 Set the expression equal to 1919: 9x−8=199x - 8 = 19 9x=279x = 27 x=3x = 3

Explanation:

Find the composite function f(f(x))f(f(x)) first by substituting the function into itself, then solve the resulting linear equation for xx.

Problem 4:

Given the functions f(x)=x2f(x) = x^2 and g(x)=x+3g(x) = x + 3, find the composite function h(x)=(f∘g)(x)h(x) = (f \circ g)(x) and identify the coordinate of the vertex of h(x)h(x).

Graph of the composite function h(x) = (x+3)^2 showing a parabola with vertex at (-3, 0).

Solution:

  1. Write the composite expression: (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))
  2. Substitute g(x)g(x) into ff: f(x+3)=(x+3)2f(x+3) = (x+3)^2
  3. Expand the expression (optional): h(x)=x2+6x+9h(x) = x^2 + 6x + 9
  4. Identify the vertex: Since the function is in the form (x−h)2+k(x-h)^2 + k, where h=−3h = -3 and k=0k = 0, the vertex is at (−3,0)(-3, 0).

Explanation:

This example demonstrates how a horizontal translation g(x)g(x) shifts the base function f(x)=x2f(x) = x^2 to the left by 3 units before the squaring operation occurs.

Problem 5:

If f(x)=1xf(x) = \frac{1}{x} and g(x)=2x−4g(x) = 2x - 4, find the domain of (f∘g)(x)(f \circ g)(x).

Graph of 1/(2x-4) showing a vertical asymptote at x=2, indicating x=2 is excluded from the domain.

Solution:

  1. Express the composite function: (f∘g)(x)=f(2x−4)=12x−4(f \circ g)(x) = f(2x - 4) = \frac{1}{2x - 4}.
  2. Determine the restriction: The denominator of a fraction cannot be zero.
  3. Solve 2x−4=02x - 4 = 0 which gives 2x=4  ⟹  x=22x = 4 \implies x = 2.
  4. State the domain: x∈R,x≠2x \in \mathbb{R}, x \neq 2.

Explanation:

The domain of a composite function must exclude values that make the inner function undefined (none here) and values where the output of the inner function is not in the domain of the outer function (where g(x)=0g(x) = 0).