Solve for x
x=1
x=5
Graph
Share
Copied to clipboard
\sqrt{-x+5}=2-\sqrt{x-1}
Subtract \sqrt{x-1} from both sides of the equation.
\left(\sqrt{-x+5}\right)^{2}=\left(2-\sqrt{x-1}\right)^{2}
Square both sides of the equation.
-x+5=\left(2-\sqrt{x-1}\right)^{2}
Calculate \sqrt{-x+5} to the power of 2 and get -x+5.
-x+5=4-4\sqrt{x-1}+\left(\sqrt{x-1}\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(2-\sqrt{x-1}\right)^{2}.
-x+5=4-4\sqrt{x-1}+x-1
Calculate \sqrt{x-1} to the power of 2 and get x-1.
-x+5=3-4\sqrt{x-1}+x
Subtract 1 from 4 to get 3.
-x+5-\left(3+x\right)=-4\sqrt{x-1}
Subtract 3+x from both sides of the equation.
-x+5-3-x=-4\sqrt{x-1}
To find the opposite of 3+x, find the opposite of each term.
-x+2-x=-4\sqrt{x-1}
Subtract 3 from 5 to get 2.
\left(-x+2-x\right)^{2}=\left(-4\sqrt{x-1}\right)^{2}
Square both sides of the equation.
x^{2}-2\left(-x\right)x-4x+4\left(-x\right)+\left(-x\right)^{2}+4=\left(-4\sqrt{x-1}\right)^{2}
Square -x+2-x.
x^{2}+2xx-4x+4\left(-x\right)+\left(-x\right)^{2}+4=\left(-4\sqrt{x-1}\right)^{2}
Multiply -2 and -1 to get 2.
x^{2}+2x^{2}-4x+4\left(-x\right)+\left(-x\right)^{2}+4=\left(-4\sqrt{x-1}\right)^{2}
Multiply x and x to get x^{2}.
3x^{2}-4x+4\left(-x\right)+\left(-x\right)^{2}+4=\left(-4\sqrt{x-1}\right)^{2}
Combine x^{2} and 2x^{2} to get 3x^{2}.
3x^{2}-4x+4\left(-x\right)+x^{2}+4=\left(-4\sqrt{x-1}\right)^{2}
Calculate -x to the power of 2 and get x^{2}.
4x^{2}-4x+4\left(-x\right)+4=\left(-4\sqrt{x-1}\right)^{2}
Combine 3x^{2} and x^{2} to get 4x^{2}.
4x^{2}-4x+4\left(-x\right)+4=\left(-4\right)^{2}\left(\sqrt{x-1}\right)^{2}
Expand \left(-4\sqrt{x-1}\right)^{2}.
4x^{2}-4x+4\left(-x\right)+4=16\left(\sqrt{x-1}\right)^{2}
Calculate -4 to the power of 2 and get 16.
4x^{2}-4x+4\left(-x\right)+4=16\left(x-1\right)
Calculate \sqrt{x-1} to the power of 2 and get x-1.
4x^{2}-4x+4\left(-x\right)+4=16x-16
Use the distributive property to multiply 16 by x-1.
4x^{2}-4x+4\left(-x\right)+4-16x=-16
Subtract 16x from both sides.
4x^{2}-20x+4\left(-x\right)+4=-16
Combine -4x and -16x to get -20x.
4x^{2}-20x+4\left(-x\right)+4+16=0
Add 16 to both sides.
4x^{2}-20x+4\left(-x\right)+20=0
Add 4 and 16 to get 20.
4x^{2}-20x-4x+20=0
Multiply 4 and -1 to get -4.
4x^{2}-24x+20=0
Combine -20x and -4x to get -24x.
x^{2}-6x+5=0
Divide both sides by 4.
a+b=-6 ab=1\times 5=5
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as x^{2}+ax+bx+5. To find a and b, set up a system to be solved.
a=-5 b=-1
Since ab is positive, a and b have the same sign. Since a+b is negative, a and b are both negative. The only such pair is the system solution.
\left(x^{2}-5x\right)+\left(-x+5\right)
Rewrite x^{2}-6x+5 as \left(x^{2}-5x\right)+\left(-x+5\right).
x\left(x-5\right)-\left(x-5\right)
Factor out x in the first and -1 in the second group.
\left(x-5\right)\left(x-1\right)
Factor out common term x-5 by using distributive property.
x=5 x=1
To find equation solutions, solve x-5=0 and x-1=0.
\sqrt{-5+5}+\sqrt{5-1}=2
Substitute 5 for x in the equation \sqrt{-x+5}+\sqrt{x-1}=2.
2=2
Simplify. The value x=5 satisfies the equation.
\sqrt{-1+5}+\sqrt{1-1}=2
Substitute 1 for x in the equation \sqrt{-x+5}+\sqrt{x-1}=2.
2=2
Simplify. The value x=1 satisfies the equation.
x=5 x=1
List all solutions of \sqrt{5-x}=-\sqrt{x-1}+2.
Examples
Quadratic equation
{ x } ^ { 2 } - 4 x - 5 = 0
Trigonometry
4 \sin \theta \cos \theta = 2 \sin \theta
Linear equation
y = 3x + 4
Arithmetic
699 * 533
Matrix
\left[ \begin{array} { l l } { 2 } & { 3 } \\ { 5 } & { 4 } \end{array} \right] \left[ \begin{array} { l l l } { 2 } & { 0 } & { 3 } \\ { -1 } & { 1 } & { 5 } \end{array} \right]
Simultaneous equation
\left. \begin{cases} { 8x+2y = 46 } \\ { 7x+3y = 47 } \end{cases} \right.
Differentiation
\frac { d } { d x } \frac { ( 3 x ^ { 2 } - 2 ) } { ( x - 5 ) }
Integration
\int _ { 0 } ^ { 1 } x e ^ { - x ^ { 2 } } d x
Limits
\lim _{x \rightarrow-3} \frac{x^{2}-9}{x^{2}+2 x-3}