Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

x^{2}-2x-5=0
To solve the inequality, factor the left hand side. Quadratic polynomial can be factored using the transformation ax^{2}+bx+c=a\left(x-x_{1}\right)\left(x-x_{2}\right), where x_{1} and x_{2} are the solutions of the quadratic equation ax^{2}+bx+c=0.
x=\frac{-\left(-2\right)±\sqrt{\left(-2\right)^{2}-4\times 1\left(-5\right)}}{2}
All equations of the form ax^{2}+bx+c=0 can be solved using the quadratic formula: \frac{-b±\sqrt{b^{2}-4ac}}{2a}. Substitute 1 for a, -2 for b, and -5 for c in the quadratic formula.
x=\frac{2±2\sqrt{6}}{2}
Do the calculations.
x=\sqrt{6}+1 x=1-\sqrt{6}
Solve the equation x=\frac{2±2\sqrt{6}}{2} when ± is plus and when ± is minus.
\left(x-\left(\sqrt{6}+1\right)\right)\left(x-\left(1-\sqrt{6}\right)\right)<0
Rewrite the inequality by using the obtained solutions.
x-\left(\sqrt{6}+1\right)>0 x-\left(1-\sqrt{6}\right)<0
For the product to be negative, x-\left(\sqrt{6}+1\right) and x-\left(1-\sqrt{6}\right) have to be of the opposite signs. Consider the case when x-\left(\sqrt{6}+1\right) is positive and x-\left(1-\sqrt{6}\right) is negative.
x\in \emptyset
This is false for any x.
x-\left(1-\sqrt{6}\right)>0 x-\left(\sqrt{6}+1\right)<0
Consider the case when x-\left(1-\sqrt{6}\right) is positive and x-\left(\sqrt{6}+1\right) is negative.
x\in \left(1-\sqrt{6},\sqrt{6}+1\right)
The solution satisfying both inequalities is x\in \left(1-\sqrt{6},\sqrt{6}+1\right).
x\in \left(1-\sqrt{6},\sqrt{6}+1\right)
The final solution is the union of the obtained solutions.