Solveeit Logo

Question

Question: If the function is given as \(f\left( x \right)=\left\\{ \begin{matrix} -x-\dfrac{\pi }{2}, & \for...

If the function is given as f\left( x \right)=\left\\{ \begin{matrix} -x-\dfrac{\pi }{2}, & \forall x\le -\dfrac{\pi }{2} \\\ -\cos x, & \forall -\dfrac{\pi }{2} < x\le 0 \\\ x-1 & \forall 0 < x\le 1 \\\ \ln x, & \forall x > 1 \\\ \end{matrix} \right., then
A. f(x)f\left( x \right) is continuous at x=π2x=-\dfrac{\pi }{2}
B. f(x)f\left( x \right) is not differentiable at x=0x=0
C. f(x)f\left( x \right) is differentiable at x=1x=1
D. f(x)f\left( x \right) is differentiable at x=32x=-\dfrac{3}{2}

Explanation

Solution

We have to find the continuity and the differentiability of the given piecewise function at certain points. We use the points and use their close values to find the different functions that will be available to operate. We take the final conclusion depending on the equality of the theorems limxa+f(x)=limxaf(x)=f(a)\displaystyle \lim_{x \to {{a}^{+}}}f\left( x \right)=\displaystyle \lim_{x \to {{a}^{-}}}f\left( x \right)=f\left( a \right) for continuity and limxa+f(x)=limxaf(x)\displaystyle \lim_{x \to {{a}^{+}}}{{f}^{'}}\left( x \right)=\displaystyle \lim_{x \to {{a}^{-}}}{{f}^{'}}\left( x \right) for differentiability.

Complete step by step solution:
We have to show the continuity and the differentiability of the given function at certain points.
For the function if the condition limxa+f(x)=limxaf(x)=f(a)\displaystyle \lim_{x \to {{a}^{+}}}f\left( x \right)=\displaystyle \lim_{x \to {{a}^{-}}}f\left( x \right)=f\left( a \right) satisfies then it will continuous.
At x=π2x=-\dfrac{\pi }{2}, we take
limx(π2)f(x)=f(π2)=[xπ2]x=(π2)=0\displaystyle \lim_{x \to {{\left( -\dfrac{\pi }{2} \right)}^{-}}}f\left( x \right)=f\left( -\dfrac{\pi }{2} \right)={{\left[ -x-\dfrac{\pi }{2} \right]}_{x=\left( -\dfrac{\pi }{2} \right)}}=0
limx(π2)+f(x)=[cosx]x=(π2)=0\displaystyle \lim_{x \to {{\left( -\dfrac{\pi }{2} \right)}^{+}}}f\left( x \right)={{\left[ -\cos x \right]}_{x=\left( -\dfrac{\pi }{2} \right)}}=0
Therefore, f(x)f\left( x \right) is continuous at x=π2x=-\dfrac{\pi }{2} as limx(π2)f(x)=f(π2)=limx(π2)+f(x)=0\displaystyle \lim_{x \to {{\left( -\dfrac{\pi }{2} \right)}^{-}}}f\left( x \right)=f\left( -\dfrac{\pi }{2} \right)=\displaystyle \lim_{x \to {{\left( -\dfrac{\pi }{2} \right)}^{+}}}f\left( x \right)=0.
For the function if the condition limxa+f(x)=limxaf(x)\displaystyle \lim_{x \to {{a}^{+}}}{{f}^{'}}\left( x \right)=\displaystyle \lim_{x \to {{a}^{-}}}{{f}^{'}}\left( x \right) satisfies then it will differentiable.
Here f(x)=ddx[f(x)]{{f}^{'}}\left( x \right)=\dfrac{d}{dx}\left[ f\left( x \right) \right].
We check differentiability at three different points of x=32,0,1x=-\dfrac{3}{2},0,1.
At x=32x=-\dfrac{3}{2}, we take
limx(32)f(x)=limx(32)+f(x)=[ddx(x32)]x=(32)=1\displaystyle \lim_{x \to {{\left( -\dfrac{3 }{2} \right)}^{-}}}{{f}^{'}}\left( x \right)=\displaystyle \lim_{x \to {{\left( -\dfrac{3 }{2} \right)}^{+}}}{{f}^{'}}\left( x \right)={{\left[ \dfrac{d}{dx}\left( -x-\dfrac{3 }{2} \right) \right]}_{x=\left( -\dfrac{3 }{2} \right)}}=-1
Therefore, f(x)f\left( x \right) is differentiable at x=32x=-\dfrac{3}{2} as limx(32)f(x)=limx(32)+f(x)=1\displaystyle \lim_{x \to {{\left( -\dfrac{3 }{2} \right)}^{-}}}{{f}^{'}}\left( x \right)=\displaystyle \lim_{x \to {{\left( -\dfrac{3 }{2} \right)}^{+}}}{{f}^{'}}\left( x \right)=-1.
At x=0x=0, we take
limx0f(x)=[ddx(cosx)]x=0=[sinx]x=0=0\displaystyle \lim_{x \to {{0}^{-}}}{{f}^{'}}\left( x \right)={{\left[ \dfrac{d}{dx}\left( -\cos x \right) \right]}_{x=0}}={{\left[ \sin x \right]}_{x=0}}=0
limx0+f(x)=[ddx(x1)]x=0=1\displaystyle \lim_{x \to {{0}^{+}}}{{f}^{'}}\left( x \right)={{\left[ \dfrac{d}{dx}\left( x-1 \right) \right]}_{x=0}}=1
Therefore, f(x)f\left( x \right) is not differentiable at x=0x=0 as limx0f(x)limx0+f(x)\displaystyle \lim_{x \to {{0}^{-}}}{{f}^{'}}\left( x \right)\ne \displaystyle \lim_{x \to {{0}^{+}}}{{f}^{'}}\left( x \right).
At x=1x=1, we take
limx1f(x)=[ddx(x1)]x=1=1\displaystyle \lim_{x \to {{1}^{-}}}{{f}^{'}}\left( x \right)={{\left[ \dfrac{d}{dx}\left( x-1 \right) \right]}_{x=1}}=1
limx1+f(x)=[ddx(lnx)]x=1=[1x]x=1=1\displaystyle \lim_{x \to {{1}^{+}}}{{f}^{'}}\left( x \right)={{\left[ \dfrac{d}{dx}\left( \ln x \right) \right]}_{x=1}}={{\left[ \dfrac{1}{x} \right]}_{x=1}}=1
Therefore, f(x)f\left( x \right) is differentiable at x=1x=1 as limx1f(x)=limx1+f(x)=1\displaystyle \lim_{x \to {{1}^{-}}}{{f}^{'}}\left( x \right)=\displaystyle \lim_{x \to {{1}^{+}}}{{f}^{'}}\left( x \right)=1.

Note: This type of differentiability checking is called differentiability of piecewise function. A piecewise function is differentiable at a point if both of the pieces have derivatives at that point, and the derivatives are equal at that point.