El profesor se sorprenderá mucho al ver tu solución correcta😉
2 / 2 \ a*x + \2*a + 1/*x + 2*a = 0
a*x^2 + b*x + c = 0
True
D = b^2 - 4 * a * c =
(1 + 2*a^2)^2 - 4 * (a) * (2*a) = (1 + 2*a^2)^2 - 8*a^2
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
suma
re(a) I*im(a) - --------------- + --------------- + -2*re(a) - 2*I*im(a) 2 2 2 2 im (a) + re (a) im (a) + re (a)
=
re(a) I*im(a) -2*re(a) - --------------- - 2*I*im(a) + --------------- 2 2 2 2 im (a) + re (a) im (a) + re (a)
producto
/ re(a) I*im(a) \ |- --------------- + ---------------|*(-2*re(a) - 2*I*im(a)) | 2 2 2 2 | \ im (a) + re (a) im (a) + re (a)/
=
2
2
re(a) I*im(a) x1 = - --------------- + --------------- 2 2 2 2 im (a) + re (a) im (a) + re (a)
x2 = -2*re(a) - 2*I*im(a)
x2 = -2*re(a) - 2*i*im(a)