Steply

Factor a^2 - 5a + 8

Step by step, with the reason for every step · Factoring completely · Algebra 1

Step by step

The question

Question: factor completely a² − 5a + 8.

Completely means: until no part can be factored any more.

a2 − 5a + 8

1 Common factor first

Always ask this first.

Here no number and no a goes into every term.

So there is no common factor.

2 Count the terms

The bracket has 3 terms.

With 3 terms we look for two numbers that multiply to c and add to b.

3 Prime or not

We need two numbers.

They multiply to 8, and they add to −5.

? × ? = 8, ? + ? = −5

We list every pair that makes 8.

We add each pair.

We need 5.

None of them gives 5.

1 × 8: 1 + 8 = 9 ✗
2 × 4: 2 + 4 = 6 ✗

No pair works.

So a² − 5a + 8 does not factor with whole numbers.

We call it prime.

no pair works → prime

So a² − 5a + 8 is prime.

= prime

Let's look back.

First: common factor first.

Then: count the terms.

Last: prime or not.

Answer
= prime

Your turn

Try this one yourself, then check:

Factor completely a2 + 2a − 12
Show the answer
prime

More from Factoring completely

The whole lesson: Factoring completely →