Chapter 1: Algebra Review
Section 1.6 Polynomials and Rational Functions
Learning Objectives
By the end of this section, the student should be able to:
- Identify power functions.
- Identify end behavior of power functions.
- Identify polynomial functions.
- Identify the degree and leading coefficient of polynomial functions.
Polynomial Functions
Terminology of Polynomial Functions
A polynomial is a function that can be written as [latex]f(x)=a_0+a_1 x+a_2 x^2+\dots+a_n x^n[/latex]
Each of the [latex]a_i[/latex] constants are called coefficients and can be positive, negative, or zero, and be whole numbers, decimals, or fractions.
A term of the polynomial is any one piece of the sum; that is, any [latex]a_i x^i[/latex]. Each individual term is a transformed power function.
The degree of the polynomial is the highest power of the variable that occurs in the polynomial.
The leading term is the term containing the highest power of the variable: the term with the highest degree.
The leading coefficient is the coefficient of the leading term.
Because of the definition of the “leading” term, we often rearrange polynomials so that the powers are descending: [latex]f(x)=a_n x^n+a_{n-1}x^{n-1}\dots a_2 x^2+a_1 x+a_0[/latex]
Example 1
Identify the degree, leading term, and leading coefficient of the polynomial [latex]f(x)=3+2x^2-4x^3[/latex]
The degree is [latex]3[/latex], the highest power on [latex]x[/latex]. The leading term is the term containing that power, [latex]-4x^3[/latex]. The leading coefficient is the coefficient of that term, [latex]-4[/latex].
Short Run Behavior: Intercepts
As with any function, the vertical intercept can be found by evaluating the function at an input of zero. Since this is evaluation, it is relatively easy to do it for a polynomial of any degree. To find horizontal intercepts, we need to solve for when the output will be zero. For general polynomials, this can be a challenging prospect. Consequently, we will limit ourselves to three cases:
- The polynomial can be factored using known methods: greatest common factor and trinomial factoring.
- The polynomial is given in factored form.
- Technology is used to determine the intercepts.
Example 2
Find the horizontal intercepts of [latex]f(x)=x^6-3x^4+2x^2[/latex].
We can attempt to factor this polynomial to find solutions for [latex]f(x) = 0[/latex]:
[latex]x^6-3x^4+2x^2=0[/latex] | |
[latex]x^2(x^4-3x^2+2)=0[/latex] | Factoring out the greatest common factor |
[latex]x^2(x^2-1)(x^2-2)=0[/latex] | Factoring the inside as a quadratic in [latex]x^2[/latex] |
Then break apart to find solutions:
[latex]x^2=0[/latex] | [latex]x^2-1=0[/latex] | [latex]x^2-2=0[/latex] | ||
[latex]x=0[/latex] | [latex]x^2=1[/latex] | [latex]x^2=2[/latex] | ||
[latex]x=0[/latex] | or | [latex]x=\pm 1[/latex] | or | [latex]x=\pm\sqrt{2}[/latex] |
This gives us five horizontal intercepts.
Example 3
Find the horizontal intercepts of [latex]h(t)=t^3+4t^2+t-6[/latex]
Since this polynomial is not in factored form, has no common factors, and does not appear to be factorable using techniques we know, we can turn to technology to find the intercepts.
Graphing this function, it appears there are horizontal intercepts at [latex]t =[/latex] -3, -2, and 1.
We could check these are correct by plugging in these values for [latex]t[/latex] and verifying that [latex]h(-3)=h(-2)=h(1)=0[/latex].
Solving Polynomial Inequalities
One application of our ability to find intercepts and sketch a graph of polynomials is the ability to solve polynomial inequalities. It is a very common question to ask when a function will be positive and negative, and one we will use later in this course.
Example 4
Solve [latex](x+3)(x+1)^2(x-4)\gt 0[/latex]
As with all inequalities, we start by solving the equality [latex](x+3)(x+1)^2(x-4)= 0[/latex], which has solutions at [latex]x =[/latex] -3, -1, and 4. We know the function can only change from positive to negative at these values, so these divide the inputs into 4 intervals.
We could choose a test value in each interval and evaluate the function [latex]f(x)=(x+3)(x+1)^2(x-4)[/latex] at each test value to determine if the function is positive or negative in that interval:
Interval | Test [latex]x[/latex] in interval | [latex]f(\text{test value})[/latex] | [latex]\gt 0[/latex] or [latex]\lt 0[/latex]? |
[latex]x\lt -3[/latex] | -4 | 72 | [latex]\gt 0[/latex] |
[latex]-3\lt x\lt -1[/latex] | -2 | -6 | [latex]\lt 0[/latex] |
[latex]-1 \lt x \lt 4[/latex] | 0 | -12 | [latex]\lt 0[/latex] |
[latex]x\gt 4[/latex] | 5 | 288 | [latex]\gt 0[/latex] |
On a number line this would look like:
From our test values, we can determine this function is positive when [latex]x \lt -3[/latex] or [latex]x \gt 4[/latex], or in interval notation, [latex](-\infty,-3) \cup (4,\infty)[/latex].
Video
Rational Functions
Rational functions are the ratios, or fractions, of polynomials. They can arise from both simple and complex situations.
Example 5
You plan to drive [latex]100[/latex] miles. Find a formula for the time the trip will take as a function of the speed you drive.
You may recall that multiplying speed by time will give you distance. If we let [latex]t[/latex] represent the drive time in hours and [latex]v[/latex] represent the velocity (speed or rate) at which we drive, then [latex]vt=[/latex]distance. Since our distance is fixed at 100 miles, [latex]vt=100[/latex]. Solving this relationship for the time gives us the function we desired: [latex]t(v)=\frac{100}{v}[/latex]
A general rational function is the ratio of any two polynomials. A rational function is a function that can be written as the ratio of two polynomials, [latex]P(x)[/latex] and [latex]Q(x)[/latex].
[latex]f(x)=\frac{P(x)}{Q(x)}=\frac{a_0+a_1 x+a_2 x^2+\dots+a_p x^p}{b_0+b_1 x+b_2 x^2+\dots+b_q x^q}[/latex]
Example 6
A large mixing tank currently contains [latex]100[/latex] gallons of water, into which [latex]5[/latex] pounds of sugar have been mixed. A tap will open pouring [latex]10[/latex] gallons per minute of water into the tank at the same time sugar is poured into the tank at a rate of [latex]1[/latex] pound per minute. Find the concentration (pounds per gallon) of sugar in the tank after [latex]t[/latex] minutes.
Notice that the amount of water in the tank is changing linearly, as is the amount of sugar in the tank. We can write an equation independently for each: [latex]\text{water}=100+10t \qquad \text{sugar}=5+1t[/latex]
The concentration, [latex]C[/latex], will be the ratio of pounds of sugar to gallons of water: [latex]C(t)=\frac{5+t}{100+10t}[/latex]
Notice that this is a transformation of the reciprocal toolkit function, [latex]f(x)=\dfrac{1}{x}[/latex]. Several natural phenomena, such as gravitational force and volume of sound, behave in a manner inversely proportional to the square of another quantity. For example, the volume, [latex]V[/latex], of a sound heard at a distance [latex]d[/latex] from the source would be related by [latex]V=\dfrac{k}{d^2}[/latex] for some constant value [latex]k[/latex]. These functions are transformations of the reciprocal squared toolkit function [latex]f(x)=\dfrac{1}{x^2}[/latex].
We have seen the graphs of the basic reciprocal function and the squared reciprocal function from our review of toolkit functions. These graphs have several important features.
Let’s begin by looking at the reciprocal function, [latex]f(x)=\dfrac{1}{x}[/latex]. As you well know, dividing by zero is not allowed, and therefore zero is not in the domain, and so the function is undefined at an input of zero.
Short Run Behavior
As the input values approach zero from the left side (taking on very small, negative values), the function values become very large in the negative direction (in other words, they approach negative infinity). We write: [latex]x\to 0^-[/latex], [latex]f(x)\to -\infty[/latex].
As we approach zero from the right side (small, positive input values), the function values become very large in the positive direction (approaching infinity). We write: as [latex]x\to 0^+[/latex], [latex]f(x)\to \infty[/latex].
This behavior creates a vertical asymptote. An asymptote is a line that the graph approaches. In this case the graph is approaching the vertical line [latex]x = 0[/latex] as the input becomes close to zero.
Long Run Behavior
As the values of x approach infinity, the function values approach 0. Also, as the values of x approach negative infinity, the function values approach 0. Symbolically: as [latex]x\to\pm\infty[/latex], [latex]f(x)\to 0[/latex].
Based on this long run behavior and the graph, we can see that the function approaches 0 but never actually reaches 0; it just “levels off” as the inputs become large. This behavior creates a horizontal asymptote. In this case the graph is approaching the horizontal line [latex]f(x)=0[/latex] as the input becomes very large in the negative and positive directions.
Vertical and Horizontal Asymptotes
Vertical and Horizontal Asymptotes
A vertical asymptote of a graph is a vertical line [latex]x = a[/latex] where the graph tends toward positive or negative infinity as the inputs approach [latex]a[/latex]. As [latex]x\to a[/latex], [latex]f(x)\to\pm\infty[/latex].
A horizontal asymptote of a graph is a horizontal line [latex]y=b[/latex] where the graph approaches the line as the inputs get large. As [latex]x\to\pm\infty[/latex], [latex]f(x)\to b[/latex].
Example 7
Sketch a graph of the reciprocal function shifted two units to the left and up three units. Identify the horizontal and vertical asymptotes of the graph, if any.
Transforming the graph left 2 and up 3 would result in the function [latex]f(x)=\dfrac{1}{x+2}+3[/latex], or equivalently, by giving the terms a common denominator, [latex]f(x)=\dfrac{3x+7}{x+2}.[/latex]
Shifting the toolkit function would give us this graph. Notice that this equation is undefined at [latex]x = -2[/latex], and the graph also is showing a vertical asymptote at [latex]x = -2[/latex]. As [latex]x\to -2^-[/latex], [latex]f(x)\to -\infty[/latex], and as [latex]x\to -2^+[/latex], [latex]f(x)\to \infty[/latex].
As the inputs grow large, the graph appears to be leveling off at output values of 3, indicating a horizontal asymptote at [latex]y=3[/latex]. As [latex]x\to\pm\infty[/latex], [latex]f(x)\to 3[/latex]
Notice that horizontal and vertical asymptotes get shifted left [latex]2[/latex] and up [latex]3[/latex] along with the function.
Vertical Asymptotes of Rational Functions
The vertical asymptotes of a rational function will occur where the denominator of the function is equal to zero and the numerator is not zero.
Horizontal Asymptote of Rational Functions
The horizontal asymptote of a rational function can be determined by looking at the degrees of the numerator and denominator.
- Degree of denominator > degree of numerator: Horizontal asymptote at [latex]y=0[/latex].
- Degree of denominator < degree of numerator: No horizontal asymptote.
- Degree of denominator = degree of numerator: Horizontal asymptote at ratio of leading coefficients, [latex]y=\dfrac{a_p}{b_q}[/latex] ([latex]p[/latex] and [latex]q[/latex] are equal in this case).
Example 8
In the sugar concentration problem from earlier, we created the equation [latex]C(t)=\frac{5+t}{100+10t}[/latex]. Find the horizontal asymptote and interpret it in the context of the scenario.
Both the numerator and denominator are linear (degree 1), so since the degrees are equal, there will be a horizontal asymptote at the ratio of the leading coefficients. In the numerator, the leading term is t, with coefficient 1. In the denominator, the leading term is [latex]10t[/latex], with coefficient 10. The horizontal asymptote will be at the ratio of these values: as [latex]t \to \infty[/latex], [latex]C(t)\to \frac{1}{10}[/latex]. This function will have a horizontal asymptote at [latex]y=\frac{1}{10}[/latex].
This tells us that as the input gets large, the output values will approach [latex]\frac{1}{10}[/latex]. In context, this means that as more time goes by, the concentration of sugar in the tank will approach one-tenth of a pound of sugar per gallon of water or [latex]\frac{1}{10}[/latex] pounds per gallon.
Example 9
Find the horizontal and vertical asymptotes of the function [latex]f(x)=\frac{(x-2)(x+3)}{(x-1)(x+2)(x-5)}.[/latex]
First, note this function has no inputs that make both the numerator and denominator zero, so there are no potential holes. The function will have vertical asymptotes when the denominator is zero, causing the function to be undefined. The denominator will be zero at [latex]x =[/latex] 1, -2, and 5, indicating vertical asymptotes at these values.
The numerator has degree 2, while the denominator has degree 3. Since the degree of the denominator is greater than the degree of the numerator, the denominator will grow faster than the numerator, causing the outputs to tend toward zero as the inputs get large, and so as [latex]x\to\pm\infty[/latex], [latex]f(x)\to 0[/latex]. This function will have a horizontal asymptote at [latex]y=0[/latex].
As with all functions, a rational function will have a vertical intercept when the input is zero if the function is defined at zero. It is possible for a rational function to not have a vertical intercept if the function is undefined at zero.
Likewise, a rational function will have horizontal intercepts at the inputs that cause the output to be zero (unless that input corresponds to a hole). It is possible there are no horizontal intercepts. Since a fraction is only equal to zero when the numerator is zero, horizontal intercepts will occur when the numerator of the rational function is equal to zero.
Video
Example 10
Find the intercepts of [latex]f(x)=\frac{(x-2)(x+3)}{(x-1)(x+2)(x-5)}.[/latex]
We can find the vertical intercept by evaluating the function at zero: [latex]f(0)=\frac{(0-2)(0+3)}{(0-1)(0+2)(0-5)}=\frac{-6}{10}=-\frac{3}{5}.[/latex]
The horizontal intercepts will occur when the function is equal to zero:
[latex]\begin{align*} 0=& \frac{(x-2)(x+3)}{(x-1)(x+2)(x-5)} \qquad \text{(This is zero when the numerator is zero.)}\\ 0=& (x-2)(x+3)\\ x=& 2, -3. \end{align*}[/latex]
Vocabulary
The coefficients of a polynomial are the constant values that are multiplied by each variable term.
For example, in the polynomial expression: 3x^2 - 2x + 1
the coefficients are 3, -2, and 1. In this case, 3 is the coefficient of the x^2 term, -2 is the coefficient of the x term, and 1 is the constant coefficient.
A term of the polynomial is any one piece of the sum, that is any a(sub)i x^i
The degree of the polynomial is the highest power of the variable that occurs in the polynomial.
The leading term is the term containing the highest power of the variable: the term with the highest degree.
The leading coefficient is the coefficient of the leading term
The vertical asymptotes of a rational function will occur where the denominator of the function is equal to zero and the numerator is not zero.
The horizontal asymptote of a rational function can be determined by looking at the degrees of the numerator and denominator.
the point at which a parabola changes direction, corresponding to the minimum or maximum value of the quadratic function
a function that consists of either zero or the sum of a finite number of non-zero terms, each of which is a product of a number, called the coefficient of the term, and a variable raised to a non-negative integer power.
a function that can be written as the ratio of two polynomials