I'm a fan of splitting the middle term. Given a quadratic $ax^2 + bx + c$, here are the steps for this procedure:
- Find two numbers, $r$ and $s$, that multiply to $ac$ and add to $b$
- Split $bx$ into the sum $rx + sx$, so $ax^2 + bx + c = ax^2 + rx + sx + c$
- Find the GCF of $ax^2 + rx$ and the GCF of $sx + c$, and factor those GCFs out separately
- There will be a common factor (it's whatever's in parentheses, next to the two GCFs). Factor that out, and you'll be done.
Here's what this looks like with your example. We have $2k^2 + 7k + 6$.
First, we find two numbers that multiply to $ac = 12$ and that add to $b = 7$. That's $3$ and $4$.
Then, rewrite $7k = 3k + 4k$ in the quadratic:
$$ 2k^2 + 3k + 4k + 6$$
The GCF of $2k^2 + 3k$ is $k$, so we'll factor that out of the first pair of terms, and for the second pair, the GCF is $2$, so that's what we factor out of the second pair of terms:
$$ k(2k+3) + 2(2k+3) $$
The common factor in both remaining terms is $2k+3$, so we factor that out of the two terms to end up at the answer:
$$ (2k+3)(k+2) $$
Note, it wouldn't make a difference if you had done $7k = 4k + 3k$ instead of $3k + 4k$, it just changes the GCFs a bit, but you'll end up in the same place:
$$ 2k^2 + 4k + 3k + 6 $$
This time, the GCF of $2k^2 + 4k$ is $2k$, so that's what we factor out of the first pair, and it's $3$ for the second pair:
$$ 2k(k + 2) + 3(k + 2) $$
Then, the common factor is $k+2$, so that's what we factor out to get to our final answer:
$$ (k+2)(2k+3) $$
$$2x^2+7x+6=2x^2+4x+3x+6=2x(x+2)+3(x+2).$$
– markvs Dec 23 '21 at 23:36