Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

x^{2}-5x+4=\left(x-1\right)^{2}
Multiply x-1 and x-1 to get \left(x-1\right)^{2}.
x^{2}-5x+4=x^{2}-2x+1
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-1\right)^{2}.
x^{2}-5x+4-x^{2}=-2x+1
Subtract x^{2} from both sides.
-5x+4=-2x+1
Combine x^{2} and -x^{2} to get 0.
-5x+4+2x=1
Add 2x to both sides.
-3x+4=1
Combine -5x and 2x to get -3x.
-3x=1-4
Subtract 4 from both sides.
-3x=-3
Subtract 4 from 1 to get -3.
x=\frac{-3}{-3}
Divide both sides by -3.
x=1
Divide -3 by -3 to get 1.