Question
Question: Integrate using \(u = 1 - \sin x:\int {2\cos x{e^{1 - \sin x}}dx} \)...
Integrate using u=1−sinx:∫2cosxe1−sinxdx
Solution
We have been clearly told that the integral must be solved by substitution method. Also the substitute is given to us. You have to start solving the integral by substituting the value of 1−sinx as u first and then integrate. after integrating, substitute the value of u again to get the final value.
Complete step by step answer:
We have been given to integrate ∫2cosxe1−sinxdx.Also we have been told to solve this question using a substitution method. And the substitute for 1−sinx is already given to us as u. Hence we will directly start integrating the given integral using the substitute.
Let I = ∫2cosxe1−sinxdx
Since u=1−sinx, differentiating on both sides ,
du=−cosxdx ⇒−cosxdu=dx
Using this values in the integral we get
I = ∫2cosxeu−cosxdu
⇒I=∫−2eudu
Integrating with respect to u, we get
I=−2∫eudu ⇒I=−2eu+c
Where c is constant of integration.
Substituting the value of u=1−sinx, we get
∴I=−2e1−sinx+c
Hence, ∫2cosxe1−sinxdx is −2e1−sinx+c.
Note: In this particular question they have mentioned that the integral must be solved by using substitution method. Hence we have no option other than to solve by substitution method. Luckily we have been given the substitute which makes it a little easier as substituting the right value is the tricky part.