Solveeit Logo

Question

Question: Solve \[\int {{e^{ax}}\cos (bx + c)dx} \]....

Solve eaxcos(bx+c)dx\int {{e^{ax}}\cos (bx + c)dx} .

Explanation

Solution

Here we assume the whole integral eaxcos(bx+c)dx\int {{e^{ax}}\cos (bx + c)dx} as a variable and the solve by integration by parts where using the sequence of ILATE ( Inverse trigonometric, Logarithms , algebraic, trigonometric , exponential) for choosing the value of u,vu,v and then substitute in the integration formula of by parts integration.

  • If we have uvdx\int {uvdx} then the value of integral is given by uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)dx} } } where u=dudxu' = \dfrac{{du}}{{dx}} is differentiation of uu with respect to xx.

Complete step-by-step answer:
Let us assume the value of whole integral as II
i.e. I=eaxcos(bx+c)dxI = \int {{e^{ax}}\cos (bx + c)dx} ...(i)...(i)
Now, using the ILATE sequence we can tell that the term comes first in the sequence isuuand which comes later is vv i.e. in this case we have the terms exponential and trigonometric , first comes the trigonometric term then comes the exponential term so uu is cos(bx+c)\cos (bx + c) and vvis eax{e^{ax}}
u=cos(bx+c),v=eaxu = \cos (bx + c),v = {e^{ax}}
Now we calculate the differentiation of the term uu

u=dudx u=d(cos(bx+c))dx u=sin(bx+c)×d(bx+c)dx u=bsin(bx+c)  u' = \dfrac{{du}}{{dx}} \\\ u' = \dfrac{{d(\cos (bx + c))}}{{dx}} \\\ u' = - \sin (bx + c) \times \dfrac{{d(bx + c)}}{{dx}} \\\ u' = - b\sin (bx + c) \\\

