Differentiation — Exercises 1–8
Moroccan Baccalaureate Mathematics · English solutions · Al Moufid
Exercise 01 — Derivative at a point (8 cases)
\(x_0=0\), \(f(x)=\sqrt{x^2+1}\).
Show solution +Hide solution −
Set \(u(x)=x^2+1\). The function \(u\) is differentiable on \(\mathbb R\), with \(u'(x)=2x\), and \(u(x)\geq1>0\).
The chain rule for a square root, \((\sqrt u)'=\dfrac{u'}{2\sqrt u}\), therefore applies for every real \(x\):
Substituting \(x=0\) yields \(\boxed{f'(0)=0}\).
\(x_0=-2\), \(f(x)=\frac{1}{x+2}\).
Show solution +Hide solution −
The value \(f(-2)\) is undefined: \(-2\notin D_f\). Consequently, the function is not differentiable at \(-2\), and no derivative at this point can be computed.
\(x_0=0\), \(f(x)=x|x|\).
Show solution +Hide solution −
By definition, \(f'(0)\) is the finite limit, if it exists, of \(\dfrac{f(0+h)-f(0)}h\) as \(h\to0\). Here \(f(0)=0\).
The limit exists and is finite, so \(\boxed{f'(0)=0}\).
\(x_0=-3\), \(f(x)=\sqrt{|x+3|}\).
Show solution +Hide solution −
The function is continuous at \(-3\); however,
There is no finite derivative, so \(f\) is not differentiable at \(-3\).
\(x_0=0\), \(f(x)=(\sqrt{1+x}-1)/x\) for \(x\ne0\), and \(f(0)=\frac{1}{2}\).
Show solution +Hide solution −
For \(x\ne0\) near \(0\), multiply numerator and denominator by the conjugate \(\sqrt{x+1}+1\):
The last expression is differentiable near \(0\), since \(x+1>0\) and \(\sqrt{x+1}+1>0\). It also equals \(\frac12=f(0)\) at \(x=0\), so it represents the original function throughout a neighbourhood of \(0\).
Use the reciprocal rule \((\frac1v)'=-v'/v^2\) and the square-root chain rule, with \(v(x)=\sqrt{x+1}+1\):
At \(x=0\), \(\boxed{f'(0)=-\frac18}\).
\(x_0=1\), \(f(x)=x^n\), \(n\in\mathbb N^*\).
Show solution +Hide solution −
The power rule states that \((x^n)'=nx^{n-1}\) on \(\mathbb R\) whenever \(n\) is a positive integer.
Since the point \(1\) lies in the domain, \(\boxed{f'(1)=n\times1^{n-1}=n}\).
\(x_0=0\), \(f(x)=x^2\cos(\frac{1}{x})\) for \(x\ne0\), \(f(0)=0\).
Show solution +Hide solution −
At \(0\), the product rule cannot be used directly because \(\cos(\frac{1}{x})\) is undefined there. We therefore use the definition of the derivative. Since \(f(0)=0\), for \(x\ne0\),
As \(|\cos t|\le1\), we have \(-|x|\le x\cos(\frac{1}{x})\le|x|\). Both bounds approach \(0\); by the squeeze theorem,
\(x_0=-1\), \(f(x)=\frac{\sin(x^2-1)}{x-1}\).
Show solution +Hide solution −
The function is defined around \(-1\) and \(f(-1)=0\). For \(x\ne-1,1\),
Using \(\lim_{u\to0}\frac{\sin u}{u}=1\), we conclude that \(\boxed{f'(-1)=1}\).
Exercise 02 — Left and right derivatives (6 cases)
\(x_0=1\), \(f(x)=|x^2-1|\).
Show solution +Hide solution −
To study differentiability of an absolute-value function where its argument is zero, examine both sides of that point.
Near \(1\), \(x^2-1<0\) for \(x<1\) and \(x^2-1>0\) for \(x>1\). By the definition of absolute value:
Both expressions approach \(0=f(1)\), so \(f\) is continuous at \(1\). Their one-sided derivatives are nonetheless different:
Since differentiability requires equality of the two one-sided derivatives, \(\boxed{f\text{ is not differentiable at }1}\).
\(x_0=-2\), \(f(x)=\sqrt{|x^2-4|}\).
Show solution +Hide solution −
Since \(f(-2)=0\), putting \(h=x+2\) gives
The quotient tends to \(-\infty\) as \(h\to0^-\) and to \(+\infty\) as \(h\to0^+\). There is no finite derivative at \(-2\).
\(x_0=1\), \(f(x)=\begin{cases}\frac43x^3-\frac13,&x\ge1,\\2x^2-1,&x<1.\end{cases}\)
Show solution +Hide solution −
For a piecewise function, differentiability at the junction requires continuity and equal one-sided derivatives.
At \(1\), the two formulas give \(\frac43-\frac13=1\) and \(2-1=1\), so continuity holds. Differentiating the polynomial branches yields:
Both one-sided derivatives agree, hence \(\boxed{f'(1)=4}\).
\(x_0=1\), \(f(x)=\begin{cases}\sqrt x,&x\ge1,\\(x+1)/2,&x<1.\end{cases}\)
Show solution +Hide solution −
At the junction \(1\), first check continuity: \(\sqrt1=1=\frac{1+1}{2}\).
On \((0,+\infty)\), the square-root rule \((\sqrt x)'=\frac1{2\sqrt x}\) applies. To the right, \(f'_+(1)=\frac12\). To the left, the branch is affine and \(f'_-(1)=\frac12\).
\(x_0=0\), \(f(x)=\begin{cases}\sqrt x,&x\ge0,\\x^2+x,&x<0.\end{cases}\)
Show solution +Hide solution −
At the junction \(0\), \(f(0)=0\) and both branches approach \(0\); the function is continuous.
On the left, the branch is a polynomial: \((x^2+x)'=2x+1\), so \(f'_-(0)=1\).
On the right, use the difference quotient: the usual square-root derivative formula does not apply at \(x=0\):
There is no finite right-hand derivative; thus \(\boxed{f\text{ is not differentiable at }0}\).
First at \(x_0=-1\), then \(x_0=0\), \(f(x)=\sqrt{x^2|x+1|}+x+1\).
Show solution +Hide solution −
Rewrite it as \(f(x)=|x|\sqrt{|x+1|}+x+1\).
- At \(-1\), \(f(-1)=0\), and with \(h=x+1\),
The left-hand limit is \(-\infty\), while the right-hand limit is \(+\infty\). Hence \(f\) is not differentiable at \(-1\).
- At 0, \(f(0)=1\) and
Therefore \(f'_-(0)=0\) and \(f'_+(0)=2\). The function is not differentiable at 0 either.
Exercise 03 — Continuity and differentiability (3 cases)
Show solution +Hide solution −
The course theorem says: if a function is differentiable at a point, it is continuous there. The contrapositive states that discontinuity at a point rules out differentiability.
The statement is therefore \(\boxed{\text{true}}\).
\(x_0=1\), \(f(x)=\begin{cases}x,&x\ge1,\\2\sqrt x,&x<1.\end{cases}\)
Show solution +Hide solution −
Here \(f(1)=1\), but \(\lim_{x\to1^-}f(x)=2\). Hence \(f\) is not continuous, and therefore not differentiable, at 1.
\(x_0\in\mathbb Z\), \(f(x)=E(x)\), the floor function.
Show solution +Hide solution −
At every integer \(k\), the left-hand limit is \(k-1\), whereas \(f(k)=k\). Consequently, \(E\) is discontinuous and not differentiable at every integer.
\(x_0=0\), \(f(x)=\frac{\sin x}{x}\) for \(x\ne0\), and \(f(0)=1\).
Show solution +Hide solution −
The extension defined by \(f(0)=1\) is continuous at zero. We now examine its differentiability directly from the definition.
As \(|c_x|\le|x|\) and \(1-\cos t=2\sin^2(\frac{t}{2})\le \frac{t^2}{2}\),
Exercise 04 — Continuous but non-differentiable functions (3 cases)
\(x_0=\sqrt2\), \(f(x)=|x^2-2|\).
Show solution +Hide solution −
Polynomials are continuous, and absolute value preserves continuity under composition. Therefore \(f(x)=|x^2-2|\) is continuous at \(\sqrt2\).
Near this point, \(x>0\). The expression \(x^2-2\) is negative on the left and positive on the right, so:
Differentiating the two branches yields:
The values differ; hence \(\boxed{f\text{ is not differentiable at }\sqrt2}\).
\(x_0=2\), \(f(x)=\sqrt{|x^3-8|}\).
Show solution +Hide solution −
The function is continuous at 2 and \(f(2)=0\). With \(h=x-2\),
The limit is \(-\infty\) from the left and \(+\infty\) from the right. There is no finite derivative at 2.
\(x_0=1\), \(f(x)=\begin{cases}(x-1)\sqrt{x-1},&x\ge1,\\x^3-x,&x<1.\end{cases}\)
Show solution +Hide solution −
The two branches tend to \(f(1)=0\), so \(f\) is continuous. On the right, the difference quotient is \(\sqrt{x-1}\to0\). On the left, it is \(\frac{x^3-x}{x-1}=x(x+1)\to2\). Therefore \(f'_+(1)=0\ne f'_-(1)=2\), and \(f\) is not differentiable at 1.
Exercise 05 — Continuous and differentiable functions (3 cases)
\(x_0\in\mathbb R\), \(f(x)=(x-x_0)\sqrt{|x-x_0|}\).
Show solution +Hide solution −
The function satisfies \(f(x_0)=0\), and
Thus \(\boxed{f'(x_0)=0}\). In particular, \(f\) is continuous at \(x_0\).
\(x_0=0\), \(f(x)=x^2\sin(\frac{1}{x})\) for \(x\ne0\), \(f(0)=0\).
Show solution +Hide solution −
Since
we obtain \(\boxed{f'(0)=0}\), which also implies continuity at 0.
\(x_0=1\), \(f(x)=\begin{cases}x^3-4x,&x\le1,\\x^2-3x-1,&x>1.\end{cases}\)
Show solution +Hide solution −
At the junction \(1\), continuity is necessary for differentiability. Calculate:
Continuity holds. Now differentiate each polynomial branch:
The one-sided derivatives agree, so \(\boxed{f'(1)=-1}\).
Exercise 06 — Tangent and half-tangent lines (6 cases)
\(x_0=-1\), \(f(x)=\sqrt{x^2+1}\).
Show solution +Hide solution −
The function \(f(x)=\sqrt{x^2+1}\) is differentiable on \(\mathbb R\): \(u(x)=x^2+1\) is differentiable and strictly positive. Apply the square-root chain rule \((\sqrt u)'=\frac{u'}{2\sqrt u}\):
At \(x_0=-1\), \(f(-1)=\sqrt2\) and \(f'(-1)=-\frac{1}{\sqrt2}\).
Using the tangent-line formula \(y=f(x_0)+f'(x_0)(x-x_0)\),
\(x_0=-1\), \(f(x)=\sqrt{x^2-1}\).
Show solution +Hide solution −
In the domain near \(-1\), only \(x\le-1\) is allowed. We have \(f(-1)=0\), and
The vertical half-tangent has equation \(\boxed{x=-1}\), on the side \(x\le-1\).
\(x_0=2\), \(f(x)=|x^2-4|\).
Show solution +Hide solution −
We have \(f(2)=0\). Near \(2\), the sign of \(x^2-4=(x-2)(x+2)\) is the sign of \(x-2\), since \(x+2>0\).
By the definition of absolute value, \(f(x)=4-x^2\) for \(x<2\) and \(f(x)=x^2-4\) for \(x>2\). Hence:
The equation of each half-tangent is \(y=f(2)+f'_{-\,\mathrm{ou}\,+}(2)(x-2)\); therefore:
\(x_0=0\), \(f(x)=\frac{\sqrt{x^2+1}-1}{x}\) for \(x\ne0\), \(f(0)=0\).
Show solution +Hide solution −
At \(0\), the function is defined by \(f(0)=0\). For \(x\ne0\), multiply numerator and denominator by the conjugate \(\sqrt{x^2+1}+1\):
By definition of the derivative,
The tangent formula \(y=f(0)+f'(0)x\) yields \(\boxed{y=\frac x2}\).
\(x_0=0\), \(f(x)=\sqrt{|x|}\sin(x^2)\).
Show solution +Hide solution −
Since \(f(0)=0\) and \(|\sin t|\le|t|\),
The horizontal tangent has equation \(\boxed{y=0}\).
First at \(x_0=1\), then \(x_0=-2\), \(f(x)=\sqrt{x^2+x-2}=\sqrt{(x-1)(x+2)}\).
Show solution +Hide solution −
Its domain is \(]-\infty,-2]\cup[1,+\infty[\).
- At 1, for \(h>0\), \(\frac{f(1+h)}{h}=\frac{\sqrt{h(3+h)}}{h}\to+\infty\). The right-hand vertical half-tangent is \(\boxed{x=1}\).
- At \(-2\), for \(h<0\), \(\frac{f(-2+h)}{h}=\frac{\sqrt{h(h-3)}}{h}\to-\infty\). The left-hand vertical half-tangent is \(\boxed{x=-2}\).
Exercise 07 — Linear approximation
Show solution +Hide solution −
Recall the course rule: if \(f\) is differentiable at \(a\), then, for small \(h\), \(f(a+h)\simeq f(a)+hf'(a)\). Here \(a=0\).
For \(f(x)=x^3-2x^2+x+1\), the polynomial differentiation rules give:
Thus, near \(0\), \(f(x)\simeq1+x\). Substituting \(x=0.005\),
As a check, the exact polynomial value is \(1.004950125\), giving absolute error \(0.000049875\).
Exercise 08 — Trigonometric approximations at 46°
Show solution +Hide solution −
The linear approximation rule is \(f(a+h)\simeq f(a)+hf'(a)\) for small \(h\), with angles measured in radians.
Since \(46^\circ=45^\circ+1^\circ\), take \(a=\frac{\pi}{4}\) and \(h=\frac{\pi}{180}\). The cosine function is differentiable on \(\mathbb R\), with \((\cos x)'=-\sin x\). Hence:
Substituting \(h=\frac{\pi}{180}\) yields \(\boxed{\cos46^\circ\simeq0.69477}\).
Show solution +Hide solution −
Apply the same course formula \(f(a+h)\simeq f(a)+hf'(a)\), with \(a=\frac{\pi}{4}\) and \(h=\frac{\pi}{180}\).
The sine and tangent functions are differentiable at \(\frac{\pi}{4}\). Their derivatives are \((\sin x)'=\cos x\) and \((\tan x)'=1+\tan^2x\). Thus:
For sine:
For tangent:
The symbol \(\simeq\) indicates approximation, not exact equality.
Commentaires
Enregistrer un commentaire