Accéder au contenu principal

Monotonicity, Extrema and Inverse Functions — Exercises 21–28 — Mathematics Bac

PARCOURS MATHS MAROC — PMM

Differentiation and Function Analysis — Exercises 21–28

Moroccan Baccalaureate — Mathematical Sciences · English solutions · Al Moufid

Exercise 21 — Reading a variation chart and identifying a polynomial

Given. A function \(f\) is differentiable on \(\mathbb R\). According to its variation chart, \(f\) increases up to \(x=-2\), where \(f(-2)=1\), then decreases up to \(x=0\), where \(f(0)=-3\), and increases again. Its values approach \(-\infty\) and \(+\infty\) at the respective ends of the domain.
\(x\)\(-\infty\)\(-2\)\(0\)\(+\infty\)
\(f(x)\)\(-\infty\) ↗\(1\) ↘\(-3\) ↗\(+\infty\)
Question 1Use the variations to determine the sign of \(f^{\prime}(x)\), including the points where the derivative vanishes.
Hint. Relate monotonicity to the sign of the derivative, and apply Fermat’s theorem at interior local extrema.
Show solution +Hide solution −

On \((-\infty,-2)\), the function is increasing, hence \(f^{\prime}(x)\geq0\). On \((-2,0)\), it is decreasing, hence \(f^{\prime}(x)\leq0\). On \((0,+\infty)\), it is increasing, hence \(f^{\prime}(x)\geq0\).

\(x\)\((-\infty,-2)\)\(-2\)\((-2,0)\)\(0\)\((0,+\infty)\)
Sign of \(f^{\prime}\)\(\geq0\)\(0\)\(\leq0\)\(0\)\(\geq0\)
Question 2Check whether \(g(x)=x^3+3x^2-3\) is consistent with this variation chart.
Hint. Differentiate \(g\), establish the sign of \(g^{\prime}\), and check \(g(-2)\), \(g(0)\) and the limits at both infinities.
Show solution +Hide solution −
\[g^{\prime}(x)=3x^2+6x=3x(x+2).\]

The zeros of \(g^{\prime}\) are \(-2\) and \(0\). Since the constant factor \(3\) is positive, \(x(x+2)\) is positive outside \([-2,0]\) and negative between the roots.

\(x\)\((-\infty,-2)\)\(-2\)\((-2,0)\)\(0\)\((0,+\infty)\)
\(g^{\prime}(x)\)\(+\)\(0\)\(-\)\(0\)\(+\)
\[g(-2)=-8+12-3=1,\qquad g(0)=-3.\]

Finally, the leading term is \(x^3\), with positive coefficient: \(g(x)\to-\infty\) as \(x\to-\infty\), and \(g(x)\to+\infty\) as \(x\to+\infty\).

Exercise 22 — Monotonicity and extrema of twelve functions

Given. For each of the twelve functions below, determine its domain, the sign of its derivative, the intervals on which it is increasing or decreasing, and any extrema. Respect the parameter values and excluded points.
Question 1\(f(x)=x^4-4x\). Determine the intervals of increase and decrease and any extrema.
Hint. Factor \(f^{\prime}\). Calculate the discriminant of the quadratic factor before determining its sign.
Show solution +Hide solution −
\[f^{\prime}(x)=4x^3-4=4(x-1)(x^2+x+1).\]
\[\begin{aligned}\Delta&=1^2-4\times1\times1=-3<0,\\ a&=1>0.\end{aligned}\]

Therefore \(x^2+x+1>0\) for all real \(x\). The sign of \(f^{\prime}\) is exactly the sign of \(x-1\).

\(x\)\((-\infty,1)\)\(1\)\((1,+\infty)\)
\(f^{\prime}(x)\)\(-\)\(0\)\(+\)

The function decreases on \((-\infty,1]\), then increases on \([1,+\infty)\). Since \(x^4\) dominates \(-4x\) at both infinities, \(f(x)\to+\infty\) at either end.

Question 2\(f(x)=\frac{\sqrt{x^2+1}}{x}\). Determine the intervals of increase and decrease and any extrema.
Hint. Zero is excluded from the domain. Apply the chain rule for the square root, followed by the quotient rule.
Show solution +Hide solution −

Domain: \(D_f=\mathbb R^*\). Set \(u(x)=\sqrt{x^2+1}\) and \(v(x)=x\). Since \(x^2+1\) is strictly positive, the chain rule gives \(u^{\prime}(x)=\frac{x}{\sqrt{x^2+1}}\).

\[\begin{aligned}f^{\prime}(x)&=\frac{x\,\frac{x}{\sqrt{x^2+1}}-\sqrt{x^2+1}}{x^2}\\&=\frac{x^2-(x^2+1)}{x^2\sqrt{x^2+1}}=-\frac{1}{x^2\sqrt{x^2+1}}<0.\end{aligned}\]

