Rational function

From HandWiki
Short description: Ratio of polynomial functions

In mathematics, a rational function is any function that can be defined by a rational fraction, which is an algebraic fraction such that both the numerator and the denominator are polynomials. The coefficients of the polynomials need not be rational numbers; they may be taken in any field K. In this case, one speaks of a rational function and a rational fraction over K. The values of the variables 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 is L.

The set of rational functions over a field K is a field, the field of fractions of the ring of the polynomial functions over K.

Definitions

A function [math]\displaystyle{ f }[/math] is called a rational function if it can be written in the form

[math]\displaystyle{ f(x) = \frac{P(x)}{Q(x)} }[/math]

where [math]\displaystyle{ P }[/math] and [math]\displaystyle{ Q }[/math] are polynomial functions of [math]\displaystyle{ x }[/math] and [math]\displaystyle{ Q }[/math] is not the zero function. The domain of [math]\displaystyle{ f }[/math] is the set of all values of [math]\displaystyle{ x }[/math] for which the denominator [math]\displaystyle{ Q(x) }[/math] is not zero.

However, if [math]\displaystyle{ \textstyle P }[/math] and [math]\displaystyle{ \textstyle Q }[/math] have a non-constant polynomial greatest common divisor [math]\displaystyle{ \textstyle R }[/math], then setting [math]\displaystyle{ \textstyle P=P_1R }[/math] and [math]\displaystyle{ \textstyle Q=Q_1R }[/math] produces a rational function

[math]\displaystyle{ f_1(x) = \frac{P_1(x)}{Q_1(x)}, }[/math]

which may have a larger domain than [math]\displaystyle{ f }[/math], and is equal to [math]\displaystyle{ f }[/math] on the domain of [math]\displaystyle{ f. }[/math] It is a common usage to identify [math]\displaystyle{ f }[/math] and [math]\displaystyle{ f_1 }[/math], that is to extend "by continuity" the domain of [math]\displaystyle{ f }[/math] to that of [math]\displaystyle{ f_1. }[/math] Indeed, one can define a rational fraction as an equivalence class of fractions of polynomials, where two fractions [math]\displaystyle{ \textstyle \frac{A(x)}{B(x)} }[/math] and [math]\displaystyle{ \textstyle \frac{C(x)}{D(x)} }[/math] are considered equivalent if [math]\displaystyle{ A(x)D(x)=B(x)C(x) }[/math]. In this case [math]\displaystyle{ \textstyle \frac{P(x)}{Q(x)} }[/math] is equivalent to [math]\displaystyle{ \textstyle \frac{P_1(x)}{Q_1(x)}. }[/math]

A proper rational function is a rational function in which the degree of [math]\displaystyle{ P(x) }[/math] is less than the degree of [math]\displaystyle{ Q(x) }[/math] and both are real polynomials, named by analogy to a proper fraction in [math]\displaystyle{ \mathbb{Q}. }[/math][1]

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 P and Q, when the fraction is reduced to lowest terms. If the degree of f is d, then the equation

[math]\displaystyle{ f(z) = w \, }[/math]

has d distinct solutions in z except for certain values of w, 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 decreases after having cleared the denominator).

In the case of complex 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.[2](§13.6.1)[3](Chapter IV)

In network synthesis and network analysis, a rational function of degree two (that is, the ratio of two polynomials of degree at most two) is often called a biquadratic function.[4]

Examples

Examples of rational functions
Rational function of degree 3
Rational function of degree 3, with a graph of degree 3: [math]\displaystyle{ y = \frac{x^3-2x}{2(x^2-5)} }[/math]
Rational function of degree 2
Rational function of degree 2, with a graph of degree 3: [math]\displaystyle{ y = \frac{x^2-3x-2}{x^2-4} }[/math]

The rational function

[math]\displaystyle{ f(x) = \frac{x^3-2x}{2(x^2-5)} }[/math]

is not defined at

[math]\displaystyle{ x^2=5 \Leftrightarrow x=\pm \sqrt{5}. }[/math]

It is asymptotic to [math]\displaystyle{ \tfrac{x}{2} }[/math] as [math]\displaystyle{ x\to \infty. }[/math]

The rational function

[math]\displaystyle{ f(x) = \frac{x^2 + 2}{x^2 + 1} }[/math]

is defined for all real numbers, but not for all complex numbers, since if x were a square root of [math]\displaystyle{ -1 }[/math] (i.e. the imaginary unit or its negative), then formal evaluation would lead to division by zero:

[math]\displaystyle{ f(i) = \frac{i^2 + 2}{i^2 + 1} = \frac{-1 + 2}{-1 + 1} = \frac{1}{0}, }[/math]

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 [math]\displaystyle{ f(x) = P(x) }[/math] is a rational function with [math]\displaystyle{ Q(x) = 1. }[/math] A function that cannot be written in this form, such as [math]\displaystyle{ f(x) = \sin(x), }[/math] is not a rational function. However, the adjective "irrational" is not generally used for functions.

The rational function [math]\displaystyle{ f(x) = \tfrac{x}{x} }[/math] is equal to 1 for all x except 0, where there is a removable singularity. 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 of any rational function satisfy a linear recurrence relation, 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,

