Given the equation: x+x2=3 Multiply the equation sides by the denominators: and x we get: x(x+x2)=3x x2+2=3x Move right part of the equation to left part with negative sign.
The equation is transformed from x2+2=3x to x2−3x+2=0 This equation is of the form
a*x^2 + b*x + c = 0
A quadratic equation can be solved using the discriminant. The roots of the quadratic equation: x1=2aD−b x2=2a−D−b where D = b^2 - 4*a*c - it is the discriminant. Because a=1 b=−3 c=2 , then