We can factor a polynomial by finding its roots. In particular, a quadratic equation has (at most) two roots
, which would allow us to write the polynomial as
![p(x)=a(x-x_1)(x-x_2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4hus6j1v11hg7azbixiy08cq6nj1dmtzrs.png)
To find the solutions, we can use the quadratic formula
![x_(1,2) = (-b\pm√(b^2-4ac))/(2a) = (-5\pm√(169))/(4) = (-5\pm13)/(4)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l7j21vgbiplf4xgl3simhprm3dst8nj39l.png)
So, the two solutions are
![(-5+13)/(4) = 2\quad\text{and}\quad(-5-13)/(4) =-(9)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/iv8ofspsb3d1lwn4zpdvlhee5ndl2ro5h9.png)
And so we can factor the polynomial as follows:
![2x^2+5x-18=2(x-2)\left(x+(9)/(2)\right)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/kb7vbh2za870962jee9gkssjzaksgs9nbh.png)