In algebra, a **septic equation** is an equation of the form

where *a* ≠ 0.

A **septic function** is a function of the form

where *a* ≠ 0. In other words, it is a polynomial of degree seven. If *a* = 0, then *f* is a sextic function (*b* ≠ 0), quintic function (*b* = 0, *c* ≠ 0), etc.

The equation may be obtained from the function by setting *f*(*x*) = 0.

The *coefficients* *a*, *b*, *c*, *d*, *e*, *f*, *g*, *h* may be either integers, rational numbers, real numbers, complex numbers or, more generally, members of any field.

Because they have an odd degree, **septic functions** appear similar to quintic and cubic functions when graphed, except they may possess additional local maxima and local minima (up to three maxima and three minima). The derivative of a septic function is a sextic function.

Some seventh degree equations can be solved by factorizing into radicals, but other septics cannot. Évariste Galois developed techniques for determining whether a given equation could be solved by radicals which gave rise to the field of Galois theory. To give an example of an irreducible but solvable septic, one can generalize the solvable de Moivre quintic to get,

- ,

where the auxiliary equation is

- .

This means that the septic is obtained by eliminating *u* and *v* between *x* = *u* + *v*, *uv* + *α* = 0 and *u*^{7} + *v*^{7} + *β* = 0.

It follows that the septic's seven roots are given by

where *ω _{k}* is any of the 7 seventh roots of unity. The Galois group of this septic is the maximal solvable group of order 42. This is easily generalized to any other degrees

Another solvable family is,

whose members appear in Kluner's *Database of Number Fields*. Its discriminant is

The Galois group of these septics is the dihedral group of order 14.

The general septic equation can be solved with the alternating or symmetric Galois groups *A*_{7} or *S*_{7}.^{[1]} Such equations require hyperelliptic functions and associated theta functions of genus 3 for their solution.^{[1]} However, these equations were not studied specifically by the nineteenth-century mathematicians studying the solutions of algebraic equations, because the sextic equations' solutions were already at the limits of their computational abilities without computers.^{[1]}

Septics are the lowest order equations for which it is not obvious that their solutions may be obtained by composing *continuous functions* of two variables. Hilbert's 13th problem was the conjecture this was not possible in the general case for seventh-degree equations. Vladimir Arnold solved this in 1957, demonstrating that this was always possible.^{[2]} However, Arnold himself considered the *genuine* Hilbert problem to be whether for septics their solutions may be obtained by superimposing *algebraic functions* of two variables.^{[3]} As of 2023, the problem is still open.

- Septic equations solvable by radicals have a Galois group which is either the cyclic group of order 7, or the dihedral group of order 14 or a metacyclic group of order 21 or 42.
^{[1]} - The
*L*(3, 2) Galois group (of order 168) is formed by the permutations of the 7 vertex labels which preserve the 7 "lines" in the Fano plane.^{[1]}Septic equations with this Galois group*L*(3, 2) require elliptic functions but not hyperelliptic functions for their solution.^{[1]} - Otherwise the Galois group of a septic is either the alternating group of order 2520 or the symmetric group of order 5040.

The square of the area of a cyclic pentagon is a root of a septic equation whose coefficients are symmetric functions of the sides of the pentagon.^{[4]} The same is true of the square of the area of a cyclic hexagon.^{[5]}