Question
Question: The derivative of \[\ln \left( {x + \sin x} \right)\] with respect to \[\left( {x + \cos x} \right)\...
The derivative of ln(x+sinx) with respect to (x+cosx) is
(a) (x+sinx)(1−sinx)1+cosx
(b) (x+sinx)(1+sinx)1−cosx
(c) (x−sinx)(1+cosx)1−cosx
(d) (x−sinx)(1−cosx)1+cosx
Solution
Here, we need to find the derivative of ln(x+sinx) with respect to (x+cosx). Let u=ln(x+sinx) and v=(x+cosx). We will differentiate these two equations with respect to x to find the value of dxdu and dxdv. Using these values, we can find the value of dvdu, and hence, the derivative of ln(x+sinx) with respect to (x+cosx).
Formula Used: The derivative of the sum of two functions is the sum of the derivatives of the two functions, that is dxd[f(x)+g(x)]=dxd[f(x)]+dxd[g(x)].
Complete step by step solution:
Let u=ln(x+sinx) and v=(x+cosx).
We need to find d(x+cosx)d[ln(x+sinx)], that is dvdu.
We will differentiate the equations u=ln(x+sinx) and v=(x+cosx).
First, we will differentiate both sides of u=ln(x+sinx) with respect to x.
Differentiating both sides, we get
⇒dxdu=dxd[ln(x+sinx)]
The derivative of ln[f(x)] is f(x)1×dxd[f(x)].
Therefore, we get
⇒dxdu=x+sinx1×dxd(x+sinx)
The derivative of the sum of two functions is the sum of the derivatives of the two functions, that is dxd[f(x)+g(x)]=dxd[f(x)]+dxd[g(x)].
Therefore, the equation becomes
⇒dxdu=x+sinx1×[dxd(x)+dxd(sinx)]
The derivative of x with respect to x is 1.
The derivative of sinx with respect to x is cosx.
Therefore, the equation becomes
\Rightarrow \dfrac{{du}}{{dx}} = \dfrac{1}{{x + \sin x}} \times \left[ {1 + \cos x} \right] \\\
\Rightarrow \dfrac{{du}}{{dx}} = \dfrac{{1 + \cos x}}{{x + \sin x}} \\\
Now, we will differentiate both sides of v=(x+cosx) with respect to x.
Differentiating both sides, we get
⇒dxdv=dxd(x+cosx)
Therefore, the equation becomes
⇒dxdv=dxd(x)+dxd(cosx)
The derivate of x with respect to x is 1.
The derivative of cosx with respect to x is −sinx.
Therefore, the equation becomes
\Rightarrow \dfrac{{dv}}{{dx}} = 1 + \left( { - \sin x} \right) \\\
\Rightarrow \dfrac{{dv}}{{dx}} = 1 - \sin x \\\
Now, we will find the value of dvdu.
Multiplying and dividing the expression by dx, we get
⇒dvdu=dvdu×dxdx
Rewriting the expression, we get
\Rightarrow \dfrac{{du}}{{dv}} = \dfrac{{du}}{{dx}} \times \dfrac{{dx}}{{dv}} \\\
\Rightarrow \dfrac{{du}}{{dv}} = \dfrac{{du}}{{dx}} \times \dfrac{1}{{\dfrac{{dv}}{{dx}}}} \\\
Substituting dxdu=x+sinx1+cosx and dxdv=1−sinx in the equation, we get
\Rightarrow \dfrac{{du}}{{dv}} = \dfrac{{du}}{{dx}} \times \dfrac{{dx}}{{dv}} \\\
\Rightarrow \dfrac{{du}}{{dv}} = \dfrac{{1 + \cos x}}{{x + \sin x}} \times \dfrac{1}{{1 - \sin x}} \\\
Therefore, we get
∴dvdu=(x+sinx)(1−sinx)1+cosx
Therefore, we get the derivative of ln(x+sinx) with respect to (x+cosx) as (x+sinx)(1−sinx)1+cosx.
Thus, the correct option is option (a).
Note:
You should remember to use the chain rule of differentiation. A common mistake is to write the derivative of ln(x+sinx) as x+sinx1. This is incorrect. According to the chain rule, the derivative of a function lnf(x) is given as dxd[ln(f(x))]×dxd[f(x)]×dxd[x].