To factorize a quadratic expression \( ax^2 + bx + c \):
- If \(a=1\) (i.e., \(x^2+bx+c\)), find two numbers that multiply to \(c\) and add to \(b\). Let these numbers be \(p\) and \(q\). The factorization is \( (x+p)(x+q) \).
- If \(a \ne 1\), find two numbers that multiply to \(ac\) and add to \(b\). Let these be \(p\) and \(q\). Rewrite the middle term \(bx\) as \(px+qx\), then factor by grouping.
- Alternatively, use the quadratic formula \( x = \frac{-b \pm \sqrt{b^2-4ac}}{2a} \) to find roots \(x_1, x_2\). Then factorization is \( a(x-x_1)(x-x_2) \).