[math]\displaystyle{ \frac{1}{x^2 - x + 2} = \sum_{k=0}^{\infty} a_k x^k. }[/math]

Multiplying through by the denominator and distributing,

[math]\displaystyle{ 1 = (x^2 - x + 2) \sum_{k=0}^{\infty} a_k x^k }[/math]
[math]\displaystyle{ 1 = \sum_{k=0}^{\infty} a_k x^{k+2} - \sum_{k=0}^{\infty} a_k x^{k+1} + 2\sum_{k=0}^{\infty} a_k x^k. }[/math]

After adjusting the indices of the sums to get the same powers of x, we get

[math]\displaystyle{ 1 = \sum_{k=2}^{\infty} a_{k-2} x^k - \sum_{k=1}^{\infty} a_{k-1} x^k + 2\sum_{k=0}^{\infty} a_k x^k. }[/math]

Combining like terms gives

[math]\displaystyle{ 1 = 2a_0 + (2a_1 - a_0)x + \sum_{k=2}^{\infty} (a_{k-2} - a_{k-1} + 2a_k) x^k. }[/math]

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 on the left must equal the constant term on the right it follows that

[math]\displaystyle{ a_0 = \frac{1}{2}. }[/math]

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

[math]\displaystyle{ a_1 = \frac{1}{4} }[/math]
[math]\displaystyle{ a_k = \frac{1}{2} (a_{k-1} - a_{k-2})\quad \text{for}\ k \ge 2. }[/math]

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 we can write any proper rational function as a sum of factors of the form 1 / (ax + b) and expand these as geometric series, giving an explicit formula for the Taylor coefficients; this is the method of generating functions.

Abstract algebra and geometric notion

In abstract algebra the concept of a polynomial is extended to include formal expressions in which the coefficients of the polynomial can be taken from any field. In this setting, given a field F and some indeterminate X, a rational expression (also known as a rational fraction or, in algebraic geometry, a rational function) is any element of the field of fractions of the polynomial ring 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, 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) X, because F(X) does not contain any proper subfield containing both F and the element X.

Complex rational functions

In complex analysis, a rational function

[math]\displaystyle{ f(z) = \frac{P(z)}{Q(z)} }[/math]

is the ratio of two polynomials with complex coefficients, where Q is not the zero polynomial and P and Q have no common factor (this avoids f taking the indeterminate value 0/0).

The domain of f is the set of complex numbers such that [math]\displaystyle{ Q(z)\ne 0 }[/math]. Every rational function can be naturally extended to a function whose domain and range are the whole Riemann sphere (complex projective line).

Rational functions are representative examples of meromorphic functions.

Iteration of rational functions (maps)[5] on the Riemann sphere creates discrete dynamical systems.

Notion of a rational function on an algebraic variety

Main page: Function field of an algebraic variety

Like polynomials, rational expressions can also be generalized to n indeterminates X1,..., Xn, by taking the field of fractions of F[X1,..., Xn], which is denoted by F(X1,..., Xn).

An extended version of the abstract idea of rational function is used in algebraic geometry. There the function field of an algebraic variety V is formed as the field of fractions of the coordinate ring of V (more accurately said, of a Zariski-dense affine open set in V). Its elements f are considered as regular functions in the sense of algebraic geometry on non-empty open sets U, and also may be seen as morphisms to the projective line.

Applications

Rational functions are used in numerical analysis for interpolation and approximation of functions, for example the Padé approximations introduced by Henri Padé. Approximations in terms of rational functions are well suited for computer algebra systems and other numerical software. Like polynomials, they can be evaluated straightforwardly, and at the same time they express more diverse behavior than polynomials.

Rational functions are used to approximate or model more complex equations in science and engineering including fields and forces in physics, spectroscopy in analytical chemistry, enzyme kinetics in biochemistry, electronic circuitry, aerodynamics, medicine concentrations in vivo, wave functions for atoms and molecules, optics and photography to improve image resolution, and acoustics and sound.[citation needed]

In signal processing, the Laplace transform (for continuous systems) or the z-transform (for discrete-time systems) of the impulse response of commonly-used linear time-invariant systems (filters) with infinite impulse response are rational functions over complex numbers.

See also

References

    • Corless, Martin J.; Frazho, Art (2003). Linear Systems and Control. CRC Press. p. 163. ISBN 0203911377. 
    • Pownall, Malcolm W. (1983). Functions and Graphs: Calculus Preparatory Mathematics. Prentice-Hall. p. 203. ISBN 0133323048. 
  1. Bourles, Henri (2010). Linear Systems. Wiley. p. 515. doi:10.1002/9781118619988. ISBN 978-1-84821-162-9. https://onlinelibrary.wiley.com/doi/book/10.1002/9781118619988. Retrieved 5 November 2022. 
  2. Bourbaki, N. (1990). Algebra II. Springer. p. A.IV.20. ISBN 3-540-19375-8. 
  3. Glisson, Tildon H. (2011). Introduction to Circuit Analysis and Design. Springer. ISBN 9048194431. 
  4. Camarena, Omar Antolín. "Iteration of Rational Functions". https://www.matem.unam.mx/~omar/no-wandering-domains.pdf. 

External links