On this page
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 x is the sum a + b , and the constant is the product ab .
It also works backwards, which is how you factorise x 2 + b x + c : find two numbers with product c and sum b .
Signs follow the numbers: ( x − 3 ) ( x + 5 ) = x 2 + 2 x − 15 . 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.
Expanding quickly without writing a grid every time. Checking a factorisation of ax² + bx + c. Building the link between factors and the roots of a quadratic.
How to use product of two linear factors
Add the two numbers to get the coefficient of x . Multiply the two numbers to get the constant. Write x 2 + ( a + b ) x + ab . Check by expanding in full if unsure.
Graph y = (x − 1)(x − 3) crosses the axis at the factors’ zeros x = 1 x = 3 -1 0 1 2 3 4 5 -2 0 2 4 6 8 y = (x − 1)(x − 3) crosses the axis at the factors’ zeros x y y = (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 ( x + 2 ) ( x + 7 ) .
Try this in the solver: expand (x+2)(x+7)
Expand
Answer
x 2 + 9 x + 14 x^{2}+9 x+14 x 2 + 9 x + 14 The expression
( x + 2 ) ( x + 7 )
Expand the brackets
( x + 2 ) ( x + 7 ) = x 2 + 9 x + 14
Example 2: one negative number Expand ( x − 3 ) ( x + 5 ) .
Try this in the solver: expand (x-3)(x+5)
Expand
Answer
x 2 + 2 x − 15 x^{2}+2 x-15 x 2 + 2 x − 15 The expression
( x − 3 ) ( x + 5 )
Expand the brackets
( x − 3 ) ( x + 5 ) = x 2 + 2 x − 15
Example 3: with coefficients on x Expand (2x + 3)(x + 1).
Try this in the solver: expand (2x+3)(x+1)
Expand
Answer
2 x 2 + 5 x + 3 2 x^{2}+5 x+3 2 x 2 + 5 x + 3 The expression
( x + 1 ) ( 2 x + 3 )
Expand the brackets
( x + 1 ) ( 2 x + 3 ) = 2 x 2 + 5 x + 3
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).
Sum 2 + 7 = 9 Product 2 × 7 = 14 Write x² + 9x + 14 Check: x = 1: 3 × 8 = 24 and 1 + 9 + 14 = 24 ✓ x² + 9x + 14.
One negative Expand (x − 3)(x + 5).
Sum −3 + 5 = 2 Product −3 × 5 = −15 Write x² + 2x − 15 Check: x = 1: −2 × 6 = −12 and 1 + 2 − 15 = −12 ✓ x² + 2x − 15.
Two negatives Higher Expand (x − 4)(x − 6).
Sum −4 − 6 = −10 Product (−4) × (−6) = 24 Write x² − 10x + 24 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?
List factor pairs of 14 1 × 14, 2 × 7 Pick the pair adding to 9 2 and 7 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
Sum for the x term.
Product for the constant.
Signs carry through.
Test with a number.
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.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
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.