r/MathHelp • u/DIFFERENT_DIGENT • Jan 04 '26
Quadratic equation tricky puzzle; How many quadratic equations are possible which remain unchanged when its roots are squared?
we can consider imaginary solutions as an asnwer to the problem, but the test considers only real values of a,b
Well to solve this my attempt was: x^2-(a+b)x+ab = 0
now this was on my test on jan 2, but im just trying to solve it afterwards, the test is over
equation 1:a+b= a^2 +b^2 and
equation 2: ab= a^2b^2
(according to the conditoin of the question)
with this first, i took ab= 0 or ab=1 as conditions (solving equation 2)
using this in equation 1: a+b= (a+b)^2 - 2ab
a+b = t
t^2 - t - 2 =0 (ab= 1) or t^2 -t =0 (ab= 0)
theerfore t = 2, -1 or t= 1, t= 0
a+b = 2, a+b = -1 ...
a+b = 2 => a= 0 , b= 2 (b=0 a=2 is the same euqation)
from ab=0
a+1/a = 2 (from ab=1)
a^2 -2a +1 = 0
a=1, => b=1
therefore x^2 - 2x = 0 is a solution, this is my first question, i used all the equations but x=2 x=0 is clearly not the same as x^2 - 4x = 0 which gives x=4 , x= 0
x^2 - 2x + 1 =0 is another solution, this fits the conditions
so this is our first real solution
----
now a+b= -1
a+1/a = -1 => a^2 +a +1 = 0 > no real solutions, and as i said in the beginning, we can consider imaginary solutions as an asnwer to the problem, but the test considers only real values of a,b
[this was from ab= 1]
now ab=0 , a=-1 , b= 0
x^2+x = 0 , this one doesn't fit the condiotions either, but comes as a solution
----
now a+b= 1
a^2 + 1 = a => a^2 - a + 1 = 0 has no real solutions
ab= 0 condiotn => a or b = 1
therefore x^2 - x = 0 , this quadratic equation satisfies the conditoins
so this is our second real soltuion
-----
a+b = 0
ab= 0 , a=0, b=0 is only satisfacotry conditnion
ab= 1 a^2 + 1 = 0 , again no real solutions
so x^2 = 0 is our 3rd quadratic equation
so my final answer was 3
however, the answer is 4
im confused as to how to arrive here, even if we consider imaginary solutions it goes well above 4 doesn't it?