Solve for real .
Rewrite as a root-finding problem. Move the to the left and define so we need . This is the shape of an annuity/IRR equation: an accumulation factor over periods set against times the rate.
Spot the trivial root. , so is an exact solution. It is the degenerate 'zero interest' case, so a second, economically meaningful root is expected.
Locate the turning point before hunting for the second root. , which vanishes when , i.e. . Since increases in , this is the single minimum, with .
Conclude there are exactly two real roots and bracket the other one. falls from to the minimum, then rises back to , so one root sits to the left of the minimum. Testing: and , so the root lies in .
Bisect to full precision. Halving the bracket repeatedly gives where is zero to within . Beware of stopping near : that is the minimum, where .
Verify and interpret. and ; their sum is , matching the right-hand side. The two real solutions are and per period; there is no positive-rate solution, because for all .
Need to solve a different problem like this? Open the solver →