Solve
Test small values first. The equation mixes a linear and an exponential term, so no algebraic rearrangement will separate . Substituting integers:
Both are exact solutions ✓. The question is then whether any others exist.
Reframe as a single function. Let
Solutions of the original equation are exactly the zeros of . We already know and .
Use convexity to cap the number of roots. The function is convex — its second derivative is positive everywhere — while is a straight line. A line can cross a strictly convex curve at most twice. Since two crossings are already in hand, there can be no more.
Confirm the shape by sampling. , , and ✓. The pattern positive, negative, positive shows dips below zero exactly between and and stays positive outside — precisely two sign changes, hence exactly two roots.
State the complete solution.
Note how special this is: the near-identical equation has no real solution at all, because there the exponential outruns the line everywhere. The base is exactly the borderline case that produces two integer intersections.
Need to solve a different problem like this? Open the solver →