Porisma

Worked solution

An absolute-value restriction and a composite range

Functions ff, gg and hh are defined by

f:x↦∣x2−6x+5∣f:x\mapsto|x^2-6x+5| for x∈Rx\in\mathbb R, 2≤x≤62\leq x\leq6,

g:x↦ln⁡(x2)g:x\mapsto\ln(x^2) for x∈Rx\in\mathbb R, x≠0x\ne0,

h:x↦12−xh:x\mapsto\dfrac1{2-x} for x∈Rx\in\mathbb R, x≤32x\leq\dfrac32.

(i) Give a reason why ff does not have an inverse.

(ii) State the longest possible interval in the domain of ff, to which the restriction of ff would have an inverse. Hence, define f−1f^{-1} in similar form for function ff restricted to this interval.

(iii) Show that the composite function ghgh exists.

(iv) Determine the exact range of function ghgh.

[2008/ACJC/II/4 (modified)]

CJC · Functions · Discussion 3 · 2025

Answer

(i) Not one-to-one. (ii) Restrict to [3,5][3,5]; f−1(x)=3+4−xf^{-1}(x)=3+\sqrt{4-x} on [0,4][0,4]. (iii) Rh=(0,2]⊂DgR_h=(0,2]\subset D_g, so ghgh exists. (iv) Rgh=(−∞,ln⁡4]R_{gh}=(-\infty,\ln4].

(i)

The source graph shows the horizontal line y=3.5 meeting f three times. Its labelled points are (2,3), (3,4), (5,0) and (6,5). Hence f is not one-to-one and has no inverse on the full stated domain.

How did this part go?

(ii)

The longest invertible interval is [3,5]. The graph is strictly increasing on [2,3], decreasing on [3,5], then increasing on [5,6]; the middle interval has greatest length. On [3,5], the quadratic inside the absolute value is nonpositive, so y=−(x2−6x+5)=4−(x−3)2y=-(x^2-6x+5)=4-(x-3)^2. Thus (x−3)2=4−y(x-3)^2=4-y and x=3±4−yx=3\pm\sqrt{4-y}. The branch x≥3 gives f−1:x↦3+4−xf^{-1}:x\mapsto3+\sqrt{4-x} for x∈Rx\in\mathbb R, 0≤x≤40\leq x\leq4. Its domain is the restricted range [0,4].

How did this part go?

(iii)

The graph of h has positive values, approaches y=0 as x→−∞, and includes the endpoint (3/2,2). Hence Rh=(0,2]R_h=(0,2]. The outer domain is Dg=(−∞,0)∪(0,∞)D_g=(-\infty,0)\cup(0,\infty). Since Rh⊆DgR_h\subseteq D_g, gh exists on the full stated domain of h.

How did this part go?

(iv) Method 1

First map through h, then restrict g to Rh=(0,2]R_h=(0,2]. The unrestricted graph of g=ln(x²) has two branches with asymptote x=0. On the retained positive branch, g increases from −∞ (not attained) to g(2)=ln⁡4g(2)=\ln4. Thus Rgh=(−∞,ln⁡4]=(−∞,2ln⁡2]R_{gh}=(-\infty,\ln4]=(-\infty,2\ln2].

How did this part go?

(iv) Method 2

Write gh(x)=ln⁡[(1/(2−x))2]gh(x)=\ln[(1/(2-x))^2] for x≤3/2. The composite graph is increasing, tends to −∞ as x→−∞, and has included endpoint (3/2,ln4). Its range is again (−∞,ln⁡4](−\infty,\ln4]. The two source graph methods are both retained in the figure.

How did this part go?

Compare your sketch

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Five source graph views: f=|x²−6x+5| on [2,6] passes through (2,3),(3,4),(5,0),(6,5), and y=3.5 intersects it three times. h=1/(2−x) on x≤3/2 approaches zero from above and includes (3/2,2), so Rh=(0,2]. The unrestricted g=ln(x²) has two branches and vertical asymptote x=0. Restricting g to (0,2] retains the increasing positive branch up to included (2,ln4). The directly graphed composite gh has included endpoint (3/2,ln4) and extends downwards without bound to the left. Both range methods give (−∞,ln4]. Dotted grey curves show excluded domain context; solid blue curves show the allowed inputs.
Five source graph views: f=|x²−6x+5| on [2,6] passes through (2,3),(3,4),(5,0),(6,5), and y=3.5 intersects it three times. h=1/(2−x) on x≤3/2 approaches zero from above and includes (3/2,2), so Rh=(0,2]. The unrestricted g=ln(x²) has two branches and vertical asymptote x=0. Restricting g to (0,2] retains the increasing positive branch up to included (2,ln4). The directly graphed composite gh has included endpoint (3/2,ln4) and extends downwards without bound to the left. Both range methods give (−∞,ln4]. Dotted grey curves show excluded domain context; solid blue curves show the allowed inputs.
Five source graph views: f=|x²−6x+5| on [2,6] passes through (2,3),(3,4),(5,0),(6,5), and y=3.5 intersects it three times. h=1/(2−x) on x≤3/2 approaches zero from above and includes (3/2,2), so Rh=(0,2]. The unrestricted g=ln(x²) has two branches and vertical asymptote x=0. Restricting g to (0,2] retains the increasing positive branch up to included (2,ln4). The directly graphed composite gh has included endpoint (3/2,ln4) and extends downwards without bound to the left. Both range methods give (−∞,ln4]. Dotted grey curves show excluded domain context; solid blue curves show the allowed inputs.

Common mistakes

The longest interval is a question about interval length within [2,6], not merely any maximal injective subset.

Read the hint