Question Video: Finding the Integral of the Product between an Exponential Function and a Trigonometric Function | Nagwa Question Video: Finding the Integral of the Product between an Exponential Function and a Trigonometric Function | Nagwa

Question Video: Finding the Integral of the Product between an Exponential Function and a Trigonometric Function Mathematics • Third Year of Secondary School

Join Nagwa Classes

Attend live Mathematics sessions on Nagwa Classes to learn more about this topic from an expert teacher!

By setting 𝑒 = 𝑒^π‘₯ and d𝑣 = cos π‘₯ dπ‘₯, evaluate βˆ«π‘’^π‘₯ cos π‘₯ dπ‘₯ by integrating by parts.

06:13

Video Transcript

By setting 𝑒 equal to 𝑒 to the power of π‘₯ and d𝑣 equal to the cos of π‘₯ dπ‘₯, evaluate the integral of 𝑒 to the power of π‘₯ multiplied by the cos of π‘₯ with respect to π‘₯ by integrating by parts.

We’re given an integral to evaluate, and we can see that our integrand is the product of two functions. It’s 𝑒 to the power of π‘₯ multiplied by the cos of π‘₯. And we know a few different ways of evaluating an integral which is the product of two functions. In this question, we’re asked to use integration by parts. Let’s start by recalling what we mean by integration by parts. This tells us the integral of 𝑒 times d𝑣 by dπ‘₯ with respect to π‘₯ is equal to 𝑒 times 𝑣 minus the integral of 𝑣 multiplied by d𝑒 by dπ‘₯ with respect to π‘₯.

In other words, this gives us a method of integrating the product of two functions 𝑒 and d𝑣 by dπ‘₯. And in fact, in the question, we can see we’re told what to set our functions 𝑒 and 𝑣 equal to. We’re told to set 𝑒 to be 𝑒 to the power of π‘₯. And saying d𝑣 is equal to the cos of π‘₯ dπ‘₯ is differential notation to say d𝑣 by dπ‘₯ is equal to the cos of π‘₯. So we’ll set 𝑒 equal to 𝑒 to the power of π‘₯ and d𝑣 by dπ‘₯ to equal the cos of π‘₯.

Now, to use integration by parts, we see we need expressions for 𝑣 and d𝑒 by dπ‘₯. Let’s start with d𝑒 by dπ‘₯. That’s the derivative of the exponential function 𝑒 to the power of π‘₯ with respect to π‘₯. But we know the derivative of the exponential function with respect to π‘₯ is just the exponential function. So d𝑒 by dπ‘₯ is 𝑒 to the power of π‘₯. Now, let’s find an expression for 𝑣. 𝑣 will be an antiderivative of the cos of π‘₯. One way of finding this is integrating the cos of π‘₯ with respect to π‘₯. We know this will give us the sin of π‘₯ plus a constant of integration 𝐢. But we just need any antiderivative, so we’ll just use the sin of π‘₯.

We’re now ready to evaluate the integral of 𝑒 to the power of π‘₯ times the cos of π‘₯ with respect to π‘₯ by using integration by parts. Substituting in our expressions for 𝑒, 𝑣, d𝑒 by dπ‘₯, and d𝑣 by dπ‘₯ into our formula for integration by parts, we get 𝑒 to the power of π‘₯ times the sin of π‘₯ minus the integral of the sin of π‘₯ multiplied by 𝑒 to the power of π‘₯ with respect to π‘₯. And now we can see a problem. We don’t know how to evaluate the integral of the sin of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯. It has the same problems as our original integral.

Our integrand is the product of two functions. However, this time, we can notice something interesting. If we were to apply this integration-by-parts process one more time, we would integrate the sin of π‘₯, giving us negative the cos of π‘₯. So, in our integration-by-parts formula, since when we differentiate the exponential function we just get the exponential function, we would end up with the integral of negative the cos of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯. But this is exactly the integral we’re trying to calculate. So we could rearrange and solve for the value of this integral.

So let’s try applying integration by parts one more time. This time, we’ll use this to evaluate the integral of the sin of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯. We’ll set 𝑒 to be the exponential function 𝑒 to the power of π‘₯ and d𝑣 by dπ‘₯ to be the sin of π‘₯. By differentiating 𝑒 with respect to π‘₯, we get d𝑒 by dπ‘₯ is equal to 𝑒 to the power of π‘₯. And by integrating the sin of π‘₯ with respect to π‘₯, we get that 𝑣 is equal to negative the cos of π‘₯. Substituting in our expressions for 𝑒, 𝑣, d𝑒 by dπ‘₯, and d𝑣 by dπ‘₯ into our formula for integration by parts, we get 𝑒 to the power of π‘₯ times negative the cos of π‘₯ minus the integral of negative the cos of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯.

And we can simplify this expression. First, we can write 𝑒 to the power of π‘₯ multiplied by negative the cos of π‘₯ as negative 𝑒 to the power of π‘₯ times the cos of π‘₯. Similarly, we can simplify our integral. We have a factor of negative one inside of our integrand. We can take this outside of our integral, so we’re just instead adding the integral. Then, we can just rewrite our integrand as 𝑒 to the power of π‘₯ multiplied by the cos of π‘₯. So we’ve now shown the integral of the sin of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯ is equal to negative 𝑒 to the power of π‘₯ times the cos of π‘₯ plus the integral of 𝑒 to the power of π‘₯ multiplied by the cos of π‘₯ with respect to π‘₯.

Now, all we need to do is substitute this expression for the integral of the sin of π‘₯ times 𝑒 to the power of π‘₯ with respect to π‘₯ into our formula for our original integral. Substituting this expression in, we get 𝑒 to the power of π‘₯ times the sin of π‘₯ minus negative 𝑒 to the power of π‘₯ multiplied by the cos of π‘₯ plus the integral of 𝑒 to the power of π‘₯ times the cos of π‘₯ with respect to π‘₯. And now we can start simplifying this expression. We’ll start by distributing negative one over our parentheses. This gives us 𝑒 to the power of π‘₯ sin π‘₯ plus 𝑒 to the power of π‘₯ cos π‘₯ minus the integral of 𝑒 to the power of π‘₯ cos of π‘₯ with respect to π‘₯.

And remember, this is equal to the integral of 𝑒 to the power of π‘₯ cos of π‘₯ with respect to π‘₯. And we can see this expression appears on both sides of our equation. So we can solve for this by adding the integral of 𝑒 to the power of π‘₯ cos of π‘₯ with respect to π‘₯ to both sides of this equation. Adding this to both sides of our equation, on the left-hand side, we’ll now have two times the integral of 𝑒 to the power of π‘₯ times the cos of π‘₯ with respect to π‘₯. And on the right-hand side of this equation, our third term is canceled out. This gives us 𝑒 to the power of π‘₯ times the sin of π‘₯ plus 𝑒 to the power of π‘₯ times the cos of π‘₯.

Now we’ll divide both sides of our equation through by two. And remember, since we’re calculating a definite integral, we’ll need a constant of integration. We’ll call this 𝐢. The last thing we’ll do is rearrange this expression and take out the common factor of 𝑒 to the power of π‘₯. And this gives us one-half 𝑒 to the power of π‘₯ multiplied by the sin of π‘₯ plus the cos of π‘₯ plus our constant of integration 𝐢.

Therefore, by using integration by parts twice, we were able to show that the integral of 𝑒 to the power of π‘₯ times the cos of π‘₯ with respect to π‘₯ is equal to one-half 𝑒 to the power of π‘₯ multiplied by the sin of π‘₯ plus the cos of π‘₯ plus the constant of integration 𝐢.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy