Solve for x
x=7
Graph
Share
Copied to clipboard
\left(x-4\right)^{2}=\left(\sqrt{x+2}\right)^{2}
Square both sides of the equation.
x^{2}-8x+16=\left(\sqrt{x+2}\right)^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(x-4\right)^{2}.
x^{2}-8x+16=x+2
Calculate \sqrt{x+2} to the power of 2 and get x+2.
x^{2}-8x+16-x=2
Subtract x from both sides.
x^{2}-9x+16=2
Combine -8x and -x to get -9x.
x^{2}-9x+16-2=0
Subtract 2 from both sides.
x^{2}-9x+14=0
Subtract 2 from 16 to get 14.
a+b=-9 ab=14
To solve the equation, factor x^{2}-9x+14 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,-14 -2,-7
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 14.
-1-14=-15 -2-7=-9
Calculate the sum for each pair.
a=-7 b=-2
The solution is the pair that gives sum -9.
\left(x-7\right)\left(x-2\right)
Rewrite factored expression \left(x+a\right)\left(x+b\right) using the obtained values.
x=7 x=2
To find equation solutions, solve x-7=0 and x-2=0.
7-4=\sqrt{7+2}
Substitute 7 for x in the equation x-4=\sqrt{x+2}.
3=3
Simplify. The value x=7 satisfies the equation.
2-4=\sqrt{2+2}
Substitute 2 for x in the equation x-4=\sqrt{x+2}.
-2=2
Simplify. The value x=2 does not satisfy the equation because the left and the right hand side have opposite signs.
x=7
Equation x-4=\sqrt{x+2} 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}