The denominator is strictly positive on \(D_f\), so the function is strictly decreasing on each of \((-\infty,0)\) and \((0,+\infty)\). Writing \(f(x)=\frac{\sqrt{1+\frac1{x^2}}}{\frac{x}{|x|}}\) for \(x\ne0\), we obtain the limits \(-1\) at \(-\infty\) and \(1\) at \(+\infty\). Also, \(f(x)\to-\infty\) as \(x\to0^-\) and \(+\infty\) as \(x\to0^+\).

Question 3\(f(x)=\sqrt{x^2+1}-x\). Determine the intervals of increase and decrease and any extrema.
Hint. Show that the radicand is strictly positive, then compare \(x\) with \(\sqrt{x^2+1}\).
Show solution +Hide solution −
\[f^{\prime}(x)=\frac{2x}{2\sqrt{x^2+1}}-1=\frac{x-\sqrt{x^2+1}}{\sqrt{x^2+1}}.\]

Since \(\sqrt{x^2+1}>|x|\ge x\), the numerator is strictly negative and the denominator is positive. Thus \(f^{\prime}(x)<0\) for every real \(x\).

For \(x>0\), multiply the numerator and denominator by the conjugate:

\[f(x)=\frac{(\sqrt{x^2+1}-x)(\sqrt{x^2+1}+x)}{\sqrt{x^2+1}+x}=\frac1{\sqrt{x^2+1}+x}\longrightarrow0.\]

As \(x\to-\infty\), both \(\sqrt{x^2+1}\) and \(-x\) tend to \(+\infty\), so \(f(x)\to+\infty\).

Question 4\(f(x)=\frac{\sqrt{1+x}-3}{x}\). Determine the intervals of increase and decrease and any extrema.
Hint. Domain: \(x\ge-1\) with \(x\ne0\). Introduce \(t=\sqrt{1+x}\) to study the derivative’s sign.
Show solution +Hide solution −

The domain is \(D_f=[-1,0)\cup(0,+\infty)\). For \(x>-1\) and \(x\ne0\), the quotient rule gives

\[f^{\prime}(x)=\frac{\frac{x}{2\sqrt{1+x}}-(\sqrt{1+x}-3)}{x^2}=\frac{-x-2+6\sqrt{1+x}}{2x^2\sqrt{1+x}}.\]

Put \(t=\sqrt{1+x}>0\), so \(x=t^2-1\). Then \(-x-2+6t=-t^2+6t-1=8-(t-3)^2\). Since the denominator is strictly positive, \(f^{\prime}\) has the sign of this quadratic in \(t\).

\[8-(t-3)^2=0\iff t=3\pm2\sqrt2.\]

Both roots are positive. Returning to \(x=t^2-1\), write

\[\alpha=16-12\sqrt2,\qquad\beta=16+12\sqrt2.\]

The quadratic has a negative leading coefficient, so it is positive between its roots and negative outside. Since \(-1<\alpha<0<\beta\), the function decreases on \([-1,\alpha]\), increases on \([\alpha,0)\), increases on \((0,\beta]\), and decreases on \([\beta,+\infty)\).

\[f(\alpha)=\frac32+\sqrt2,\qquad f(\beta)=\frac32-\sqrt2,\qquad f(-1)=3.\]

These values follow by substituting \(x=t^2-1\) and simplifying \(\frac{t-3}{t^2-1}\) at \(t=3\pm2\sqrt2\). The one-sided limits at \(0\) are \(+\infty\) from the left and \(-\infty\) from the right.

Question 5\(f(x)=\frac{x^2-3x+2}{x^2+2x+1}\). Determine the intervals of increase and decrease and any extrema.
Hint. Factor the denominator, then apply the quotient rule and determine the sign of the derivative.
Show solution +Hide solution −

Since \(x^2+2x+1=(x+1)^2\), the domain is \(D_f=\mathbb R\setminus\{-1\}\). Set \(u=x^2-3x+2\) and \(v=(x+1)^2\).

\[\begin{aligned}f^{\prime}(x)&=\frac{(2x-3)(x+1)^2-(x^2-3x+2)2(x+1)}{(x+1)^4}\\&=\frac{(x+1)\left((2x-3)(x+1)-2(x^2-3x+2)\right)}{(x+1)^4}\\&=\frac{5x-7}{(x+1)^3}.\end{aligned}\]

The sign of the derivative can change at \(-1\) (excluded from the domain) and at \(\frac75\) (a zero of the numerator).

\(x\)\((-\infty,-1)\)\(-1\) exclu\((-1,\frac75)\)\(\frac75\)\((\frac75,+\infty)\)
\(f^{\prime}\)\(+\)undefined\(-\)\(0\)\(+\)

On \((-\infty,-1)\), \(f\) increases; on \((-1,\frac75]\), it decreases; on \([\frac75,+\infty)\), it increases. As \(x\to-1\), the numerator tends to \(6>0\) and the denominator to \(0^+\), so \(f(x)\to+\infty\).

\[f\left(\frac75\right)=\frac{-\frac6{25}}{\frac{144}{25}}=-\frac1{24}.\]
Question 6\(f(x)=\cos\!\left(\frac\pi x\right)\). Determine the intervals of increase and decrease and any extrema.
Hint. Apply the chain rule, then examine the sign of \(\sin\left(\frac{\pi}{x}\right)\) between its consecutive zeros.
Show solution +Hide solution −

