Skip to main content
Solve for p (complex solution)
Tick mark Image
Solve for q (complex solution)
Tick mark Image
Solve for p
Tick mark Image
Solve for q
Tick mark Image
Graph

Similar Problems from Web Search

Share

x^{2}+px+6=x^{2}-3x+qx-3q
Use the distributive property to multiply x+q by x-3.
px+6=x^{2}-3x+qx-3q-x^{2}
Subtract x^{2} from both sides.
px+6=-3x+qx-3q
Combine x^{2} and -x^{2} to get 0.
px=-3x+qx-3q-6
Subtract 6 from both sides.
xp=qx-3x-3q-6
The equation is in standard form.
\frac{xp}{x}=\frac{qx-3x-3q-6}{x}
Divide both sides by x.
p=\frac{qx-3x-3q-6}{x}
Dividing by x undoes the multiplication by x.
x^{2}+px+6=x^{2}-3x+qx-3q
Use the distributive property to multiply x+q by x-3.
x^{2}-3x+qx-3q=x^{2}+px+6
Swap sides so that all variable terms are on the left hand side.
-3x+qx-3q=x^{2}+px+6-x^{2}
Subtract x^{2} from both sides.
-3x+qx-3q=px+6
Combine x^{2} and -x^{2} to get 0.
qx-3q=px+6+3x
Add 3x to both sides.
\left(x-3\right)q=px+6+3x
Combine all terms containing q.
\left(x-3\right)q=px+3x+6
The equation is in standard form.
\frac{\left(x-3\right)q}{x-3}=\frac{px+3x+6}{x-3}
Divide both sides by x-3.
q=\frac{px+3x+6}{x-3}
Dividing by x-3 undoes the multiplication by x-3.
x^{2}+px+6=x^{2}-3x+qx-3q
Use the distributive property to multiply x+q by x-3.
px+6=x^{2}-3x+qx-3q-x^{2}
Subtract x^{2} from both sides.
px+6=-3x+qx-3q
Combine x^{2} and -x^{2} to get 0.
px=-3x+qx-3q-6
Subtract 6 from both sides.
xp=qx-3x-3q-6
The equation is in standard form.
\frac{xp}{x}=\frac{qx-3x-3q-6}{x}
Divide both sides by x.
p=\frac{qx-3x-3q-6}{x}
Dividing by x undoes the multiplication by x.
x^{2}+px+6=x^{2}-3x+qx-3q
Use the distributive property to multiply x+q by x-3.
x^{2}-3x+qx-3q=x^{2}+px+6
Swap sides so that all variable terms are on the left hand side.
-3x+qx-3q=x^{2}+px+6-x^{2}
Subtract x^{2} from both sides.
-3x+qx-3q=px+6
Combine x^{2} and -x^{2} to get 0.
qx-3q=px+6+3x
Add 3x to both sides.
\left(x-3\right)q=px+6+3x
Combine all terms containing q.
\left(x-3\right)q=px+3x+6
The equation is in standard form.
\frac{\left(x-3\right)q}{x-3}=\frac{px+3x+6}{x-3}
Divide both sides by x-3.
q=\frac{px+3x+6}{x-3}
Dividing by x-3 undoes the multiplication by x-3.