Skip to main content
Build your math mind

Partial integration

Partial integration

Sometimes, it’s not possible to evaluate the integral just by using the properties of an integral, or even by substituting some expressions.

When those methods aren’t effective, there is another way: partial integration. This is used when one of the factors of the product can be simplified through integration and the other one can be simplified through differentiation. For example, lnx can be solved using partial integration.

Let’s see how!

What is partial integration?

Partial integration — or integration by parts — is a process that helps find the integral of a product of functions using the formula:

u dv=uvv du

where u is the part of the product easy to differentiate and dv easy to integrate.

However, when the partial integration is done, we still need to use the integral rules to solve it.

Need a little refresher on the rules and properties of integration? Here they are:

Constant multiple property of integrals (c×f(x))dx=c×f(x)dx
Sum rule for integrals (f(x)+g(x))dx=f(x)dx+g(x)dx
Difference rule for integrals (f(x)g(x))dx=f(x)dxg(x)dx
Substitution rule f(φ(t))φ(t)dt=f(x)dx
Integration by parts udv=uvvdu

Why is partial integration so useful?

As was already mentioned, some integrals are just too stubborn to be solved using properties of integrals or by substitution method. Partial integration is often used when the integrand is a product.

Pro tip: When you see lnx in the integrand, you should always use partial integration, and the natural logarithm should always be the factor that is differentiated!

How to use partial integration

Ready to work through some example problems together? Let’s get to it!

Example 1


Find the integral:

lnxdx

Is your mental alarm sounding? The integrand contains lnx, so we need to use partial integration! We know that this integral is not a table integral, and we can’t see any expression that can be substituted — but we do know that the derivation of lnx is 1x. So, we need to find the function that can be easily differentiated. Remember that by multiplying any expression with one, the expression doesn’t change, so multiply the integrand by 1:

lnx×1dx

Now that we have a product (and we know that lnx can be easily differentiated and 1 can be easily integrated), let u=lnx and dv=1dx. To use the partial integration formula, we’ll first need to determine du and v.

lnx×1dx=|u=lnxdu=?dv=1dxv=?|

To determine du and v, find the differential using du=udx and integrate dv:

lnx×1dx=|u=lnxdu=(lnx)dxdv=1dxv=1dx|

As we mentioned, the derivative of lnx is 1x, and the integral 1dx is equal to x, so use substitution:

lnx×1dx=|u=lnxdu=1xdxdv=1dxv=x|

We’ve determined everything we need for the partial integration, so remember the partial integration formula u dv=uvv du and substitute the corresponding elements:

lnx×1dx=lnx×xx ×1xdx

The integrand on the right-hand side of the equation can be simplified by canceling the common factor x, so let’s do that:

lnx×1dx=lnx×x1dx

Remember: the integral 1dx is equal to x:

lnx×1dx=lnx×xx

Since the derivative of a constant is zero, we need to add the constant of integration C to include all possible anti-derivative functions in the result:

lnx×1dx=lnx×xx+C,CR

We did it! The indefinite integral lnxdx is equal to:

lnx×xx+C,CR

Example 2


Find the integral:

xsin(x)dx

Okay, we know this is not a table integral, nor is there any expression that can be substituted. We also know that the integrand is a product. So, we need to find the function that can be simplified when differentiated, and the other function that can be easily integrated. Since the derivative of x is equal to 1, we can conveniently take u=x and dv=sinxdx.

xsin(x)dx=|u=xdu=?dv=sinxdxv=?|

To determine du and v, find the differential using du=udx and integrate dv:

xsin(x)dx=|u=xdu=(x)dxdv=sinxdxv=sinxdx|

As we mentioned, the derivative of x is 1 and the integral sinxdx is equal to cosx, so use substitution:

xsin(x)dx=|u=xdu=1dxdv=sinxdxv=cosx|

Since we’ve got all that we need for partial integration, keep in mind the partial integration formula u dv=uvv du and substitute the corresponding elements:

xsin(x)dx=x×(cosx)(cosx)×1dx

Notice that the integrand on the right-hand side of the equation can be simplified by using the property a×f(x)dx=a×f(x)dx:

xsin(x)dx=x×(cosx)+cosx×1dx

Remember that, when multiplying the expression with 1, the result is the expression itself:

xsin(x)dx=x×(cosx)+cosxdx

Remember that the integral cosxdx is equal to sinx and simplify the first product on the right-hand side:

xsin(x)dx=x×cosx+sinx

Since the derivative of a constant is zero, we need to add the constant of integration C to include all possible anti-derivative functions in the result:

xsin(x)dx=x×cosx+sinx+C,CR

So the indefinite integral xsin(x)dx is equal to:

x×cosx+sinx+C,CR

That wasn’t so bad, right? Now that we’ve walked through a few detailed examples, let’s review the overall process so you use it whenever you need:

Study summary

  1. Expand the expression, if needed.
  2. Prepare for partial integration by defining u and dv.
  3. Find the differential using du=u'dx.
  4. Determine v by evaluating the integral.
  5. Substitute u, v, du and dv into the partial integration formula.
  6. If possible, simplify the argument of the integral.
  7. Evaluate the integral.
  8. If possible, simplify the expression.
  9. Add the constant of integration.

Do it yourself!

Whether you’re feeling confident or confused after those examples, it wouldn’t hurt to work on a few practice problems!

Find the integral:

  1. x×cos(x)dx
  2. (2x+1)exdx
  3. x2ln(x)dx
  4. exxdx

Solutions:

  1. x×sinx+cosx+C,CR
  2. 2xexex+C,CR
  3. lnx×x33x39+C,CR
  4. xexex+C,CR

Getting stuck? Scan the problem using your Photomath app, and we’ll walk you through step-by-step!

Here’s a sneak peek of what you’ll see: