in algebra, a trinomial is a polynomial with three terms