A rational function is a function that can be written as a quotient of two polynomial functions P(x) and Q(x) which means f(x)=Q(x)P(x)=bqxq+bq−1xq−1+...+b1x+b0qpxp+ap−1xp−1+...+a1x+a0 where Q(x)=0. These types of functions are useful as many problems involving rates and concentrations often involve rational functions.
A rational function will have a y-intercept at f(0) only if the function is defined at zero. If the domain does not include x=0 then the function has no y-intercept.
A rational function will have x-intercepts at the inputs that cause f(x)=0 which can only happen if the numerator is equal to 0. This means to find the zeros of a rational function, we need to find the zeros of the numerator. After this, we just need to exclude all zeros not within the domain to get the zeros of f(x).
Example
Find the intercepts of f(x)=(x−1)(x+2)(x−5)(x−2)(x+3).
We find the zeros of the numerator. In this case we solve for (x−2)(x+3)=0 which is true if x=2,−3.
We exclude any of those zeros if the domain does not include it. The domain can be found by finding the zeros of the denominator. In this case we solve for (x−1)(x+2)(x−5)=0 which is true if x=1,−2,5. This means we exclude x=1,−2,5 from the domain.
A vertical asymptote of a graph is a vertical line x=a where the graph tends toward positive or negative infinity as the input approaches a from either the left or the right. We write as x→a−,f(x)→±∞ or x→a+,f(x)→±∞.
Given a rational function, we can find any vertical asymptotes of its graph by...
Factor the numerator and denominator.
Reduce the function by cancelling common factors in the numerator and denominator.
All the values that cause the denominator to be zero in this simplified version are where the vertical asymptotes occur.
Example
Find the vertical asymptotes of the graph of f(x)=x2+2x−8x−2.
First we factor the function and then reduce it if possible...
The multiplicity of a vertical asymptote is the number of times the factor is repeated in the denominator. This is important because it determines the behavior of the graph at a vertical asymptote.
If the multiplicity is even, the graph will tend towards the same direction on both sides of the asymptote.
If the multiplicity is odd, the graph will tend towards infinity on one side and negative infinity on the other side of the asymptote.
A removable discontinuity occurs in the graph of a rational function at x=a. These are single points where the graph is not defined. We often refer to these discountinuity as holes as indicate them by a open circle in the graph.
We can find these discontinuities through the cancelled out factors during reduction. Given a rational function, the steps are...
Factor the numerator and denominator.
Reduce the function by cancelling common factors in the numerator and denominator.
All the values that cause the denominator to be zero in this simplified version are where the vertical asymtotes occur.
All the values that cause the non-simplified version to be zero but are not vertical asymptotes are where the removable discontinuities occur.
Example
Find the removable discontinuities of the graph of f(x)=x2+2x−8x−2.
First we factor the function and then reduce it if possible...
A horizontal asymptote of a graph is a horizontal line y=b where the graph approaches the line as the inputs increase or decreases without bound. We write as x→∞ or x→−∞, f(x)→b.
The horizontal asymptote of a rational function can determined through the degrees of the numerator and denominator...
If the degree of the numerator is less than the degree of the denominator, then there is a horizontal asymptote at y=0.
If the degree of the numerator is greater than the degree of the denominator by one, then there is no horizontal asymptote.
If the degree of the numerator is equal to the degree of the denominator, then the horizontal asymptote is at the ratio of leading coefficients.
Example
Find the horizontal asymptote of f(x)=2x2+5x6x2−10x.
The degree of the numerator is 2 and the degree of the denominator is 2. The degrees are equal and so the horizontal asymptote is at the ratio of leading coefficients which is 26.
If the degree of the numerator is greater than the degree of the denominator by one, then there is no horizontal asymptote. Instead we have a slant asymptote which we can find by dividing the numerator by the denominator.
Example
Find the slant asymptote of f(x)=x+2x2−4x+1.
The degree of the numerator is 2 and the degree of the denominator is 1. The degree of the numerator is one greater than the denominator which means we can find the slant asymptote by dividing the numerator by the denominator. In this case, we can use synthetic division as x+2 is in the form of x−k.
We have used arrow notation to write asymptotes because they help us show that x or f(x) is approaching a particular value. The components of arrow notation include...
Symbol
Definition
x→a−
x approaches a from the left (x<a but close to a)
x→a+
x approaches a from the right (x>a but close to a)
x→∞
x approaches infinity (x increases without bound)
x→−∞
x approaches negative infinity (x decreases without bound)
f(x)→∞
the output approaches infinity (the output increases without bound)
f(x)→−∞
the output approaches negative infinity (the output decreases without bound)
f(x)→a
the output approaches a
Example
Describe the basic function f(x)=x1 using arrow notation.
Given a rational function, we can graph it by following these steps...
Evaluate the function at x=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-intecepts.
Find the multiplicities of the x-intercepts to determine the behavior of the graph at those points.
For factors in the denominator that are not common to the numerator, find the vertical asymptotes by finding the zeros of those factors.
Note the multiplicity of the vertical asymptotes.
For factors in the denominator that are common to the numerator, find the removable discontinuities by finding the zeros of those factors.
Compare the degrees of the numerator and the denominator to determine the horizontal or slant asymptotes.
Sketch the graph using all the information found.
Example
Sketch the graph of f(x)=2(x−1)2(x−3)(x+2)2(x−2).
The rational function is already factored, so lets find the x-intercepts and their multiplicities. The first x-intercept is at x=−2 with a multiplicity of 2 because (x+2)2=0. The second x-intercept is at x=2 with a multiplicity of 1 because (x−2)=0.
The next step is to find the vertical asymptotes. The first vertical asymptote is at x=1 because (x−1)2=0. The second vertical asymptote is at x=3 because (x−3)=0.
The multiplicity of x=1 is 2 meaning the graph will tend towards the same direction on both sides of the asymptote. The multiplicity of x=3 is 1 meaning the graph will tend towards negative infinity on one side and positive infinity on the other side of the asymptote.
There are no removable discontinuities because all factors in the numerator are not in the denominator.
The final step before sketching the graph is to find the horizontal asymptote. The degree of the numerator is 3 and the degree of the denominator is 3. The degrees are equal which means the horizontal asymptote is at the ratio of leading coefficients which is 21.
If a rational function has x-intercepts at x=x1,x2,...,xn, vertical asymptotes at x=v1,v2,...,vm, and no xi= any vj, then the function can be written in the form:
where the powers pi or qi on each factor can be determined by the behavior of the graph at the corresponding intercept or asymptote. Finally, the stretch factor a can be determined given a value of the function other than the x-intercept or by the horizontal asymptote if its non-zero.