Maths WorkshopMaths problems with full solutions
Exercise 178Calculus › Single-variable calculus › Differentiation › Optimisation and curve sketchingL1Added 4 Nov 2026

How many solutions does eˣ = ax have?

#number of solutions#parameter#tangent#extrema

Statement

Discuss, according to the real number aa, the number of real solutions of ex=axe^x=ax.

Hint

For a>0a>0 the solutions are positive: study g(x)=exxg(x)=\dfrac{e^x}x on (0,∞)(0,\infty).

Show solutionHide solution

Solution

Case a=0a=0. ex=0e^x=0 has no solution.

Case a<0a<0. Let h(x)=ex−axh(x)=e^x-ax. Then h′(x)=ex−a>0h'(x)=e^x-a>0, so hh is strictly increasing, with h(x)→−∞h(x)\to-\infty at −∞-\infty (since −ax→−∞-ax\to-\infty and ex→0e^x\to0) and →+∞\to+\infty at +∞+\infty. Exactly one solution.

Case a>0a>0. Then x=0x=0 is not a solution, and x>0x>0 necessarily (as ex>0e^x>0 and axax must be positive). Solutions are those of g(x)=ag(x)=a with g(x)=exxg(x)=\dfrac{e^x}x:
g′(x)=(x−1)exx2.g'(x)=\frac{(x-1)e^x}{x^2}.
gg decreases from +∞+\infty (at 0+0^+) to the minimum g(1)=eg(1)=e, then increases to +∞+\infty. Hence:
- 0<a<e0<a<e: no solution,
- a=ea=e: one solution, x=1x=1,
- a>ea>e: two solutions (one in (0,1)(0,1), one in (1,∞)(1,\infty)).

Geometric meaning. The line y=axy=ax through the origin meets the curve y=exy=e^x iff its slope is at least ee (or negative): for a=ea=e it is tangent to the exponential at the point (1,e)(1,e). Consequently ex≥exe^x\ge ex for all xx.