The domain is \(\mathbb R^*\), since \(\frac\pi x\) requires \(x\ne0\). Set \(u(x)=\frac\pi x\); then \(u^{\prime}(x)=-\frac\pi{x^2}\), hence

\[f^{\prime}(x)=\frac\pi{x^2}\sin\!\left(\frac\pi x\right).\]

The factor \(\frac\pi{x^2}\) is strictly positive, so the sign is that of \(\sin\left(\frac{\pi}{x}\right)\). Stationary points satisfy \(\frac\pi x=k\pi\), where \(k\in\mathbb Z^*\), giving \(x=\frac1k\).

For \(k\ge1\) and \(x\in(\frac1{k+1},\frac1k)\), we have \(k\pi<\frac\pi x<(k+1)\pi\), so \(f^{\prime}\) has the sign of \((-1)^k\). On \((1,+\infty)\), \(0<\frac\pi x<\pi\), hence \(f^{\prime}>0\). The variations for \(x<0\) follow from the fact that \(f\) is even.

\[f\left(\frac1k\right)=\cos(k\pi)=(-1)^k.\]
Question 7\(f(x)=x\sqrt{x-x^2}\). Determine the intervals of increase and decrease and any extrema.
Hint. Begin by solving \(x-x^2\ge0\). In the interior of the domain, use the product rule and the square-root chain rule.
Show solution +Hide solution −

The radicand \(x-x^2=x(1-x)\) is nonnegative exactly on \([0,1]\). For \(0<x<1\), set \(u=x\) and \(v=\sqrt{x-x^2}\). Then

\[\begin{aligned}f^{\prime}(x)&=\sqrt{x-x^2}+x\frac{1-2x}{2\sqrt{x-x^2}}\\&=\frac{2(x-x^2)+x(1-2x)}{2\sqrt{x-x^2}}=\frac{x(3-4x)}{2\sqrt{x-x^2}}.\end{aligned}\]

The denominator is positive on \((0,1)\), and so is \(x\). Therefore the derivative has the sign of \(3-4x\).

\(x\)\((0,\frac34)\)\(\frac34\)\((\frac34,1)\)
\(f^{\prime}\)\(+\)\(0\)\(-\)
\[f(0)=f(1)=0,\qquad f\left(\frac34\right)=\frac34\sqrt{\frac3{16}}=\frac{3\sqrt3}{16}.\]
Question 8\(f(x)=2\sin x+\cos(2x)\). Determine the intervals of increase and decrease and any extrema.
Hint. Differentiate and factor using \(\sin(2x)=2\sin x\cos x\). Use periodicity to extend the results.
Show solution +Hide solution −
\[f^{\prime}(x)=2\cos x-2\sin(2x)=2\cos x(1-2\sin x).\]

The zeros satisfy \(\cos x=0\) or \(\sin x=\frac12\). Over one period \([0,2\pi]\), they are \(\frac\pi6,\frac\pi2,\frac{5\pi}6,\frac{3\pi}2\). The sign of the factors is then:

Interval\((0,\frac\pi6)\)\((\frac\pi6,\frac\pi2)\)\((\frac\pi2,\frac{5\pi}6)\)\((\frac{5\pi}6,\frac{3\pi}2)\)\((\frac{3\pi}2,2\pi)\)
\(f^{\prime}\)\(+\)\(-\)\(+\)\(-\)\(+\)

Thus \(f\) increases, decreases, increases, decreases, then increases on these five intervals. The function is \(2\pi\)-periodic, so the pattern repeats after translation by \(2k\pi\).

To determine the global range, use \(\cos2x=1-2\sin^2x\):

\[f(x)=\frac32-2\left(\sin x-\frac12\right)^2.\]

The maximum is \(\frac32\) when \(\sin x=\frac12\), and the minimum is \(-3\) when \(\sin x=-1\). At \(\frac\pi2+2k\pi\), the derivative changes from negative to positive: \(f=1\) is also a local minimum.

Question 9\(f(x)=\frac{\tan x+1}{\tan x-1}\). Determine where the function is increasing or decreasing.
Hint. The original domain requires both \(\cos x\ne0\) and \(\tan x\ne1\). Do not enlarge that domain after algebraic simplification.
Show solution +Hide solution −

Exclude \(x=\frac\pi2+k\pi\) and \(x=\frac\pi4+k\pi\), for \(k\in\mathbb Z\). On the remaining domain, multiply the numerator and denominator by \(\cos x\) to obtain

\[f(x)=\frac{\sin x+\cos x}{\sin x-\cos x}.\]

Set \(u=\sin x+\cos x\) and \(v=\sin x-\cos x\). Then \(u^{\prime}=\cos x-\sin x\), \(v^{\prime}=\cos x+\sin x\).

