Rational Function
Rational Function
Rational Function
Boundless Algebra
Search
Search for:
Rational Functions
LEARNING OBJECTIVES
KEY TAKEAWAYS
Key Points
A rational function is any function which can be written as the ratio of two
polynomial functions, where the polynomial in the denominator is not equal to
zero.
The domain of f(x)=P(x)Q(x)f(x)=P(x)Q(x) is the set of all points xx for which the
denominator Q(x)Q(x) is not zero.
Domain restrictions of a rational function can be determined by setting the
denominator equal to zero and solving. The xx-values at which the denominator
equals zero are called singularities and are not in the domain of the function.
Key Terms
domain: The set of all input values (xx) over which a function is defined.
rational function: Any function whose value can be expressed as the quotient of
two polynomials (where the polynomial in the denominator is not zero).
singularities: The xx-values at which a rational function is not defined, for which
the denominator Q(x)Q(x) is zero.
vertical asymptote: A vertical straight line which a curve approaches arbitrarily
closely, as it goes to infinity.
denominator: The number or expression written below the line in a fraction
(thus, 22 in 1212).
Rational Functions
A rational function is any function which can be written as the ratio of two polynomial
functions. Neither the coefficients of the polynomials, nor the values taken by the
function, are necessarily rational numbers.
Any function of one variable, xx, is called a rational function if, and only if, it can be
written in the form:
f(x)=P(x)Q(x)f(x)=P(x)Q(x)
Note that every polynomial function is a rational function with Q(x)=1Q(x)=1. A function
that cannot be written in the form of a polynomial, such as f(x)=sin(x)f(x)=sin(x), is
not a rational function. However, the adjective “irrational” is not generally used for
functions.
For a simple example, consider the rational function y=1xy=1x. The domain is
comprised of all values of x≠0x≠0.
Domain restrictions can be calculated by finding singularities, which are the xx-values
for which the denominator Q(x)Q(x) is zero. The rational function is not defined for
such xx-values, and these values are excluded from the domain set of the function.
f(x)=(x2−3x−2)(x2−4)f(x)=(x2−3x−2)(x2−4)
The domain of this function includes all values of xx, except where x2−4=0x2−4=0.
x2−4=(x+2)(x−2)x2−4=(x+2)(x−2)
Setting each linear factor equal to zero, we have x+2=0x+2=0 and x−2=0x−2=0.
Solving each of these yields solutions x=−2x=−2 and x=2x=2; thus, the domain
includes all xx not equal to 22 or −2−2. This can be seen in the graph below.
The domain of a function: Graph of a rational function with equation (x2–3x−2)(x2–4)(x2–3x−2)(x2–4). The
domain of this function is all values of xx except +2+2 or −2−2.
Note that there are vertical asymptotes at xx-values of 22 and −2−2. This means that,
although the function approaches these points, it is not defined at them.
Example 2
f(x)=(x+3)(x2+2)f(x)=(x+3)(x2+2)
The domain of this function is all values of xx except those where x2+2=0x2+2=0.
However, for x2+2=0x2+2=0, x2x2 would need to equal −2−2. Since this condition
cannot be satisfied by a real number, the domain of the function is all real numbers.
Asymptotes
A rational function can have at most one horizontal or oblique asymptote, and many
possible vertical asymptotes; these can be calculated.
LEARNING OBJECTIVES
Determine when the asymptote of a rational function will be horizontal, oblique, or vertical
KEY TAKEAWAYS
Key Points
An asymptote of a curve is a line, such that the distance between the curve and
the line approaches zero as they tend to infinity.
There are three kinds of asymptotes: horizontal, vertical and oblique.
A rational function has at most one horizontal asymptote or oblique (slant)
asymptote, and possibly many vertical asymptotes.
Vertical asymptotes occur at singularities of a rational function, or points at which
the function is not defined. They only occur at singularities where the associated
linear factor in the denominator remains after cancellation.
The existence of a horizontal or oblique asymptote depends on the degrees of
polynomials in
the numerator and denominator.
Key Terms
Types of Asymptotes
In analytic geometry, an asymptote of a curve is a line such that the distance between
the curve and the line approaches zero as they tend to infinity.
There are three kinds of asymptotes: horizontal, vertical and oblique. Horizontal
asymptotes of curves are horizontal lines that the graph of the function approaches
as xx tends to +∞+∞ or −∞−∞. Horizontal asymptotes are parallel to the xx-axis.
Vertical asymptotes are vertical lines near which the function grows without bound.
They are parallel to the yy-axis.
Example 1
Consider the graph of the equation f(x)=1xf(x)=1x, shown below. The coordinates of
the points on the curve are of the form (x,1x)(x,1x) where xxis a number other than 0.
Notice that as the positive values of xx become larger and larger, the corresponding
values of yy become infinitesimally small. However, no matter how
large xx becomes, 1x1x is never 00, so the curve never actually touches the xx-axis.
The xx-axis is a horizontal asymptote of the curve.
Similarly, as the positive values of xx become smaller and smaller, the corresponding
values of yy become larger and larger. So the curve extends farther and farther upward
as it comes closer and closer to the yy-axis. The yy-axis is a vertical asymptote of the
curve.
A rational function has at most one horizontal or oblique asymptote, and possibly many
vertical asymptotes.
Vertical asymptotes occur only when the denominator is zero. In other words, vertical
asymptotes occur at singularities, or points at which the rational function is not defined.
Vertical asymptotes only occur at singularities when the associated linear factor in the
denominator remains after cancellation.
f(x)=(x−1)(x+2)(x−1)(x+1)f(x)=(x−1)(x+2)(x−1)(x+1)
We can identify from the linear factors in the denominator that two singularities exist,
at x=1x=1 and x=−1x=−1. However, the linear factor (x−1)(x−1) cancels with a factor
in the numerator. Thus, the only vertical asymptote for this function is at x=−1x=−1.
The degree of the numerator and degree of the denominator determine whether or not
there are any horizontal or oblique asymptotes.
When the numerator of a rational function has degree exactly one greater than the
denominator, the function has an oblique (slant) asymptote. The asymptote is the
polynomial term after dividing the numerator and denominator, and is a linear
expression.
Example 2
Notice that, based on the linear factors in the denominator, singularities exists
at x=1x=1 and x=−1x=−1. Also notice that one linear factor (x−1)(x−1) cancels with the
numerator. However, one linear factor (x−1)(x−1) remains in the denominator because
it is squared. Therefore, a vertical asymptote exists at x=1x=1. The linear
factor (x+1)(x+1) also does not cancel out; thus, a vertical asymptote also exists
at x=−1x=−1.
Example 3
f(x)=2x2+x+1x2+16f(x)=2x2+x+1x2+16.
Because the polynomials in the numerator and denominator have the same degree
(22), we can identify that there is one horizontal asymptote and no oblique asymptote.
The coefficient of the highest power term is 22 in the numerator and 11 in the
denominator. Hence, horizontal asymptote is given by:
y=21=2y=21=2
The xx-intercepts of rational functions are found by setting the polynomial in the
numerator equal to 00 and solving for xx.
LEARNING OBJECTIVES
KEY TAKEAWAYS
Key Points
The xx-intercepts (also known as zeros or roots ) of a function are points where
the graph intersects the xx-axis. Rational functions can have zero, one, or
multiple xx-intercepts.
For any function, the xx-intercepts are xx-values for which the function has a
value of zero: f(x)=0f(x)=0.
For rational functions, the xx-intercepts exist when the numerator is equal to 00.
For f(x)=P(x)Q(x)f(x)=P(x)Q(x), if P(x)=0P(x)=0, then f(x)=0f(x)=0.
Key Terms
Recall that a rational function is defined as the ratio of two real polynomials with the
condition that the polynomial in the denominator is not a zero polynomial.
f(x)=x+12x2−x−1f(x)=x+12x2−x−1
Rational functions can be graphed on the coordinate plane. We can use algebraic
methods to calculate their xx-intercepts (also known as zeros or roots), which are points
where the graph intersects the xx-axis. Rational functions can have zero, one, or
multiple xx-intercepts.
For any function, the xx-intercepts are xx-values for which the function has a value of
zero: f(x)=0f(x)=0.
In the case of rational functions, the xx-intercepts exist when the numerator is equal
to 00. For f(x)=P(x)Q(x)f(x)=P(x)Q(x), if P(x)=0P(x)=0, then f(x)=0f(x)=0.
In order to solve rational functions for their xx-intercepts, set the polynomial in the
numerator equal to zero, and solve for xx by factoring where applicable.
Example 1
f(x)=x2−3x+2x2−2x−3f(x)=x2−3x+2x2−2x−3
Set the numerator of this rational function equal to zero and solve for xx:
0=x2−3x+2=(x−1)(x−2)0=x2−3x+2=(x−1)(x−2)
Solutions for this polynomial are x=1x=1 or x=2x=2. This means that this function
has xx-intercepts at 11 and 22.
Example 2
f(x)=1xf(x)=1x
Here, the numerator is a constant, and therefore, cannot be set equal to 00. Thus, this
function does not have any xx-intercepts.
Example 3
g(x)=x3−2x2x2−10g(x)=x3−2x2x2−10
0=x3−2x=x(x2−2)0=x3−2x=x(x2−2)
Let the second factor equal zero, and solve for xx:
x2−2=0x2=2x=±√2x2−2=0x2=2x=±2
Thus there are three roots, or xx-intercepts: 00, −√2−2 and √22. These can be
observed in the graph of the function below.
Graph of g(x)=x3–2x2x2–10g(x)=x3–2x2x2–10: xx-intercepts exist at x=−√2,0,√2x=−2,0,2.
A rational expression can be treated like a fraction, and can be manipulated via
multiplication and division.
LEARNING OBJECTIVES
KEY TAKEAWAYS
Key Points
Key Terms
As a first example, consider the rational expression 3x3x3x3x. This can be simplified by
canceling out one factor of xx in the numerator and denominator, which gives the
expression 3x23x2.
Note that the domain of the equation f(x)=3x3xf(x)=3x3x does not include x=0x=0, as
this would cause division by 00. The latter form is a simplified version of the former
graphically.
x2+5x+62x2+5x+2x2+5x+62x2+5x+2
which, after canceling the common factor of (x+2)(x+2) from both the numerator and
denominator, gives the simplified expression
x+32x+1x+32x+1
For a simple example, consider the following, where a rational expression is multiplied
by a fraction of whole numbers:
x2+32x−3×23x2+32x−3×23
Following the rule for multiplying fractions, simply multiply their respective numerators
and denominators:
2(x2+3)3(2x−3)2(x2+3)3(2x−3)
Notice that we multiplied the numerators together and the denominators together, but
we did not multiply the numerator by the denominator or vice-versa.
We follow the same rules to multiply two rational expressions together. The operations
are slightly more complicated, as there may be a need to simplify the resulting
expression.
Example 1
x+1x−1×x+2x+3x+1x−1×x+2x+3
(x+1)(x+2)(x−1)(x+3)(x+1)(x+2)(x−1)(x+3)
Multiplying out the numerator and denominator, this can be written as:
x2+3x+2x2+2x−3x2+3x+2x2+2x−3
Dividing rational expressions follows the same rules as dividing fractions. Recall the rule
for dividing fractions: the dividend is multiplied by the reciprocal of the divisor. The same
applies to dividing rational expressions; the first expression is multiplied by the
reciprocal of the second.
Example 2
x+1x−1÷x+2x+3x+1x−1÷x+2x+3
x+1x−1×x+3x+2x+1x−1×x+3x+2
(x+1)(x+3)(x−1)(x+2)=x2+3x+3x2+x−2(x+1)(x+3)(x−1)(x+2)=x2+3x+3x2+x−2
Partial Fractions
Partial fraction decomposition is a procedure used to reduce the degree of either the
numerator or the denominator of a rational function.
LEARNING OBJECTIVES
KEY TAKEAWAYS
Key Points
Key Terms
Here’s an example of one ratio being split into a sum of three simpler ratios:
8x2+3x−21x3−7x−6=1x+2+3x−3+4x+18x2+3x−21x3−7x−6=1x+2+3x−3+4x+1
The main motivation to decompose a rational function into a sum of simpler fractions is
to make it easier to perform linear operations on the sum. Reducing complex
mathematical problems via partial fraction decomposition allows us to focus on
computing each single element of the decomposition rather than the more complex
rational function.
The first step to decomposing the function R(x)R(x) is to factor its denominator:
R(x)=f(x)(x−a1)(x−a2)⋯(x−ap)R(x)=f(x)(x−a1)(x−a2)⋯(x−ap)
R(x)=c1(x−a1)+c2(x−a2)+⋯+cp(x−ap)R(x)=c1(x−a1)+c2(x−a2)+⋯+cp(x−ap)
To complete the process, we must determine the values of these cici coefficients. To
find a coefficient, multiply the denominator associated with it by the rational
function R(x)R(x):
ci=(x−ai)R(x)ci=(x−ai)R(x)
This will yield an expression with an xx-value. Substitute the associated root aiai in
for xx, and solve for the constant. The following problems provide an examples of this
technique.
Example 1
x2+2x−3=(x+3)(x−1)x2+2x−3=(x+3)(x−1)
f(x)=1x2+2x−3=c1x+3+c2x−1f(x)=1x2+2x−3=c1x+3+c2x−1
c1=1x2+2x−3(x+3)=x+3(x+3)(x−1)=1x−1c1=1x2+2x−3(x+3)=x+3(x+3)(x−1)=1x−1
c2=1x2+2x−3(x−1)=x−1(x+3)(x−1)=1x+3c2=1x2+2x−3(x−1)=x−1(x+3)(x−1)=1x+3
f(x)=1x2+2x−3=14(−1x+3+1x−1)f(x)=1x2+2x−3=14(−1x+3+1x−1).
We have rewritten the initial rational function in terms of partial fractions. This is the
most simplified form possible, so we are finished.
Example 2
x3−7x−6=(x+2)(x−3)(x+1)x3−7x−6=(x+2)(x−3)(x+1)
g(x)=8x2+3x−21x3−7x−6=c1(x+2)+c2(x−3)+c3(x+1)g(x)=8x2+3x−21x3−7x−6=c1(x+2)+c2(x−3)+c
3(x+1)
c1=8x2+3x−21x3−7x−6(x+2)=8x2+3x−21(x−3)(x+1)c1=8x2+3x−21x3−7x−6(x+2)=8x2+3x−21(x−
3)(x+1)
c1=8(−2)2+3(−2)−21(−2−3)(−2+1)=32−27(−5)(−1)=1c1=8(−2)2+3(−2)−21(−2−3)(−2+
1)=32−27(−5)(−1)=1
c2=8x2+3x−21x3−7x−6(x−3)=8x2+3x−21(x+2)(x+1)c2=8x2+3x−21x3−7x−6(x−3)=8x2+3x−21(x+
2)(x+1)
c2=8(3)2+3(3)−21(3+2)(3+1)=72−1215=4c2=8(3)2+3(3)−21(3+2)(3+1)=72−1215=4
c3=8x2+3x−21x3−7x−6(x+1)=8x2+3x−21(x+2)(x−3)c3=8x2+3x−21x3−7x−6(x+1)=8x2+3x−21(x+
2)(x−3)
c3=8(−1)2+3(−1)−21(−1+2)(−1−3)=8−24−4=4c3=8(−1)2+3(−1)−21(−1+2)(−1−3)=8−
24−4=4
We have solved for each constant and have our partial fraction expansion:
g(x)=8x2+3x−21x3−7x−6=1(x+2)+4(x−3)+4(x+1)g(x)=8x2+3x−21x3−7x−6=1(x+2)+4(x−3)+4(x+
1)
Additional Considerations
There are some important cases to note, for which partial fraction decomposition
becomes more complicated. Decomposition in each of the below cases involves steps
in addition to those described above.
If there are repeated roots in the denominator of a rational function (for example,
consider G(x)=x+2(x−1)2(x+3)G(x)=x+2(x−1)2(x+3), for which x=1x=1 is a repeated
root), additional steps must be taken to decompose the function.
For a rational function R(x)=f(x)g(x)R(x)=f(x)g(x), if the degree of f(x)f(x) is greater
than or equal to the degree of g(x)g(x), the function cannot be decomposed in a
straightforward way. It is necessary to perform the Euclidean division
of ff by gg using polynomial long division,
giving f(x)=E(X)g(x)+h(x)f(x)=E(X)g(x)+h(x). Dividing through
by g(x)g(x) gives f(x)g(x)=E(x)+h(x)g(x)f(x)g(x)=E(x)+h(x)g(x), which you can then
perform the decomposition on h(x)g(x)h(x)g(x).