Basic Equations Example

An equation states that two expressions have the same value. Solving a linear equation means finding the value of the variable that keeps that equality true. The balance principle is the key: adding, subtracting, multiplying, or dividing both sides by the same permitted quantity preserves equality. Equation-solving traditions were developed across many civilizations; al-Khwarizmi’s ninth-century work helped organize systematic methods, rather than one person inventing equations. This example uses inverse operations to isolate x.

Solve 3x + 7 = 22

Undo the operations around x in reverse order. Subtract 7 from both sides first, then divide both sides by 3.

3x+7=223x+7=22
Key facts used in this example
Equation3x + 7 = 22
First inverse operationSubtract 7 from each side
Second inverse operationDivide each side by 3
Solutionx = 5

Step-by-step solution

  1. 1

    Subtract 7 from both sides

    The constant is added to 3x, so subtracting 7 isolates the term 3x while keeping the equation balanced.

    3x+7−7=22−7⇒3x=153x+7-7=22-7\quad\Rightarrow\quad3x=15
  2. 2

    Divide both sides by 3

    The variable is multiplied by 3. Divide each side by 3 to isolate x.

    3x3=153⇒x=5\frac{3x}{3}=\frac{15}{3}\quad\Rightarrow\quad x=5
  3. 3

    State the solution set

    The only value that satisfies this linear equation is 5.

    {x∈R:3x+7=22}={5}\{x\in\mathbb{R}:3x+7=22\}=\{5\}

ANSWER

The solution is x = 5

The value 5 makes the left side equal the right side.

x=5x=5

Verify by substitution

Replace x with 5 in the original equation. Both sides equal 22, so the solution is correct.

3(5)+7=15+7=223(5)+7=15+7=22