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