Solving Single Variable Linear Equations

What is a Single Variable Linear Equation?

A single variable linear equation is an equation that has only one variable and no exponents or radicals (like x + 5 = 3).

Isolate the Variable

Solving a single variable linear equation is all about trying isolate the variable so that it is by itself on one side of the equation.

First Distribute (if applicable)

If there are any terms in parentheses in the equation that are multiplied by a number, you need to distribute that number to the terms inside the parentheses. For example, take the equation below:
$$2(x + 5) = -4x + 16$$
We'll start by distributing the 2 to the x and the 5, resulting in:
$$2x + 10 = -4x + 16$$

Add and Subtract Terms to Get the Variable on One Side

The next thing you need to do is manipulate the equation so that every term that includes the variable is on one side of the equation. Let's continue with our example from above:
$$2x + 10 = -4x + 16$$
First, let's get all the terms with x on one side of the equation. We can either do this by subtracting 2x from both sides of the equation, or by adding 4x to both sides of the equation. Let's do the second option, because then we'll end up with a positive coefficient for x.
$$2x + 10 + 4x = -4x + 16 + 4x$$
Next we combine "like terms" on both sides of the equation. Like terms are terms that have the same variable and exponent. In this case, on the left side of the equation, 2x and 4x are like terms, so we can simply add those together to get 6x, as shown below. On the right side of the equation, -4x and 4x are like terms, so they add together to cancel each other out, resulting in the equation below:
$$6x + 10 = 16$$

Add and Subtract Constants to Get the Variable by Itself

Now that the variable is only on one side of the equation, we want to get everything that doesn't have the variable on the other side of the equation. In our example, we want to get rid of the 10 on the left side of the equation. We can do this by subtracting 10 from both sides of the equation, resulting in the equation below:
$$6x + 10 - 10 = 16 - 10$$
This simplifies to:
$$6x = 6$$

Divide by the Coefficient

Now that the variable is contained in a single term, and is by itself on one side of the equation, to get the variable completely by itself we need to get rid of the coefficient of the variable, if it has one. We do this by dividing both sides of the equation by the coefficient. In our example, the coefficient of the variable is 6, so we'll divide both sides of the equation by 6, resulting in the equation below:
$$\frac{6x}{6} = \frac{6}{6}$$
This simplifies to:
$$x = 1$$

If the Variable is in the Denominator

Sometimes, linear equations can be in a bit more complex form, where the variable is in the denominator of a fraction. For example, the equation below has x in the denominator:
$$\frac{2}{x + 3} + 10 = 15$$
Like before, first we want to get terms involving the variable on one side of the equation, with all other terms on the other side. We can do this by subtracting 10 from both sides of the equation, resulting in the equation below:
$$\frac{2}{x + 3} = 5$$
Ultimately, we don't want the variable in the denominator, so we want to get rid of the denominator in that fraction. We can do this by multiplying both sides of the equation by the denominator, which is x + 3, resulting in the equation below:
$$\frac{2\left(x+3\right)}{x+3}=5\left(x+3\right)$$
The x + 3 on the numerator and denominator on the left side of the equation cancels out, leaving us with the equation below:
$$2 = 5(x + 3)$$
Now we can solve for x like we did before, with the following steps:
$$2 = 5x + 15$$
$$2 - 15 = 5x + 15 - 15$$
$$-13 = 5x$$
$$\frac{-13}{5} = \frac{5x}{5}$$
$$-\frac{13}{5} = x$$