# Video: Finding the Integration of an Exponential Function Multiplied by a Polynomial Using Integration by Parts

Determine ∫(3𝑥 + 4)²𝑒^𝑥d𝑥.

06:32

### Video Transcript

Determine the integral of three 𝑥 plus four all squared multiplied by 𝑒 to the power of 𝑥 with respect to 𝑥.

We need to determine the value of an indefinite integral. We can see that our integrand is the product of two functions. We’ve seen a few different ways of dealing with integrals of this form. For example, we might be tempted to try integration by substitution. However, there’s no obvious substitution that would make this easier. Instead, we could try using integration by parts.

First, we recall integration by parts tells us the integral of 𝑢𝑣 prime with respect to 𝑥 is equal to 𝑢 times 𝑣 minus the integral of 𝑣 times 𝑢 prime with respect to 𝑥. So, integration by parts gives us a method of integrating the product of 𝑢 and 𝑣 prime with respect to 𝑥.

But, remember, we need to choose our function 𝑢. There’s a few different ways of choosing our function 𝑢. Usually, we pick the function which differentiates to give a simpler function. Using this logic, we see the derivative of 𝑒 to the power of 𝑥 is just equal to 𝑒 to the power of 𝑥. This doesn’t get any simpler. However, we know three 𝑥 plus four all squared is a quadratic. So, when we differentiate this with respect to 𝑥, we’ll get a linear function. And a linear function is more simple than a quadratic. So, this makes a good candidate for 𝑢.

Alternatively, we could’ve used the LIATE method. Since there are no logarithmic or inverse trigonometric functions in our integrand, we would choose the algebraic function three 𝑥 plus four all squared to be 𝑢. Both of these methods pick the same function. So, we’ll set 𝑢 to be three 𝑥 plus four all squared and 𝑣 prime to be 𝑒 to the power of 𝑥.

To use integration by parts, we also need expressions for 𝑢 prime and 𝑣 prime. Let’s start with finding 𝑢 prime. To find 𝑢 prime, we need to differentiate three 𝑥 plus four all squared. We could do this by using the chain rule or the general power rule. However, because we’re only squaring this linear function, we could do this by using the FOIL method or binomial expansion. We would get that 𝑢 is equal to nine 𝑥 squared plus 24𝑥 plus 16. And now, we can differentiate this term by term by using the power rule for differentiation.

We need to multiply it by our exponents of 𝑥 and then reduce this exponent by one. This gives us that 𝑢 prime is equal to 18𝑥 plus 24. Now, we need to find our function 𝑣. 𝑣 will just be an antiderivative of 𝑒 to the power of 𝑥. Well, we know the derivative of 𝑒 to the power of 𝑥 with respect to 𝑥 is just equal to 𝑒 to the power of 𝑥. So, we can just set 𝑣 to be 𝑒 to the power of 𝑥.

Now that we found expressions for 𝑢 prime and 𝑣, we can use integration by parts to attempt to evaluate our integral. Substituting in our expressions for 𝑢, 𝑣, 𝑢 prime, and 𝑣 prime, we get that our integral is equal to nine 𝑥 squared plus 24𝑥 plus 16 all multiplied by 𝑒 to the power of 𝑥 minus the integral of 𝑒 to the 𝑥 times 18𝑥 plus 24 with respect to 𝑥.

But now we can see a problem. We have an integral in this expression which we still can’t integrate directly. But now we can see something interesting. Our original integrand was a quadratic multiplied by 𝑒 to the power of 𝑥. However, we now have just a linear function multiplied by 𝑒 to the power of 𝑥. If we did this process one more time, then our linear function would just become a constant. Then, we could just evaluate our integral.

So, we’re gonna use integration by parts on the integral of 𝑒 to the power of 𝑥 times 18𝑥 plus 24 with respect to 𝑥. This time, our function 𝑢 will be 18𝑥 plus 24, and 𝑣 prime will be equal to 𝑒 to the power of 𝑥. And just as we did before, we can find expressions for 𝑢 prime and 𝑣 prime. 𝑢 prime will be the derivative of 18𝑥 plus 24 with respect to 𝑥, which we know is 18. And 𝑣 will be 𝑒 to the power of 𝑥.

Now, all we need to do is substitute our expressions for 𝑢, 𝑣, 𝑢 prime, and 𝑣 prime into our formula for integration by parts. Doing this, we get 18𝑥 plus 24 all multiplied by 𝑒 to the power of 𝑥 minus the integral of 𝑒 to the power of 𝑥 times 18 with respect to 𝑥. And we can rearrange our integrands to give us 18𝑒 to the power of 𝑥. And now, we can just evaluate this integral.

Negative one times the integral of 18𝑒 to the power of 𝑥 with respect to 𝑥 is equal to negative 18 times 𝑒 to the power of 𝑥 plus a constant of integration 𝐶. So, this gave us 18𝑥 plus 24 all multiplied by 𝑒 to the power of 𝑥 minus 18𝑒 to the power of 𝑥 plus 𝐶. And before we substitute this expression back into our original integral, we can take out a factor of 𝑒 to the power of 𝑥. Taking out this common factor of 𝑒 to the power of 𝑥, we get 18𝑥 plus 24 minus 18 all multiplied by 𝑒 to the power of 𝑥 plus 𝐶.

And of course, we can now simplify 24 minus 18 to give us six. So, we simplified this expression to give us 18𝑥 plus six all multiplied by 𝑒 to the power of 𝑥 plus 𝐶. We can now substitute this expression back into our original integral. Doing this, we get nine 𝑥 squared plus 24𝑥 plus 16 all multiplied by 𝑒 to the power of 𝑥 minus 18𝑥 plus six times 𝑒 to the power of 𝑥 plus our constant of integration 𝐶.

We now want to distribute this negative one over our parentheses. But we see this will give us the term negative 𝐶. We could call this negative 𝐶. However, 𝐶 is our constant of integration. We can call this whatever we want. So, we could’ve originally called this negative 𝐶, so we can just write negative 𝐶 as 𝐶. This gives us nine 𝑥 squared plus 24𝑥 plus 16 all multiplied by 𝑒 to the power of 𝑥 minus 18𝑥 plus six times 𝑒 to the power of 𝑥 plus our constant of integration 𝐶.

And we could leave our answer like this. However, we see that our first two terms both share a factor of 𝑒 to the power of 𝑥. So, by taking out this common factor of 𝑒 to the power of 𝑥, we get nine 𝑥 squared plus 24𝑥 plus 16 minus 18𝑥 minus six all multiplied by 𝑒 to the power of 𝑥 plus 𝐶. And now, we can simplify this expression. We have 24𝑥 minus 18𝑥 is equal to six 𝑥. And 16 minus six is just equal to 10.

And then, by rewriting 𝑒 to the power of 𝑥 at the start of our first factor, we got 𝑒 to the power of 𝑥 times nine 𝑥 squared plus six 𝑥 plus 10 plus the constant of integration 𝐶. And this is our final answer. Therefore, by using integration by parts twice, we were able to determine that the integral of three 𝑥 plus four all squared times 𝑒 to the power of 𝑥 with respect to 𝑥 is equal to 𝑒 to the power of 𝑥 times nine 𝑥 squared plus six 𝑥 plus 10 plus the constant of integration 𝐶.