Question
Question: How do you find the integral of \({{e}^{x}}\sin x\)?...
How do you find the integral of exsinx?
Solution
As you can see that there are two functions in x and are written in the product form so we can use integration by parts to solve the integral of exsinx with respect to x. While solving this integral by integration by parts, we will take the first term as sinx and the second term as ex. The formula for integration by parts for the following integral ∫f(x)g(x)dx is equal to f(x)∫g(x)dx−∫f′(x)∫g(x)dx . In this integral, we have taken the first term as f(x) and the second term as g(x).
Complete step-by-step solution:
Let us find the integral of given expression,
∫(exsinx)dx
Now, let us name the above integral as I.
I = ∫(exsinx)dx
We are going to integrate the above expression by using integration by parts. The formula of integration by parts for ∫f(x)g(x)dx is equal to:
f(x)∫g(x)dx−∫f′(x)∫g(x)dx
On applying integration by parts on the above integral in which the first term is sinx and the second term is ex we get,
I=∫(sinxex)dx=sinx∫exdx−∫(sinx)′∫exdx
We know that integration of ex with respect to x is ex and derivative of sinx with respect to x is cosx so using these values in the above expression we get,
=sinxex−∫cosxexdx
Now, we are going to integrate the above integral by using integration by parts by taking cosx as the first term and ex as the second term.
I=sinxex−[cosx∫exdx−∫(cosx)′∫exdx]
We know that derivative of cosx with respect to x is −sinx so substituting this relation in the above we get,
I=sinxex−[cosxex+C−∫−sinxexdx]⇒I=sinxex−cosxex−C−∫sinxexdx
In the above equation, “C” is the constant.
In the above, we have taken ∫(exsinx)dx as I so we can substitute ∫sinxexdx as I in the above equation and we get,
I=sinxex−C−cosxex−I⇒2I=sinxex−cosxex−C
Taking ex as common from the first two terms of the R.H.S of the above equation we get,
2I=ex(sinx−cosx)−C
Dividing 2 on both the sides we get,
I=21(ex(sinx−cosx))−2C
In the above equation, we can write −2C as C1 then the above equation becomes:
I=21(ex(sinx−cosx))+C1
Hence, we got the integral of given expression as 21(ex(sinx−cosx))+C1.
Note: In the above solution, while solving the integral we have used integration by parts, and in which we have assigned some function as the first term and others as the second term so there is a priority trick for selecting the order of the functions.
The trick is as follows:
You should remember the word “ILATE”. In this word, each letter is the initial letter for mathematical expressions:
“I” represents “Inverse Trigonometric Functions”.
“L” represents “Logarithmic Functions”.
“A” represents “Algebraic Functions”.
“T” represents “Trigonometric Functions”.
“E” represents “Exponential Functions”.
Now, inverse trigonometric functions have a higher priority than logarithmic and all the functions are written after inverse trigonometric functions.
The integral given in the above problem is:
∫(exsinx)dx
In the above integral, we have an exponential and trigonometric function and from the above trick, trigonometric function i.e. sinx has a higher priority than exponential function i.e. ex. That’s why we have taken sinx as the first term and ex as the second.