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