\[\begin{aligned}u^{\prime}v-uv^{\prime}&=(\cos x-\sin x)(\sin x-\cos x)\\&\quad-(\sin x+\cos x)^2\\&=-\left((\cos x-\sin x)^2+(\sin x+\cos x)^2\right)=-2.\end{aligned}\]
\[f^{\prime}(x)=-\frac2{(\sin x-\cos x)^2}<0.\]
Question 10\(f(x)=x^3+x^2+ax\), where \(a\in\mathbb R\). Determine monotonicity depending on \(a\).
Hint. Compute the discriminant of the quadratic \(f^{\prime}(x)\), and distinguish the three possible signs.
Show solution +Hide solution −
\[f^{\prime}(x)=3x^2+2x+a,\qquad\Delta=2^2-4\times3\times a=4(1-3a).\]

The leading coefficient is \(3>0\). If \(a>\frac13\), then \(\Delta<0\), hence \(f^{\prime}>0\) on \(\mathbb R\) and \(f\) is strictly increasing.

If \(a=\frac13\), then \(\Delta=0\) and \(f^{\prime}(x)=3(x+\frac13)^2\ge0\), with a single zero. The function remains strictly increasing.

If \(a<\frac13\), the roots of the derivative are

\[r_- =\frac{-1-\sqrt{1-3a}}3,\qquad r_+=\frac{-1+\sqrt{1-3a}}3.\]
\(x\)\((-\infty,r_-)\)\(r_-\)\((r_-,r_+)\)\(r_+\)\((r_+,+\infty)\)
\(f^{\prime}\)\(+\)\(0\)\(-\)\(0\)\(+\)

Thus \(f\) increases up to \(r_-\), decreases from \(r_-\) to \(r_+\), and then increases again. There is a local maximum at \(r_-\) and a local minimum at \(r_+\). The leading term \(x^3\) shows that \(f\to-\infty\) on the left and \(f\to+\infty\) on the right.

Question 11\(f(x)=\sqrt{x^2-x}-2x\). Determine the intervals of increase and decrease and any extrema.
Hint. Find the domain from the sign of the radicand. For \(x>1\), compare \(2x-1\) with \(4\sqrt{x^2-x}\), justifying any squaring.
Show solution +Hide solution −

The radicand \(x(x-1)\) is nonnegative for \(x\le0\) or \(x\ge1\): \(D_f=(-\infty,0]\cup[1,+\infty)\). For \(x<0\) or \(x>1\),

\[f^{\prime}(x)=\frac{2x-1}{2\sqrt{x^2-x}}-2=\frac{2x-1-4\sqrt{x^2-x}}{2\sqrt{x^2-x}}.\]

For \(x<0\), both \(2x-1<0\) and \(-4\sqrt{x^2-x}<0\), so \(f^{\prime}(x)<0\). For \(x>1\), both \(2x-1\) and \(4\sqrt{x^2-x}\) are positive. Their difference has the sign of the difference of their squares:

\[(2x-1)^2-16(x^2-x)=1-12x(x-1).\]

The equation \(1-12x(x-1)=0\) has the solution \(\gamma=\frac12+\frac{\sqrt3}3\) in \((1,+\infty)\). The expression \(1-12x(x-1)\) is positive on \((1,\gamma)\) and negative on \((\gamma,+\infty)\).

\(x\)\((-\infty,0)\)\((1,\gamma)\)\(\gamma\)\((\gamma,+\infty)\)
\(f^{\prime}\)\(-\)\(+\)\(0\)\(-\)

By continuity at the endpoints, \(f\) decreases on \((-\infty,0]\), increases on \([1,\gamma]\), then decreases on \([\gamma,+\infty)\).

\[f(0)=0,\quad f(1)=-2,\quad f(\gamma)=-1-\frac{\sqrt3}2.\]

As \(x\to-\infty\), \(f(x)\to+\infty\). As \(x\to+\infty\), since \(\sqrt{x^2-x}<x\), we have \(f(x)<-x\to-\infty\).

Question 12\(f(x)=\frac{\sin x}{2\cos x-1}\). Determine where the function is increasing or decreasing.
Hint. Domain: solve \(2\cos x-1\ne0\). Differentiate the quotient and simplify using \(\sin^2x+\cos^2x=1\).
Show solution +Hide solution −

The denominator vanishes when \(\cos x=\frac12\), namely at \(x=\pm\frac\pi3+2k\pi\), \(k\in\mathbb Z\); these points are excluded.

\[\begin{aligned}f^{\prime}(x)&=\frac{\cos x(2\cos x-1)-\sin x(-2\sin x)}{(2\cos x-1)^2}\\&=\frac{2(\cos^2x+\sin^2x)-\cos x}{(2\cos x-1)^2}\\&=\frac{2-\cos x}{(2\cos x-1)^2}.\end{aligned}\]

Since \(-1\le\cos x\le1\), we have \(2-\cos x\ge1>0\). The denominator is strictly positive throughout the domain, so \(f^{\prime}(x)>0\).

Exercise 23 — One-to-one functions and their inverses

