# [✓] What do these solutions from Solve mean?

Posted 9 months ago
1023 Views
|
6 Replies
|
2 Total Likes
|
 When I compute the following (with Mathematica 11.2): Solve[(1 + r)^81 == 1.45, r] I get a long list of solutions, all negative reals and complex numbers, apart from the one positive real answer I was expecting.The solution list begins... {{r -> -4.46763}, {r -> -4.45283}, {r -> -4.30803}, {r -> -4.11268}, {r -> -3.94294}....etc. These values of r do not even remotely solve the equation, as far as I can see. Apart from anything else, they make the LHS negative, so it cannot be equal to the RHS, which is positive.What is the meaning of these solutions? Is this just a bug in Mathematica? Or is there some sense in which they are solutions?
6 Replies
Sort By:
Posted 9 months ago
 Yes, this is strange! To eliminate complex solutions, you coud compute: Res = Solve[(1 + r)^81 == 1.45, r, Reals] Map[1.45 - (1 + r)^81 /. # &, Res] // Chop which gives r=-1 as a multiple solution and, finally, the correct one : 0.00459774. To avoid problems of precision, I tried: Res = Solve[(1 + r)^81 == Rationalize[1.45], r, Reals] then Mathematica give an unique solution (a pure fonction). But I don't have any explanation!
Posted 9 months ago
 One needs much more precision for these high powers. For all the complex solutions use: Solve[(1 + r)^81 == 1.4540, r] Or for the real solution: Solve[(1 + r)^81 == 1.4540, r, Reals] where 40 is the number of digits which should be high here for these high powers (81!).
Posted 9 months ago
 Ah, I see. So those negative reals are artefacts of the lack of precision, and should be complex. Thank you.
Posted 9 months ago
 Thank you very much. That provides a little more insight.