From 11:00PM PDT on Friday, July 1 until 5:00AM PDT on Saturday, July 2, the Shmoop engineering elves will be making tweaks and improvements to the site. That means Shmoop will be unavailable for use during that time. Thanks for your patience!

# At a Glance - Solving One-Step Equations

Solving One-Step Equations

Finally we are getting into the kinds of problems that you usually think of when you imagine algebra, the ones where you solve for x.

There is one extremely important rule to follow when solving all algebraic problems:

### Whatever you do to one side of an equation, you MUST do to the other.

Equations are like carefully balanced scales. Imagine an old-timey scale. If both expressions on each side of the equal sign match, then they are balanced.

If one side is heavier than the other, the scales are tipped.

In algebra we solve equations for the missing variable. The trick is to keep the scales balanced during all steps.

Let's start by looking at a simple example: . We know that you know that we know you know the answer (2), but for argument's sake, let's use our scales to solve this.

In order to solve for x, we must isolate (get all by its lonesome self) the variable. To do this we must get rid of that pesky 4. If we subtract 4 from the left side, the scale will be unbalanced.

To counter this, we must also subtract 4 from the other side of the equation.

Now the scales are balanced once again and all is right with the universe.

Don't worry, we really don't expect you to draw scales each time you need to solve an equation. We are just using this to illustrate a very important point, you must keep algebraic equations balanced at all times. In order to do this, whatever you do to one side of the equation must be done to the other.

## How to Isolate the Variable

The most straightforward way to get a variable alone is to undo the operation that accompanies it. In the equation above, 4 is added to x. To undo this, we subtract 4 (subtraction is the opposite of addition). Here are some ways to undo other operations:

OperationHow to UndoExample

Or

 subtract 1
MultiplicationDivision
 divide by 3
DivisionMultiplication
 multiply by (-2)

One of the best things about solving equations is that you can, and should, plug your answer back into the original equation to see if it works. Let's look at that last division problem.

If we plug -20 back into the original equation, both sides should be equal.

Since both sides equal 10, we know that our answer is correct!

Look Out: be sure that you are solving for the variable, not the opposite of the variable (-x).

Here's a fun video on math:

#### Example 1

 Solve for x:

#### Example 2

 Solve for y:

#### Example 3

 Solve for z:

Solve for x:

21x = -147

Solve for y:

15 - (-y) = 20

Solve for b:

Solve for x: