Difference between revisions of "Graphs of Rational Functions"
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | In | + | 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 | + | 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== | ==Definitions== | ||
Line 8: | Line 8: | ||
:<math> f(x) = \frac{P(x)}{Q(x)} </math> | :<math> f(x) = \frac{P(x)}{Q(x)} </math> | ||
− | where <math>P\,</math> and <math>Q\,</math> are | + | where <math>P\,</math> and <math>Q\,</math> are polynomial functions of <math>x\,</math> and <math>Q\,</math> is not the zero function. The domain of f is the set of all values of <math>x\,</math> for which the denominator <math>Q(x)\,</math> is not zero. |
− | However, if <math>\textstyle P</math> and <math>\textstyle Q</math> have a non-constant | + | However, if <math>\textstyle P</math> and <math>\textstyle Q</math> have a non-constant polynomial greatest common divisor <math>\textstyle R</math>, then setting <math>\textstyle P=P_1R</math> and <math>\textstyle Q=Q_1R</math> produces a rational function |
:<math> f_1(x) = \frac{P_1(x)}{Q_1(x)}, </math> | :<math> f_1(x) = \frac{P_1(x)}{Q_1(x)}, </math> | ||
− | which may have a larger domain than <math> f(x)</math>, and is equal to <math> f(x)</math> on the domain of <math> f(x).</math> It is a common usage to identify <math> f(x)</math> and <math> f_1(x)</math>, that is to extend "by continuity" the domain of <math> f(x)</math> to that of <math> f_1(x).</math> Indeed, one can define a rational fraction as an | + | which may have a larger domain than <math> f(x)</math>, and is equal to <math> f(x)</math> on the domain of <math> f(x).</math> It is a common usage to identify <math> f(x)</math> and <math> f_1(x)</math>, that is to extend "by continuity" the domain of <math> f(x)</math> to that of <math> f_1(x).</math> Indeed, one can define a rational fraction as an equivalence class of fractions of polynomials, where two fractions <math>\frac{A(x)}{B(x)}</math> and <math>\frac{C(x)}{D(x)}</math> are considered equivalent if <math>A(x)D(x)=B(x)C(x)</math>. In this case <math>\frac{P(x)}{Q(x)}</math> is equivalent to <math>\frac{P_1(x)}{Q_1(x)}</math>. |
− | A '''proper rational function''' is a rational function in which the | + | A '''proper rational function''' is a rational function in which the Degree of a polynomial|degree of <math>P(x)</math> is no greater than the degree of <math>Q(x)</math> and both are real polynomials. |
===Degree=== | ===Degree=== | ||
There are several non equivalent definitions of the degree of a rational function. | There are several non equivalent definitions of the degree of a rational function. | ||
− | Most commonly, the | + | 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>f(z) = w \,</math> | :<math>f(z) = w \,</math> | ||
− | has | + | 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 decrease after having cleared the denominator). |
− | In the case of | + | In the case of complex coefficients, a rational function with degree one is a Möbius transformation. |
− | The | + | 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 | + | 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 | + | 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. |
==Examples== | ==Examples== | ||
− | [[File:RationalDegree3.svg|thumb|Rational function of degree 3, with a graph of degree 3: | + | [[File:RationalDegree3.svg|thumb|Rational function of degree 3, with a graph of degree 3: <math>y = \frac{x^3-2x}{2(x^2-5)}</math>]] |
− | [[File:RationalDegree2byXedi.svg|thumb|Rational function of degree 2, with a graph of degree 3: | + | [[File:RationalDegree2byXedi.svg|thumb|Rational function of degree 2, with a graph of degree 3: <math>y = \frac{x^2-3x-2}{x^2-4}</math>]] |
The rational function | The rational function | ||
Line 53: | Line 53: | ||
:<math>f(x) = \frac{x^2 + 2}{x^2 + 1}</math> | :<math>f(x) = \frac{x^2 + 2}{x^2 + 1}</math> | ||
− | is defined for all | + | is defined for all real numbers, but not for all complex numbers, since if x were a square root of -1 (i.e. the imaginary unit or its negative), then formal evaluation would lead to division by zero: |
:<math>f(i) = \frac{i^2 + 2}{i^2 + 1} = \frac{-1 + 2}{-1 + 1} = \frac{1}{0},</math> | :<math>f(i) = \frac{i^2 + 2}{i^2 + 1} = \frac{-1 + 2}{-1 + 1} = \frac{1}{0},</math> | ||
Line 59: | Line 59: | ||
which is undefined. | which is undefined. | ||
− | A | + | A constant function such as ''f''(''x'') = π is a rational function since constants are polynomials. The function itself is rational, even though the [[value (mathematics)|value]] of ''f''(''x'') is irrational for all ''x''. |
− | Every | + | Every polynomial function <math>f(x) = P(x)</math> is a rational function with <math>Q(x) = 1.</math> A function that cannot be written in this form, such as <math>f(x) = \sin(x),</math> is not a rational function. However, the adjective "irrational" is '''not''' generally used for functions. |
− | The rational function <math>f(x) = \tfrac{x}{x}</math> is equal to 1 for all ''x'' except 0, where there is a | + | The rational function <math>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. |
− | == | + | ==Sketch a graph of rational functions== |
− | + | # Evaluate the function at 0 to find the y-intercept. | |
− | + | # Factor the numerator and denominator. | |
− | + | # For factors in the numerator not common to the denominator, determine where each factor of the numerator is zero to find the x-intercepts. | |
− | + | # Find the multiplicities of the x-intercepts to determine the behavior of the graph at those points. | |
− | + | # For factors in the denominator, note the multiplicities of the zeros to determine the local behavior. For those factors not common to the numerator, find the vertical asymptotes by setting those factors equal to zero and then solve. | |
− | + | # For factors in the denominator common to factors in the numerator, find the removable discontinuities by setting those factors equal to 0 and then solve. | |
− | + | # Compare the degrees of the numerator and the denominator to determine the horizontal or slant asymptotes. | |
− | + | # Sketch the graph. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==References== | ==References== | ||
− | |||
− | |||
− | |||
− | + | *Martin J. Corless, Art Frazho, Linear Systems and Control, p. 163, CRC Press, 2003 ISBN 0203911377. | |
− | * [ | + | *Malcolm W. Pownall, Functions and Graphs: Calculus Preparatory Mathematics, p. 203, Prentice-Hall, 1983 ISBN 0133323048. |
+ | *Glisson, Tildon H., Introduction to Circuit Analysis and Design, Springer, 2011 ISBN ISBN 9048194431. | ||
+ | *"Rational function", Encyclopedia of Mathematics, EMS Press, 2001 [1994] | ||
+ | *Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. (2007), "Section 3.4. Rational Function Interpolation and Extrapolation", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8 | ||
+ | *[https://courses.lumenlearning.com/ivytech-collegealgebra/chapter/graph-rational-functions/ Graph Rational Functions], Lumen Learning | ||
− | + | == Licensing == | |
− | [ | + | Content obtained and/or adapted from: |
− | [ | + | * [https://en.wikipedia.org/wiki/Rational_function Rational function, Wikipedia] under a CC BY-SA license |
− | + | * [https://courses.lumenlearning.com/ivytech-collegealgebra/chapter/graph-rational-functions/ Graph Rational Functions, Lumen Learning College Algebra] under a CC BY license |
Latest revision as of 13:48, 21 October 2021
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.
Contents
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. The domain of f 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 , 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 a polynomial|degree of is no greater than the degree of and both are real polynomials.
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
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 decrease 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.
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.
Examples
The rational function
is not defined at
It is asymptotic to as
The rational function
is defined for all real numbers, but not for all complex numbers, since if x were a square root of -1 (i.e. the imaginary unit 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. 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.
Sketch a graph of rational functions
- Evaluate the function at 0 to find the y-intercept.
- Factor the numerator and denominator.
- For factors in the numerator not common to the denominator, determine where each factor of the numerator is zero to find the x-intercepts.
- Find the multiplicities of the x-intercepts to determine the behavior of the graph at those points.
- For factors in the denominator, note the multiplicities of the zeros to determine the local behavior. For those factors not common to the numerator, find the vertical asymptotes by setting those factors equal to zero and then solve.
- For factors in the denominator common to factors in the numerator, find the removable discontinuities by setting those factors equal to 0 and then solve.
- Compare the degrees of the numerator and the denominator to determine the horizontal or slant asymptotes.
- Sketch the graph.
References
- Martin J. Corless, Art Frazho, Linear Systems and Control, p. 163, CRC Press, 2003 ISBN 0203911377.
- Malcolm W. Pownall, Functions and Graphs: Calculus Preparatory Mathematics, p. 203, Prentice-Hall, 1983 ISBN 0133323048.
- Glisson, Tildon H., Introduction to Circuit Analysis and Design, Springer, 2011 ISBN ISBN 9048194431.
- "Rational function", Encyclopedia of Mathematics, EMS Press, 2001 [1994]
- Press, W.H.; Teukolsky, S.A.; Vetterling, W.T.; Flannery, B.P. (2007), "Section 3.4. Rational Function Interpolation and Extrapolation", Numerical Recipes: The Art of Scientific Computing (3rd ed.), New York: Cambridge University Press, ISBN 978-0-521-88068-8
- Graph Rational Functions, Lumen Learning
Licensing
Content obtained and/or adapted from:
- Rational function, Wikipedia under a CC BY-SA license
- Graph Rational Functions, Lumen Learning College Algebra under a CC BY license