RootOfP
RootOfP is a notation used to denote a root of a polynomial P, primarily in algebra, symbolic computation, and computer algebra systems. The term RootOf(P) (sometimes written as RootOfP) refers to a formal object representing a root of P without requiring an explicit closed form. For a field F and a polynomial P in F[x] with degree at least one, a root α in an algebraic closure of F satisfies P(α) = 0. The RootOf(P) object stands for such a root, and when several roots exist, a second index i may be used, as in RootOf(P, i), to designate the i-th root in a fixed, canonical ordering.
RootOf objects enable algebraic manipulations without solving the polynomial by radicals. They participate in symbolic operations
In theory, RootOf(P) is closely related to the splitting field of P over F. If P is
Example: for P(x) = x^2 − 2 over Q, the two RootOf objects correspond to the two real roots,