try
←

Integrals of f′ over f

Practice this lesson in the app →

When the numerator of a fraction is the derivative of the denominator, the integral is the log of the denominator

The derivative of ln f

By the chain rule, ln f(x) differentiates to , the derivative of ln at f(x), times f'(x), the derivative of the inside. So the derivative of ln f(x) is : a fraction whose numerator is the derivative of its denominator.

For example, differentiates to , and ln(sin x) to .

Read backwards

Reading that the other way gives an integral: . The absolute value is there for the same reason as in ln|x|: f(x) may be negative, and ln|f(x)| still differentiates to .

The numerator has to be exactly the derivative of the denominator, or a constant multiple of it, as below. Anything else and the pattern does not apply.

Checking the numerator

Take . The denominator differentiates to 2x, which is the numerator, so the integral is . No absolute value is needed, since is always positive.

Definite integrals follow. From 1 to 3 the value is . From 0 to 2 it is ln 5 − ln 1 = ln 5 as well, so the two regions have the same area.

xy

The gold curve is , shaded from x = 0 to x = 2. The plain curve is , which starts at 0. Its height at x = 2 is , the shaded area, because the area from 0 up to any x is .

Adjusting a constant

The skill is the check: differentiate the denominator first, then compare it with the numerator. In the denominator differentiates to , the numerator exactly, so the integral is .

A numerator that is a constant multiple of the derivative works too, with the constant fixed outside. In , the denominator differentiates to 2x, and x is ½ of 2x. So . The integral from 0 to 2 is .

In the same way, differentiates to , and is a third of that: . From 0 to 1 that is .

The pattern in other families

The denominator need not be a polynomial. sin x differentiates to cos x, so . differentiates to , so .

tan x is , and cos x differentiates to −sin x, so the numerator is minus the derivative of the denominator. The minus comes outside: .

When it does not fit

Only a constant factor can be adjusted. In , the denominator differentiates to , and x is not a constant times , so the pattern fails. The difference is a factor of x, and moving a variable outside the integral is not allowed.

In , the denominator differentiates to 2x, and the numerator 1 has no x at all. That integral is , not a logarithm. A denominator that factors, such as with a numerator of 1, is split into partial fractions instead.

The usual mistakes

Answering . differentiates to , which has a squared denominator; the integral of is .

Taking the log of the numerator. ln|cos x| differentiates to , not . The log is always of the denominator.

Fixing the constant the wrong way. The numerator x is ½ of 2x, so the answer carries ½, not 2: .

Forcing the pattern where a variable is missing. Any multiple differentiates to , with on top, never x, so no multiple of is the integral of .

Your turn

1. 

check the numerator against the denominator
Practice Integrals of f′ over f in the app