Reduce[(5 - 5 x + x^2)^(20 - 9 x + x^2) == 1, x, Integers] gives the full solution set of x={1,2,3,4,5} but the step-by-step solutions (see attached) only show how to find x=1, 4 & 5. The two “missing” solutions are the ones where the base is -1 and, while the expression is undefined (since negative) for almost all values between the roots of x^2 - 5x + 5 =0 approx 1.382 & 3.618 it is defined for x = 2 and x = 3 when the base takes the value -1.
Any thoughts on why the step-by-step solutions don’t deal with the case when the base = -1
Perhaps the programmer who taught W|A how to solve equations step-by-step had in mind only the real case and did not contemplate that Log in certain situations is a multivalued “function”. Step 2 in the complex domain is wrong: the logarithm of the right-hand side is not zero, but rather 2n*I*Pi.
We do not currently support this in our step-by-step solutions, but it is a new feature that we are experimenting with in the Wolfram Alpha Notebooks. For more information on this topic please see the following quick help page:
Hi Michael,
I’m sorry for the confusion. Wolfram|Alpha does not currently support complex numbers within our step-by-step solutions. We are looking into supporting this feature.
The interesting thing here is that complex numbers aren’t necessarily involved. The two solutions missing from the step-by-step can be found by setting the base euqal to -1, finding the roots and checking that the power is even.
I suppose that in a programming context that’s a bit too much in the realm of “by inspection” . . .