# Linear Equations in One Variable

A linear equation in one variable is an equation involving constants and a single variable which only occurs to the first power. The following equations are linear equations in one variable:

The problem is to solve for the variable. To do this, you may:

1. Simplify either side alone, using basic arithmetic such as multiplying out or combining terms.

2. Add, subtract, multiply, or divide both sides by the same thing. You may not multiply or divide by 0.

The primary goal is to try to get all the variable terms on one side and all the number terms on the other. Once you've done this, the equation can be solved easily.

Example. Solve for x:

First, I added and subtracted 7 from both sides. Then all the x-terms wound up on one side and all the terms without x wound up on the other side.

Then dividing both sides by 13 solved for x.

While there are many mathematically correct ways to solve an equation, this general approach is often useful: Add or subtract to get the variable terms on one side and the number terms on the other, then divide to solve.

Finally, notice that I left the answer as . Unless you are told otherwise, you should leave answers in exact, simplified form: Don't give decimal approximations.

Example. Solve for p:

In this example, I'll arrange the arithmetic "vertically". Compare it to the work in the previous example and use whatever approach you like best.

The variable in this problem was p rather than the more-common x, but it doesn't affect how you solve the equation.

Example. Solve for x:

In this case, I start by multiplying out to eliminate the parentheses. This gives an equation like the ones in the earlier examples.

The next two examples have answers that may surprise you.

Example. Solve for x:

The x's are gone, and the last equation is false (a contradiction), since you know that 0 and 2 aren't equal. When this happens, it means that the original equation has no solutions.

If you know set notation, you can also write " ", the symbol for the empty set.

Don't answer with vague phrases like "can't be done", or nonstandard abbreviations like "DNE".

Example. Solve for x:

The x's are gone, and the last equation is true, since 0 is obviously equal to 0. When this happens, it means that the solution to the original equation is all real numbers.

If you want to be fancy or save some writing, you may write your answer as " " (the symbol for the real numbers --- notice the "double bar" on the " ").

You could also write " " (interval notation).

In some cases, the numbers in the equation are fractions or decimals. While you can solve these equations using the same approach as in the previous examples, it may be easier to eliminate the fractions or decimals first. This makes it less likely that you'll make arithmetic mistakes.

Example. Solve for x:

If an equation has fractions, you can multiply both sides by the least common multiple of the denominators to clear the denominators.

The denominators of the fractions are 9, 2, and 6. To find the least common multiple, take the largest number 9. Take multiples of 9 until you find one that is divisible by 9, 2, and 6.

Now 9 itself is not divisible by 2 or 6. Take the next multiple of 9, which is 18. Since 18 is divisible by 2 and 6, it is the least common multiple. Therefore, I'll multiply both sides of the equation by 18:

Example. Solve for x:

If an equation has decimals, you can multiply by 10, 100, 1000, ... to get rid of the decimals.

The "0.23" has the largest number of digits (2 digits) to the right of the decimal point. So to clear the decimals, I need to multiply both sides by (think "2 zeroes").

Example. Solve for w:

First, I'll multiply out and combine terms:

Next, get all the w's on one side and all the numbers on the other. For variety, I'll arrange the algebra vertically:

Contact information