The teacher will be very surprised to see your correct solution 😉
a*y^2 + b*y + c = 0
D = b^2 - 4 * a * c =
(x)^2 - 4 * (1) * (x^2) = -3*x^2
y1 = (-b + sqrt(D)) / (2*a)
y2 = (-b - sqrt(D)) / (2*a)
/ ___ \ ___ re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x) y1 = - ----- + I*|- ----- + -----------| - ----------- 2 \ 2 2 / 2
/ ___ \ ___ re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x) y2 = - ----- + I*|- ----- - -----------| + ----------- 2 \ 2 2 / 2
y2 = i*(-sqrt(3)*re(x)/2 - im(x)/2) - re(x)/2 + sqrt(3)*im(x)/2
sum
/ ___ \ ___ / ___ \ ___ re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x) re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x) - ----- + I*|- ----- + -----------| - ----------- + - ----- + I*|- ----- - -----------| + ----------- 2 \ 2 2 / 2 2 \ 2 2 / 2
=
/ ___ \ / ___ \ | im(x) \/ 3 *re(x)| | im(x) \/ 3 *re(x)| -re(x) + I*|- ----- + -----------| + I*|- ----- - -----------| \ 2 2 / \ 2 2 /
product
/ / ___ \ ___ \ / / ___ \ ___ \ | re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x)| | re(x) | im(x) \/ 3 *re(x)| \/ 3 *im(x)| |- ----- + I*|- ----- + -----------| - -----------|*|- ----- + I*|- ----- - -----------| + -----------| \ 2 \ 2 2 / 2 / \ 2 \ 2 2 / 2 /
=
2 2 re (x) - im (x) + 2*I*im(x)*re(x)
re(x)^2 - im(x)^2 + 2*i*im(x)*re(x)