I'm in my first semester of calculus, so the problems I'm facing are about as hard as those on KhanAcademy calculus playlist. I'm currently doing integration, a somewhat difficult part of the course. Doing derivatives is mechanics; finding the integral is an art.

The two main techniques showed are

  • u-substitution
  • integration by parts

My question is: are there any rules of thumb (preferably with a logical reason behind it) of when to use which?

  • $\begingroup$ Learn the standard primitives well. This will let you detect whether you should use substitute or integrate by parts. And do all the exercises! With time you will "see" which method to use. $\endgroup$ – EricAm Oct 24 '13 at 21:51
  • $\begingroup$ I am not sure about calling something mechanical a "science." And in fact there is in principle a procedure (the Risch "algorithm") for integrating elementary functions when they have an elementary antiderivative and saying no when they don't. $\endgroup$ – André Nicolas Oct 24 '13 at 21:54

Always do a $u$-sub if you can; if you cannot, consider integration by parts.

A $u$-sub can be done whenever you have something containing a function (we'll call this $g$), and that something is multiplied by the derivative of $g$. That is, if you have $\int f(g(x))g'(x)dx$, use a u-sub.

Integration by parts is whenever you have two functions multiplied together--one that you can integrate, one that you can differentiate.

My strategy is to try to "play it out" in my mind and try to see which one will work better. The best way to get better at these sorts of integrals is to practice large sets of each type. Then, you start to think "Oh--this looks like a u-sub!" or, "maybe by-parts is better for this." Practice is really the best way to get better at recognizing each type.

  • 2
    $\begingroup$ "Integration by parts is whenever you have two functions multiplied together--one that you can integrate, one that you can differentiate." I would also add that differentiation of one term and integration of the other term should result in an easily integrable function. For example in the case of $1ln(x)$, integrating the the 1, then differentiating the ln(x) will result in an easy integral of $x\frac{1}{x} = 1$. So it's easy to do by parts. But in case of $sin(x) \frac{1}{x}$, the integral of $cos(x) ln(x)$ isn't very helpful, as the former one doesn't have antiderivative in closed form. $\endgroup$ – Calmarius Jan 25 '16 at 15:37

U-substitution is for functions that can be written as the product of another function and its derivative. $$\int u du$$

Integration by parts is for functions that can be written as the product of another function and a third function's derivative.

$$\int u dv$$

A good rule of thumb to follow would be to try u-substitution first, and then if you cannot reformulate your function into the correct form, try integration by parts.


If the integral is simple, you can make a simple tendency behavior: if you have composition of functions, u-substitution may be a good idea; if you have products of functions that you know how to integrate, you can try integration by parts.

But most difficult integrals have no immediate ideas. Maybe you should use them both. Usually I start with substitution method so I can get a well know function and then use integration by parts.

Sometimes none of these techniques will help you. Probably you'll need some algebra, simplification or wizardry with the integral before start trying to integrate it.

Some definite integrals have no way to solve other than integration by parts, by finding the same integral on both sides of the equation. These cases are really die-hard problems if you don't go that way.


protected by Alexander Gruber Dec 3 '14 at 3:11

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.