The function f, with domain the set of all real values, is given by f(x)={4−x2for 0<x≤2,2x−4for 2<x≤4,\text{f}(x) = \begin{cases} 4 - x^2 & \text{for } 0 < x \le 2, \\ 2x - 4 & \text{for } 2 < x \le 4, \end{cases} and that f(x)=f(x+4)\text{f}(x) = \text{f}(x+4).

  1. (i)

    Find f(45)\text{f}(45).

  2. (ii)

    Sketch the graph of y=f(x)y = \text{f}(x) for −4≤x≤7-4 \le x \le 7 and state the range of f.

  3. (iii)

    The function g is defined by g:x↦(x−1)2+2\text{g} : x \mapsto (x-1)^2 + 2 for x∈Rx \in \mathbb{R}, 0<x<10 < x < 1.

    Explain why the composite function gf does not exist.

  4. (iv)

    Find an expression for fg(x)\text{fg}(x) and hence, or otherwise, find (fg)−1(12)(\text{fg})^{-1}\left(\frac{1}{2}\right).

Work through it with AI →

It won't just hand you the answer — it asks where you're stuck.How the checker works

Worked solution

5(i)

1. Use the periodic property of the function to reduce the argument to within the given base interval.

Since f(x)=f(x+4)\text{f}(x) = \text{f}(x+4) for all real xx, the function is periodic with a period of 4.
f(45)=f(45−11×4)=f(1)\text{f}(45) = \text{f}(45 - 11 \times 4) = \text{f}(1)

2. Evaluate the function using the appropriate piece of the definition.

For x=1x = 1, it falls in the interval 0<x≤20 < x \le 2, so we use the definition f(x)=4−x2\text{f}(x) = 4 - x^2.
f(1)=4−(1)2\text{f}(1) = 4 - (1)^2
f(1)=3\text{f}(1) = 3

Answer

3

5(ii)

1. Analyse the shape and key coordinates of the function in its base interval $(0, 4]$.

For the interval 0<x≤40 < x \le 4:

  • y=4−x2y = 4 - x^2 for 0<x≤20 < x \le 2: This is a concave down parabola joining (0,4)(0, 4) to (2,0)(2, 0).
  • y=2x−4y = 2x - 4 for 2<x≤42 < x \le 4: This is a straight line starting from (2,0)(2, 0) and ending at (4,4)(4, 4).

The segments connect seamlessly at (2,0)(2,0).

2. Apply the periodic property to determine the key points and shapes for the full sketching domain $[-4, 7]$.

The property f(x)=f(x+4)\text{f}(x) = \text{f}(x+4) means the function is periodic with a period of 44. We translate the base pattern left and right to cover −4≤x≤7-4 \le x \le 7:

For −4≤x≤0-4 \le x \le 0 (shifted left by 44):

  • Parabola from (−4,4)(-4, 4) to (−2,0)(-2, 0)
  • Straight line from (−2,0)(-2, 0) to (0,4)(0, 4)

For 4≤x≤74 \le x \le 7 (shifted right by 44):

  • Parabola from (4,4)(4, 4) to (6,0)(6, 0)
  • Straight line from (6,0)(6, 0) to (7,2)(7, 2) (since f(7)=f(3)=2(3)−4=2\text{f}(7) = \text{f}(3) = 2(3) - 4 = 2)

3. State the range of the function.

Observing the behaviour across one complete period, the minimum value attained is 00 (at x=−2,2,6x = -2, 2, 6) and the maximum value is 44 (at x=−4,0,4x = -4, 0, 4).

Range of f is 0≤f(x)≤40 \le \text{f}(x) \le 4.

Answer

[A sketched graph showing repeated segments:

  • Concave down parabola from (−4,4)(-4, 4) to (−2,0)(-2, 0)
  • Straight line from (−2,0)(-2, 0) to (0,4)(0, 4)
  • Concave down parabola from (0,4)(0, 4) to (2,0)(2, 0)
  • Straight line from (2,0)(2, 0) to (4,4)(4, 4)
  • Concave down parabola from (4,4)(4, 4) to (6,0)(6, 0)
  • Straight line from (6,0)(6, 0) to (7,2)(7, 2)]

Range of f: 0≤f(x)≤40 \le \text{f}(x) \le 4

5(iii)

1. State the range of f and domain of g

From part (ii), the range of f\text{f} is Rf=[0,4]R_{\text{f}} = [0, 4].
From the given definition of g\text{g}, the domain of g\text{g} is Dg=(0,1)D_{\text{g}} = (0, 1).

2. Explain why the composite function does not exist

For the composite function gf\text{gf} to exist, we require Rf⊆DgR_{\text{f}} \subseteq D_{\text{g}}.
Since [0,4]⊈(0,1)[0, 4] \not\subseteq (0, 1), the condition is not satisfied and therefore gf\text{gf} does not exist.

Answer

Since the range of f\text{f}, [0,4][0, 4], is not a subset of the domain of g\text{g}, (0,1)(0, 1), the composite function gf\text{gf} does not exist.

5(iv)

1. Find the range of g(x) for its given domain to identify which rule of f applies.

For 0<x<10 < x < 1, we have −1<x−1<0-1 < x-1 < 0.
Squaring gives 0<(x−1)2<10 < (x-1)^2 < 1.
Adding 22 gives 2<(x−1)2+2<32 < (x-1)^2 + 2 < 3.
So, the range of g\text{g} is 2<g(x)<32 < \text{g}(x) < 3.
Since this lies within the interval 2<x≤42 < x \le 4, we must use the rule f(x)=2x−4\text{f}(x) = 2x - 4.

2. Substitute g(x) into the appropriate rule of f to find an expression for fg(x).

fg(x)=f(g(x))=2(g(x))−4\text{fg}(x) = \text{f}(\text{g}(x)) = 2(\text{g}(x)) - 4
fg(x)=2((x−1)2+2)−4\text{fg}(x) = 2((x-1)^2 + 2) - 4
fg(x)=2(x−1)2+4−4\text{fg}(x) = 2(x-1)^2 + 4 - 4
fg(x)=2(x−1)2\text{fg}(x) = 2(x-1)^2

3. Equate the expression for fg(x) to 1/2 to find the required value.

Let x=(fg)−1(12)x = (\text{fg})^{-1}\left(\frac{1}{2}\right). Then fg(x)=12\text{fg}(x) = \frac{1}{2}.
2(x−1)2=122(x-1)^2 = \frac{1}{2}
(x−1)2=14(x-1)^2 = \frac{1}{4}
x−1=±12x - 1 = \pm \frac{1}{2}

4. Solve for x and reject any value outside the domain of g.

x=1+12=32orx=1−12=12x = 1 + \frac{1}{2} = \frac{3}{2} \quad \text{or} \quad x = 1 - \frac{1}{2} = \frac{1}{2}
Since the domain of g\text{g} (and thus fg\text{fg}) is 0<x<10 < x < 1, we reject x=32x = \frac{3}{2}.
(fg)−1(12)=12(\text{fg})^{-1}\left(\frac{1}{2}\right) = \frac{1}{2}

Answer

fg(x)=2(x−1)2\text{fg}(x) = 2(x-1)^2

(fg)−1(12)=12(\text{fg})^{-1}\left(\frac{1}{2}\right) = \frac{1}{2}

AI analysis — may contain mistakes.

Worked this one out on paper? Snap your steps and Gigle's AI math checker will circle the step where it went wrong.

More questions on this topic

  1. 1The functions ff and gg are defined by f:x↦16−4x,  x∈R,  x≤4,f : x \mapsto \sqrt{16 - 4x},\; x \in \mathbb{R},\; x \le 4, g:x↦x2,  x∈R.g : x \mapsto x^{2},\; x \in \mathbb{R}.…
  2. 2Show that cos⁡3θ=4cos⁡3θ−3cos⁡θ\cos 3\theta = 4\cos^{3}\theta - 3\cos\theta. Hence, or otherwise, evaluate ∫0π/6sin⁡2θ cos⁡3θ dθ\displaystyle \int_{0}^{\pi/6} \sin 2\theta\,\cos 3\theta\, d\theta…
  3. 3函数f(x)={2x−2  ,  x⩽1  ,  log⁡2(x−1)  ,  x>1  f\left(x\right)=\begin{cases}{2}^{x}-2\;,\;x\leqslant 1\;,\;\\ {\log}_{2}\left(x-1\right)\;,\;x>1\end{cases}\;则f[f(52)]=f\left[f\left(\dfrac{5}{2}\right)\right]=…
  4. 4A curve with equation y=f(x)y=f(x) is transformed by a reflection in the y-axis, followed by a translation of 1 unit in the…
  5. 5The function g\text{g} is defined by g:x→sin⁡x+x\text{g} : x \to \sin x + x, for x∈Rx \in \mathbb{R}, −π≤x≤π-\pi \le x \le \pi. Show…