Skip to content
  • Open the math solver
  • Ask the AI tutor
  • Find an AP course
  • Create a quiz
  • Open the calculator
  • Graphing Calculator
  • Browse all calculators
  • Read math guides
↑ ↓Enter to open · Esc to close
Solve a problem
EasyLinear EquationsAlgebra

Solve 2x+5=172x + 5 = 17.

A two-step linear equation: undo the addition, then the multiplication.

Try it first: work the problem on paper, then open the solution below and compare each step.
Show the step-by-step solution

Final answer

x=6x = 6

How we read your problem

A linear equation in x: isolate x using inverse operations.

2 x+5=172~ x+5 = 17

Step-by-step solution

  1. Start with the equation

    2 x+5=172~ x+5 = 17
  2. Subtract 5 from both sides

    2x=122x = 12
  3. Divide both sides by 2

    x=122=6x = \frac{12}{2} = 6

Formulas used

  • Linear equation

    ax+b=c  ⇒  x=c−baax + b = c \;\Rightarrow\; x = \frac{c - b}{a}

Doing the same operation to both sides keeps the equation balanced. Undoing addition, then multiplication, leaves x alone.

Verification

  • x = 6: left side = 17, right side = 17 ✓

About linear equations

Solve equations of the form ax + b = c, including variables on both sides.

Linear equation

An equation whose variable appears only to the first power; it has one solution, none, or infinitely many.

ax+b=0⇒x=−baax + b = 0 \Rightarrow x = -\frac{b}{a}

Check your own work