Integration by Parts
Integration by Parts
com © MyMathsCloud
When the integral is a product of two completely unrelated functions (and we can’t use reverse chain rule or
substitution). Examples of this include:
There are two harder types (natural logarithm and inverse trig) that aren’t a product and it is not obvious to use parts.
These types need to be remembered as special cases and turned/forced into a product in order to use parts:
• ∫ ln 𝑥 = ∫ 𝟏 × 𝐥𝐧 𝒙
• ∫ sin$# 𝑥 = ∫ 𝟏 × 𝐬𝐢𝐧$𝟏 𝒙
• ∫ cos$# 𝑥 = ∫ 𝟏 × 𝐜𝐨𝐬$𝟏 𝒙
• ∫ tan$# 𝑥 = ∫ 𝟏 × 𝐭𝐚𝐧$𝟏 𝒙
A good rule of thumb to follow if you want to know whether to use parts would be to try a substitution first (so
make sure you’re good at substitution before learning parts), and then if the resulting doesn’t become easier to
integrate once simplified, try integration by parts. A substitution is mostly used (but certainly not always)
whenever we have a function 𝑓 containing a function (we'll call this 𝑔) multiplied by the derivative of 𝑔. That is,
if you have the form ∫ 𝑔' (𝑥)𝑓(𝑔(𝑥))𝑑𝑥. For example,
!
S 𝑥𝑒 " 𝑑𝑥
!
𝑓(𝑔(𝑥)) = 𝑒 " 𝑠𝑜 𝑓 = 𝑒 " , 𝑔 = 𝑥 !
!
The derivative of 𝑥 is 2𝑥 and we have the correct 𝑥 term. It doesn’t matter if the constant 2 in front is different.
In this case we would use substitution (or reverse chain rule if you’re good at integration) instead of parts. It is
worth mentioning that parts would still work, it would just take longer! So, lots of integrals that can be done
by substitution can be done with parts instead, but the converse is not true.
The best strategy is to try to "play it out" in your mind i.e. whether substitution or parts will be better and try to
see which one will work better. The only 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 substitution!" or, "maybe by-parts is better for
this." Practise, practise, practise is really the best way to get better at recognizing whether to use substitution
or parts and is key to becoming good at parts.
!" !"
We say our original integral has the form/looks like ∫ 𝑢 𝑑𝑥 𝑜𝑟 ∫ 𝑢 𝑑𝑥
!# !#
Step 1:
() ()
Call one of the functions 𝑢 and the other function . It matters which we call 𝑢 and which we call !
(" ("
()
See the table on the bottom of the next page for how to choose which function is 𝑢 and which is
("
Step 2:
(* ()
Find (" by differentiating 𝑢 and 𝑣 by integrating ("
Notice how for both functions we want to end up with the original function and its corresponding derivative which
leads us to step 3.
www.mymathscloud.com © MyMathsCloud
Step 3:
(*
Plug into the formula 𝑢𝑣 − ∫ 𝑣 (" 𝑑𝑥
It can help to remember the formula as ① − ②
Step 4:
(*
Simplify the integral part ∫ 𝑣 (" 𝑑𝑥 as much as possible before integrating. You take out constants (that are
multiplied or divided) to make the integration easier.
Step 1 continued:
𝒅𝒗
How to choose which function is 𝒖 and which function is 𝒅𝒙 ?
()
We need to call 𝑢 the function that we can differentiate and (" the function which we can EASILY integrate. Recall that our functions are either algebraic
functions i.e. 𝑥 . , trig functions, logarithmic functions, exponentials or inverse trig functions. There are many 3 ways you can decide which function to use for
()
𝑢 and which function to use for (".
Way 1: Best Method For Beginners Way 2: Way 3:
Use the acronym LIATE Memorise the following templates for the Think ahead and play it out what will
different types of functions happen in mind
Consider all the possible types of functions that can
come up: blue functions below are 𝑢 This way comes naturally once you have
and more experience.
()
pink functions below are ("
We decide which function to call "𝑢" first.
This is the function that will become an
The types we encounter are:
“easier” function when differentiated. For
example
• ∫(𝑃𝑜𝑤𝑒𝑟)(𝑇𝑟𝑖𝑔)
S 𝑥 / 𝑠𝑖𝑛 𝑥 𝑑𝑥
𝑒𝑔. S(𝑥 ! )(𝑠𝑖𝑛 𝑥)
(*
Note: There is an integration shortcut hack called the DI method which avoids having to use the formula 𝑢𝑣 − ∫ 𝑣 (" 𝑑𝑥 altogether. See my
integration by parts ‘DI Integration By Parts Shortcut Method’ cheat sheet for this.
www.mymathscloud.com © MyMathsCloud
S 𝑥 𝑠𝑖𝑛 2𝑥 𝑑𝑥
S 𝐏𝐨𝐰𝐞𝐫 × 𝐓𝐫𝐢𝐠
Step 1:
()
We look at the functions inside the integral and we have to call one of the functions 𝑢 and the other function (" .
() ()
It matters which we call 𝑢 and which we call (" ! To choose which function is 𝑢 and which is (" we can use the
following criteria LIATE
Locate the two functions given inside in the integral. Whichever function out of the 2 functions comes first on the
list above is always called 𝑢.
Algebra Function (A) comes before the Trig function (T) on the LIATE list above so we call the Algebra function 𝑢
()
and the Trig function (".
Step 2:
(* ()
Find (" by differentiating 𝑢 and 𝑣 by integrating ("
(* $ 123 !" 1
("
=1 𝑣= !
= − 2 cos 2𝑥
Notice how for both functions we want to end up with the original function and its corresponding derivative which
leads us to step 3.
Step 3:
(*
Plug into the formula 𝑢𝑣 − ∫ 𝑣 (" 𝑑𝑥
www.mymathscloud.com © MyMathsCloud
Some students struggle to remember this formula. It can help to remember the formula as ① − ② in the pattern
below:
(*
So, plugging into 𝑢𝑣 − ∫ 𝑣 (" 𝑑𝑥 gives
1 1
= 𝑥 n− 2 cos 2𝑥o − ∫ n− 2 cos 2xo (1)𝑑𝑥
Step 4:
(*
Simplify the integral part ∫ 𝑣 (" 𝑑𝑥 as much as possible before integrating. You take out constants (that are
multiplied or divided) to make the integration easier.
Simplifying gives
# 1
= − ! 𝑥 cos 2𝑥 − ∫ − 2 cos 2𝑥 𝑑𝑥
1
Taking out the constant − 2 to make it easier:
# 1
= − ! 𝑥 cos 2𝑥 − (− 2 ) ∫ cos 2𝑥 𝑑𝑥
Simplifying:
1 1
= − 𝑥 cos 2𝑥 + sin 2𝑥 + 𝑐
2 4