Question
Question: Let \[f\left( x \right) = x - {x^2}\] and \[g\left( x \right) = \left\\{ \begin{array}{l}\max f\left...
Let f(x)=x−x2 and g\left( x \right) = \left\\{ \begin{array}{l}\max f\left( t \right),0 \le t \le x,0 \le x \le 1\\\\\sin \pi x,x > 1\end{array} \right., then in the interval [0,∞)
A) g(x) is everywhere continuous except at two points
B) g(x) is everywhere differentiable except at two points
C) g(x) is everywhere differentiable except at x=1
D) None of these
Solution
Here, we have to find the differentiability and continuity of a function. We will use the condition for finding the value of the variable which satisfies the condition of maximal point. Then by using the maximal point we will prove the condition of differentiability and continuity at the given limits of the variable in the given functions to find the continual points and differentiable points.
Complete step by step solution:
Let f(x)=x−x2
Now, substituting x=t in the above equation, we get
⇒f(t)=t−t2
Now, we will find the differentiation of the function f(t) to find the maximum of f(t) .
Differentiating both sides with respect to t, we get
⇒f′(t)=1−2t
Now, to find the maximum of f(t), we will apply the condition that f′(t)=0. Therefore, we get
f′(t)=0
⇒1−2t=0
By rewriting the equation, we get
⇒2t=1
Dividing both side by 2, we get
⇒t=21
Now, we will differentiate the function f(t) with respect to t, we get
⇒f′′(t)=−2<0
We have a condition that if f′′(t)<0 , then t is the maximum point and if f′′(t)>0 , then t is the minimum point.
Therefore, t=21 is the maximum point.
So, the given function is maximum at t=21.
Now, we will substitute the value of t in the function f(t). Therefore, we get
⇒f(21)=21−(21)2
Applying the exponent on the terms, we get
⇒f(21)=21−41
On taking LCM, we get
⇒f(21)=21×22−41=41
Now, let us consider the function g\left( x \right) = \left\\{ \begin{array}{l}\max f\left( t \right),0 \le t \le x,0 \le x \le 1\\\\\sin \pi x,x > 1\end{array} \right.
g\left( x \right) = \left\\{ \begin{array}{l}\dfrac{1}{4};0 \le x \le 1\\\\\sin \pi x,x > 1\end{array} \right. at x=1
Now, substituting the limits, we get
⇒limx→1−g(x)=limx→1−41
⇒limx→1−g(x)=41
Now writing the general equation, we get
⇒limx→1+g(x)=limx→1+sinπx
⇒limx→1+g(x)=sinπ=0
So, limx→1−g(x)=limx→1+g(x)
The given function is discontinuous at x=1 and is not differentiable at x=1.
So, at all other points g(x) is continuous and differentiable.
Therefore, g(x) is everywhere differentiable except at x=1 in the interval [0,∞).
Thus Option(C) is the correct answer.
Note:
We should know the condition of differentiability and continuity. If the right hand derivative is equal to the left hand derivative, then the given function is differentiable at the points. If the right hand derivative is not equal to the left hand derivative, then the given function is not differentiable at the points. If a function is differentiable then the function must be continuous at the same point.