Question
Question: Differentiate \(\log \sin x\) by first principle....
Differentiate logsinx by first principle.
Solution
Hint – First principle of derivatives says that for f(x), f,(x)=h→0limhf(x+h)−f(x). So, apply the given equation to the function given in the question.
Complete step-by-step answer:
Let f(x)=logsinx
First principle of derivatives says that for f(x),
f,(x)=h→0limhf(x+h)−f(x).
So, we shall apply it to the function given.
f(x)=logsinx
f,(x)=h→0limhlog(sin(x+h))−log(sinx) [by first principle]
Using the addition formula, we get
sin(A+B)=sinAcosB+cosAsinB.
So, the above equation will transform into-
f,(x)=h→0limhlog(sin(x)cos(h)+cos(x)sin(h))−log(sinx)
We can also use the subtraction that says,
loga(b)−loga(c)=loga(cb) to get, so, now the equation will be-
f,(x)=h→0limhlog(sinxsin(x)cos(h)+cos(x)sin(h))
Now, dividing numerator by sin x we get-
=h→0limhlog(cos(h)+cot(x)sin(h))
Now, cos (h) = 1, as h tends to 0.
Therefore, the equation becomes-
=h→0limhlog(1+cot(x)sin(h))
Divide and multiply by cot(x).sin(h) , we get-
=h→0limh(cot(x).sin(h))log(1+cot(x)sin(h)).cot(x)sin(h)
Now using the property log(x1+x)=1, so this implies that-
cotx.sinhlog(1+cotx.sinh)=1 .
Therefore, the above equation becomes-
=h→0limh1.cot(x)sin(h)
Now we know that h→0limh1sin(h)=1 . So, the equation becomes now-
=cot(x)
Hence, the derivative of logsinx by first principle is cot (x).
Note- Whenever such types of question appear then always proceed using the formula f,(x)=h→0limhf(x+h)−f(x) and be careful about evaluating limits. Just make sure that you didn’t skip any step as it is a long solution. Make the necessary assumptions when needed.