Product of Two Linear Factors Equation Solver with Worked Examples

The product of two linear factors is : add the numbers for the middle term and multiply them for the last term. Type a product such as .

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 Product of two linear factors means

This shortcut avoids a full expansion. The coefficient of is the sum , and the constant is the product .

It also works backwards, which is how you factorise : find two numbers with product and sum .

Signs follow the numbers: . The result is found by expanding double brackets, the opposite is factorising x squared plus bx plus c, and each factor equal to zero gives roots by the zero-product rule. For a related method, compare Cancelling a common factor.

This page is part of Expressions, brackets and factorising in Algebra. Topics that work alongside it: Expanding double brackets, Factorising x² + bx + c, Zero-product rule, Index law: power of a power, Perfect square (sum) and Index law: multiply.

What is it used for?

This is the general product (ax + b)(cx + d), which expands to a quadratic with coefficients that come straight from a, b, c and d.

How to use product of two linear factors

  1. Add the two numbers to get the coefficient of .
  2. Multiply the two numbers to get the constant.
  3. Write .
  4. Check by expanding in full if unsure.

Graph

y = (x − 1)(x − 3) crosses the axis at the factors’ zerosx = 1x = 3-1012345-202468y = (x − 1)(x − 3) crosses the axis at the factors’ zerosxyy = (x − 1)(x − 3)Graph with x from -1 to 5 and y from -2 to 8. Shows the curve y = (x − 1)(x − 3); point x = 1 at (1, 0); point x = 3 at (3, 0).

Each linear factor gives one root: x − 1 = 0 and x − 3 = 0.

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: two positive numbers

Expand .

Expand
Answer
x2+9x+14x^{2}+9 x+14
  1. The expression
  2. Expand the brackets

Example 2: one negative number

Expand .

Expand
Answer
x2+2x−15x^{2}+2 x-15
  1. The expression
  2. Expand the brackets

Example 3: with coefficients on x

Expand (2x + 3)(x + 1).

Expand
Answer
2x2+5x+32 x^{2}+5 x+3
  1. The expression
  2. Expand the brackets

Special cases

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

Two positives

(x + 2)(x + 7) = x² + 9x + 14

Sum 9, product 14.

One negative

(x − 3)(x + 5) = x² + 2x − 15

Sum 2, product −15.

Two negatives

(x − 4)(x − 6) = x² − 10x + 24

Sum −10, product 24.

The pattern

(x + p)(x + q) = x² + (p + q)x + pq

Add for x, multiply for the constant.

Word problems

The product (x + p)(x + q) always equals x² + (p + q)x + pq.

Two positives

Expand (x + 2)(x + 7).

  1. Sum2 + 7 = 9
  2. Product2 × 7 = 14
  3. Writex² + 9x + 14
  4. Check: x = 1: 3 × 8 = 24 and 1 + 9 + 14 = 24 ✓x² + 9x + 14.

One negative

Expand (x − 3)(x + 5).

  1. Sum−3 + 5 = 2
  2. Product−3 × 5 = −15
  3. Writex² + 2x − 15
  4. Check: x = 1: −2 × 6 = −12 and 1 + 2 − 15 = −12 ✓x² + 2x − 15.

Two negatives Higher

Expand (x − 4)(x − 6).

  1. Sum−4 − 6 = −10
  2. Product(−4) × (−6) = 24
  3. Writex² − 10x + 24
  4. Check: x = 2: (−2)(−4) = 8 and 4 − 20 + 24 = 8 ✓x² − 10x + 24.

Reverse it Higher

Which two numbers add to 9 and multiply to 14?

  1. List factor pairs of 141 × 14, 2 × 7
  2. Pick the pair adding to 92 and 7
  3. Check: 2 + 7 = 9 and 2 × 7 = 14 ✓2 and 7.

Common mistakes

Multiplying for the middle term

x term = 2 × 7 = 14 ✗

x term = 2 + 7 = 9 ✓

The x coefficient is the sum.

Adding for the constant

constant = 2 + 7 = 9 ✗

constant = 2 × 7 = 14 ✓

The constant is the product.

Sign errors

(x − 3)(x + 5) gives −8x ✗

sum is +2 ✓

Add the numbers with their signs.

Forgetting the x²

x² missing ✗

x × x = x² ✓

Keep the first term.

Exam tips

  1. Sum for the x term.
  2. Product for the constant.
  3. Signs carry through.
  4. Test with a number.
  5. Reverse to factorise.

Practice questions

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

1. Expand (x + 3)(x + 4). What is the constant term? Foundation

12

2. Expand (x + 5)(x + 2). What is the coefficient of x? Foundation

7

3. Expand (x + 6)(x + 1). What is the constant term? Foundation

6

4. Expand (x − 5)(x + 2). What is the coefficient of x? Higher

−3

5. Expand (x − 3)(x − 7). What is the constant term? Higher

21

6. Expand (x − 1)(x + 8). What is the constant term? Higher

−8

Practice generator

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

Solve: …

Key terms

Linear factor
A bracket like (x + p).
Product
The result of multiplying.
Sum
The result of adding.
Quadratic
An expression with x².
Constant term
The number without x.
Factor pair
Two numbers that multiply to a target.

Frequently asked questions

What is (x + p)(x + q)?

x² + (p + q)x + pq.

How do I find the x coefficient?

Add p and q.

How do I find the constant?

Multiply p and q.

How do I go backwards?

Find two numbers with the right sum and product.

Which page covers double brackets?

expanding double brackets.

Which page covers factorising?

factorising x² + bx + c.

More in Algebra and the formula sheets.