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 = 9$$
$$b = -3$$
True
, entonces
D = b^2 - 4 * a * c =
(-3)^2 - 4 * (9) * (c) = 9 - 36*c
La ecuación tiene dos raíces.
x1 = (-b + sqrt(D)) / (2*a)
x2 = (-b - sqrt(D)) / (2*a)
o
$$x_{1} = \frac{\sqrt{9 - 36 c}}{18} + \frac{1}{6}$$
$$x_{2} = \frac{1}{6} - \frac{\sqrt{9 - 36 c}}{18}$$
Teorema de Cardano-Vieta
reescribamos la ecuación
$$c + \left(9 x^{2} - 3 x\right) = 0$$
de
$$a x^{2} + b x + c = 0$$
como ecuación cuadrática reducida
$$x^{2} + \frac{b x}{a} + \frac{c}{a} = 0$$
$$\frac{c}{9} + x^{2} - \frac{x}{3} = 0$$
$$p x + q + x^{2} = 0$$
donde
$$p = \frac{b}{a}$$
$$p = - \frac{1}{3}$$
$$q = \frac{c}{a}$$
$$q = \frac{c}{9}$$
Fórmulas de Cardano-Vieta
$$x_{1} + x_{2} = - p$$
$$x_{1} x_{2} = q$$
$$x_{1} + x_{2} = \frac{1}{3}$$
$$x_{1} x_{2} = \frac{c}{9}$$
Suma y producto de raíces
[src]
____________________________ ____________________________ ____________________________ ____________________________
4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\
\/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------| \/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------|
1 \ 2 / \ 2 / 1 \ 2 / \ 2 /
- - ----------------------------------------------------------------- - ------------------------------------------------------------------- + - + ----------------------------------------------------------------- + -------------------------------------------------------------------
6 6 6 6 6 6
$$\left(- \frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} - \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}\right) + \left(\frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}\right)$$
$$\frac{1}{3}$$
/ ____________________________ ____________________________ \ / ____________________________ ____________________________ \
| 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\| | 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\|
| \/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------|| | \/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------||
|1 \ 2 / \ 2 /| |1 \ 2 / \ 2 /|
|- - ----------------------------------------------------------------- - -------------------------------------------------------------------|*|- + ----------------------------------------------------------------- + -------------------------------------------------------------------|
\6 6 6 / \6 6 6 /
$$\left(- \frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} - \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}\right) \left(\frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}\right)$$
re(c) I*im(c)
----- + -------
9 9
$$\frac{\operatorname{re}{\left(c\right)}}{9} + \frac{i \operatorname{im}{\left(c\right)}}{9}$$
____________________________ ____________________________
4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\
\/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------|
1 \ 2 / \ 2 /
x1 = - - ----------------------------------------------------------------- - -------------------------------------------------------------------
6 6 6
$$x_{1} = - \frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} - \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}$$
____________________________ ____________________________
4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\ 4 / 2 2 /atan2(-4*im(c), 1 - 4*re(c))\
\/ (1 - 4*re(c)) + 16*im (c) *cos|----------------------------| I*\/ (1 - 4*re(c)) + 16*im (c) *sin|----------------------------|
1 \ 2 / \ 2 /
x2 = - + ----------------------------------------------------------------- + -------------------------------------------------------------------
6 6 6
$$x_{2} = \frac{i \sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \sin{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{\sqrt[4]{\left(1 - 4 \operatorname{re}{\left(c\right)}\right)^{2} + 16 \left(\operatorname{im}{\left(c\right)}\right)^{2}} \cos{\left(\frac{\operatorname{atan_{2}}{\left(- 4 \operatorname{im}{\left(c\right)},1 - 4 \operatorname{re}{\left(c\right)} \right)}}{2} \right)}}{6} + \frac{1}{6}$$
x2 = i*((1 - 4*re(c))^2 + 16*im(c)^2)^(1/4)*sin(atan2(-4*im(c, 1 - 4*re(c))/2)/6 + ((1 - 4*re(c))^2 + 16*im(c)^2)^(1/4)*cos(atan2(-4*im(c), 1 - 4*re(c))/2)/6 + 1/6)