Difference between revisions of "Rational Functions"
m |
|||
Line 1: | Line 1: | ||
+ | Rational function is "any function which can be defined by a rational fraction, i.e. an algebraic fraction such that both the numerator and the denominator are polynomials"<ref name="wiki">This section was cited from en:wikipedia [https://en.wikipedia.org/wiki/Rational_function Rational function]oldid=591840157</ref>. | ||
+ | ==Definition<ref>This sentence was cited from en:wikipedia [https://en.wikipedia.org/wiki/Rational_function Rational function]oldid=591840157</ref>== | ||
+ | A function <math>f(x)</math> is called a rational function if and only if it can be written in the form | ||
+ | |||
+ | :<math> f(x) = \frac{P(x)}{Q(x)} </math> | ||
+ | |||
+ | where <math>P\,</math> and <math>Q\,</math> are polynomials in <math>x\,</math> and <math>Q\,</math> is not the zero polynomial. The domain of a function|domain of <math>f\,</math> is the set of all points <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 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> | ||
+ | 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 ''A''(''x'')/''B''(''x'') and ''C''(''x'')/''D''(''x'') are considered equivalent if ''A''(''x'')''D''(''x'')=''B''(''x'')''C''(''x''). In this case <math>\frac{P(x)}{Q(x)}</math> is equivalent to <math>\frac{P_1(x)}{Q_1(x)}</math>. | ||
+ | |||
+ | ==Examples<ref name="wiki">This section was cited from en:wikipedia [https://en.wikipedia.org/wiki/Rational_function Rational function]oldid=591840157</ref>== | ||
+ | {{multiple image | ||
+ | | header = Examples of rational functions | ||
+ | | align = right | ||
+ | | direction = vertical | ||
+ | | width = 300 | ||
+ | | image1 = RationalDegree3.svg | ||
+ | | alt1 = Rational function of degree 3 | ||
+ | | caption1 = Rational function of degree 3: <math>y = \frac{x^3-2x}{2(x^2-5)}</math> | ||
+ | | image2 = RationalDegree2byXedi.svg | ||
+ | | alt2 = Rational function of degree 2 | ||
+ | | caption2 = Rational function of degree 2: <math>y = \frac{x^2-3x-2}{x^2-4}</math> | ||
+ | }} | ||
+ | |||
+ | The rational function <math>f(x) = \frac{x^3-2x}{2(x^2-5)}</math> is not defined at <math>x^2=5 \Leftrightarrow x=\pm \sqrt{5}</math>. It is asymptotic to <math>\frac{x}{2}</math> as ''x'' approaches infinity. | ||
+ | |||
+ | The rational function <math>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>-1</math> (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>, which is undefined. | ||
+ | |||
+ | A constant function such as ''f''(''x'') = π is a rational function since constants are polynomials. Note that the function itself is rational, even though the value (mathematics)|value of ''f''(''x'') is irrational for all ''x''. | ||
+ | |||
+ | 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. The adjective "irrational" is not generally used for functions. | ||
+ | |||
+ | The rational function <math>f(x) = \frac{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 a rational function== | ||
+ | (1)Let's sketch the graph of <math>y=\frac{1}{x}</math>.<br /> | ||
+ | First, we must avoid <math>x=0</math> because anything can not be divided by 0. Thus x should not be 0 in the equation. | ||
+ | Now we just plug in some values of x. The result is as follows:<br /> | ||
+ | {| class="wikitable" | ||
+ | ! <math>x = 1</math> !! <math>y = 1</math> | ||
+ | |- | ||
+ | ! <math>x = 2</math> !! <math>y = \frac{1}{2}</math> | ||
+ | |- | ||
+ | ! <math>x = 3</math> !! <math>y = \frac{1}{3}</math> | ||
+ | |- | ||
+ | ! <math>x = -3</math> !! <math>y = -\frac{1}{3}</math> | ||
+ | |- | ||
+ | ! <math>x = -2</math> !! <math>y = -\frac{1}{2}</math> | ||
+ | |- | ||
+ | ! <math>x = -1</math> !! <math>y = -1</math> | ||
+ | |} | ||
+ | As x get large the function itself gets smaller and smaller. Here is the graph of <math>\frac{1}{x}</math>. | ||
+ | [[File:F=1devidedbyx.JPG|300px|center]] | ||
+ | |||
==Resources== | ==Resources== | ||
* [https://mathresearch.utsa.edu/wikiFiles/MAT1053/Rational_Functions/MAT1053_M4.2Rational_Functions.pdf Rational Functions], Book Chapter | * [https://mathresearch.utsa.edu/wikiFiles/MAT1053/Rational_Functions/MAT1053_M4.2Rational_Functions.pdf Rational Functions], Book Chapter | ||
* [https://mathresearch.utsa.edu/wikiFiles/MAT1053/Rational_Functions/MAT1053_M4.2Rational_FunctionsGN.pdf Guided Notes] | * [https://mathresearch.utsa.edu/wikiFiles/MAT1053/Rational_Functions/MAT1053_M4.2Rational_FunctionsGN.pdf Guided Notes] |
Revision as of 12:24, 4 October 2021
Rational function is "any function which can be defined by a rational fraction, i.e. an algebraic fraction such that both the numerator and the denominator are polynomials"[1].
Definition[2]
A function is called a rational function if and only if it can be written in the form
where and are polynomials in and is not the zero polynomial. The domain of a function|domain of is the set of all points 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 A(x)/B(x) and C(x)/D(x) are considered equivalent if A(x)D(x)=B(x)C(x). In this case is equivalent to .
Examples[1]
Script error: No such module "Multiple_image".
The rational function is not defined at . It is asymptotic to as x approaches infinity.
The rational function is defined for all real numbers, but not for all complex numbers, since if x were a square root of (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. Note that the function itself is rational, even though the value (mathematics)|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. 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 a rational function
(1)Let's sketch the graph of .
First, we must avoid because anything can not be divided by 0. Thus x should not be 0 in the equation.
Now we just plug in some values of x. The result is as follows:
As x get large the function itself gets smaller and smaller. Here is the graph of .
Resources
- Rational Functions, Book Chapter
- Guided Notes