Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

x-2=\sqrt{x}
Subtract 2 from both sides of the equation.
\left(x-2\right)^{2}=\left(\sqrt{x}\right)^{2}
Square both sides of the equation.
x^{2}-4x+4=\left(\sqrt{x}\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-2\right)^{2}.
x^{2}-4x+4=x
Calculate \sqrt{x} to the power of 2 and get x.
x^{2}-4x+4-x=0
Subtract x from both sides.
x^{2}-5x+4=0
Combine -4x and -x to get -5x.
a+b=-5 ab=4
To solve the equation, factor x^{2}-5x+4 using formula x^{2}+\left(a+b\right)x+ab=\left(x+a\right)\left(x+b\right). To find a and b, set up a system to be solved.
-1,-4 -2,-2
Since ab is positive, a and b have the same sign. Since a+b is negative, a and b are both negative. List all such integer pairs that give product 4.
-1-4=-5 -2-2=-4
Calculate the sum for each pair.
a=-4 b=-1
The solution is the pair that gives sum -5.
\left(x-4\right)\left(x-1\right)
Rewrite factored expression \left(x+a\right)\left(x+b\right) using the obtained values.
x=4 x=1
To find equation solutions, solve x-4=0 and x-1=0.
4=2+\sqrt{4}
Substitute 4 for x in the equation x=2+\sqrt{x}.
4=4
Simplify. The value x=4 satisfies the equation.
1=2+\sqrt{1}
Substitute 1 for x in the equation x=2+\sqrt{x}.
1=3
Simplify. The value x=1 does not satisfy the equation.
x=4
Equation x-2=\sqrt{x} has a unique solution.