# Knowing When to Integrate by Parts

It’s important to recognize when integrating by parts is useful. To start off, here are two important cases when integration by parts is definitely the way to go:

The logarithmic function ln

*x*The first four inverse trig functions (arcsin

*x**,*arccos*x**,*arctan*x**,*and arccot*x*)

Beyond these cases, integration by parts is useful for integrating the product of more than one type of function or class of function. For example:

*x*ln*x**x*arcsec*x**x*^{2}sin*x**e*^{x}*x*

Notice that in each case, you can recognize the product of functions because the variable *x* appears more than once in the function.

Whenever you’re faced with integrating the product of functions, consider variable substitution before you think about integration by parts. For example, *x* cos (*x*^{2}) is a job for variable substitution, not integration by parts.

When you decide to use integration by parts, your next question is how to split up the function and assign the variables *u* and *dv.* Fortunately, a helpful mnemonic exists to make this decision: ** L**ovely

**ntegrals**

__I__**re**

__A__**errific, which stands for**

__T__**ogarithmic,**

__L__**nverse trig,**

__I__**lgebraic,**

__A__**rig. (If you prefer, you can also use the mnemonic**

__T__**ousy**

__L__**ntegrals**

__I__**re**

__A__**errible.) Always choose the**

__T__*first*function in this list as the factor to set equal to

*u,*and then set the rest of the product (including

*dx*) equal to

*dv.*

You can use integration by parts to integrate any of the functions listed in the table.

When you’re integrating by parts, here’s the most basic rule when deciding which term to integrate and which to differentiate: If you only know how to integrate only one of the two, that’s the one you integrate!