Question
Question: Show that the function \(g\left( x \right)=\cos x\) is differentiable at any \(a\in \mathbb{R}\) and...
Show that the function g(x)=cosx is differentiable at any a∈R and g′(a)=−sina. In general, g′(x)=−sinx.
Solution
Hint: To check the differentiability of a function, we will find the derivative of the function. To find the derivative of any function f(x), we will use the first principle of derivative.
Complete step-by-step answer:
In this question, we are given a function; g(x)=sinx.
Since we have to check for the differentiability of this function, we have to first find its derivative. To find the derivative of the function g(x), we will differentiate g(x) using the first principle of derivative.
According to first principle, we can find derivative g′(x) of the functiong(x) using the formula;
g′(x)=h→0limhg(x+h)−g(x).........(I)
Substituting g(x)=cosx and g(x+h)=cos(x+h) in the formula (I), we get;
g′(x)=h→0limhcos(x+h)−cosx.........(II)
In trigonometry, we have a formula; cos(x+h)=cosxcosh−sinxsinh
Substituting this formula i.e. cos(x+h)=cosxcosh−sinxsinh in (II), we get;