Solving a(x + b) = c Equation Solver with Worked Examples

To solve , divide by then subtract : . Type an equation such as and the solver shows each step.

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Solving a(x + b) = c means

There are two ways: expand the bracket first, or divide both sides by . Dividing is quicker when divides exactly.

After dividing you have , and you subtract .

Expanding gives , which you solve as a two-step equation. More steps are needed in solving ax + b = c, a bracket is removed by expanding a single bracket, and a fraction case is solving a fraction equal to c. A closely connected idea is Solving x + a = b.

This page is part of Linear equations in Algebra. Topics that work alongside it: Expanding a single bracket, Solving ax + b = c, Solving (x + a)/b = c, Solving ax = b, Solving x + a = b and Solving ax + b = cx + d.

What is it used for?

An equation with a bracket can be solved by dividing by the number outside, or by expanding first. Both give the same answer.

How to use solving a(x + b) = c

  1. Divide both sides by , or expand the bracket.
  2. Subtract the constant from both sides.
  3. Simplify.
  4. Check in the original equation.

Graph

Solving 4(x − 1) = 20x = 6-10123456789-50510152025Solving 4(x − 1) = 20xyy = 4(x − 1)y = 20Graph with x from -1 to 9 and y from -6 to 26. Shows the curve y = 4(x − 1); the curve y = 20; point x = 6 at (6, 20).

The line y = 4(x − 1) meets y = 20 where x = 6.

Worked examples

The examples marked with a button were worked out by the solver on this page. You can try each one yourself.

Example 1: divide first

Solve .

Linear equation Answer checked
Answer
x=4x = 4
  1. The equation
    Solving for .
  2. Move everything to one side
  3. Simplify
  4. Isolate
    Subtract the constant from both sides.
  5. Divide both sides by
  6. Check by substituting back
    ✓

Example 2: with a minus

Solve .

Linear equation Answer checked
Answer
x=7x = 7
  1. The equation
    Solving for .
  2. Move everything to one side
  3. Simplify
  4. Isolate
    Subtract the constant from both sides.
  5. Divide both sides by
  6. Check by substituting back
    ✓

Example 3: divide by the outside number first

Solve 4(x − 1) = 20.

Linear equation Answer checked
Answer
x=6x = 6
  1. The equation
    Solving for .
  2. Move everything to one side
  3. Simplify
  4. Isolate
    Subtract the constant from both sides.
  5. Divide both sides by
  6. Check by substituting back
    ✓

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

Divide first

2(x + 3) = 14: x + 3 = 7, so x = 4

Divide both sides by 2.

Expand first

2(x + 3) = 14: 2x + 6 = 14, so x = 4

The same answer.

A minus sign

3(x − 2) = 15: x = 7

Divide by 3, then add 2.

A negative answer

4(x + 1) = −8: x = −3

Divide by 4, then subtract 1.

Word problems

To solve a(x + b) = c, either divide both sides by a first, or expand the bracket. Both give the same answer.

Divide first

Solve 2(x + 3) = 14.

  1. Divide by 2x + 3 = 7
  2. Subtract 3x = 4
  3. Check: 2 × (4 + 3) = 14 ✓x = 4.

Expand first

Solve 3(x − 2) = 15.

  1. Expand3x − 6 = 15
  2. Add 63x = 21
  3. Divide by 3x = 7
  4. Check: 3 × (7 − 2) = 15 ✓x = 7.

A perimeter Higher

A rectangle has sides x and 5 and perimeter 30. Find x.

  1. Write the equation2(x + 5) = 30
  2. Divide by 2x + 5 = 15
  3. Subtract 5x = 10
  4. Check: 2 × (10 + 5) = 30 ✓x = 10.

A negative answer Higher

Solve 4(x + 1) = −8.

  1. Divide by 4x + 1 = −2
  2. Subtract 1x = −3
  3. Check: 4 × (−3 + 1) = −8 ✓x = −3.

Common mistakes

Multiplying only the first term

2(x + 3) = 2x + 3 ✗

2x + 6 ✓

Multiply every term in the bracket.

Dividing only one term

2(x + 3) = 14 gives x + 3 = 14 ✗

x + 3 = 7 ✓

Divide the whole side.

Sign error in the bracket

3(x − 2) = 15 gives 3x − 2 = 15 ✗

3x − 6 = 15 ✓

Multiply the −2 too.

Forgetting to finish

x + 3 = 7 is the answer ✗

x = 4 ✓

Keep solving.

Exam tips

  1. Divide first if a goes into c.
  2. Or expand.
  3. Multiply every term.
  4. Keep signs.
  5. Check in the original.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Solve 3(x + 2) = 21 Foundation

x = 5

2. Solve 4(x − 1) = 20 Foundation

x = 6

3. Solve 5(x + 3) = 40 Foundation

x = 5

4. Solve 2(x − 5) = 6 Higher

x = 8

5. Solve 3(x + 4) = 9 Higher

x = −1

6. Solve 4(2x + 1) = 28 Higher

x = 3

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Bracket
Terms grouped together.
Expand
Multiply out a bracket.
Coefficient
The number outside.
Inverse
Undoes an operation.
Solution
The value of x.
Perimeter
The distance round a shape.

Frequently asked questions

How do you solve 2(x + 3) = 14?

Divide by 2 then subtract 3 to get x = 4.

Should I expand or divide first?

Either works; dividing is quicker when it is exact.

What if the division is not exact?

Expand the bracket first.

How do I handle a minus inside?

Expand carefully so −2 is multiplied too.

Which page covers expanding?

expanding a single bracket.

Which page has x on both sides?

solving ax + b = cx + d.

More in Algebra and the formula sheets.