Solveeit Logo

Question

Question: Draw the graph of \(sin^2x\) and \(|sinx|\) and show the continuity and differentiability of both th...

Draw the graph of sin2xsin^2x and sinx|sinx| and show the continuity and differentiability of both the functions.

Explanation

Solution

Hint: To show the continuity of a function, we should ensure that it exists at all points and there are no breaks or sharp edges on the graph of that function. To check the differentiability of a function f(x)f(x) at a point, the formula is-
limh0f(x+h)f(x)h  exists  at  all  values  of  x\lim_{\mathrm h\rightarrow0}\dfrac{\mathrm f\left(\mathrm x+\mathrm h\right)-\mathrm f\left(\mathrm x\right)}{\mathrm h}\;\mathrm{exists}\;\mathrm{at}\;\mathrm{all}\;\mathrm{values}\;\mathrm{of}\;\mathrm x

Complete step by step answer:
The graphs of the two functions are-

Here the the graph which is inside is sin2xsin^2x and the outer one is sinx|sinx|. From the graph it is clearly visible that sin2xsin^2x is smooth all along but sinx|sinx| has a sharp curve when it touches the x-axis.
Since sin2xsin^2x is smooth at all points, it is continuous and differentiable at every point.
Since sinx|sinx| has sharp curves when it touches the x-axis, it is neither continuous nor differentiable at those points.

This is the required answer.

Note: Initially when looking at the graph, it seems that both the functions are perfectly smooth, but it is not right. Due to the presence of modulus function, sinx|sinx| changes direction abruptly. But sin2xsin^2x changes the direction in a smooth manner.