Solve for p
p=-\sqrt{7}q+1
Solve for q
q=-\frac{\sqrt{7}\left(p-1\right)}{7}
Share
Copied to clipboard
p+\sqrt{7}q=1
Square both sides of the equation.
p+\sqrt{7}q-\sqrt{7}q=1-\sqrt{7}q
Subtract q\sqrt{7} from both sides of the equation.
p=1-\sqrt{7}q
Subtracting q\sqrt{7} from itself leaves 0.
p=-\sqrt{7}q+1
Subtract q\sqrt{7} from 1.
\sqrt{7}q+p=1
Square both sides of the equation.
\sqrt{7}q+p-p=1-p
Subtract p from both sides of the equation.
\sqrt{7}q=1-p
Subtracting p from itself leaves 0.
\frac{\sqrt{7}q}{\sqrt{7}}=\frac{1-p}{\sqrt{7}}
Divide both sides by \sqrt{7}.
q=\frac{1-p}{\sqrt{7}}
Dividing by \sqrt{7} undoes the multiplication by \sqrt{7}.
q=\frac{\sqrt{7}\left(1-p\right)}{7}
Divide 1-p by \sqrt{7}.
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}