Given. For each function, prove that its restriction to the given interval \(I\) is a bijection onto an interval \(J\) to be determined. Then find the inverse function and state its domain.
Question 1\(I=[5,+\infty)\), \(f(x)=\frac{x^2+5}{x-2}\). Determine \(J\) and \(f^{-1}\).
Hint. The denominator is positive on \(I\). After differentiating, solve a quadratic equation for \(x\) and choose the root consistent with the original interval.
Show solution +Hide solution −
\[f^{\prime}(x)=\frac{2x(x-2)-(x^2+5)}{(x-2)^2}=\frac{x^2-4x-5}{(x-2)^2}=\frac{(x-5)(x+1)}{(x-2)^2}.\]

For \(x\ge5\), the denominator is positive, \(x+1>0\), and \(x-5\ge0\). Hence \(f^{\prime}\ge0\), with a strictly positive derivative for \(x>5\). Continuity then shows that \(f\) is strictly increasing on \(I\). Moreover, \(f(5)=10\) and \(\lim_{x\to+\infty}f(x)=+\infty\). Thus \(J=[10,+\infty)\).

Let \(y=f(x)\). The equation \(y(x-2)=x^2+5\) becomes \(x^2-yx+(2y+5)=0\), whose discriminant is

\[\Delta_y=y^2-4(2y+5)=y^2-8y-20=(y-10)(y+2)\ge0\quad(y\ge10).\]

The two roots are \(\frac{y\pm\sqrt{\Delta_y}}2\). For \(y\ge10\), we have \(\Delta_y=(y-10)(y+2)\ge(y-10)^2\), so \(\sqrt{\Delta_y}\ge y-10\). Consequently, the root with the minus sign is at most \(5\), whereas the root with the plus sign is at least \(5\). Since the original domain is \(I=[5,+\infty)\), choose the plus sign.

Question 2\(I=[0,+\infty)\), \(f(x)=\frac{x}{\sqrt{x^2+1}}\). Determine \(J\) and \(f^{-1}\).
Hint. The derivative is strictly positive. When squaring the equation for the inverse, preserve the conditions \(x\ge0\) and \(y\ge0\).
Show solution +Hide solution −
\[\begin{aligned}f^{\prime}(x)&=\frac{\sqrt{x^2+1}-x\frac{x}{\sqrt{x^2+1}}}{x^2+1}\\&=\frac{(x^2+1)-x^2}{(x^2+1)^{\frac32}}=\frac1{(x^2+1)^{\frac32}}>0.\end{aligned}\]

Thus \(f\) is continuous and strictly increasing on \(I\), with \(f(0)=0\) and \(\lim_{x\to+\infty}f(x)=1\). For \(x\ge0\), \(f(x)<1\) because \(x<\sqrt{x^2+1}\). Hence \(J=[0,1)\).

For \(y\in J\), the equation \(y=\frac{x}{\sqrt{x^2+1}}\) gives \(y\sqrt{x^2+1}=x\). Squaring both sides yields

\[y^2(x^2+1)=x^2\iff x^2=\frac{y^2}{1-y^2}.\]

Because \(x\ge0\) and \(y\ge0\), we choose the nonnegative square root.

Question 3\(I=[1,+\infty)\), \(f(x)=x-\sqrt{x^2-x}\). Determine \(J\) and \(f^{-1}\).
Hint. To determine the sign of \(f^{\prime}\), compare two positive quantities by squaring. For the limit, multiply by the conjugate.
Show solution +Hide solution −

The function is continuous on \(I\). For \(x>1\), the radicand is strictly positive and

\[f^{\prime}(x)=1-\frac{2x-1}{2\sqrt{x^2-x}}.\]

Since \(2x-1>0\) and \(2\sqrt{x^2-x}>0\), compare their squares: \((2x-1)^2-4(x^2-x)=1>0\). Hence \(2x-1>2\sqrt{x^2-x}\), which gives \(f^{\prime}(x)<0\).

For \(x>1\), multiply the numerator and denominator by the conjugate of \(x-\sqrt{x^2-x}\):

\[f(x)=\frac{x^2-(x^2-x)}{x+\sqrt{x^2-x}}=\frac{x}{x+\sqrt{x^2-x}}=\frac1{1+\sqrt{1-\frac1x}}.\]

Thus \(f(1)=1\), while \(f(x)\to\frac12\) as \(x\to+\infty\), with \(\frac12\) never attained. Because \(f\) is strictly decreasing, \(J=(\frac12,1]\).

Set \(y=x-\sqrt{x^2-x}\). Then \(x-y=\sqrt{x^2-x}\ge0\), so

\[(x-y)^2=x^2-x\iff 2xy-y^2=x\iff x(2y-1)=y^2.\]
Question 4\(I=\mathbb R\), \(f(x)=x+\sqrt{x^2+1}\). Determine \(J\) and \(f^{-1}\).
Hint. Show that the derivative is strictly positive. For the limit at \(-\infty\), multiply by the conjugate.
Show solution +Hide solution −
\[f^{\prime}(x)=1+\frac{x}{\sqrt{x^2+1}}.\]

