Solveeit Logo

Question

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

How do you find the antiderivative of cos(x)1cos(x)\dfrac{{\cos (x)}}{{1 - \cos (x)}} ?

Explanation

Solution

Hint : As we know that an antiderivative of a function f(x)f(x) is a function whose derivative is equal to f(x)f(x) i.e., if F(x)=f(x)F'(x) = f(x) then F(x)F'(x) is an antiderivative of f(x)f(x) . To find the antiderivative we often reverse the process of differentiation. The general antiderivative of f(x)f(x) is F(x)+cF(x) + c , where FF is a differentiable function, which means that to find an antiderivative we have to reverse the process of finding a derivative.

Complete step by step solution:
Anti-derivative or differentiation is a reverse operation of differentiation. Otherwise, an anti-derivative is basically an integral, which is the second main concept of calculus.
A function FF is called an antiderivative of ff on an interval II if F(x)=f(x)F'(x) = f(x) for all xx in II .
Consider the given function
cos(x)1cos(x)\Rightarrow \,\,\,\dfrac{{\cos (x)}}{{1 - \cos (x)}}
It can rewrite the integral in the simpler form which gives:
which means I=cos(x)1cos(x)dxI = \int {\dfrac{{\cos (x)}}{{1 - \cos (x)}}} \,dx ----------(1)
add and subtract 1 in numerator, then
I=cos(x)1+11cos(x)dx\Rightarrow I = \int {\dfrac{{\cos (x) - 1 + 1}}{{1 - \cos (x)}}} \,dx
\Rightarrow I = \int {\dfrac{{\left\\{ {\cos (x) - 1} \right\\} + 1}}{{1 - \cos (x)}}} \,dx
Or separate the integral as and taking the negative sign out, then
1cos(x)1cos(x)dx+11cos(x)dx\Rightarrow \int {\dfrac{{ - \\{ 1 - \cos (x)\\} }}{{1 - \cos (x)}}} \,dx + \int {\dfrac{1}{{1 - \cos (x)}}dx}
On cancelling the like terms in both numerator and denominator in first integral, we have
I=dx+dx1cos(x)\Rightarrow \,I = - \int {dx + \int {\dfrac{{dx}}{{1 - \cos (x)}}} }
On integrating the first term, we get
I=x+dx1cos(x)I = - x + \int {\dfrac{{dx}}{{1 - \cos (x)}}} .---------(2)
For the rest of the remaining integral we will use the tangent half angle substitution where we use t=tan(x2)t = \tan \left( {\dfrac{x}{2}} \right) , So the function cos(x)\cos (x) can also be expressed in terms of tan(x2)\tan \left( {\dfrac{x}{2}} \right) in the following ways: cos(x)=1tan2(x2)1+tan2(x2)\cos (x) = \dfrac{{1 - {{\tan }^2}\left( {\dfrac{x}{2}} \right)}}{{1 + {{\tan }^2}\left( {\dfrac{x}{2}} \right)}}
As we know the trigonometric identity 1+tan2x=sec2x1 + {\tan ^2}x = {\sec ^2}x , then
cos(x)=1tan2(x2)sec2(x2)\Rightarrow \cos (x) = \dfrac{{1 - {{\tan }^2}\left( {\dfrac{x}{2}} \right)}}{{{{\sec }^2}\left( {\dfrac{x}{2}} \right)}} ---------(3)
Now substituting equation (3) in (2)
I=x+dx(11tan2(x2)sec2(x2))\Rightarrow \,\,I = - x + \smallint \dfrac{{dx}}{{\left( {1 - \dfrac{{1 - {{\tan }^2}\left( {\dfrac{x}{2}} \right)}}{{{{\sec }^2}\left( {\dfrac{x}{2}} \right)}}} \right)}}
or
I=x+sec2(x2)dxsec2(x2)(1tan2(x2))\Rightarrow \,I = - x + \int {\dfrac{{{{\sec }^2}\left( {\dfrac{x}{2}} \right)dx}}{{{{\sec }^2}\left( {\dfrac{x}{2}} \right) - \left( {1 - {{\tan }^2}\left( {\dfrac{x}{2}} \right)} \right)}}}
Again, by the identity: 1+tan2x=sec2x1 + {\tan ^2}x = {\sec ^2}x
I=x+sec2(x2)dx1+tan2(x2)1+tan2(x2)\Rightarrow \,I = - x + \int {\dfrac{{{{\sec }^2}\left( {\dfrac{x}{2}} \right)dx}}{{1 + {{\tan }^2}\left( {\dfrac{x}{2}} \right) - 1 + {{\tan }^2}\left( {\dfrac{x}{2}} \right)}}}
I=x+sec2(x2)dx2tan2(x2)\Rightarrow \,\,I = - x + \int {\dfrac{{{{\sec }^2}\left( {\dfrac{x}{2}} \right)dx}}{{2{{\tan }^2}\left( {\dfrac{x}{2}} \right)}}}
Multiply and divide 2 in numerator, then
I=x+22sec2(x2)dx2tan2(x2)\Rightarrow \,I = - x + \int {\dfrac{{\dfrac{2}{2}{{\sec }^2}\left( {\dfrac{x}{2}} \right)dx}}{{2{{\tan }^2}\left( {\dfrac{x}{2}} \right)}}} -------(4)
Now, we should keep that t=tanx2t = \tan \dfrac{x}{2} , then
dt=12sec2(x2)dx\Rightarrow \,\,dt = \dfrac{1}{2}{\sec ^2}\left( {\dfrac{x}{2}} \right)dx -------(5)
by substituting the equation (5) in (4), then
I=x+dtt2\Rightarrow \,\,\,I = - x + \int {\dfrac{{dt}}{{{t^2}}}}
I=x1t+C\Rightarrow \,\,I = - x - \dfrac{1}{t} + C
Substitute the t value
I=x1tan(x2)+C\Rightarrow \,\,I = - x - \dfrac{1}{{\tan \left( {\dfrac{x}{2}} \right)}} + C
As we know the reciprocal of tan is cot, then
I=xcot(x2)+CI = - x - \cot \left( {\dfrac{x}{2}} \right) + C .
Hence the required answer is xcot(x2)+C- x - \cot \left( {\dfrac{x}{2}} \right) + C .
So, the correct answer is “ xcot(x2)+C- x - \cot \left( {\dfrac{x}{2}} \right) + C ”.

Note : We should always keep in mind that cc0c - c \ne 0 , because there are constants and we do not know what another number is there in our antiderivative. Infact ccc - c will always be a constant and since cc represents a constant, we can just call it normal cc . While calculating antiderivative we should never forget CC as our final answer always has it.