Question
Question: How do you differentiate \( y = \cos (x) \) from the first principles?...
How do you differentiate y=cos(x) from the first principles?
Solution
Hint : Start by considering f(x) as the function of x . Next step is substitution. Substitute the values in place of the terms to make the equation easier to solve. Then by definition of the derivative we use the following formula: f′(x)=h→0limhf(x+h)−f(x)
Complete step-by-step answer :
First we will start off by directly applying the definition of the derivative.
f′(x)=h→0limhf(x+h)−f(x)
So, now with f(x)=cosx here we have,
f′(x)=h→0limhcos(x+h)−sinx
Now we will be using cos(A+B)=cosAcosB−sinAsinB so we will get
f′(x)=h→0limhcosxcoshh−sinhsinx−cosx f′(x)=h→0limhcosx(coshh−1)−sinhsinx f′(x)=h→0limhcosx(cosh−1)−h→0limhsinhsinx f′(x)=(cosx)h→0limh(cosh−1)−(sinx)h→0limhsinh
Now here we have to rely on some standard limits such as:
h→0limhsinh=1 and h→0limhcosh−1=0 .
So, now we have:
f′(x)=0−(sinx)(1) =−sinx
Hence, the derivative of f(x)=cos(x) from the first principles will be −sinx .
So, the correct answer is “-sin x”.
Note : A derivative is the rate of change of a function with respect to a variable. Derivatives are fundamental to the solution of problems in calculus and differential equations. In general, scientists observe changing systems to obtain rate of change of some variable of interest, incorporate this information into some differential equation, and use integration techniques to obtain a function that can be used to predict the behaviour of the original system under diverse conditions.