IB Mathematics: Analysis and Approaches Quiz: Function Composition
20 questions · exam conditions
0:00
Function CompositionQuestion 1 of 20

The radius rr of a circular ripple in a pond, in meters, is given by the function r(t)=10tr(t) = 10\sqrt{t}, where tt is the time in seconds after a stone is dropped. The area AA of a circle is given by A(r)=πr2A(r) = \pi r^2. Which function (Ar)(t)(A \circ r)(t) correctly represents the area of the ripple as a function of time?

10πt10\pi\sqrt{t}
100πt100\pi t
100πt100\pi \sqrt{t}
100πt2100\pi t^2
← Back to quizzes

IB Mathematics: Analysis and Approaches Quiz

IB Mathematics: Analysis and Approaches Quiz: Function Composition

Practice Function Composition in IB Mathematics: Analysis and Approaches with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Function Composition, giving you a quick way to practice the rules, question types, and explanations that matter most for IB Mathematics: Analysis and Approaches.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

The radius rr of a circular ripple in a pond, in meters, is given by the function r(t)=10tr(t) = 10\sqrt{t}, where tt is the time in seconds after a stone is dropped. The area AA of a circle is given by A(r)=πr2A(r) = \pi r^2. Which function (Ar)(t)(A \circ r)(t) correctly represents the area of the ripple as a function of time?

  1. 10πt10\pi\sqrt{t}
  2. 100πt100\pi t (correct answer)
  3. 100πt100\pi \sqrt{t}
  4. 100πt2100\pi t^2
