Solve for a (complex solution)
\left\{\begin{matrix}\\a=-2\text{, }&\text{unconditionally}\\a\in \mathrm{C}\text{, }&x=2\end{matrix}\right.
Solve for x (complex solution)
\left\{\begin{matrix}\\x=2\text{, }&\text{unconditionally}\\x\in \mathrm{C}\text{, }&a=-2\end{matrix}\right.
Solve for a
\left\{\begin{matrix}\\a=-2\text{, }&\text{unconditionally}\\a\in \mathrm{R}\text{, }&x=2\end{matrix}\right.
Solve for x
\left\{\begin{matrix}\\x=2\text{, }&\text{unconditionally}\\x\in \mathrm{R}\text{, }&a=-2\end{matrix}\right.
Graph
Share
Copied to clipboard
ax+2x-2a=4
Subtract 2a from both sides.
ax-2a=4-2x
Subtract 2x from both sides.
\left(x-2\right)a=4-2x
Combine all terms containing a.
\frac{\left(x-2\right)a}{x-2}=\frac{4-2x}{x-2}
Divide both sides by -2+x.
a=\frac{4-2x}{x-2}
Dividing by -2+x undoes the multiplication by -2+x.
a=-2
Divide 4-2x by -2+x.
\left(a+2\right)x=2a+4
Combine all terms containing x.
\frac{\left(a+2\right)x}{a+2}=\frac{2a+4}{a+2}
Divide both sides by 2+a.
x=\frac{2a+4}{a+2}
Dividing by 2+a undoes the multiplication by 2+a.
x=2
Divide 4+2a by 2+a.
ax+2x-2a=4
Subtract 2a from both sides.
ax-2a=4-2x
Subtract 2x from both sides.
\left(x-2\right)a=4-2x
Combine all terms containing a.
\frac{\left(x-2\right)a}{x-2}=\frac{4-2x}{x-2}
Divide both sides by -2+x.
a=\frac{4-2x}{x-2}
Dividing by -2+x undoes the multiplication by -2+x.
a=-2
Divide 4-2x by -2+x.
\left(a+2\right)x=2a+4
Combine all terms containing x.
\frac{\left(a+2\right)x}{a+2}=\frac{2a+4}{a+2}
Divide both sides by 2+a.
x=\frac{2a+4}{a+2}
Dividing by 2+a undoes the multiplication by 2+a.
x=2
Divide 4+2a by 2+a.
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}