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