Solución detallada
Es la ecuación de la forma
a*x^2 + b*x + c = 0
La ecuación cuadrática puede ser resuelta
con la ayuda del discriminante.
Las raíces de la ecuación cuadrática:
$$x_{1} = \frac{\sqrt{D} - b}{2 a}$$
$$x_{2} = \frac{- \sqrt{D} - b}{2 a}$$
donde D = b^2 - 4*a*c es el discriminante.
Como
$$a = 1$$
$$b = 2 a$$
$$c = 6 a$$
, entonces
D = b^2 - 4 * a * c =
(2*a)^2 - 4 * (1) * (6*a) = -24*a + 4*a^2
La ecuación tiene dos raíces.
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
o
$$x_{1} = - a + \frac{\sqrt{4 a^{2} - 24 a}}{2}$$
$$x_{2} = - a - \frac{\sqrt{4 a^{2} - 24 a}}{2}$$
Suma y producto de raíces
[src]
/ ________________________________________________________________________ \ ________________________________________________________________________ / ________________________________________________________________________ \ ________________________________________________________________________
| / 2 / / 2 \\| / 2 / / 2 \\ | / 2 / / 2 \\| / 2 / / 2 \\
| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/| | 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|
-re(a) + I*|-im(a) - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------| + -re(a) + I*|-im(a) + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------|
\ \ 2 // \ 2 / \ \ 2 // \ 2 /
$$\left(i \left(- \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) - \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}\right) + \left(i \left(\sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) + \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}\right)$$
/ ________________________________________________________________________ \ / ________________________________________________________________________ \
| / 2 / / 2 \\| | / 2 / / 2 \\|
| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| | 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/||
-2*re(a) + I*|-im(a) + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| + I*|-im(a) - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------||
\ \ 2 // \ \ 2 //
$$i \left(- \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) + i \left(\sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) - 2 \operatorname{re}{\left(a\right)}$$
/ / ________________________________________________________________________ \ ________________________________________________________________________ \ / / ________________________________________________________________________ \ ________________________________________________________________________ \
| | / 2 / / 2 \\| / 2 / / 2 \\| | | / 2 / / 2 \\| / 2 / / 2 \\|
| | 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| | | 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/||
|-re(a) + I*|-im(a) - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------||*|-re(a) + I*|-im(a) + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------||
\ \ \ 2 // \ 2 // \ \ \ 2 // \ 2 //
$$\left(i \left(- \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) - \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}\right) \left(i \left(\sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) + \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}\right)$$
$$6 \operatorname{re}{\left(a\right)} + 6 i \operatorname{im}{\left(a\right)}$$
/ ________________________________________________________________________ \ ________________________________________________________________________
| / 2 / / 2 \\| / 2 / / 2 \\
| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|
x1 = -re(a) + I*|-im(a) - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| - \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------|
\ \ 2 // \ 2 /
$$x_{1} = i \left(- \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) - \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}$$
/ ________________________________________________________________________ \ ________________________________________________________________________
| / 2 / / 2 \\| / 2 / / 2 \\
| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|| 4 / / 2 \ 2 |atan2\(-6 + re(a))*im(a) + im(a)*re(a), - im (a) + (-6 + re(a))*re(a)/|
x2 = -re(a) + I*|-im(a) + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *sin|----------------------------------------------------------------------|| + \/ \- im (a) + (-6 + re(a))*re(a)/ + ((-6 + re(a))*im(a) + im(a)*re(a)) *cos|----------------------------------------------------------------------|
\ \ 2 // \ 2 /
$$x_{2} = i \left(\sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{im}{\left(a\right)}\right) + \sqrt[4]{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2}\right)^{2} + \left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{im}{\left(a\right)} + \operatorname{re}{\left(a\right)} \operatorname{im}{\left(a\right)},\left(\operatorname{re}{\left(a\right)} - 6\right) \operatorname{re}{\left(a\right)} - \left(\operatorname{im}{\left(a\right)}\right)^{2} \right)}}{2} \right)} - \operatorname{re}{\left(a\right)}$$
x2 = i*((((re(a) - 6)*re(a) - im(a)^2)^2 + ((re(a) - 6)*im(a) + re(a)*im(a))^2)^(1/4)*sin(atan2((re(a) - 6)*im(a) + re(a)*im(a, (re(a) - 6)*re(a) - im(a)^2)/2) - im(a)) + (((re(a) - 6)*re(a) - im(a)^2)^2 + ((re(a) - 6)*im(a) + re(a)*im(a))^2)^(1/4)*cos(atan2((re(a) - 6)*im(a) + re(a)*im(a), (re(a) - 6)*re(a) - im(a)^2)/2) - re(a))