The Wayback Machine - https://web.archive.org/web/20240119133428/https://www.geeksforgeeks.org/integration-by-parts/
Open In App
Related Articles

Integration by Parts

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Integrating a function is not always easy sometimes we have to integrate a function that is the multiple of two or more functions in this case if we have to find the integration we have to use integration by part concept, which uses two products of two functions and tells us how to find their integration.

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. Some important functions do not have integrations formulas and their integration is achieved using integration by part-taking them as a product of two functions. For example, ∫ln x dx can not be calculated using normal integration techniques. But we can integrate it using Integration by part technique and taking it as a product of two functions that is,  ∫1.ln x dx.

Now let’s learn about Integration by parts, its formula, derivation, and others in detail in this article.

What is Integration by Parts?

Integration by part is the technique used to find the integration of the product of two or more functions where the integration can not be performed using normal techniques. 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).

From the above formula, we can easily observe that choosing the first function and the second function is very important for the success of this formula, and how we choose the first function and the second function is discussed further in this article.

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.

Using the above formula and the ILATE concept we can easily find the integration of the product of two functions. The integration by part formula is shown in the image below,

Integration By Parts Formula

 

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

 

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.

Integration By Parts Formula Derivation

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.

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.

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 Function (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.

Formulas Related to Integration by Parts

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

Related Articles,

Solved Examples on Integration By Parts

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

FAQs on Integration by Parts

Q1: What is Integration by Parts?

Answer:

Integration by parts is the technique for finding the integration of the product of the two functions where the normal techniques of integration fail. Integration by the part formula is the,

∫u.v dx = u ∫ v d(x) – ∫ [u’ {∫v dx} dx] dx + c

Q2: What is Integration By Parts Formula?

Answer:

For two functions f(x) and g(x) the integration by part formula is,

∫ f(x).g(x) dx = f(x) ∫ g(x) d(x) – ∫ [f'(x) {∫g(x) dx} dx] dx + c

where f'(x) is differentiation of f(x).

Q3: How to derive Integration By Parts Formula?

Answer:

Integration by part formula is derived using the product rule of differentiation.

Q4: Why do we use Integration by Parts Formula?

Answer:

Integration by part formula is used to find the integration of the function when the normal differentiation techniques fail. We can find the integration of inverse trigonometric functions, and logarithmic functions using Integration by part formula

Q5: What is the application of Integration by Parts?

Answer:

Integration by part has various applications and the basic application of it is that it is used to find the integration of the function when the function is given as the product of the functions which can not be simplified further. For example ∫ f(x).g(x) dx is achieved using Integration by parts.


Learn to code easily with our course Coding for Everyone. This course is accessible and designed for everyone, even if you're new to coding. Start today and join millions on a journey to improve your skills!

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Commit to GfG's Three-90 Challenge! Purchase a course, complete 90% in 90 days, and save 90% cost click here to explore.
Last Updated : 13 Jun, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads
Complete Tutorials