Now substitute the values in equation uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)dx} } }
I=cos(bx+c)eaxdx(bsin(bx+c))(eaxdx)dxI = \cos (bx + c)\int {{e^{ax}}dx} - \int {( - b\sin (bx + c))\left( {\int {{e^{ax}}dx} } \right)dx} ...(ii)...(ii)
Now we know emx=emxm\int {{e^{mx}} = \dfrac{{{e^{mx}}}}{m}} where mm is constant.
Therefore substitute the value of eax=eaxa\int {{e^{ax}} = \dfrac{{{e^{ax}}}}{a}} in equation (ii)(ii)
I=cos(bx+c)×eaxa+b(sin(bx+c)×eaxadxI = \cos (bx + c) \times \dfrac{{{e^{ax}}}}{a} + b\int {(\sin (bx + c) \times \dfrac{{{e^{ax}}}}{a}dx}
I=eaxcos(bx+c)a+beax(sin(bx+c)adxI = \dfrac{{{e^{ax}}\cos (bx + c)}}{a} + b\int {\dfrac{{{e^{ax}}(\sin (bx + c)}}{a}dx}
Now we can take out constant term in the denominator of integration out of the integration
I=eaxcos(bx+c)a+baeax(sin(bx+c)dxI = \dfrac{{{e^{ax}}\cos (bx + c)}}{a} + \dfrac{b}{a}\int {{e^{ax}}(\sin (bx + c)dx} ...(iii)...(iii)
Now we can see there is again an integration left on RHS of the equation, therefore we solve it separately and substitute it back in the equation (iii)(iii)
To solve eax(sin(bx+c)dx\int {{e^{ax}}(\sin (bx + c)dx}
We use using the ILATE sequence we can tell that the term comes first in the sequence isuuand which comes later is vv i.e. in this case we have the terms exponential and trigonometric , first comes the trigonometric term then comes the exponential term so uu is sin(bx+c)\sin (bx + c) and vvis eax{e^{ax}}
u=sin(bx+c),v=eaxu = \sin (bx + c),v = {e^{ax}}
Now we calculate the differentiation of the term uu

u=dudx u=d(sin(bx+c))dx u=cos(bx+c)×d(bx+c)dx u=bcos(bx+c)  u' = \dfrac{{du}}{{dx}} \\\ u' = \dfrac{{d(\sin (bx + c))}}{{dx}} \\\ u' = \cos (bx + c) \times \dfrac{{d(bx + c)}}{{dx}} \\\ u' = b\cos (bx + c) \\\

Now substitute the values in equation uvdx=uvdxu(vdx)dx\int {uvdx = u\int {vdx - \int {u'\left( {\int {vdx} } \right)dx} } }
eax(sin(bx+c)dx=sin(bx+c)eaxdx(bcos(bx+c))(eaxdx)dx\int {{e^{ax}}(\sin (bx + c)dx} = \sin (bx + c)\int {{e^{ax}}dx} - \int {(b\cos (bx + c))\left( {\int {{e^{ax}}dx} } \right)dx} ...(iv)...(iv)
Now we know emx=emxm\int {{e^{mx}} = \dfrac{{{e^{mx}}}}{m}} where mm is constant.
Therefore substitute the value of eax=eaxa\int {{e^{ax}} = \dfrac{{{e^{ax}}}}{a}} in equation (iv)(iv)

eax(sin(bx+c)dx=sin(bx+c)×eaxabcos(bx+c)×eaxadx eax(sin(bx+c)dx=eaxsin(bx+c)abeaxcos(bx+c)adx  \int {{e^{ax}}(\sin (bx + c)dx} = \sin (bx + c) \times \dfrac{{{e^{ax}}}}{a} - \int {b\cos (bx + c) \times \dfrac{{{e^{ax}}}}{a}dx} \\\ \int {{e^{ax}}(\sin (bx + c)dx} = \dfrac{{{e^{ax}}\sin (bx + c)}}{a} - \int {\dfrac{{b{e^{ax}}\cos (bx + c)}}{a}dx} \\\

Now we can take out constant term in the denominator of integration out of the integration
eax(sin(bx+c)dx=eaxsin(bx+c)abaeaxcos(bx+c)dx\int {{e^{ax}}(\sin (bx + c)dx} = \dfrac{{{e^{ax}}\sin (bx + c)}}{a} - \dfrac{b}{a}\int {{e^{ax}}\cos (bx + c)dx} ...(v)...(v)
From equation (i)(i) we know I=eaxcos(bx+c)dxI = \int {{e^{ax}}\cos (bx + c)dx}
Therefore substitute value of eaxcos(bx+c)dx=I\int {{e^{ax}}\cos (bx + c)dx} = I in equation (v)(v)
eax(sin(bx+c)dx=eaxsin(bx+c)aba×I\int {{e^{ax}}(\sin (bx + c)dx} = \dfrac{{{e^{ax}}\sin (bx + c)}}{a} - \dfrac{b}{a} \times I
Now we substitute back the value of eax(sin(bx+c)dx\int {{e^{ax}}(\sin (bx + c)dx} in equation (iii)(iii)

I = \dfrac{{{e^{ax}}\cos (bx + c)}}{a} + \dfrac{b}{a}\left[ {\dfrac{{{e^{ax}}\sin (bx + c)}}{a} - \dfrac{b}{a} \times I} \right] \\\ I = \dfrac{{{e^{ax}}\cos (bx + c)}}{a} + \dfrac{b}{a} \times \dfrac{{{e^{ax}}\sin (bx + c)}}{a} - \dfrac{b}{a} \times \dfrac{{bI}}{a} \\\ I = \dfrac{{{e^{ax}}\cos (bx + c)}}{a} + \dfrac{{b{e^{ax}}\sin (bx + c)}}{{{a^2}}} - \dfrac{{{b^2}I}}{{{a^2}}} \\\ $$ { $$\dfrac{b}{a}$$ is multiplied to bracket and $$a \times a = {a^2}$$} Now take LCM of the terms in RHS of the equation $$I = \dfrac{{a{e^{ax}}\cos (bx + c) + b{e^{ax}}\sin (bx + c)}}{{{a^2}}} - \dfrac{{{b^2}I}}{{{a^2}}}$$ Shifting the term with $$I$$ to the LHS of the equation. $$I + \dfrac{{{b^2}I}}{{{a^2}}} = \dfrac{{a{e^{ax}}\cos (bx + c) + b{e^{ax}}\sin (bx + c)}}{{{a^2}}}$$ Taking LCM on LHS of the equation $$\dfrac{{({a^2} + {b^2})I}}{{{a^2}}} = \dfrac{{a{e^{ax}}\cos (bx + c) + b{e^{ax}}\sin (bx + c)}}{{{a^2}}}$$ Now we can cancel out the denominator on both sides of the equations because they are equal. $$({a^2} + {b^2})I = a{e^{ax}}\cos (bx + c) + b{e^{ax}}\sin (bx + c)$$ Take $${e^{ax}}$$ common on RHS of the equation $$({a^2} + {b^2})I = {e^{ax}}\\{ a\cos (bx + c) + b\sin (bx + c)\\} $$ Now to find the value of $$I$$ we divide both sides of the equation by $$({a^2} + {b^2})$$

\dfrac{{({a^2} + {b^2})I}}{{{a^2} + {b^2}}} = \dfrac{{{e^{ax}}}}{{{a^2} + {b^2}}}\{ a\cos (bx + c) + b\sin (bx + c)\} \\
I = \dfrac{{{e^{ax}}}}{{{a^2} + {b^2}}}\{ a\cos (bx + c) + b\sin (bx + c)\} \\

Therefore, value of the integral $$\int {{e^{ax}}\cos (bx + c)dx} = \dfrac{{{e^{ax}}}}{{{a^2} + {b^2}}}\\{ a\cos (bx + c) + b\sin (bx + c)\\} $$ **Note:** Students are likely to make mistake in integration by parts when they don’t do it step by step, that is instead of substituting the value of differentiation after it is done separately they differentiate the term after substituting it into the formula which causes confusion sometimes because the second half of the integration has double integration.