Skip to content
Tutorials Center
My learning

Topics

Lesson 6 of 37 ยท Linear Equations

One-Step Equations

Learn to solve one-step equations using inverse operations and the balance idea, check your answers by substitution, and verify with code.

An equation is a statement that two expressions are equal, such as x + 5 = 12. To solve it means to find the value of the variable that makes the statement true. That value is called the solution. Here, x = 7 works because 7 + 5 = 12.

Equations that need only one operation to isolate the variable are called one-step equations. They are the foundation for every harder equation you will meet.

The balance idea

Picture a balance scale. The left side holds x + 5, the right side holds 12, and the scale is level. If you take 5 from the left, the scale tips, unless you also take 5 from the right. Whatever you do to one side of an equation, do to the other side. That keeps the equation true.

Our aim is to get the variable alone on one side. We do that with inverse operations, which undo each other:

Operation Inverse
Add a Subtract a
Subtract a Add a
Multiply by a (not 0) Divide by a
Divide by a (not 0) Multiply by a

Addition and subtraction equations

Example 1. Solve x + 5 = 12.

Subtract 5 from both sides: x + 5 - 5 = 12 - 5, so x = 7.

Example 2. Solve y - 9 = 4.

Add 9 to both sides: y = 13.

Example 3. Solve n + 3.5 = 1. Subtract 3.5: n = -2.5. Solutions can be negative or decimal.

Multiplication and division equations

Example 4. Solve 6x = 42. The variable is multiplied by 6, so divide both sides by 6: x = 7.

Example 5. Solve t / 4 = 9. The variable is divided by 4, so multiply both sides by 4: t = 36.

Example 6. Solve -3m = 21. Divide both sides by -3: m = -7.

Example 7. Solve (2/3)x = 10. Multiply both sides by the reciprocal 3/2: x = 10 ร— 3/2 = 15.

Always check

Substitute the solution into the original equation. If both sides match, you are right.

Check x = 7 in x + 5 = 12: 7 + 5 = 12. Correct.

Python Solve and check one-step equations

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Solving with SymPy

SymPy can solve equations symbolically. Use it to check your work, not to replace the steps.

Python Check by solving with SymPy

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Equations as stories

A concert ticket costs 18 dollars. Sam has bought some tickets and paid 90 dollars. How many tickets, t? The equation is 18t = 90. Dividing by 18 gives t = 5.

A skateboard sells for 65 dollars after a 15-dollar discount. What was the original price p? p - 15 = 65, so p = 80.

Common mistakes

  1. Using the wrong inverse. For x + 5 = 12, you must subtract 5, not add it.
  2. Changing only one side. If you subtract 5 on the left, do it on the right.
  3. Sign slips with negatives. -3m = 21 gives m = -7, not 7.
  4. Skipping the check. It takes five seconds and catches most errors.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Solve x - 8 = 15.

    Add 8 to both sides: x = 15 + 8 = 23.
  2. 2. Solve 5x = 35.

    Divide both sides by 5: x = 7.
  3. 3. Solve n / 6 = 4.

    Multiply both sides by 6: n = 24.
  4. 4. Solve -4y = 28.

    Divide both sides by -4: y = -7. Check: -4(-7) = 28.

Summary

  • Solving an equation means finding the value that makes it true.
  • Use inverse operations and do the same thing to both sides.
  • Add undoes subtract, and multiply undoes divide.
  • Check by substituting into the original equation.

Next: Two-Step Equations