Question
Question: How do you find the antiderivative of \[\left( {\cos x} \right)\left( {{e^x}} \right)\] ?...
How do you find the antiderivative of (cosx)(ex) ?
Solution
In the above given question, we are given an expression which is the product of the cosine function and the exponential function, that is written as (cosx)(ex) . We have to find the antiderivative of the above given expression, which means that we have to integrate the given expression. In order to approach the solution, we have to use the method of integration by parts.
Complete step by step answer:
Given expression is, (cosx)(ex). We have to find the integration of (cosx)(ex) i.e. ∫(cosx)(ex)dx. Let us suppose that,
⇒I=∫(cosx)(ex)dx
Now, let u=cosx be the first function and v=ex be the second function,
So that, we have their derivatives as dxdu=−sinx and dxdv=ex respectively.
Now applying the method of integration by parts, we can write
⇒∫uvdx=u∫v−∫(∫vdxdu)dx
Substituting their above values, we have the equation as,
⇒I=∫(cosx)(ex)dx=cosx∫ex−∫(∫ex⋅dxdcosx)dx
That gives us the equation,
⇒I=excosx−∫ex⋅(−sinx)dx
That is,
⇒I=excosx+∫exsinxdx ...(1)
Now since we have another integral ∫exsinxdx , hence we have to apply the method of integration by parts one more time. This time, let u=sinx be the first function and v=ex be the second function. So, we have their derivatives as and dxdv=ex respectively.
That gives us the following integration,
⇒∫sinx⋅exdx=sinx∫ex−∫(∫ex⋅dxdsinx)dx
That gives us the equation,
⇒∫sinx⋅exdx=exsinx−∫(excosx)dx
But we have I=∫(cosx)(ex)dx , therefore we can write it as,
⇒∫sinx⋅exdx=exsinx−I ...(2)
Now substituting the equation (2) in the equation (1), we have the equation,
⇒I=excosx+exsinx−I
That gives us,
⇒2I=excosx+exsinx
⇒I=2excosx+exsinx
That is,
⇒I=21ex(sinx+cosx)
Hence,
∴∫(cosx)(ex)dx=21ex(sinx+cosx)
That is the required value of the integral ∫(cosx)(ex)dx.
Therefore, the anti derivative of ∫(cosx)(ex)dx is 21ex(sinx+cosx).
Note: There are various methods to find the antiderivative or the integration of different functions. Different methods are used to solve different types of integrals as per the convenience of the calculation and for the suitable functions. Some of the most used integration methods are:
-Integration by Substitution.
-Integration by Parts.
-Integration Using Trigonometric Identities.
-Integration of Some particular function.
-Integration by Partial Fraction.