Solveeit Logo

Question

Question: How do you integrate \(\int{dx\dfrac{\cos x}{\sqrt{1-2\sin x}}}\) ?...

How do you integrate dxcosx12sinx\int{dx\dfrac{\cos x}{\sqrt{1-2\sin x}}} ?

Explanation

Solution

We are given a function as dxcosx12sinx\int{dx\dfrac{\cos x}{\sqrt{1-2\sin x}}}, we have to integrate this function, we start by learning about integral, we will be needing the knowledge that how are trigonometry ratio connected to each other. We will use the substitution method we substitute 12sinx1-2\sin x as ‘t’ then we will use xndn=xn+1n+1\int{{{x}^{n}}dn=\dfrac{{{x}^{n+1}}}{n+1}} . We will use these to form our solution.

Complete step by step answer:
We are given a function as dxcosx12sinx\int{dx\dfrac{\cos x}{\sqrt{1-2\sin x}}}. We have to integrate them, integration is a method of adding the slices to find the full. Now we have to integrate dxcosx12sinxdx\dfrac{\cos x}{\sqrt{1-2\sin x}} .
As we know that sin x and cos x are related to each other as they are derived from one another. So, using this knowledge we will use the substitution method to change one of the things.
We consider 12sinx1-2\sin x as ‘t’.
So, 12sinx=t1-2\sin x=t
Now we differentiate both sides, we get –
02cosxdx=dt0-2\cos xdx=dt
Simplifying, we get –
cosxdx=dt2\cos xdx=\dfrac{dt}{-2} ………………………… (1)
We will use this to change our function in terms of ‘t’.
So, cosx12sinx=1tdt(2)\int{\dfrac{\cos x}{\sqrt{1-2\sin x}}}=\int{\dfrac{1}{\sqrt{t}}\dfrac{dt}{\left( -2 \right)}} using (1)
Taking constant (-2) our, we get –
=12dtt=\dfrac{1}{-2}\int{\dfrac{dt}{\sqrt{t}}}
As 1t=t1/2\dfrac{1}{\sqrt{t}}={{t}^{{}^{-1}/{}_{2}}}
So, =12t1/2dt=-\dfrac{1}{2}\int{{{t}^{{}^{-1}/{}_{2}}}dt}
Now we will use xndn=xn+1n+1\int{{{x}^{n}}dn=\dfrac{{{x}^{n+1}}}{n+1}}
So for t1/2dt\int{{{t}^{{}^{-1}/{}_{2}dt}}} , we have n=12n=-\dfrac{1}{2} .
So, our integral become
=12(t1/2+112+1)+c=-\dfrac{1}{2}\left( \dfrac{{{t}^{{}^{-1}/{}_{2}+1}}}{-\dfrac{1}{2}+1} \right)+c
By simplifying, we get –
=12(t1/212)+c=-\dfrac{1}{2}\left( \dfrac{{{t}^{{}^{1}/{}_{2}}}}{\dfrac{1}{2}} \right)+c
So we get –
=t1/2=-{{t}^{{}^{1}/{}_{2}}} as t1/2=t{{t}^{{}^{1}/{}_{2}}}=\sqrt{t}
So, =t+c=-\sqrt{t}+c
Now we replace ‘t’ as 12sinx1-2\sin x back into its value. So, we get –
cosx12sinx=12sinx+c\int{\dfrac{\cos x}{\sqrt{1-2\sin x}}}=-\sqrt{1-2\sin x}+c

Note: Remember that in case of indefinite integral, that is integral without limit it is necessary to replace or substitute back the original value of the function back which we replaced earlier.
While in case of definite integral no such thing is necessary as we change function. We also change the limit story with it. So, we did not require changing back the function.
We simply apply the limit there but yes with change in function, the limit must also be changed accordingly.