Zero of a function

From HandWiki
(Redirected from Root of a function)
Short description: Point where function's value is zero


A graph of the function [math]\displaystyle{ \cos(x) }[/math] for [math]\displaystyle{ x }[/math] in [math]\displaystyle{ \left[-2\pi,2\pi\right] }[/math], with zeros at [math]\displaystyle{ -\tfrac{3\pi}{2},\;-\tfrac{\pi}{2},\;\tfrac{\pi}{2} }[/math], and [math]\displaystyle{ \tfrac{3\pi}{2}, }[/math] marked in red.
A graph of the function [math]\displaystyle{ \cos(x) }[/math] for [math]\displaystyle{ x }[/math] in [math]\displaystyle{ \left[-2\pi,2\pi\right] }[/math], with zeros at [math]\displaystyle{ -\tfrac{3\pi}{2},\;-\tfrac{\pi}{2},\;\tfrac{\pi}{2} }[/math], and [math]\displaystyle{ \tfrac{3\pi}{2}, }[/math] marked in red.

In mathematics, a zero (also sometimes called a root) of a real-, complex-, or generally vector-valued function [math]\displaystyle{ f }[/math], is a member [math]\displaystyle{ x }[/math] of the domain of [math]\displaystyle{ f }[/math] such that [math]\displaystyle{ f(x) }[/math] vanishes at [math]\displaystyle{ x }[/math]; that is, the function [math]\displaystyle{ f }[/math] attains the value of 0 at [math]\displaystyle{ x }[/math], or equivalently, [math]\displaystyle{ x }[/math] is a solution to the equation [math]\displaystyle{ f(x) = 0 }[/math].[1] A "zero" of a function is thus an input value that produces an output of 0.[2]

A root of a polynomial is a zero of the corresponding polynomial function.[1] The fundamental theorem of algebra shows that any non-zero polynomial has a number of roots at most equal to its degree, and that the number of roots and the degree are equal when one considers the complex roots (or more generally, the roots in an algebraically closed extension) counted with their multiplicities.[3] For example, the polynomial [math]\displaystyle{ f }[/math] of degree two, defined by [math]\displaystyle{ f(x)=x^2-5x+6 }[/math] has the two roots (or zeros) that are 2 and 3. [math]\displaystyle{ f(2)=2^2-5\times 2+6= 0\text{ and }f(3)=3^2-5\times 3+6=0. }[/math]

If the function maps real numbers to real numbers, then its zeros are the [math]\displaystyle{ x }[/math]-coordinates of the points where its graph meets the x-axis. An alternative name for such a point [math]\displaystyle{ (x,0) }[/math] in this context is an [math]\displaystyle{ x }[/math]-intercept.

Solution of an equation

Every equation in the unknown [math]\displaystyle{ x }[/math] may be rewritten as

[math]\displaystyle{ f(x)=0 }[/math]

by regrouping all the terms in the left-hand side. It follows that the solutions of such an equation are exactly the zeros of the function [math]\displaystyle{ f }[/math]. In other words, a "zero of a function" is precisely a "solution of the equation obtained by equating the function to 0", and the study of zeros of functions is exactly the same as the study of solutions of equations.

Polynomial roots

Main page: Properties of polynomial roots

Every real polynomial of odd degree has an odd number of real roots (counting multiplicities); likewise, a real polynomial of even degree must have an even number of real roots. Consequently, real odd polynomials must have at least one real root (because the smallest odd whole number is 1), whereas even polynomials may have none. This principle can be proven by reference to the intermediate value theorem: since polynomial functions are continuous, the function value must cross zero, in the process of changing from negative to positive or vice versa (which always happens for odd functions).

Fundamental theorem of algebra

Main page: Fundamental theorem of algebra

The fundamental theorem of algebra states that every polynomial of degree [math]\displaystyle{ n }[/math] has [math]\displaystyle{ n }[/math] complex roots, counted with their multiplicities. The non-real roots of polynomials with real coefficients come in conjugate pairs.[2] Vieta's formulas relate the coefficients of a polynomial to sums and products of its roots.

Computing roots

Main pages: Root-finding algorithm, Real-root isolation, and Equation solving

Computing roots of functions, for example polynomial functions, frequently requires the use of specialised or approximation techniques (e.g., Newton's method). However, some polynomial functions, including all those of degree no greater than 4, can have all their roots expressed algebraically in terms of their coefficients (for more, see algebraic solution).

Zero set

In various areas of mathematics, the zero set of a function is the set of all its zeros. More precisely, if [math]\displaystyle{ f:X\to\mathbb{R} }[/math] is a real-valued function (or, more generally, a function taking values in some additive group), its zero set is [math]\displaystyle{ f^{-1}(0) }[/math], the inverse image of [math]\displaystyle{ \{0\} }[/math] in [math]\displaystyle{ X }[/math].

Under the same hypothesis on the codomain of the function, a level set of a function [math]\displaystyle{ f }[/math] is the zero set of the function [math]\displaystyle{ f-c }[/math] for some [math]\displaystyle{ c }[/math] in the codomain of [math]\displaystyle{ f. }[/math]

The zero set of a linear map is also known as its kernel.

The cozero set of the function [math]\displaystyle{ f:X\to\mathbb{R} }[/math] is the complement of the zero set of [math]\displaystyle{ f }[/math] (i.e., the subset of [math]\displaystyle{ X }[/math] on which [math]\displaystyle{ f }[/math] is nonzero).

Applications

In algebraic geometry, the first definition of an algebraic variety is through zero sets. Specifically, an affine algebraic set is the intersection of the zero sets of several polynomials, in a polynomial ring [math]\displaystyle{ k\left[x_1,\ldots,x_n\right] }[/math] over a field. In this context, a zero set is sometimes called a zero locus.

In analysis and geometry, any closed subset of [math]\displaystyle{ \mathbb{R}^n }[/math] is the zero set of a smooth function defined on all of [math]\displaystyle{ \mathbb{R}^n }[/math]. This extends to any smooth manifold as a corollary of paracompactness.

In differential geometry, zero sets are frequently used to define manifolds. An important special case is the case that [math]\displaystyle{ f }[/math] is a smooth function from [math]\displaystyle{ \mathbb{R}^p }[/math] to [math]\displaystyle{ \mathbb{R}^n }[/math]. If zero is a regular value of [math]\displaystyle{ f }[/math], then the zero set of [math]\displaystyle{ f }[/math] is a smooth manifold of dimension [math]\displaystyle{ m=p-n }[/math] by the regular value theorem.

For example, the unit [math]\displaystyle{ m }[/math]-sphere in [math]\displaystyle{ \mathbb{R}^{m+1} }[/math] is the zero set of the real-valued function [math]\displaystyle{ f(x)=\Vert x \Vert^2-1 }[/math].

See also

References

Further reading