Solve for p
p=25
Share
Copied to clipboard
-2\sqrt{p}=15-p
Subtract p from both sides of the equation.
\left(-2\sqrt{p}\right)^{2}=\left(15-p\right)^{2}
Square both sides of the equation.
\left(-2\right)^{2}\left(\sqrt{p}\right)^{2}=\left(15-p\right)^{2}
Expand \left(-2\sqrt{p}\right)^{2}.
4\left(\sqrt{p}\right)^{2}=\left(15-p\right)^{2}
Calculate -2 to the power of 2 and get 4.
4p=\left(15-p\right)^{2}
Calculate \sqrt{p} to the power of 2 and get p.
4p=225-30p+p^{2}
Use binomial theorem \left(a-b\right)^{2}=a^{2}-2ab+b^{2} to expand \left(15-p\right)^{2}.
4p-225=-30p+p^{2}
Subtract 225 from both sides.
4p-225+30p=p^{2}
Add 30p to both sides.
34p-225=p^{2}
Combine 4p and 30p to get 34p.
34p-225-p^{2}=0
Subtract p^{2} from both sides.
-p^{2}+34p-225=0
Rearrange the polynomial to put it in standard form. Place the terms in order from highest to lowest power.
a+b=34 ab=-\left(-225\right)=225
To solve the equation, factor the left hand side by grouping. First, left hand side needs to be rewritten as -p^{2}+ap+bp-225. To find a and b, set up a system to be solved.
1,225 3,75 5,45 9,25 15,15
Since ab is positive, a and b have the same sign. Since a+b is positive, a and b are both positive. List all such integer pairs that give product 225.
1+225=226 3+75=78 5+45=50 9+25=34 15+15=30
Calculate the sum for each pair.
a=25 b=9
The solution is the pair that gives sum 34.
\left(-p^{2}+25p\right)+\left(9p-225\right)
Rewrite -p^{2}+34p-225 as \left(-p^{2}+25p\right)+\left(9p-225\right).
-p\left(p-25\right)+9\left(p-25\right)
Factor out -p in the first and 9 in the second group.
\left(p-25\right)\left(-p+9\right)
Factor out common term p-25 by using distributive property.
p=25 p=9
To find equation solutions, solve p-25=0 and -p+9=0.
25-2\sqrt{25}=15
Substitute 25 for p in the equation p-2\sqrt{p}=15.
15=15
Simplify. The value p=25 satisfies the equation.
9-2\sqrt{9}=15
Substitute 9 for p in the equation p-2\sqrt{p}=15.
3=15
Simplify. The value p=9 does not satisfy the equation.
p=25
Equation -2\sqrt{p}=15-p 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}