In mathematics, the algebraic butterfly curve is a plane algebraic curve of degree six, given by the equation