Since \(|x|<\sqrt{x^2+1}\), we have \(-1<\frac{x}{\sqrt{x^2+1}}<1\), so \(f^{\prime}(x)>0\). The function is strictly increasing on \(\mathbb R\).

Also, \(\sqrt{x^2+1}>|x|\), so \(f(x)>0\). For \(x<0\), multiply the numerator and denominator by the conjugate to obtain

\[f(x)=\frac{(x+\sqrt{x^2+1})(\sqrt{x^2+1}-x)}{\sqrt{x^2+1}-x}=\frac1{\sqrt{x^2+1}-x}\to0\quad(x\to-\infty).\]

As \(x\to+\infty\), \(f(x)\ge2x\to+\infty\). Therefore \(J=(0,+\infty)\).

The equation \(y=x+\sqrt{x^2+1}\) implies \(y-x=\sqrt{x^2+1}\). Squaring gives

\[y^2-2xy+x^2=x^2+1\iff 2xy=y^2-1.\]

Exercise 24 — An odd function, bijectivity and the derivative of the inverse

Given. The function \(f\) is defined on \(\mathbb R\) by \(f(0)=0\) and, for \(x\ne0\), \(f(x)=\frac{\sqrt{1+x^2}-1}{x}\).
Question 1Prove that \(f\) is odd and differentiable on \(\mathbb R\).
Hint. First multiply by the conjugate to obtain a formula also valid at zero. Check the difference quotient at zero separately.
Show solution +Hide solution −

For \(x\ne0\), multiply the numerator and denominator by the conjugate \(\sqrt{1+x^2}+1\):

\[f(x)=\frac{(\sqrt{1+x^2}-1)(\sqrt{1+x^2}+1)}{x(\sqrt{1+x^2}+1)}=\frac{x}{\sqrt{1+x^2}+1}.\]

This final expression also equals zero at \(x=0\). Thus \(f(x)=\frac{x}{\sqrt{1+x^2}+1}\) for every real \(x\).

The denominator is even and the numerator is odd, so \(f(-x)=-f(x)\). For \(x\ne0\), differentiability follows from the chain rule and quotient rule. At zero,

\[f^{\prime}(0)=\lim_{h\to0}\frac{f(h)-f(0)}h=\lim_{h\to0}\frac1{\sqrt{1+h^2}+1}=\frac12.\]

For \(x\ne0\), apply the quotient rule and simplify the numerator:

\[\begin{aligned}f^{\prime}(x)&=\frac{\sqrt{1+x^2}+1-\frac{x^2}{\sqrt{1+x^2}}}{(\sqrt{1+x^2}+1)^2}\\&=\frac1{\sqrt{1+x^2}(\sqrt{1+x^2}+1)}.\end{aligned}\]

At \(x=0\), this formula also gives \(\frac12\).

Question 2Prove that \(f\) is a bijection from \(\mathbb R\) onto an interval \(I\) to be determined.
Hint. Use the positive derivative and evaluate the limits at both infinities.
Show solution +Hide solution −

From the previous question, \(f^{\prime}(x)>0\) throughout \(\mathbb R\). Thus \(f\) is continuous and strictly increasing.

For \(x>0\), write \(f(x)=\frac1{\sqrt{1+\frac1{x^2}}+\frac1x}\), which tends to \(1\) as \(x\to+\infty\). By oddness, \(f(x)\to-1\) as \(x\to-\infty\).

Question 3Find \(f^{-1}\) and determine whether it is odd or even.
Hint. Start from \(y=\frac{x}{\sqrt{1+x^2}+1}\). Isolate the square root before squaring, and check the domain.
Show solution +Hide solution −

For \(y\in(-1,1)\), seek \(x\) such that

\[y=\frac{x}{\sqrt{1+x^2}+1}\iff x-y=y\sqrt{1+x^2}.\]

If \(y=0\), then \(x=0\). Otherwise, squaring both sides gives

\[(x-y)^2=y^2(1+x^2)\iff x^2(1-y^2)-2xy=0.\]

Since \(x\) and \(y\) have the same sign (because \(f\) increases and \(f(0)=0\)), the required solution is

\[x=\frac{2y}{1-y^2}.\]

For \(|y|<1\), this expression has the same sign as \(y\) and satisfies the original equation. Its numerator is odd and its denominator is even.

Question 4Find the derivative of \(f^{-1}\) on \(I\).
Hint. Use the explicit inverse formula from the previous question and apply the quotient rule.
Show solution +Hide solution −

For \(y\in(-1,1)\), the denominator \(1-y^2\) is strictly positive. With \(u(y)=2y\) and \(v(y)=1-y^2\), compute

\[\begin{aligned}(f^{-1})^{\prime}(y)&=\frac{2(1-y^2)-2y(-2y)}{(1-y^2)^2}\\&=\frac{2(1+y^2)}{(1-y^2)^2}.\end{aligned}\]
Question 5Is \(f^{-1}\) differentiable at \(0\)? Calculate \((f^{-1})^{\prime}(0)\).
Hint. Recall the inverse-function derivative formula and verify that \(f^{\prime}(0)\ne0\).
Show solution +Hide solution −

