In algebra, a quartic equation is a polynomial of the fourth degree. It is written in the form .