On this page
Some improper integrals look impossible until you spot a pattern. ∫₀^∞ (e^(−x) − e^(−2x))/x dx has no elementary antiderivative, yet its value is exactly ln 2. The pattern behind it is Frullani's integral, and once you know it, a whole family of these integrals takes one line.
What is Frullani's integral?
Frullani's integral is the formula ∫₀^∞ (f(ax) − f(bx))/x dx = (f(0) − f(∞)) ln(b/a), where f(∞) means the limit of f(x) as x → ∞ (Wolfram MathWorld). It holds when f is continuous, has a finite limit at infinity, and a, b > 0 (Wikipedia: Frullani integral). The same page records that Giuliano Frullani wrote the formula without proof in a letter dated 1821 and Augustin-Louis Cauchy proved it in 1823. It is also called the Cauchy–Frullani integral, the name Alexander Ostrowski used in the title of a 1949 PNAS paper on its generalisations.
How do you prove Frullani's integral?
Here is the short proof for a function with a continuous derivative, adapted from the version on the Wikipedia page.
Turn the difference into an integral in a new variable t. Since d/dt f(tx) = x f′(tx), you get (f(ax) − f(bx))/x = −∫ₐᵇ f′(tx) dt.
Swap the order: ∫₀^∞ (f(ax) − f(bx))/x dx = −∫ₐᵇ (∫₀^∞ f′(tx) dx) dt.
Do the inner integral with u = tx: ∫₀^∞ f′(tx) dx = (f(∞) − f(0))/t.
Finish: −(f(∞) − f(0)) ∫ₐᵇ dt/t = (f(0) − f(∞)) ln(b/a).
Step 2 needs care: swapping integrals over an infinite range is allowed, for example, when f′ keeps one sign (Tonelli's theorem). Our explainer on when you can swap the order of integration covers that rule.
What do the e^(−x) and arctan x examples give?
Example 1: f(x) = e^(−x), a = 1, b = 2. Here f(0) = 1, f(∞) = 0, and f′(x) = −e^(−x) is always negative, so the proof applies. The formula gives ∫₀^∞ (e^(−x) − e^(−2x))/x dx = (1 − 0) ln(2/1) = ln 2 ≈ 0.693.
Example 2: f(x) = arctan x, a = 2, b = 1. Now f(0) = 0, f(∞) = π/2, and f′(x) = 1/(1 + x²) is always positive. The formula gives ∫₀^∞ (arctan 2x − arctan x)/x dx = (0 − π/2) ln(1/2) = (π/2) ln 2 ≈ 1.089. Because arctan 2x comes first, a = 2. Write the terms the other way round and you get −(π/2) ln 2.
Check one by hand. Take f(x) = 1/(1 + x). Frullani predicts ∫₀^∞ (1/(1 + ax) − 1/(1 + bx))/x dx = (1 − 0) ln(b/a). Partial fractions turn the integrand into b/(1 + bx) − a/(1 + ax), whose antiderivative ln((1 + bx)/(1 + ax)) runs from 0 at x = 0 to ln(b/a) as x → ∞. Same answer, no swap needed.
When does Frullani's integral fail?
The conditions are not decoration. Try f(x) = ln(1 + x) with a = 2, b = 1. Here f(∞) is infinite and the integral diverges: for large x, ln(1 + 2x) − ln(1 + x) approaches ln 2, so the integrand behaves like (ln 2)/x, and the area under 1/x up to X grows like ln X without limit.
A different break happens when f has no limit at infinity. For f(x) = cos x the stated formula cannot be applied, yet the integral converges. A variant covers this case: if ∫_c^∞ f(x)/x dx converges for some c > 0, the answer is f(0) ln(b/a), so ∫₀^∞ (cos ax − cos bx)/x dx = ln(b/a) (Wikipedia: Frullani integral). Juan Arias de Reyna went further in a 1990 paper in the Proceedings of the American Mathematical Society: whenever the integral exists, in the general Denjoy–Perron sense, for every pair a, b > 0, its value is always a constant times ln(a/b).
How do you use Frullani's integral in a problem?
Before you write the one-line answer, run four checks:
Shape: is the integrand exactly (f(ax) − f(bx))/x, the same f twice, from 0 to ∞? Substitute or pull out a constant if it is close.
Constants: are a and b both positive? If either is 0, ln(b/a) is undefined.
End values: is f continuous at 0, and does f(x) settle to a finite number as x → ∞? If not, try the cos-type variant or another method.
Order: which term is subtracted? Its constant goes on top in ln(b/a).
If the swap in step 2 feels shaky, the Fermi Concept Library gives every concept in mathematics its own lesson. For practice, the Fermi Problem Library has worked problems with a step-by-step solver that explains the reasoning rather than printing an answer. For exam-style integrals, work through these JEE Advanced integral calculus practice questions with solutions.



