Home › Calculus › Definite integral › Definite integral x/(x²−4x+4) from 3 to 4

Definite integral x/(x²−4x+4) from 3 to 4

This problem asks to evaluate the definite integral of a rational function with a repeated root of the denominator.

Problem

∫ 3 4 x x2 − 4 x + 4 d x

Solution

Step 1

The denominator is a perfect square:

Why does the denominator have a repeated root?

The discriminant of the quadratic x² − 4x + 4 is zero: D = 16 − 16 = 0. This means the quadratic has a single (double) root x = 2 and factors as (x − 2)². In this case, we say the root is repeated, and the partial fraction decomposition has its own peculiarities.

x2 − 4 x + 4 = ( x − 2 ) 2

Step 2

Since the denominator has a repeated root, the partial fraction decomposition has the form:

How do we decompose into partial fractions with a repeated root?

If a linear factor (x − a) is repeated k times, it corresponds to a sum of k partial fractions with that denominator in different powers: A₁/(x − a) + A₂/(x − a)² + … + Aₖ/(x − a)ᵏ. In our case, the denominator is (x − 2)², so the decomposition is A/(x − 2) + B/(x − 2)².

x ( x − 2 ) 2 = A x − 2 + B ( x − 2 ) 2

Step 3

Bring to a common denominator and equate the numerators:

A ( x − 2 ) + B = x

From this we obtain A = 1, B = 2.

Step 4

Substitute the decomposition into the integral:

∫ 3 4 ( 1 x−2 + 2 (x−2) 2 ) d x

Step 5

Integrate: ∫ 1/(x − 2) dx = ln|x − 2|, ∫ 2/(x − 2)² dx = −2/(x − 2). Apply the Newton-Leibniz formula:

[ 3 4 ln | x − 2 | − 2 x − 2

Step 6

Substitute the limits of integration. We obtain the answer.

Answer

1 + ln 2