El profesor se sorprenderá mucho al ver tu solución correcta😉
2 / 2 \ (a - 3)*(a + 3)*x - \2*a + 5*a - 9/*x + a + 3 = 0
a*x^2 + b*x + c = 0
D = b^2 - 4 * a * c =
(9 - 5*a - 2*a^2)^2 - 4 * (-9 + a^2) * (3 + a) = (9 - 5*a - 2*a^2)^2 - (-36 + 4*a^2)*(3 + a)
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
/ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\ | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\| | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\| | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\ | |/ 2 2 \ | 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/| | | 2 2 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/|| | / 2 2 \ | 2 2 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/|| | 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/| | |\-9 + re (a) - im (a)/*|5*im(a) - \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *sin|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + 4*im(a)*re(a)| |-9 - 2*im (a) + 2*re (a) + 5*re(a) - \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *cos|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------||*im(a)*re(a)| \-9 + re (a) - im (a)/*|-9 - 2*im (a) + 2*re (a) + 5*re(a) - \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *cos|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| |5*im(a) - \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *sin|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + 4*im(a)*re(a)|*im(a)*re(a) | \ \ 2 / / \ \ 2 // | \ \ 2 // \ \ 2 / / x1 = I*|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | / 2 \ 2 | / 2 \ 2 | |/ 2 2 \ 2 2 | / 2 2 \ 2 2 | |/ 2 2 \ 2 2 | / 2 2 \ 2 2 \ 2*\\-9 + re (a) - im (a)/ + 4*im (a)*re (a)/ \-9 + re (a) - im (a)/ + 4*im (a)*re (a) / 2*\\-9 + re (a) - im (a)/ + 4*im (a)*re (a)/ \-9 + re (a) - im (a)/ + 4*im (a)*re (a)
/ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ / ____________________________________________________________________________________________________________________________________________________________________________________________________________________ \ | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\ | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\| | | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\| | / 2 2 / / 3 3 3 2 2 4 4 3 2 2 2 2 \\ | |/ 2 2 \ | 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/| | | 2 2 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/|| | / 2 2 \ | 2 2 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/|| | 4 / / 3 3 3 2 \ / 2 4 4 3 2 2 2 2 \ |atan2\-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a), 189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/| | |\-9 + re (a) - im (a)/*|5*im(a) + \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *sin|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + 4*im(a)*re(a)| |-9 - 2*im (a) + 2*re (a) + 5*re(a) + \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *cos|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------||*im(a)*re(a)| \-9 + re (a) - im (a)/*|-9 - 2*im (a) + 2*re (a) + 5*re(a) + \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *cos|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|| |5*im(a) + \/ \-54*im(a) - 16*im (a) - 46*im(a)*re(a) - 16*im (a)*re(a) + 16*re (a)*im(a) + 48*re (a)*im(a)/ + \189 - 54*re(a) - 23*re (a) + 4*im (a) + 4*re (a) + 16*re (a) + 23*im (a) - 48*im (a)*re(a) - 24*im (a)*re (a)/ *sin|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + 4*im(a)*re(a)|*im(a)*re(a) | \ \ 2 / / \ \ 2 // | \ \ 2 // \ \ 2 / / x2 = I*|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| + -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- + ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | / 2 \ 2 | / 2 \ 2 | |/ 2 2 \ 2 2 | / 2 2 \ 2 2 | |/ 2 2 \ 2 2 | / 2 2 \ 2 2 \ 2*\\-9 + re (a) - im (a)/ + 4*im (a)*re (a)/ \-9 + re (a) - im (a)/ + 4*im (a)*re (a) / 2*\\-9 + re (a) - im (a)/ + 4*im (a)*re (a)/ \-9 + re (a) - im (a)/ + 4*im (a)*re (a)
x2 = i*((((16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a))^2 + (4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)^2)^(1/4)*sin(atan2(16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a, 4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)/2) + 4*re(a)*im(a) + 5*im(a))*(re(a)^2 - im(a)^2 - 9)/(2*((re(a)^2 - im(a)^2 - 9)^2 + 4*re(a)^2*im(a)^2)) - (((16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a))^2 + (4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)^2)^(1/4)*cos(atan2(16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a), 4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)/2) + 2*re(a)^2 + 5*re(a) - 2*im(a)^2 - 9)*re(a)*im(a)/((re(a)^2 - im(a)^2 - 9)^2 + 4*re(a)^2*im(a)^2)) + (((16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a))^2 + (4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)^2)^(1/4)*sin(atan2(16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a), 4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)/2) + 4*re(a)*im(a) + 5*im(a))*re(a)*im(a)/((re(a)^2 - im(a)^2 - 9)^2 + 4*re(a)^2*im(a)^2) + (re(a)^2 - im(a)^2 - 9)*(((16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a))^2 + (4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)^2)^(1/4)*cos(atan2(16*re(a)^3*im(a) + 48*re(a)^2*im(a) - 16*re(a)*im(a)^3 - 46*re(a)*im(a) - 16*im(a)^3 - 54*im(a), 4*re(a)^4 + 16*re(a)^3 - 24*re(a)^2*im(a)^2 - 23*re(a)^2 - 48*re(a)*im(a)^2 - 54*re(a) + 4*im(a)^4 + 23*im(a)^2 + 189)/2) + 2*re(a)^2 + 5*re(a) - 2*im(a)^2 - 9)/(2*((re(a)^2 - im(a)^2 - 9)^2 + 4*re(a)^2*im(a)^2)))