Work Step by Step
To factor by trial and error, first check if you can pull out the greatest common factor of the terms. Then determine the two numbers that, when multiplied, equal the third term, and, when added, equal the coefficient of the middle term. Here, none of the requirements are met, so the polynomial is prime. $a^2+3a-1$ is prime.