The perfect square
Let's highlight the perfect square of the square three-member
$$6 y^{2} + \left(- x^{2} + 9 x y\right)$$
Let us write down the identical expression
$$6 y^{2} + \left(- x^{2} + 9 x y\right) = \frac{105 y^{2}}{4} + \left(- x^{2} + 9 x y - \frac{81 y^{2}}{4}\right)$$
or
$$6 y^{2} + \left(- x^{2} + 9 x y\right) = \frac{105 y^{2}}{4} - \left(x - \frac{9 y}{2}\right)^{2}$$
/ / _____\\ / / _____\\
| y*\9 - \/ 105 /| | y*\9 + \/ 105 /|
|x - ---------------|*|x - ---------------|
\ 2 / \ 2 /
$$\left(x - \frac{y \left(9 - \sqrt{105}\right)}{2}\right) \left(x - \frac{y \left(9 + \sqrt{105}\right)}{2}\right)$$
(x - y*(9 - sqrt(105))/2)*(x - y*(9 + sqrt(105))/2)
General simplification
[src]
$$- x^{2} + 9 x y + 6 y^{2}$$
Combining rational expressions
[src]
$$x \left(- x + 9 y\right) + 6 y^{2}$$
$$- x^{2} + 9 x y + 6 y^{2}$$
Assemble expression
[src]
$$- x^{2} + 9 x y + 6 y^{2}$$
$$- x^{2} + 9 x y + 6 y^{2}$$
$$- x^{2} + 9 x y + 6 y^{2}$$
Rational denominator
[src]
$$- x^{2} + 9 x y + 6 y^{2}$$
$$- x^{2} + 9 x y + 6 y^{2}$$