We have \(f(0)=0\) and \(f^{\prime}(0)=\frac12\ne0\). The inverse-function theorem therefore applies at zero:

\[(f^{-1})^{\prime}(0)=\frac1{f^{\prime}(0)}=2.\]

The same result follows by substituting \(y=0\) into \(\frac{2(1+y^2)}{(1-y^2)^2}\).

Exercise 25 — Inverse curves and tangent lines

Given. On \(I=[1,+\infty)\), let \(f(x)=x^2-2x\). Denote the graphs of \(f\) and \(f^{-1}\) by \(\mathcal C_f\) and \(\mathcal C_{f^{-1}}\), respectively.
Question 1Prove that \(f\) is a bijection from \(I\) onto an interval \(J\), then determine \(f^{-1}\).
Hint. Complete the square and determine the sign of \(f^{\prime}\) on \(I\).
Show solution +Hide solution −
\[f(x)=(x-1)^2-1,\qquad f^{\prime}(x)=2(x-1).\]

On \(I\), the derivative is nonnegative and strictly positive for \(x>1\). Hence \(f\) is strictly increasing. Since \(f(1)=-1\) and \(f(x)\to+\infty\), its image is \(J=[-1,+\infty)\).

Let \(y=f(x)\). Then \((x-1)^2=y+1\). Because \(x\ge1\), we have \(x-1\ge0\), so \(x-1=\sqrt{y+1}\).

Question 2Find the tangent line to \(\mathcal C_f\) at \(A(2,0)\), and the tangent to \(\mathcal C_{f^{-1}}\) at \(A^{\prime}(0,2)\).
Hint. Use the tangent-line equation and the derivative of the inverse at corresponding points.
Show solution +Hide solution −

Checking \(f(2)=0\) shows that \(A\) lies on \(\mathcal C_f\). Also, \(f^{\prime}(2)=2\). Therefore

\[T:\ y=0+2(x-2)=2x-4.\]

The reflection of \(A\) across \(y=x\) is \(A^{\prime}(0,2)\), which lies on the inverse graph. Since \(f^{\prime}(2)=2\ne0\),

\[(f^{-1})^{\prime}(0)=\frac1{f^{\prime}(2)}=\frac12.\]
\[T^{\prime}:\ y=2+\frac12(x-0)=2+\frac x2.\]
Question 3Plot \(\mathcal C_f\), \(\mathcal C_{f^{-1}}\) and both tangent lines in the same coordinate system.
Hint. Plot the parabolic branch beginning at \(x=1\), then reflect it across the line \(y=x\).
Show solution +Hide solution −

The graph \(\mathcal C_f\) is the branch \(y=(x-1)^2-1\), \(x\ge1\), with vertex \((1,-1)\). Its reflection is \(\mathcal C_{f^{-1}}\): \(y=1+\sqrt{x+1}\), \(x\ge-1\). Mark \(A(2,0)\) and \(A^{\prime}(0,2)\), then draw the corresponding tangents.

AA′-2-1012345-2-10123456xy
Blue: \(f\); green: \(f^{-1}\); gray: \(y=x\). The colored dashed lines are the tangent lines.

Exercise 26 — Inverse of a square-root function

Given. On \(I=(-\infty,2]\), let \(f(x)=\sqrt{2-x}-x\).
Question 1Prove that \(f\) is a bijection from \(I\) onto an interval \(J\), and determine \(J\).
Hint. Differentiate for \(x<2\). A derivative at the endpoint \(x=2\) is not required to prove monotonicity.
Show solution +Hide solution −

The function is continuous on \((-\infty,2]\). For \(x<2\), the radicand is strictly positive, hence

\[f^{\prime}(x)=-\frac1{2\sqrt{2-x}}-1<0.\]

Thus the function is strictly decreasing on \(I\). At the endpoint, \(f(2)=-2\); as \(x\to-\infty\), both \(\sqrt{2-x}\) and \(-x\) tend to \(+\infty\).

Question 2Prove that \(f^{-1}\) is differentiable at \(0\) and calculate \((f^{-1})^{\prime}(0)\).
Hint. Find \(x_0\) such that \(f(x_0)=0\), then check that \(f^{\prime}(x_0)\ne0\).
Show solution +Hide solution −

We have \(f(1)=\sqrt{1}-1=0\). The point \(x_0=1\) belongs to the interior of the domain, and

\[f^{\prime}(1)=-\frac1{2\sqrt1}-1=-\frac32\ne0.\]
\[(f^{-1})^{\prime}(0)=\frac1{-\frac32}=-\frac23.\]
Question 3Plot the graphs of \(f\) and \(f^{-1}\) in the same coordinate system.
Hint. Mark \((1,0)\) and \((0,1)\), then reflect one graph across \(y=x\).
Show solution +Hide solution −

The graph of \(f\) starts at \((2,-2)\), the right endpoint of its domain, and rises toward \(+\infty\) as \(x\) moves left. It passes through \((1,0)\). Its reflection passes through \((-2,2)\) and \((0,1)\).

