In
mathematics, a rational function is any
function
Function or functionality may refer to:
Computing
* Function key, a type of key on computer keyboards
* Function model, a structured representation of processes in a system
* Function object or functor or functionoid, a concept of object-oriente ...
that can be defined by a rational fraction, which is an
algebraic fraction
In algebra, an algebraic fraction is a fraction (mathematics), fraction whose numerator and denominator are algebraic expressions. Two examples of algebraic fractions are \frac and \frac. Algebraic fractions are subject to the same laws as arithmet ...
such that both the
numerator
A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
and the
denominator
A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
are
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An example ...
s. The
coefficients of the polynomials need not be
rational number
In mathematics, a rational number is a number that can be expressed as the quotient or fraction of two integers, a numerator and a non-zero denominator . For example, is a rational number, as is every integer (e.g. ). The set of all rat ...
s; they may be taken in any
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
''K''. In this case, one speaks of a rational function and a rational fraction ''over K''. The values of the
variable
Variable may refer to:
* Variable (computer science), a symbolic name associated with a value and whose associated value may be changed
* Variable (mathematics), a symbol that represents a quantity in a mathematical expression, as used in many ...
s may be taken in any field ''L'' containing ''K''. Then the
domain of the function is the set of the values of the variables for which the denominator is not zero, and the
codomain
In mathematics, the codomain or set of destination of a function is the set into which all of the output of the function is constrained to fall. It is the set in the notation . The term range is sometimes ambiguously used to refer to either th ...
is ''L''.
The set of rational functions over a field ''K'' is a field, the
field of fractions
In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the field ...
of the
ring
Ring may refer to:
* Ring (jewellery), a round band, usually made of metal, worn as ornamental jewelry
* To make a sound with a bell, and the sound made by a bell
:(hence) to initiate a telephone connection
Arts, entertainment and media Film and ...
of the
polynomial functions over ''K''.
Definitions
A function
is called a rational function if and only if it can be written in the form
:
where
and
are
polynomial functions of
and
is not the
zero function
0 (zero) is a number representing an empty quantity. In place-value notation such as the Hindu–Arabic numeral system, 0 also serves as a placeholder numerical digit, which works by multiplying digits to the left of 0 by the radix, usual ...
. The
domain of
is the set of all values of
for which the denominator
is not zero.
However, if
and
have a non-constant
polynomial greatest common divisor
In algebra, the greatest common divisor (frequently abbreviated as GCD) of two polynomials is a polynomial, of the highest possible degree, that is a factor of both the two original polynomials. This concept is analogous to the greatest common di ...
, then setting
and
produces a rational function
:
which may have a larger domain than
, and is equal to
on the domain of
It is a common usage to identify
and
, that is to extend "by continuity" the domain of
to that of
Indeed, one can define a rational fraction as an
equivalence class of fractions of polynomials, where two fractions
and
are considered equivalent if
. In this case
is equivalent to
.
A proper rational function is a rational function in which the
degree of
is less than the degree of
and both are
real polynomials, named by analogy to a
proper fraction
A fraction (from la, fractus, "broken") represents a part of a whole or, more generally, any number of equal parts. When spoken in everyday English, a fraction describes how many parts of a certain size there are, for example, one-half, eight ...
in
.
Degree
There are several non equivalent definitions of the degree of a rational function.
Most commonly, the ''degree'' of a rational function is the maximum of the
degrees of its constituent polynomials and , when the fraction is reduced to
lowest terms
An irreducible fraction (or fraction in lowest terms, simplest form or reduced fraction) is a fraction in which the numerator and denominator are integers that have no other common divisors than 1 (and −1, when negative numbers are considered). I ...
. If the degree of is , then the equation
:
has distinct solutions in except for certain values of , called ''critical values'', where two or more solutions coincide or where some solution is rejected
at infinity (that is, when the degree of the equation decrease after having
cleared the denominator).
In the case of
complex
Complex commonly refers to:
* Complexity, the behaviour of a system whose components interact in multiple ways so possible interactions are difficult to describe
** Complex system, a system composed of many components which may interact with each ...
coefficients, a rational function with degree one is a ''
Möbius transformation''.
The
degree of the graph of a rational function is not the degree as defined above: it is the maximum of the degree of the numerator and one plus the degree of the denominator.
In some contexts, such as in
asymptotic analysis, the ''degree'' of a rational function is the difference between the degrees of the numerator and the denominator.
In
network synthesis
Network synthesis is a design technique for linear circuit, linear electrical circuits. Synthesis starts from a prescribed electrical impedance, impedance function of frequency or frequency response and then determines the possible networks that ...
and
network analysis Network analysis can refer to:
* Network theory, the analysis of relations through mathematical graphs
** Social network analysis, network theory applied to social relations
* Network analysis (electrical circuits)
See also
*Network planning and ...
, a rational function of degree two (that is, the ratio of two polynomials of degree at most two) is often called a .
Examples
The rational function
:
is not defined at
:
It is asymptotic to
as
The rational function
:
is defined for all
real number
In mathematics, a real number is a number that can be used to measure a ''continuous'' one-dimensional quantity such as a distance, duration or temperature. Here, ''continuous'' means that values can have arbitrarily small variations. Every ...
s, but not for all
complex number
In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the fo ...
s, since if ''x'' were a square root of
(i.e. the
imaginary unit
The imaginary unit or unit imaginary number () is a solution to the quadratic equation x^2+1=0. Although there is no real number with this property, can be used to extend the real numbers to what are called complex numbers, using addition an ...
or its negative), then formal evaluation would lead to division by zero:
:
which is undefined.
A
constant function such as ''f''(''x'') = π is a rational function since constants are polynomials. The function itself is rational, even though the
value of ''f''(''x'') is irrational for all ''x''.
Every
polynomial function is a rational function with
A function that cannot be written in this form, such as
is not a rational function. However, the adjective "irrational" is not generally used for functions.
The rational function
is equal to 1 for all ''x'' except 0, where there is a
removable singularity
In complex analysis, a removable singularity of a holomorphic function is a point at which the function is undefined, but it is possible to redefine the function at that point in such a way that the resulting function is regular in a neighbour ...
. The sum, product, or quotient (excepting division by the zero polynomial) of two rational functions is itself a rational function. However, the process of reduction to standard form may inadvertently result in the removal of such singularities unless care is taken. Using the definition of rational functions as equivalence classes gets around this, since ''x''/''x'' is equivalent to 1/1.
Taylor series
The coefficients of a
Taylor series
In mathematics, the Taylor series or Taylor expansion of a function is an infinite sum of terms that are expressed in terms of the function's derivatives at a single point. For most common functions, the function and the sum of its Taylor ser ...
of any rational function satisfy a
linear recurrence relation
In mathematics (including combinatorics, linear algebra, and dynamical systems), a linear recurrence with constant coefficients (also known as a linear recurrence relation or linear difference equation) sets equal to 0 a polynomial that is line ...
, which can be found by equating the rational function to a Taylor series with indeterminate coefficients, and collecting
like terms after clearing the denominator.
For example,
:
Multiplying through by the denominator and distributing,
:
:
After adjusting the indices of the sums to get the same powers of ''x'', we get
:
Combining like terms gives
:
Since this holds true for all ''x'' in the radius of convergence of the original Taylor series, we can compute as follows. Since the
constant term
In mathematics, a constant term is a term in an algebraic expression that does not contain any variables and therefore is constant. For example, in the quadratic polynomial
:x^2 + 2x + 3,\
the 3 is a constant term.
After like terms are com ...
on the left must equal the constant term on the right it follows that
:
Then, since there are no powers of ''x'' on the left, all of the
coefficients on the right must be zero, from which it follows that
:
:
Conversely, any sequence that satisfies a linear recurrence determines a rational function when used as the coefficients of a Taylor series. This is useful in solving such recurrences, since by using
partial fraction decomposition
In algebra, the partial fraction decomposition or partial fraction expansion of a rational fraction (that is, a fraction such that the numerator and the denominator are both polynomials) is an operation that consists of expressing the fraction as ...
we can write any proper rational function as a sum of factors of the form and expand these as
geometric series
In mathematics, a geometric series is the sum of an infinite number of terms that have a constant ratio between successive terms. For example, the series
:\frac \,+\, \frac \,+\, \frac \,+\, \frac \,+\, \cdots
is geometric, because each suc ...
, giving an explicit formula for the Taylor coefficients; this is the method of
generating functions
In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary series ...
.
Abstract algebra and geometric notion
In
abstract algebra
In mathematics, more specifically algebra, abstract algebra or modern algebra is the study of algebraic structures. Algebraic structures include group (mathematics), groups, ring (mathematics), rings, field (mathematics), fields, module (mathe ...
the concept of a polynomial is extended to include formal expressions in which the coefficients of the polynomial can be taken from any
field
Field may refer to:
Expanses of open ground
* Field (agriculture), an area of land used for agricultural purposes
* Airfield, an aerodrome that lacks the infrastructure of an airport
* Battlefield
* Lawn, an area of mowed grass
* Meadow, a grass ...
. In this setting given a field ''F'' and some indeterminate ''X'', a rational expression is any element of the
field of fractions
In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the field ...
of the
polynomial ring
In mathematics, especially in the field of algebra, a polynomial ring or polynomial algebra is a ring (which is also a commutative algebra) formed from the set of polynomials in one or more indeterminates (traditionally also called variables ...
''F''
'X'' Any rational expression can be written as the quotient of two polynomials ''P''/''Q'' with ''Q'' ≠0, although this representation isn't unique. ''P''/''Q'' is equivalent to ''R''/''S'', for polynomials ''P'', ''Q'', ''R'', and ''S'', when ''PS'' = ''QR''. However, since ''F''
'X''is a
unique factorization domain
In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is ...
, there is a
unique representation for any rational expression ''P''/''Q'' with ''P'' and ''Q'' polynomials of lowest degree and ''Q'' chosen to be
monic. This is similar to how a
fraction of integers can always be written uniquely in lowest terms by canceling out common factors.
The field of rational expressions is denoted ''F''(''X''). This field is said to be generated (as a field) over ''F'' by (a
transcendental element
In mathematics, if is a field extension of , then an element of is called an algebraic element over , or just algebraic over , if there exists some non-zero polynomial with coefficients in such that . Elements of which are not algebraic over ...
) ''X'', because ''F''(''X'') does not contain any proper subfield containing both ''F'' and the element ''X''.
Complex rational functions
Julia set
In the context of complex dynamics, a branch of mathematics, the Julia set and the Fatou set are two complementary sets (Julia "laces" and Fatou "dusts") defined from a function. Informally, the Fatou set of the function consists of values wi ...
is the ratio of two polynomials with complex coefficients, where is not the zero polynomial and and have no common factor (this avoids taking the indeterminate value 0/0).
The domain of is the set of complex numbers such that
.
Every rational function can be naturally extended to a function whose domain and range are the whole