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