Solve for x
x=0
Graph
Share
Copied to clipboard
\left(2-x\right)^{2}=\left(\sqrt{4-x}\right)^{2}
Square both sides of the equation.
4-4x+x^{2}=\left(\sqrt{4-x}\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(2-x\right)^{2}.
4-4x+x^{2}=4-x
Calculate \sqrt{4-x} to the power of 2 and get 4-x.
4-4x+x^{2}-4=-x
Subtract 4 from both sides.
-4x+x^{2}=-x
Subtract 4 from 4 to get 0.
-4x+x^{2}+x=0
Add x to both sides.
-3x+x^{2}=0
Combine -4x and x to get -3x.
x\left(-3+x\right)=0
Factor out x.
x=0 x=3
To find equation solutions, solve x=0 and -3+x=0.
2-0=\sqrt{4-0}
Substitute 0 for x in the equation 2-x=\sqrt{4-x}.
2=2
Simplify. The value x=0 satisfies the equation.
2-3=\sqrt{4-3}
Substitute 3 for x in the equation 2-x=\sqrt{4-x}.
-1=1
Simplify. The value x=3 does not satisfy the equation because the left and the right hand side have opposite signs.
x=0
Equation 2-x=\sqrt{4-x} has a unique solution.
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}