The Wayback Machine - https://web.archive.org/web/20251217234639/https://www.geeksforgeeks.org/maths/integration-by-parts/
Open In App

Integration by Parts

Last Updated : 23 Jul, 2025
Comments
Improve
Suggest changes
26 Likes
Like
Report

Integration by Parts or Partial Integration, is a technique used in calculus to evaluate the integral of a product of two functions. The formula for partial integration is given by:

âˆŦ u dv = uv - âˆŦ v du

Where u and v are differentiable functions of x. This formula allows us to simplify the integral of a product by breaking it down into two simpler integrals.

Suppose we have two functions f(x) and g(x) and we have to find the integration of their product i.e., âˆŦ f(x).g(x) dx where it is not possible to further solve the product of this product f(x).g(x). 

This integration is achieved using the formula:

âˆŦ f(x).g(x) dx = f(x) âˆŦ g(x) d(x) - âˆŦ [f'(x) {âˆŦg(x) dx} dx] dx + c

Where f'(x) is the first differentiation of f(x).

This formula is read as:

Integration of the First Function multiplied by the Second Function is equal to (First Function) multiplied by (Integration of Second Function) - Integration of (Differentiation of First Function multiplied by Integration of Second Function).

Note: Integration by part concept was first proposed by the famous Brook Taylor in his book in 1715. He wrote that we can find the integration of the product of two functions whose differentiation formulas exist.

Read More about Method of Integration.

Integration By Parts Formula

Integration by parts formula is the formula that helps us to achieve the integration of the product of two or more functions. Suppose we have to integrate the product of two functions as

âˆŦu.v dx 

where u and v are the functions of x, then this can be achieved using,

âˆŦu.v dx = u âˆŦ v d(x) - âˆŦ [u' {âˆŦv dx} dx] dx + c

The order to choose the First function and the Second function is very important and the concept used in most of the cases to find the first function and the second function is ILATE concept.

Integration By Parts Formula

Derivation of Integration By Parts Formula

Integration By Parts Formula is derived using the product rule of differentiation. Suppose we have two functions u and v and x then the derivative of their product is achieved using the formula,

d/dx (uv) = u (dv/dx) + v (du/dx)

Now to derive the integration by parts formula using the product rule of differentiation.

Rearranging the terms

u (dv/dx) = d/dx (uv) - v (du/dx)

Integrating both sides with respect to x,

âˆŦ u (dv/dx) (dx) = âˆŦ d/dx (uv) dx - âˆŦ v (du/dx) dx

simplifying,

âˆŦ u dv = uv - âˆŦ v du

Thus, the integration by parts formula is derived.

ILATE Rule

The ILATE rule tells us about how to choose the first function and the second function while solving the integration of the product of two functions. Suppose we have two functions of x u and v and we have to find the integration of their product then we choose the first function and the by ILATE rule.

The ILATE full form is discussed in the image below,

ILATE Rule
ILATE Rule of Partial Integration

The ILATE rules give us the hierarchy of taking the first function, i.e. if in the given product of the function, one function is a Logarithmic function and another function is a Trigonometric function. Now we take the Logarithmic function as the first function as it comes above in the hierarchy of the ILATE rule similarly, we choose the first and second functions accordingly.

NOTE: It is not always appropriate to use the ILATE rule sometimes other rules are also used to find the first function and the second function.

How to  Find Integration by Part?

Integration by part is used to find the integration of the product of two functions. We can achieve this using the steps discussed below,

Suppose we have to simplify âˆŦuv dx

Step 1: Choose the first and the second function according to the ILATE rule. Suppose we take u as the first function and v as the second function.

Step 2: Differentiate u(x) with respect to x that is, Evaluate du/dx.

Step 3: Integrate v(x) with respect to x that is, Evaluate âˆŦv dx.

Use the results obtained in Step 1 and Step 2 in the formula,

âˆŦuv dx = uâˆŦv dx − âˆŦ((du/dx)âˆŦv dx) dx

Step 4: Simplify the above formula to get the required integration.

Tabular Integration by Parts

Tabular integration, also known as the DI method of integration, is an alternative technique for evaluating integrals that involve repeated application of integration by parts.

This method is particularly useful when dealing with integrals where the product of functions can be integrated multiple times to reach a simple result.

Here's how the tabular method works:

  1. Begin by writing down the functions involved in the integral in two columns: one for the function to differentiate (u) and another for the function to integrate (dv).
    • Start with the function to integrate (dv) on the left column and the function to differentiate (u) on the right column.
  2. Continue differentiating the function in the u column until you reach zero or a constant. At each step, integrate the function in the dv column until you reach a point where further integration is not necessary.
  3. Multiply the terms diagonally and alternate the signs (+ and -) for each term. Sum up these products to find the result of the integration.

Here's an example to illustrate the tabular integration method:

Let's evaluate the integral âˆŦx sin(x) dx.

  • Step 1: Create a table with two columns for u (function to differentiate) and dv (function to integrate):
udv
xsin(x)
  • Step 2: Differentiate the function in the u column and integrate the function in the dv column:
udv
x-cos(x)
1-sin(x)
0cos(x)
  • Step 3: Multiply the terms diagonally and alternate the signs:

(x)(-cos(x)) - (1)(-sin(x)) + (0)(cos(x)) = -x cos(x) + sin(x)

So, the result of the integral âˆŦx sin(x) dx is -xcos(x) + sin(x).

The tabular integration method is especially useful when dealing with integrals that involve functions that repeat upon differentiation or integration, allowing for a systematic and organized approach to finding the antiderivative.

Applications of Integration by Parts

Integration by Parts has various applications in integral calculus it is used to find the integration of the function where normal integration techniques fail. We can easily find the integration of inverse and logarithmic functions using the integration by parts concept.

We will find the Integration of the Logarithmic function and Arctan function using integration by part rule,

Integration of Logarithmic Function (log x)

Integration of Inverse Logarithmic Function (log x) is achieved using Integration by part formula. The integration is discussed below,

âˆŦ logx.dx = âˆŦ logx.1.dx

Taking log x as the first function and 1 as the second function.

Using âˆŦu.v dx = u âˆŦ v d(x) - âˆŦ [u' {âˆŦv dx} dx] dx
⇒ âˆŦ logx.1.dx =  logx. âˆŦ1.dx - âˆŦ ((logx)'.âˆŦ 1.dx).dx
⇒ âˆŦ logx.1.dx = logx.x -âˆŦ (1/x .x).dx
⇒ âˆŦ logx.1.dx = xlogx - âˆŦ 1.dx
⇒ âˆŦ logx.dx = x logx - x + C

Which is the required integration of logarithmic function.

Integration of Inverse Trigonometric Function (tan-1 x)

Integration of Inverse Trigonometric Functions (tan-1 x) is achieved using Integration by part formula. The integration is discussed below,

âˆŦ tan-1x.dx = âˆŦtan-1x.1.dx

Taking tan-1 x as the first function and 1 as the second function.

Using âˆŦu.v dx = u âˆŦ v d(x) - âˆŦ [u' {âˆŦv dx} dx] dx
⇒ âˆŦtan-1x.1.dx = tan-1x.âˆŦ1.dx - âˆŦ((tan-1x)'.âˆŦ 1.dx).dx
⇒ âˆŦtan-1x.1.dx = tan-1x. x - âˆŦ(1/(1 + x2).x).dx
⇒ âˆŦtan-1x.1.dx = x. tan-1x - âˆŦ 2x/(2(1 + x2)).dx
⇒ âˆŦtan-1x.dx = x. tan-1x - Â―.log(1 + x2) + C

Which is the required integration of Inverse Trigonometric Function.

Integration by Parts Formulas

We can derive the integration of various functions using the integration by parts concept. Some of the important formulas derived using this technique are

  • âˆŦ ex(f(x) + f'(x)).dx = exf(x) + C
  • âˆŦ√(x2 + a2).dx = Â― . x.√(x2 + a2)+ a2/2. log|x + √(x2 + a2)| + C
  • âˆŦ√(x2 - a2).dx =Â― . x.√(x2 - a2) - a2/2. log|x +√(x2 - a2) |  C
  • âˆŦ√(a2 - x2).dx = Â― . x.√(a2 - x2) + a2/2. sin-1 x/a + C

Integration By Parts Examples

Example 1: Find âˆŦ ex x dx.

Solution:

Let I =  âˆŦ ex x dx

Choosing u and v using ILATE rule

u = x
v = ex

Differentiating u

u'(x) = d(u)/dx

⇒ u'(x) = d(x)/dx
⇒ u'(x) = 1

âˆŦv dx = âˆŦex dx = ex

Using the Integration by part formula,

⇒ I = âˆŦ ex x dx 
⇒ I = x âˆŦex dx − âˆŦ1 (âˆŦ ex dx) dx
⇒ I = xex − ex + C
⇒ I = ex(x − 1) + C

Example 2: Calculate âˆŦ x sin x dx.

Solution:

Let I = âˆŦ x sin x dx

Choosing u and v using ILATE rule

u = x
v = sin x

Differentiating u

u'(x) = d(u)/dx
⇒ u'(x) = d(x)/dx
⇒ u'(x) = 1

Using the Integration by part formula,

⇒ I = âˆŦ x sin x dx 
⇒ I = x âˆŦsin x dx − âˆŦ1 âˆŦ(sin x dx) dx
⇒ I = − x cos x − âˆŦ−cos x dx
⇒ I = − x cos x + sin x + C

Example 3: Find âˆŦ sin−1 x  dx.

Solution:

Let I=  âˆŦ sin−1 x  dx

⇒ I =  âˆŦ 1.sin−1 x  dx

Choosing u and v using ILATE rule

u = sin−1 x
v = 1

Differentiating u

u'(x) = d(u)/dx
⇒ u'(x) = d(sin−1 x )/dx 
⇒ u'(x) = 1/√(1 − x 2) 

Using the Integration by part formula,

⇒ I = âˆŦ sin−1 x dx 
⇒ I = sin−1 x âˆŦ 1 dx  âˆ’ âˆŦ 1/√(1 − x 2)  âˆŦ(1 dx)  dx
⇒ I  = x sin−1 x  âˆ’ âˆŦ( x/√(1 − x 2 ) )dx

Let, t = 1 − x 2 

Differentiating both sides

 dt = −2x dx
⇒ −dt/2 = x dx
⇒ I = âˆŦ sin−1 x dx =  x sin−1 x  âˆ’ âˆŦ−(1/2√t ) dt
⇒ I   = x sin−1 x  + 1/2âˆŦt−1/2 dt
⇒ I  = x sin−1 x + t1/2 + C
⇒ I  = x sin−1 x + √(1 − x2 ) + C

Articles related to Integration by Parts

Integration by Substitution

Integration Formulas

Definite Integral

Derivative Rules


Integration by Parts

Explore