Explanation: We need to find the composite function (Ar)(t)=A(r(t))(A \circ r)(t) = A(r(t)).
This means we substitute the expression for r(t)r(t) into the function A(r)A(r).
r(t) = 10\sqrt{t}\ \(A(r) = \pi r^2\ \((A \circ r)(t) = A(10\sqrt{t}) = \pi (10\sqrt{t})^2 = \pi (10^2 (\sqrt{t})^2) = \pi(100t) = 100\pi t.
Distractor A incorrectly computes πr(t)\pi \cdot r(t). Distractor C comes from not squaring the t\sqrt{t} term. Distractor D comes from squaring tt instead of t\sqrt{t}.

Question 2

The radius rr of a circular ripple in a pond, in meters, is given by the function r(t)=10tr(t) = 10\sqrt{t}, where tt is the time in seconds after a stone is dropped. The area AA of a circle is given by A(r)=πr2A(r) = \pi r^2. Which function (Ar)(t)(A \circ r)(t) correctly represents the area of the ripple as a function of time?

  1. 10πt10\pi\sqrt{t}
  2. 100πt100\pi t (correct answer)
  3. 100πt100\pi \sqrt{t}
  4. 100πt2100\pi t^2
Explanation: We need to find the composite function (Ar)(t)=A(r(t))(A \circ r)(t) = A(r(t)).
This means we substitute the expression for r(t)r(t) into the function A(r)A(r).
r(t) = 10\sqrt{t}\ \(A(r) = \pi r^2\ \((A \circ r)(t) = A(10\sqrt{t}) = \pi (10\sqrt{t})^2 = \pi (10^2 (\sqrt{t})^2) = \pi(100t) = 100\pi t.
Distractor A incorrectly computes πr(t)\pi \cdot r(t). Distractor C comes from not squaring the t\sqrt{t} term. Distractor D comes from squaring tt instead of t\sqrt{t}.

Question 3

Let f(x)=x2f(x)=x^2, g(x)=x+2g(x)=x+2, and h(x)=2xh(x)=2x. Find the sum of the values of xx for which (fg)(x)=(hf)(x)(f \circ g)(x) = (h \circ f)(x).

  1. 4-4
  2. 00
  3. 22
  4. 44 (correct answer)
Explanation: First, find the expressions for the two composite functions.
(fg)(x)=f(g(x))=f(x+2)=(x+2)2=x2+4x+4(f \circ g)(x) = f(g(x)) = f(x+2) = (x+2)^2 = x^2 + 4x + 4.
(hf)(x)=h(f(x))=h(x2)=2(x2)=2x2(h \circ f)(x) = h(f(x)) = h(x^2) = 2(x^2) = 2x^2.
Now, set the two expressions equal to each other:
x^2 + 4x + 4 = 2x^2\ Rearrange to form a standard quadratic equation:\ \(0 = 2x^2 - x^2 - 4x - 4\ \(0 = x^2 - 4x - 4\ Let the roots of this quadratic equation be \(\alpha and β\beta. The sum of the roots of a quadratic equation ax2+bx+c=0ax^2+bx+c=0 is given by b/a-b/a.
In this case, a=1,b=4,c=4a=1, b=-4, c=-4.
The sum of the values of xx is (4)/1=4-(-4)/1 = 4.
Alternatively, one could solve for xx using the quadratic formula, get x=2±22x = 2 \pm 2\sqrt{2}, and then sum the roots: (2+22)+(222)=4(2+2\sqrt{2}) + (2-2\sqrt{2}) = 4.
Distractor A results from a sign error in the sum of roots formula (using b/ab/a). Distractor B would be the sum if the equation was x24=0x^2-4=0.

Question 4

Given that (fg)(x)=4x212x+9(f \circ g)(x) = 4x^2 - 12x + 9 and g(x)=2x3g(x) = 2x - 3, which of the following is a possible expression for f(x)f(x)?

  1. f(x)=x2f(x) = x^2 (correct answer)
  2. f(x)=2x+1f(x) = 2x+1
  3. f(x)=2x2+3xf(x) = 2x^2+3x
  4. f(x)=4x212x+9f(x) = 4x^2 - 12x + 9
Explanation: We have (fg)(x)=f(g(x))=f(2x3)(f \circ g)(x) = f(g(x)) = f(2x-3).
We are given f(2x3)=4x212x+9f(2x-3) = 4x^2 - 12x + 9.
We can try to express the right-hand side in terms of g(x)=2x3g(x) = 2x-3.
Notice that 4x212x+94x^2 - 12x + 9 is a perfect square trinomial: (2x3)2(2x-3)^2.
So, we have f(2x3)=(2x3)2f(2x-3) = (2x-3)^2.
Let u=2x3u = 2x-3. Then the equation becomes f(u)=u2f(u) = u^2.
This means the function ff squares its input. Therefore, f(x)=x2f(x) = x^2.
Distractor D implies that ff is the identity function, which is incorrect. Distractors B and C, if composed with g(x)g(x), would not produce the given expression.

Question 5

Let f(x)=1x1f(x) = \frac{1}{x-1} and g(x)=xx+1g(x) = \frac{x}{x+1}. Find a simplified expression for (fg)(x)(f \circ g)(x).

  1. 1x\frac{1}{x}
  2. xx
  3. x+1x+1
  4. x1-x-1 (correct answer)
Explanation: To find (fg)(x)(f \circ g)(x), we substitute g(x)g(x) into f(x)f(x):
(f \circ g)(x) = f(g(x)) = f\left(\frac{x}{x+1}\right) = \frac{1}{\frac{x}{x+1} - 1}\ To simplify the expression, we work with the denominator:\ \(\frac{x}{x+1} - 1 = \frac{x}{x+1} - \frac{x+1}{x+1} = \frac{x - (x+1)}{x+1} = \frac{x - x - 1}{x+1} = \frac{-1}{x+1}\ Now substitute this back into the main expression:\ \((f \circ g)(x) = \frac{1}{\frac{-1}{x+1}} = 1 \cdot \frac{x+1}{-1} = -(x+1) = -x-1.
Distractor A (1/x) is the result of composing in the wrong order: (gf)(x)=g(1x1)=1/(x1)1/(x1)+1=11+(x1)=1x(g \circ f)(x) = g(\frac{1}{x-1}) = \frac{1/(x-1)}{1/(x-1) + 1} = \frac{1}{1 + (x-1)} = \frac{1}{x}. Distractors B and C are from algebraic errors during simplification.

Question 6

Let f(x)=21xf(x) = 2 - \frac{1}{x}. Find the value of (fff)(2)(f \circ f \circ f)(2).

  1. 3/23/2
  2. 4/34/3
  3. 5/45/4 (correct answer)
  4. 22
Explanation: We need to compute the function composition iteratively.
First, find f(2)f(2):
f(2) = 2 - \frac{1}{2} = \frac{3}{2}\ Next, find \((f \circ f)(2) = f(f(2)) = f(\frac{3}{2})\ \(f(\frac{3}{2}) = 2 - \frac{1}{3/2} = 2 - \frac{2}{3} = \frac{6-2}{3} = \frac{4}{3}\ Finally, find \((f \circ f \circ f)(2) = f(f(f(2))) = f(\frac{4}{3})\ \(f(\frac{4}{3}) = 2 - \frac{1}{4/3} = 2 - \frac{3}{4} = \frac{8-3}{4} = \frac{5}{4}\ Distractors A and B are the results of the first and second iterations, respectively. Distractor D would only be correct if \(f(x)=x or if the function value cycled back to the start.

Question 7

Let f(x)=2x+3f(x) = 2x + 3 and g(x)={x2if x12x1if x<1g(x) = \begin{cases} x^2 & \text{if } x \ge 1 \\ 2x-1 & \text{if } x < 1 \end{cases}. Find the value of (gf)(2)(g \circ f)(-2).

  1. 7-7
  2. 3-3 (correct answer)
  3. 11
  4. 99
Explanation: To find (gf)(2)(g \circ f)(-2), we first compute the inner function f(2)f(-2).
f(2)=2(2)+3=4+3=1f(-2) = 2(-2) + 3 = -4 + 3 = -1.
Now we compute g(f(2))g(f(-2)), which is g(1)g(-1).
To evaluate g(1)g(-1), we must use the rule for the piecewise function g(x)g(x). Since 1<1-1 < 1, we use the second piece: g(x)=2x1g(x) = 2x-1.
g(1)=2(1)1=21=3g(-1) = 2(-1) - 1 = -2 - 1 = -3.
Therefore, (gf)(2)=3(g \circ f)(-2) = -3.
Distractor C (1) arises from using the wrong piece of the definition for g(x)g(x), calculating g(1)=(1)2=1g(-1) = (-1)^2 = 1. Distractor A (-7) comes from composing in the wrong order: g(2)=2(2)1=5g(-2) = 2(-2)-1=-5, and then f(5)=2(5)+3=7f(-5)=2(-5)+3 = -7. Distractor D (9) would come from (fg)(2)(f \circ g)(-2), where g(2)=5g(-2)=-5, but with an error f(5)=2(5)+3=7f(-5)=2(-5)+3 = -7. Or maybe g(2)=3g(-2)=-3 error, then f(3)=3f(-3)=-3. No, wait. Maybe g(2)=(2)2=4g(-2)=(-2)^2=4, then f(4)=11f(4)=11. A distractor of 1 is very plausible.

Question 8

Let f(x)=x2+4f(x) = x^2+4 and g(x)=sin(x)g(x) = \sin(x). Find the range of the composite function (fg)(x)(f \circ g)(x).

  1. [4,5][4, 5] (correct answer)
  2. [0,5][0, 5]
  3. [4,)[4, \infty)
  4. [5,)[5, \infty)
Explanation: The composite function is (fg)(x)=f(g(x))=f(sin(x))=(sin(x))2+4(f \circ g)(x) = f(g(x)) = f(\sin(x)) = (\sin(x))^2 + 4.
To find the range of the composite function, we first consider the range of the inner function, g(x)=sin(x)g(x) = \sin(x). The range of sin(x)\sin(x) is [1,1][-1, 1].
This range becomes the effective domain for the outer function f(x)f(x). We need to find the range of f(u)=u2+4f(u) = u^2+4 for u[1,1]u \in [-1, 1].
The function f(u)=u2+4f(u) = u^2+4 is a parabola opening upwards with its vertex at u=0u=0.
The minimum value on the interval [1,1][-1, 1] occurs at the vertex, u=0u=0, where f(0)=02+4=4f(0) = 0^2+4 = 4.
The maximum value occurs at the endpoints of the interval, u=1u=-1 and u=1u=1. f(1)=12+4=5f(1) = 1^2+4 = 5 and f(1)=(1)2+4=5f(-1) = (-1)^2+4 = 5.
Therefore, the range of (fg)(x)(f \circ g)(x) is [4,5][4, 5].
Distractor C is the range of f(x)f(x) for all real xx. Distractor D results from only checking the endpoints u=±1u=\pm 1 and ignoring the minimum at the vertex. Distractor B may result from confusion about the range of sin2(x)\sin^2(x) and combining it with the range of f(x)f(x).

Question 9

Let f(x)=x3f(x) = x^3 and g(x)=x+kg(x) = x + k. Given that (fg)(2)=27(f \circ g)(2) = 27, find the value of kk.

  1. 5-5
  2. 11 (correct answer)
  3. 55
  4. 1919
Explanation: First, evaluate the composite function at x=2x=2.
(fg)(2)=f(g(2))(f \circ g)(2) = f(g(2)).
Find the value of the inner function g(2)g(2):
g(2)=2+kg(2) = 2 + k.
Now substitute this result into f(x)f(x):
f(g(2))=f(2+k)=(2+k)3f(g(2)) = f(2+k) = (2+k)^3.
We are given that this value is 27:
(2+k)^3 = 27\ Take the cube root of both sides:\ \(2+k = 3\ \(k = 3 - 2 = 1.
Distractor D (19) comes from composing in the wrong order: (gf)(2)=g(f(2))=g(23)=g(8)=8+k(g \circ f)(2) = g(f(2)) = g(2^3) = g(8) = 8+k. Setting 8+k=278+k = 27 gives k=19k=19. Distractor A (-5) arises from incorrectly taking the cube root: 2+k=32+k=-3. Distractor C is a simple arithmetic error.

Question 10

Let f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x1g(x) = 2x - 1. Find the values of xx for which (fg)(x)=(gf)(x)(f \circ g)(x) = (g \circ f)(x).

  1. x=1±22x = 1 \pm \frac{\sqrt{2}}{2} (correct answer)
  2. x=1±2x = 1 \pm \sqrt{2}
  3. x=2±22x = 2 \pm \frac{\sqrt{2}}{2}
  4. x=2±2x = 2 \pm \sqrt{2}
Explanation: First, find the expressions for the composite functions.
(f \circ g)(x) = f(g(x)) = f(2x - 1) = (2x - 1)^2 + 1 = (4x^2 - 4x + 1) + 1 = 4x^2 - 4x + 2\ \((g \circ f)(x) = g(f(x)) = g(x^2 + 1) = 2(x^2 + 1) - 1 = 2x^2 + 2 - 1 = 2x^2 + 1\ Now, set them equal to each other:\ \(4x^2 - 4x + 2 = 2x^2 + 1\ \(2x^2 - 4x + 1 = 0\ This is a quadratic equation. Since it does not factor easily, use the quadratic formula \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}:
x = \frac{-(-4) \pm \sqrt{(-4)^2 - 4(2)(1)}}{2(2)}\ \(x = \frac{4 \pm \sqrt{16 - 8}}{4}\ \(x = \frac{4 \pm \sqrt{8}}{4}\ \(x = \frac{4 \pm 2\sqrt{2}}{4}\ \(x = 1 \pm \frac{2\sqrt{2}}{4}\ \(x = 1 \pm \frac{\sqrt{2}}{2}
Distractor B comes from an error in simplifying 4±224\frac{4 \pm 2\sqrt{2}}{4} to 1±21 \pm \sqrt{2}. Distractors C and D arise from calculation errors in the quadratic formula.

Question 11

Let f(x)=2x5f(x) = 2x - 5 and g(x)=ax+bg(x) = ax + b. The composite function (fg)(x)(f \circ g)(x) is a constant function with a value of 7 for all xx. Find the value of bb.

  1. 00
  2. 2.52.5
  3. 3.53.5
  4. 66 (correct answer)
Explanation: First, find the expression for the composite function (fg)(x)(f \circ g)(x).
(fg)(x)=f(g(x))=f(ax+b)=2(ax+b)5=2ax+2b5(f \circ g)(x) = f(g(x)) = f(ax+b) = 2(ax+b) - 5 = 2ax + 2b - 5.
We are told this is a constant function. For a linear function mx+cmx+c to be constant, the slope mm must be zero. In our expression 2ax+(2b5)2ax + (2b-5), the coefficient of xx is 2a2a.
So, we must have 2a=02a = 0, which implies a=0a=0.
This means the function simplifies to (fg)(x)=2(0)x+2b5=2b5(f \circ g)(x) = 2(0)x + 2b - 5 = 2b - 5.
We are given that the constant value is 7. Therefore:
2b - 5 = 7\ \(2b = 12\ \(b = 6.
Distractor A is the value of aa. Distractor B is the value of bb if 2b5=02b-5=0. Distractor C is the value of bb if 2b=72b=7.

Question 12

Let f(x)f(x) be an even function and g(x)g(x) be an odd function. Which of the following composite functions is always an even function?

  1. (fg)(x)(f \circ g)(x) only
  2. (gf)(x)(g \circ f)(x) only
  3. Both (fg)(x)(f \circ g)(x) and (gf)(x)(g \circ f)(x) (correct answer)
  4. Neither (fg)(x)(f \circ g)(x) nor (gf)(x)(g \circ f)(x)
Explanation: Recall the definitions: ff is even if f(x)=f(x)f(-x) = f(x) for all xx. gg is odd if g(x)=g(x)g(-x) = -g(x) for all xx.
Let's test h(x)=(fg)(x)h(x) = (f \circ g)(x):
h(x)=f(g(x))h(-x) = f(g(-x))
Since gg is odd, g(x)=g(x)g(-x) = -g(x).
h(x)=f(g(x))h(-x) = f(-g(x))
Since ff is even, f(u)=f(u)f(-u) = f(u). Let u=g(x)u=g(x).
h(x)=f(g(x))=h(x)h(-x) = f(g(x)) = h(x).
Therefore, (fg)(x)(f \circ g)(x) is an even function.
Now let's test k(x)=(gf)(x)k(x) = (g \circ f)(x):
k(x)=g(f(x))k(-x) = g(f(-x))
Since ff is even, f(x)=f(x)f(-x) = f(x).
k(x)=g(f(x))=k(x)k(-x) = g(f(x)) = k(x).
Therefore, (gf)(x)(g \circ f)(x) is also an even function.
Since both are always even, the correct option is C.

Question 13

Let f(x)=cos(x)f(x) = \cos(x) and g(x)=2x+π2g(x) = 2x + \frac{\pi}{2}. Find the exact value of (fg)(π3)(f \circ g)(\frac{\pi}{3}).

  1. 32-\frac{\sqrt{3}}{2} (correct answer)
  2. 12-\frac{1}{2}
  3. 12\frac{1}{2}
  4. 32\frac{\sqrt{3}}{2}
Explanation: We need to calculate (fg)(π3)=f(g(π3))(f \circ g)(\frac{\pi}{3}) = f(g(\frac{\pi}{3})).
First, evaluate the inner function g(π3)g(\frac{\pi}{3}):
g(π3)=2(π3)+π2=2π3+π2=4π6+3π6=7π6g(\frac{\pi}{3}) = 2(\frac{\pi}{3}) + \frac{\pi}{2} = \frac{2\pi}{3} + \frac{\pi}{2} = \frac{4\pi}{6} + \frac{3\pi}{6} = \frac{7\pi}{6}.
Now, evaluate the outer function ff with this result:
f(7π6)=cos(7π6)f(\frac{7\pi}{6}) = \cos(\frac{7\pi}{6}).
The angle 7π6\frac{7\pi}{6} is in the third quadrant. The reference angle is 7π6π=π6\frac{7\pi}{6} - \pi = \frac{\pi}{6}.
We know cos(π6)=32\cos(\frac{\pi}{6}) = \frac{\sqrt{3}}{2}.
Since cosine is negative in the third quadrant, cos(7π6)=32\cos(\frac{7\pi}{6}) = -\frac{\sqrt{3}}{2}.
Distractor D ignores the negative sign for cosine in the third quadrant. Distractor B is the value of sin(7π6)\sin(\frac{7\pi}{6}). Distractor C has both a sign error and uses the wrong trigonometric function.

Question 14

The function f(x)=ax+3x2f(x) = \frac{ax+3}{x-2}, where aa is a constant, is a self-inverse function. This means that (ff)(x)=x(f \circ f)(x) = x for all xx in the domain. Find the value of aa.

  1. 3-3
  2. 2-2
  3. 22 (correct answer)
  4. 33
Explanation: For a function to be self-inverse, we need f(f(x))=xf(f(x)) = x. Let's compute f(f(x))f(f(x)):\f(f(x))=f(ax+3x2)=a(ax+3x2)+3(ax+3x2)2f(f(x)) = f\left(\frac{ax+3}{x-2}\right) = \frac{a\left(\frac{ax+3}{x-2}\right)+3}{\left(\frac{ax+3}{x-2}\right)-2}\Simplifying the numerator: a(ax+3x2)+3=a(ax+3)+3(x2)x2=a2x+3a+3x6x2a\left(\frac{ax+3}{x-2}\right)+3 = \frac{a(ax+3)+3(x-2)}{x-2} = \frac{a^2x+3a+3x-6}{x-2}\Simplifying the denominator: (ax+3x2)2=ax+32(x2)x2=ax+32x+4x2=(a2)x+7x2\left(\frac{ax+3}{x-2}\right)-2 = \frac{ax+3-2(x-2)}{x-2} = \frac{ax+3-2x+4}{x-2} = \frac{(a-2)x+7}{x-2}\So f(f(x))=a2x+3a+3x6(a2)x+7f(f(x)) = \frac{a^2x+3a+3x-6}{(a-2)x+7}\For this to equal xx, we need a2x+3a+3x6(a2)x+7=x\frac{a^2x+3a+3x-6}{(a-2)x+7} = x\Cross-multiplying: a2x+3a+3x6=x((a2)x+7)=(a2)x2+7xa^2x+3a+3x-6 = x((a-2)x+7) = (a-2)x^2+7x\Rearranging: (a2)x2+7xa2x3a3x+6=0(a-2)x^2+7x-a^2x-3a-3x+6 = 0\(a2)x2+(4a2)x+(63a)=0(a-2)x^2+(4-a^2)x+(6-3a) = 0\For this to hold for all xx, all coefficients must be zero:\a2=0a=2a-2 = 0 \Rightarrow a = 2\We can verify: when a=2a=2, the coefficient of x2x^2 is 00, the coefficient of xx is 44=04-4=0, and the constant term is 66=06-6=0.

Question 15

Let f(x)=x2+1f(x) = x^2 + 1 and g(x)=2x1g(x) = 2x - 1. Find the values of xx for which (fg)(x)=(gf)(x)(f \circ g)(x) = (g \circ f)(x).

  1. x=1±22x = 1 \pm \frac{\sqrt{2}}{2} (correct answer)
  2. x=1±2x = 1 \pm \sqrt{2}
  3. x=2±22x = 2 \pm \frac{\sqrt{2}}{2}
  4. x=2±2x = 2 \pm \sqrt{2}
Explanation: First, find the expressions for the composite functions.
(f \circ g)(x) = f(g(x)) = f(2x - 1) = (2x - 1)^2 + 1 = (4x^2 - 4x + 1) + 1 = 4x^2 - 4x + 2\ \((g \circ f)(x) = g(f(x)) = g(x^2 + 1) = 2(x^2 + 1) - 1 = 2x^2 + 2 - 1 = 2x^2 + 1\ Now, set them equal to each other:\ \(4x^2 - 4x + 2 = 2x^2 + 1\ \(2x^2 - 4x + 1 = 0\ This is a quadratic equation. Since it does not factor easily, use the quadratic formula \(x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}:
x = \frac{-(-4) \pm \sqrt{(-4)^2 - 4(2)(1)}}{2(2)}\ \(x = \frac{4 \pm \sqrt{16 - 8}}{4}\ \(x = \frac{4 \pm \sqrt{8}}{4}\ \(x = \frac{4 \pm 2\sqrt{2}}{4}\ \(x = 1 \pm \frac{2\sqrt{2}}{4}\ \(x = 1 \pm \frac{\sqrt{2}}{2}
Distractor B comes from an error in simplifying 4±224\frac{4 \pm 2\sqrt{2}}{4} to 1±21 \pm \sqrt{2}. Distractors C and D arise from calculation errors in the quadratic formula.

Question 16

The function h(x)=3(x+2)25h(x) = 3(x+2)^2 - 5 can be written as a composition (fg)(x)(f \circ g)(x). If g(x)=x+2g(x) = x+2, what is f(x)f(x)?

  1. f(x)=3x21f(x) = 3x^2 - 1
  2. f(x)=3x25f(x) = 3x^2 - 5 (correct answer)
  3. f(x)=3(x2)25f(x) = 3(x-2)^2 - 5
  4. f(x)=(3x5)2+2f(x) = (3x-5)^2+2
Explanation: We are given h(x)=(fg)(x)=f(g(x))h(x) = (f \circ g)(x) = f(g(x)).
We have h(x)=3(x+2)25h(x) = 3(x+2)^2 - 5 and g(x)=x+2g(x) = x+2.
Substituting g(x)g(x) into the expression for h(x)h(x) gives h(x)=3(g(x))25h(x) = 3(g(x))^2 - 5.
Since h(x)=f(g(x))h(x) = f(g(x)), we can see that f(g(x))=3(g(x))25f(g(x)) = 3(g(x))^2 - 5.
This means the rule for the function ff is to take its input, square it, multiply by 3, and then subtract 5. Therefore, f(x)=3x25f(x) = 3x^2 - 5.
Alternatively, let u=g(x)=x+2u = g(x) = x+2. Then x=u2x = u-2. Substitute this into the expression for h(x)h(x): f(u)=3((u2)+2)25=3u25f(u) = 3((u-2)+2)^2 - 5 = 3u^2 - 5. So f(x)=3x25f(x) = 3x^2 - 5.
Distractor C results from incorrectly substituting x=u+2x = u+2 instead of x=u2x=u-2. Distractor A and D represent other algebraic mistakes.

Question 17

Let f(x)=ex1f(x) = e^{x-1} and g(x)=ln(x)+1g(x) = \ln(x) + 1. Find the value of (gf)(5)+(fg)(e)(g \circ f)(5) + (f \circ g)(e).

  1. 55
  2. ee
  3. 66
  4. 5+e5+e (correct answer)
Explanation: A student might notice that f(x)f(x) and g(x)g(x) are inverse functions. To verify, find the inverse of f(x)f(x): let y=ex1y = e^{x-1}. Then ln(y)=x1\ln(y) = x-1, so x=ln(y)+1x = \ln(y) + 1. Thus, f1(x)=ln(x)+1=g(x)f^{-1}(x) = \ln(x) + 1 = g(x).
By the property of inverse functions, (gf)(x)=(f1f)(x)=x(g \circ f)(x) = (f^{-1} \circ f)(x) = x and (fg)(x)=(ff1)(x)=x(f \circ g)(x) = (f \circ f^{-1})(x) = x.
Therefore, (gf)(5)=5(g \circ f)(5) = 5 and (fg)(e)=e(f \circ g)(e) = e.
The sum is 5+e5 + e.
Alternatively, one can compute each part directly:
f(5)=e51=e4f(5) = e^{5-1} = e^4.
(gf)(5)=g(e4)=ln(e4)+1=4+1=5(g \circ f)(5) = g(e^4) = \ln(e^4) + 1 = 4+1 = 5.
g(e)=ln(e)+1=1+1=2g(e) = \ln(e) + 1 = 1+1 = 2.
(fg)(e)=f(2)=e21=e1=e(f \circ g)(e) = f(2) = e^{2-1} = e^1 = e.
The sum is 5+e5+e.

Question 18

Let f(x)=x2f(x) = |x - 2| and g(x)=3x+1g(x) = 3x + 1. Find the set of values of xx for which (fg)(x)<5(f \circ g)(x) < 5.

  1. 43<x<2-\frac{4}{3} < x < 2 (correct answer)
  2. 23<x<103\frac{2}{3} < x < \frac{10}{3}
  3. x<43 or x>2x < -\frac{4}{3} \text{ or } x > 2
  4. x<2x < 2
Explanation: First, find the composite function (fg)(x)(f \circ g)(x):
(fg)(x)=f(g(x))=f(3x+1)=(3x+1)2=3x1(f \circ g)(x) = f(g(x)) = f(3x+1) = |(3x+1) - 2| = |3x - 1|.
Now, we solve the inequality 3x1<5|3x - 1| < 5.
This absolute value inequality is equivalent to the double inequality:
-5 < 3x - 1 < 5\ Add 1 to all parts:\ \(-4 < 3x < 6\ Divide by 3:\ \(-\frac{4}{3} < x < 2\ Distractor B comes from composing in the wrong order: \((g \circ f)(x) = g(|x-2|) = 3|x-2|+1. Solving 3x2+1<53|x-2|+1 < 5 gives x2<4/3|x-2| < 4/3, which leads to 2/3<x<10/32/3 < x < 10/3. Distractor C comes from misinterpreting the absolute value inequality as >> instead of <<. Distractor D comes from only solving one side of the inequality, 3x1<53x-1 < 5.

Question 19

Let f(x)=2x5f(x) = 2x - 5 and g(x)=ax+bg(x) = ax + b. The composite function (fg)(x)(f \circ g)(x) is a constant function with a value of 7 for all xx. Find the value of bb.

  1. 00
  2. 2.52.5
  3. 3.53.5
  4. 66 (correct answer)
Explanation: First, find the expression for the composite function (fg)(x)(f \circ g)(x).
(fg)(x)=f(g(x))=f(ax+b)=2(ax+b)5=2ax+2b5(f \circ g)(x) = f(g(x)) = f(ax+b) = 2(ax+b) - 5 = 2ax + 2b - 5.
We are told this is a constant function. For a linear function mx+cmx+c to be constant, the slope mm must be zero. In our expression 2ax+(2b5)2ax + (2b-5), the coefficient of xx is 2a2a.
So, we must have 2a=02a = 0, which implies a=0a=0.
This means the function simplifies to (fg)(x)=2(0)x+2b5=2b5(f \circ g)(x) = 2(0)x + 2b - 5 = 2b - 5.
We are given that the constant value is 7. Therefore:
2b - 5 = 7\ \(2b = 12\ \(b = 6.
Distractor A is the value of aa. Distractor B is the value of bb if 2b5=02b-5=0. Distractor C is the value of bb if 2b=72b=7.

Question 20

Let f(x)=x2f(x)=x^2, g(x)=x+2g(x)=x+2, and h(x)=2xh(x)=2x. Find the sum of the values of xx for which (fg)(x)=(hf)(x)(f \circ g)(x) = (h \circ f)(x).

  1. 4-4
  2. 00
  3. 22
  4. 44 (correct answer)
Explanation: First, find the expressions for the two composite functions.
(fg)(x)=f(g(x))=f(x+2)=(x+2)2=x2+4x+4(f \circ g)(x) = f(g(x)) = f(x+2) = (x+2)^2 = x^2 + 4x + 4.
(hf)(x)=h(f(x))=h(x2)=2(x2)=2x2(h \circ f)(x) = h(f(x)) = h(x^2) = 2(x^2) = 2x^2.
Now, set the two expressions equal to each other:
x^2 + 4x + 4 = 2x^2\ Rearrange to form a standard quadratic equation:\ \(0 = 2x^2 - x^2 - 4x - 4\ \(0 = x^2 - 4x - 4\ Let the roots of this quadratic equation be \(\alpha and β\beta. The sum of the roots of a quadratic equation ax2+bx+c=0ax^2+bx+c=0 is given by b/a-b/a.
In this case, a=1,b=4,c=4a=1, b=-4, c=-4.
The sum of the values of xx is (4)/1=4-(-4)/1 = 4.
Alternatively, one could solve for xx using the quadratic formula, get x=2±22x = 2 \pm 2\sqrt{2}, and then sum the roots: (2+22)+(222)=4(2+2\sqrt{2}) + (2-2\sqrt{2}) = 4.
Distractor A results from a sign error in the sum of roots formula (using b/ab/a). Distractor B would be the sum if the equation was x24=0x^2-4=0.