Maths WorkshopMaths problems with full solutions
Exercise 1491Calculus › Single-variable calculus › Continuity › Intermediate Value TheoremL1Added 2 Nov 2026

How many solutions does ln x = ax have?

#intermediate value theorem#parameters#logarithm

Statement

For each real number aa, determine the number of solutions of ln⁡x=ax\ln x=ax in (0,+∞)(0,+\infty).

Hint

Rewrite the equation as h(x)=ah(x)=a with h(x)=ln⁡xxh(x)=\dfrac{\ln x}{x}, and study hh.

Show solutionHide solution

Solution

Study of hh. For x>0x>0, h′(x)=1−ln⁡xx2h'(x)=\dfrac{1-\ln x}{x^2}, so hh increases on (0,e](0,e] and decreases on [e,+∞)[e,+\infty), with maximum h(e)=1eh(e)=\frac1e. Limits: h(x)→−∞h(x)\to-\infty as x→0+x\to0^+ and h(x)→0h(x)\to0 as x→+∞x\to+\infty. Also h(x)<0h(x)<0 on (0,1)(0,1), h(1)=0h(1)=0, and h(x)>0h(x)>0 for x>1x>1.

Ranges.
- On (0,e](0,e], hh is continuous and strictly increasing from −∞-\infty to 1e\frac1e, so it takes each value in (−∞,1e](-\infty,\frac1e] exactly once.
- On [e,+∞)[e,+\infty), hh is continuous and strictly decreasing from 1e\frac1e to 00 (not reached), so it takes each value in (0,1e](0,\frac1e] exactly once.

Counting.
- a>1ea>\frac1e: no solution.
- a=1ea=\frac1e: one solution, x=ex=e.
- 0<a<1e0<a<\frac1e: two solutions, one in (1,e)(1,e) and one in (e,+∞)(e,+\infty).
- a≤0a\le0: one solution, found on (0,e](0,e] (for a=0a=0 it is x=1x=1).

Meaning. The line y=axy=ax is tangent to the curve y=ln⁡xy=\ln x exactly when a=1ea=\frac1e, at the point x=ex=e.