Solve for x
x=5
Graph
Share
Copied to clipboard
\left(\sqrt{30-x}\right)^{2}=x^{2}
Square both sides of the equation.
30-x=x^{2}
Calculate \sqrt{30-x} to the power of 2 and get 30-x.
30-x-x^{2}=0
Subtract x^{2} from both sides.
-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 negative, the negative number has greater absolute value than the positive. 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=5 b=-6
The solution is the pair that gives sum -1.
\left(-x^{2}+5x\right)+\left(-6x+30\right)
Rewrite -x^{2}-x+30 as \left(-x^{2}+5x\right)+\left(-6x+30\right).
x\left(-x+5\right)+6\left(-x+5\right)
Factor out x in the first and 6 in the second group.
\left(-x+5\right)\left(x+6\right)
Factor out common term -x+5 by using distributive property.
x=5 x=-6
To find equation solutions, solve -x+5=0 and x+6=0.
\sqrt{30-5}=5
Substitute 5 for x in the equation \sqrt{30-x}=x.
5=5
Simplify. The value x=5 satisfies the equation.
\sqrt{30-\left(-6\right)}=-6
Substitute -6 for x in the equation \sqrt{30-x}=x.
6=-6
Simplify. The value x=-6 does not satisfy the equation because the left and the right hand side have opposite signs.
x=5
Equation \sqrt{30-x}=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}