Look for common factors: Look for common factors in pairs of terms.We can try to factor by grouping, which involves combining terms that have common factors. We'll look at the first two terms and the last two terms separately.
Factor out greatest common factor: Factor out the greatest common factor from the first two terms.The greatest common factor of 2p3 and −p2 is p2. So we factor p2 out of those terms.2p3−p2=p2(2p−1)
Factor out greatest common factor: Factor out the greatest common factor from the last two terms.The greatest common factor of 16p and −8 is 8. So we factor 8 out of those terms.16p−8=8(2p−1)
Write with factored groups: Write the expression with the factored groups.Now we have factored the polynomial into two groups:p2(2p−1)+8(2p−1)
Factor out common binomial factor: Factor out the common binomial factor.We can see that the binomial (2p−1) is common in both terms, so we can factor it out.The factored form is (2p−1)(p2+8).