Porisma

Original question & working

When can two functions compose? · source reference

[2023/MI/Promo/PU2/I/8] · Question pp. 1 · Working pp. 1, 2, 3

Open the interactive lesson

The working and teaching notes are included in the interactive lesson.

Endpoint checks alone are insufficient: the minimum of g occurs inside its domain.

View source review notes
Full original question, working & notes

Complete question

The functions are f(x)=x−2f(x)=\sqrt{x-2} for x≥2x\ge2, and g(x)=3x2−6x+5g(x)=3x^2-6x+5 for 0≤x≤40\le x\le4, with real inputs. (i) Sketch y=f(x) and state its range. [2] (ii) Find the inverse of f and its domain. [2] (iii) Show that fg exists. [2] (iv) Find fg(x) and its range. [3] (v) With g now defined on all real numbers, describe fully a sequence of transformations taking y=g(x) to y=x2−1y=x^2-1. [3]

[2023/MI/Promo/PU2/I/8]

Printed working

Part (i)

From the square-root graph beginning at the closed point (2,0)(2,0), Rf=[0,∞)R_f=[0,\infty).

Part (ii)

y=x−2⇒y2=x−2⇒x=y2+2.y=\sqrt{x-2}\Rightarrow y^2=x-2\Rightarrow x=y^2+2.

The printed line says “where x≥0x\ge0 (Note: x=f−1(y)x=f^{-1}(y))”. The inverse input in this rearrangement is y≥0y\ge0; the final domain below supplies that restriction.

f−1(x)=x2+2,Df−1=Rf=[0,∞).f^{-1}(x)=x^2+2,\qquad D_{f^{-1}}=R_f=[0,\infty).

Part (iii)

Rg=[2,29],Df=[2,∞),Rg⊆Df.R_g=[2,29],\qquad D_f=[2,\infty),\qquad R_g\subseteq D_f.

Thus fgfg exists. The graph of gg labels (0,5)(0,5), minimum (1,2)(1,2) and closed endpoint (4,29)(4,29). The original nested interval diagram places the bounded RgR_g interval inside the rightward DfD_f ray, with labels 2 and 29.

Part (iv)

fg(x)=f[g(x)]=f(3x2−6x+5)=(3x2−6x+5)−2=3x2−6x+3.\begin{aligned} fg(x)&=f[g(x)]\\ &=f(3x^2-6x+5)\\ &=\sqrt{(3x^2-6x+5)-2}\\ &=\sqrt{3x^2-6x+3}. \end{aligned}

Method 1: [0,4]→g[2,29]→f?[0,4]\xrightarrow{g}[2,29]\xrightarrow{f}?, with domains/ranges labelled DgD_g, RgR_g, RfgR_{fg}. Sketch y=f(x)=x−2y=f(x)=\sqrt{x-2} for 2≤x≤292\le x\le29. The graph labels closed points (2,0)(2,0) and (29,27)(29,\sqrt{27}) and the level 27\sqrt{27}. Therefore Rfg=[0,27]R_{fg}=[0,\sqrt{27}].

Method 2: Sketch y=fg(x)=3x2−6x+3y=fg(x)=\sqrt{3x^2-6x+3}, 0≤x≤40\le x\le4. The V has vertex (1,0)(1,0) and closed endpoint (4,27)(4,\sqrt{27}); a vertical double-headed arrow labels RfgR_{fg}. Thus Rfg=[0,27]R_{fg}=[0,\sqrt{27}] again.

Part (v): three printed transformation methods

Let y=g(x)=3x2−6x+5=3(x−1)2+2y=g(x)=3x^2-6x+5=3(x-1)^2+2.

Method 1:

  1. Replace xx by x+1x+1: y=3((x+1)−1)2+2=3x2+2y=3((x+1)-1)^2+2=3x^2+2. Translate in the negative x-direction by 1 unit.
  2. Replace yy by y+5y+5: y+5=3x2+2y+5=3x^2+2, so y=3x2−3y=3x^2-3. Translate in the negative y-direction by 5 units.
  3. Replace yy by 3y3y: 3y=3x2−3⇒y=x2−13y=3x^2-3\Rightarrow y=x^2-1. Scale parallel to the y-axis by scale factor 1/31/3.

Method 2:

  1. Replace xx by x+1x+1: y=3((x+1)−1)2+2=3x2+2y=3((x+1)-1)^2+2=3x^2+2. Translate in the negative x-direction by 1 unit.
  2. Replace yy by 3y3y: 3y=3x2+2⇒y=x2+2/33y=3x^2+2\Rightarrow y=x^2+2/3. Scale parallel to the y-axis by scale factor 1/31/3.
  3. Replace yy by y+5/3y+5/3: y+5/3=x2+2/3⇒y=x2−1y+5/3=x^2+2/3\Rightarrow y=x^2-1. Translate in the negative y-direction by 5/35/3 units.

Method 3:

  1. Replace xx by x+1x+1: y=3((x+1)−1)2+2=3x2+2y=3((x+1)-1)^2+2=3x^2+2. Translate in the negative x-direction by 1 unit.
  2. Replace xx by x/3x/\sqrt3: y=3(x/3)2+2=x2+2y=3(x/\sqrt3)^2+2=x^2+2. Scale parallel to the x-axis by scale factor 3\sqrt3.
  3. Replace yy by y+3y+3: y+3=x2+2⇒y=x2−1y+3=x^2+2\Rightarrow y=x^2-1. Translate in the negative y-direction by 3 units.

Teacher margin notes

To find the range of ff, sketch the graph of ff and, from the graph, find the range of y-values.

y=f(x)⇔x=f−1(y)y=f(x)\Leftrightarrow x=f^{-1}(y). Make xx the subject where x=f−1(y)x=f^{-1}(y). Then replace yy by xx to find f−1(x)f^{-1}(x).

Note that the range of gg is from the y-value of the minimum point (1,2)(1,2) to the y-value of the endpoint (4,29)(4,29). Do not just consider the y-values of the two endpoints to find the range of gg.

Treat RgR_g as the new domain for the graph of ff to find RfgR_{fg}.

Source diagrams

Printed square-root f graph with closed start(2,0). Printed quadratic g graph on[0,4], labelled(0,5),(1,2),(4,29). Original range/domain inclusion and mapping flow: Rg=[2,29] inside Df=[2,∞), and[0,4] through g then f. Method1 square-root graph restricted to2≤x≤29, with upper level√27. Method2 composite V graph on[0,4], vertex(1,0), endpoint(4,√27) and range arrow.

Review qualification

Endpoint checks alone are insufficient: the minimum of g occurs inside its domain.

The corrected or qualified authored derivation is retained in the question article.

Provenance

Question page references: 1. Solution page references: 1, 2, 3. The original compilation header and printed page numbers are preserved in the edition notes. Original PDFs and page images remain only in the private QA archive.