Solveeit Logo

Question

Question: How do you find the derivative of \(y = \dfrac{{1 + \cos x}}{{1 - \cos x}}\) ?...

How do you find the derivative of y=1+cosx1cosxy = \dfrac{{1 + \cos x}}{{1 - \cos x}} ?

Explanation

Solution

In the given problem, we are required to differentiate y=1+cosx1cosxy = \dfrac{{1 + \cos x}}{{1 - \cos x}} with respect to x. Since, y=1+cosx1cosxy = \dfrac{{1 + \cos x}}{{1 - \cos x}} is a rational function in variable x, so we will have to apply quotient rule of differentiation in the process of differentiating y=1+cosx1cosxy = \dfrac{{1 + \cos x}}{{1 - \cos x}} . Also derivatives of basic algebraic and trigonometric functions must be remembered thoroughly. We also must know the product rule and chain rule of differentiation to solve the given problem.

Complete step by step answer:
Now, dydx=ddx(1+cosx1cosx)\dfrac{{dy}}{{dx}} = \dfrac{d}{{dx}}\left( {\dfrac{{1 + \cos x}}{{1 - \cos x}}} \right). Now, using the quotient rule of differentiation, we know that ddx(f(x)g(x))=g(x)×ddx(f(x))f(x)×ddx(g(x))[g(x)]2\dfrac{d}{{dx}}\left( {\dfrac{{f(x)}}{{g(x)}}} \right) = \dfrac{{g(x) \times \dfrac{d}{{dx}}\left( {f(x)} \right) - f(x) \times \dfrac{d}{{dx}}\left( {g(x)} \right)}}{{{{\left[ {g\left( x \right)} \right]}^2}}} .
So, Applying quotient rule to ddx(1+cosx1cosx)\dfrac{d}{{dx}}\left( {\dfrac{{1 + \cos x}}{{1 - \cos x}}} \right), we get,
dydx=(1cosx)ddx(1+cosx)(1+cosx)ddx(1cosx)(1cosx)2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\left( {1 - \cos x} \right)\dfrac{d}{{dx}}\left( {1 + \cos x} \right) - \left( {1 + \cos x} \right)\dfrac{d}{{dx}}\left( {1 - \cos x} \right)}}{{{{\left( {1 - \cos x} \right)}^2}}}

We know that the derivative of constant is zero. Also, substituting the derivative of cosx\cos x with respect to x as sinx - \sin x,
dydx=(1cosx)(sinx)(1+cosx)(sinx)(1cosx)2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{\left( {1 - \cos x} \right)\left( { - \sin x} \right) - \left( {1 + \cos x} \right)\left( {\sin x} \right)}}{{{{\left( {1 - \cos x} \right)}^2}}}
Simplifying the expression, we get,
dydx=sinx+sinxcosxsinxsinxcosx(1cosx)2\Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{ - \sin x + \sin x\cos x - \sin x - \sin x\cos x}}{{{{\left( {1 - \cos x} \right)}^2}}}
dydx=2sinx(1cosx)2\therefore \dfrac{{dy}}{{dx}} = \dfrac{{ - 2\sin x}}{{{{\left( {1 - \cos x} \right)}^2}}}

So, the derivative of y=1+cosx1cosxy = \dfrac{{1 + \cos x}}{{1 - \cos x}} is equal to 2sinx(1cosx)2\dfrac{{ - 2\sin x}}{{{{\left( {1 - \cos x} \right)}^2}}}.

Note: The product rule of differentiation involves differentiating a product of two functions and the chain rule of differentiation involves differentiating a composite by introducing new unknowns to ease the process and examine the behaviour of function layer by layer. The quotient rule involves differentiation of a rational function in some variable. One must know derivatives of some basic functions such as logarithmic and exponential function in order to tackle such problems.