AA′BB′-3-2-101234-3-2-1012345xy
Blue: \(f\); green: \(f^{-1}\); gray: \(y=x\).
Question 4Find a formula for \(f^{-1}(y)\) for every \(y\in J\).
Hint. Isolate the square root, square under the required nonnegativity condition, and select the admissible branch.
Show solution +Hide solution −

For \(y\ge-2\), set \(y=\sqrt{2-x}-x\). Then \(y+x=\sqrt{2-x}\ge0\), hence

\[(y+x)^2=2-x\iff x^2+(2y+1)x+(y^2-2)=0.\]

The discriminant of this quadratic equation in \(x\) is

\[\Delta_x=(2y+1)^2-4(y^2-2)=4y+9>0\quad(y\ge-2).\]

The candidate roots are \(\frac{-2y-1\pm\sqrt{4y+9}}2\). With the plus sign, \(y+x=\frac{-1+\sqrt{4y+9}}2\ge0\), because \(y\ge-2\). The minus sign does not satisfy this condition.

Exercise 27 — Inverse of a cosine composite

Given. On \(I=[0,\frac\pi2]\), let \(f(x)=\cos(2x)\).
Question 1Prove that \(f\) is a bijection from \(I\) onto \(J=[-1,1]\).
Hint. Differentiate in the interior of \(I\), examine the sign of \(\sin(2x)\), and evaluate the function at the endpoints.
Show solution +Hide solution −

The function is continuous on \(I\). For \(0<x<\frac\pi2\), we have \(0<2x<\pi\), so \(\sin(2x)>0\) and

\[f^{\prime}(x)=-2\sin(2x)<0.\]

The function is therefore strictly decreasing on \(I\). Moreover, \(f(0)=\cos0=1\) and \(f(\frac\pi2)=\cos\pi=-1\).

Question 2Prove that \(f^{-1}\) is differentiable at \(0\) and calculate \((f^{-1})^{\prime}(0)\).
Hint. Find the preimage of \(0\) in \(I\), then apply the inverse-function derivative formula.
Show solution +Hide solution −

Find \(x_0\in I\) such that \(\cos(2x_0)=0\). Since \(2x_0\in[0,\pi]\), it follows that \(2x_0=\frac\pi2\), hence \(x_0=\frac\pi4\).

\[f^{\prime}\left(\frac\pi4\right)=-2\sin\left(\frac\pi2\right)=-2\ne0.\]
Question 3Derive a formula for \((f^{-1})^{\prime}(y)\) on \((-1,1)\), then sketch both graphs.
Hint. Use \(\cos(2x)=y\), the inequality \(\sin(2x)>0\) in the interior of \(I\), and the identity \(\sin^2(2x)+\cos^2(2x)=1\).
Show solution +Hide solution −

For \(-1<y<1\), let \(x=f^{-1}(y)\in(0,\frac\pi2)\). Then \(\cos(2x)=y\) and \(\sin(2x)>0\). Since \(\sin^2(2x)=1-y^2\),

\[\sin(2x)=\sqrt{1-y^2}.\]
\[(f^{-1})^{\prime}(y)=\frac1{-2\sin(2x)}=-\frac1{2\sqrt{1-y^2}}.\]

The graph of \(f^{-1}\) is obtained by reflecting the branch \(y=\cos(2x)\), \(x\in[0,\frac\pi2]\), across \(y=x\). The points \((\frac\pi4,0)\) and \((0,\frac\pi4)\) correspond.

AA′-1012-1012xy
Blue: \(f\); green: \(f^{-1}\); gray: \(y=x\).

Exercise 28 — Tangent line to the graph of an inverse function

Given. Let \(f\) be strictly monotone and differentiable on an interval \(I\). For \(x_0\in I\), write \(y_0=f(x_0)\) and assume \(f^{\prime}(x_0)\ne0\).
Question 1Prove that the tangent line to the graph of \(f^{-1}\) at abscissa \(y_0\) has equation \(y=\frac{x}{f^{\prime}(x_0)}+x_0-\frac{f(x_0)}{f^{\prime}(x_0)}\).
Hint. Identify the point on the inverse graph, then apply the inverse-function derivative formula and the equation of a tangent line.
Show solution +Hide solution −

Strict monotonicity makes \(f\) injective on \(I\). When its codomain is taken to be \(J=f(I)\), it is a bijection from \(I\) onto \(J\). The inverse is therefore defined on \(J\), and

\[f^{-1}(y_0)=x_0.\]

The differentiability and nonzero-derivative hypotheses allow us to apply the inverse-function theorem:

\[(f^{-1})^{\prime}(y_0)=\frac1{f^{\prime}(x_0)}.\]

The point of tangency on the inverse graph is \((y_0,x_0)\). The tangent-line formula gives

\[y-x_0=(f^{-1})^{\prime}(y_0)(x-y_0)=\frac{x-y_0}{f^{\prime}(x_0)}.\]

Substituting \(y_0=f(x_0)\) yields

← Back to the Al Moufid exercise index
Parcours Maths Maroc — PMM
Professeur Hammou Boudraa

Commentaires