Factor m² + 12m + 36

The answer is m² + 12m + 36 = (m + 6)(m + 6) = (m + 6)². It is a perfect square trinomial, which means both factors are exactly the same.

Answer

(m + 6)(m + 6)

  1. Find two numbers

    Look for two numbers that multiply to a × c = 36 and add to b = 12: 6 and 6.

  2. Write the factors

    m² + 12m + 36 = (m + 6)(m + 6)

  3. Find the roots

    Set each factor to zero (or use the quadratic formula, discriminant b² − 4ac = 0): m = −6 (double root)

  4. Check by empanding

    Multiplying the factors back out gives m² + 12m + 36 ✓

Jump to a section

The worked steps above use x, but the letter changes nothing. m, x and y all follow the same rules, so everything below works for any variable.

How do you factor m² + 12m + 36 step by step?

Start by looking for a common factor. The coefficient of m² is 1 and the numbers 1, 12 and 36 share nothing useful, so there is nothing to pull out. Then use the standard method for a trinomial of the form m² + bm + c:

  1. Multiply the first and last coefficients: 1 × 36 = 36.
  2. List the pairs that multiply to 36: 1 and 36, 2 and 18, 3 and 12, 4 and 9, 6 and 6.
  3. Find the pair that adds to 12. Only 6 + 6 works (the others give 37, 20, 15 and 13).
  4. Write the factors: (m + 6)(m + 6).

Both numbers are positive because the product (36) and the sum (12) are both positive. If the middle term were negative, both numbers would be negative.

Why is m² + 12m + 36 a perfect square?

A perfect square trinomial follows one pattern: a² + 2ab + b² = (a + b)². Here a = m and b = 6. Square the first term and you get m². Square the second and you get 6² = 36. Double their product and you get 2 × m × 6 = 12m, which is the middle term. Everything matches.

Balance scale with 12m on one pan and two 6m strips on the other, then halve 12 to get 6 and square it to 36
The middle term 12m balances two strips of 6m, so halving 12 and squaring gives the last term 36.

That gives you a mental shortcut. Look at the last term, 36, and take its square root: 6. Double it: 12. If that equals the middle coefficient, you are done, and the answer is (m + 6)². No list of factor pairs needed. With a minus sign in the middle, the same trick gives a minus in the bracket, as in y² − 8y + 16.

Perfect square test

Halve the middle coefficient (12 ÷ 2 = 6), then square it (6² = 36). If you land on the last term, the trinomial is a perfect square.

Factoring m² + 12m + 36 by grouping

Grouping gives the same answer and shows where the factors come from. Split the middle term using the pair 6 and 6: m² + 6m + 6m + 36. Now factor each half: m(m + 6) + 6(m + 6). Both parts share the bracket (m + 6), so the result is (m + 6)(m + 6).

Grouping really earns its keep when the two numbers are different. Try x² − x − 6 and you split the middle term into −3x and +2x. Here the two numbers happen to match, which is why the answer is a square.

Be careful with a near miss: 12 as a sum does not guarantee a perfect square. x² − 12x + 27 also has a middle coefficient of 12 in size, but its factors are (x − 3)(x − 9), because 27 is not a square.

What are the roots of m² + 12m + 36?

Set the expression equal to zero: (m + 6)² = 0. The only way a square is zero is when the thing inside is zero, so m + 6 = 0 and m = −6. Since both factors give the same answer, −6 is a double root.

The quadratic formula agrees. The discriminant is b² − 4ac = 12² − 4 × 1 × 36 = 144 − 144 = 0. A discriminant of zero always means exactly one repeated solution: m = (−12 ± √0) ÷ 2 = −6.

On a graph, the parabola y = m² + 12m + 36 has its vertex at (−6, 0). It touches the m-axis there and turns back up, and it crosses the y-axis at 36. Compare that with x² − x − 30, which factors as (x − 6)(x + 5) and crosses the axis at two separate points.

How do you check the factoring?

Multiply the factors back out. m × m = m², m × 6 = 6m, 6 × m = 6m and 6 × 6 = 36. Add the middle terms: 6m + 6m = 12m. You get m² + 12m + 36, the original expression, so the factoring is correct.

A number test is a good second opinion. Put m = 1 into the original: 1 + 12 + 36 = 49. Put m = 1 into (m + 6)²: 7² = 49. Both match. Try m = 4 as well: 16 + 48 + 36 = 100, and (4 + 6)² = 100.

Try this: Test m = 3 in both forms. The original gives 9 + 36 + 36 and the factored form gives 9². Do they agree? Then try m = −6 and watch what happens to the answer.

Common mistakes with m² + 12m + 36

I see the same slips every year, and the most common one is expanding (m + 6)² as m² + 36. Squaring a bracket is not the same as squaring each term. The middle term 12m is exactly what that shortcut drops, so always write the bracket twice and multiply.

Three fraction bars at m = 4 comparing (4 + 6)², the full trinomial, and the incomplete m² + 36
At m = 4, (m + 6)² equals 100, but m² + 36 reaches only 52 because 12m is dropped.

Other traps to watch for:

  • Stopping at (m + 6) as if it were the whole answer. It is a single factor, and the full factorization has it twice.
  • Writing (m − 6)(m + 6). That is a difference of squares and expands to m² − 36.
  • Reading the root as m = 6. The factor m + 6 is zero when m = −6.
  • Looking for two different roots. A perfect square has one repeated root.

What to learn after perfect square trinomials

Once you can spot a² + 2ab + b² at a glance, you can solve equations like this one in a single line, and you can complete the square for trinomials that are not perfect. The idea is the same: halve the middle coefficient, square it, and see what is missing.

Also practise checking for a common factor before anything else. For example, 3m² + 36m + 108 pulls out a 3 to give 3(m² + 12m + 36), which is 3(m + 6)². Finding that 3 works like finding the largest shared number in GCF of 21 and 63. For a simpler case of taking out a shared factor, see x² − 25x.

Practice problems

Try these on paper first, then check your answer or load the full steps into the solver.

  1. x² + 10x + 25(x + 5)(x + 5)
  2. x² - 14x + 49(x − 7)(x − 7)
  3. 4x² + 20x + 25(2x + 5)(2x + 5)
  4. 9x² - 42x + 49(3x − 7)(3x + 7)

Factor m² + 12m + 36: common questions

What is m² + 12m + 36 factored?

It factors as (m + 6)(m + 6), which is written (m + 6)². It is a perfect square trinomial, because 36 is 6² and 12m is 2 × m × 6.

Is m² + 12m + 36 a perfect square trinomial?

Yes. The first term m² is a square, the last term 36 is a square (6²), and the middle term 12m equals 2 × m × 6. That is exactly the pattern a² + 2ab + b².

What is the solution of m² + 12m + 36 = 0?

The only solution is m = −6, a double root. The discriminant 12² − 4 × 1 × 36 equals 0, so the parabola touches the m-axis at one point and does not cross it.

Can m² + 12m + 36 be factored with different numbers?

No. The only pair of whole numbers that multiplies to 36 and adds to 12 is 6 and 6, so both factors must be (m + 6).

More factoring problems