Skip to main content
Solve for x
Tick mark Image
Graph

Similar Problems from Web Search

Share

\left(\sqrt{31-x}\right)^{2}=\left(x-1\right)^{2}
Square both sides of the equation.
31-x=\left(x-1\right)^{2}
Calculate \sqrt{31-x} to the power of 2 and get 31-x.
31-x=x^{2}-2x+1
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-1\right)^{2}.
31-x-x^{2}=-2x+1
Subtract x^{2} from both sides.
31-x-x^{2}+2x=1
Add 2x to both sides.
31+x-x^{2}=1
Combine -x and 2x to get x.
31+x-x^{2}-1=0
Subtract 1 from both sides.
30+x-x^{2}=0
Subtract 1 from 31 to get 30.
-x^{2}+x+30=0
Rearrange the polynomial to put it in standard form. Place the terms in order from highest to lowest power.
a+b=1 ab=-30=-30
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as -x^{2}+ax+bx+30. To find a and b, set up a system to be solved.
-1,30 -2,15 -3,10 -5,6
Since ab is negative, a and b have the opposite signs. Since a+b is positive, the positive number has greater absolute value than the negative. List all such integer pairs that give product -30.
-1+30=29 -2+15=13 -3+10=7 -5+6=1
Calculate the sum for each pair.
a=6 b=-5
The solution is the pair that gives sum 1.
\left(-x^{2}+6x\right)+\left(-5x+30\right)
Rewrite -x^{2}+x+30 as \left(-x^{2}+6x\right)+\left(-5x+30\right).
-x\left(x-6\right)-5\left(x-6\right)
Factor out -x in the first and -5 in the second group.
\left(x-6\right)\left(-x-5\right)
Factor out common term x-6 by using distributive property.
x=6 x=-5
To find equation solutions, solve x-6=0 and -x-5=0.
\sqrt{31-6}=6-1
Substitute 6 for x in the equation \sqrt{31-x}=x-1.
5=5
Simplify. The value x=6 satisfies the equation.
\sqrt{31-\left(-5\right)}=-5-1
Substitute -5 for x in the equation \sqrt{31-x}=x-1.
6=-6
Simplify. The value x=-5 does not satisfy the equation because the left and the right hand side have opposite signs.
x=6
Equation \sqrt{31-x}=x-1 has a unique solution.