Rational Functions and Asymptotes

Learning goals

  • Identify the original domain, holes, poles, and intercepts after complete cancellation
  • Describe behavior on each side of a pole using signs and nearby inputs
  • Find horizontal and slant asymptotes and determine whether a horizontal asymptote is crossed
  • Solve rational inequalities with sign charts while retaining every original exclusion
  • Interpret excluded inputs and feasible solutions in a rational model

One excluded input, two different pictures

Canceling can simplify the values without adding an input to the domain. Compare

g(x)=x2−1x−1g(x)=\frac{x^2-1}{x-1}

with h(x)=1/(x−1)h(x)=1/(x-1). Both exclude 11. At x=3x=3, g(3)=4g(3)=4 and h(3)=1/2h(3)=1/2, so the shared exclusion does not make them the same function.

For gg, factor x2−1=(x−1)(x+1)x^2-1=(x-1)(x+1). The common factor can be divided out only when x≠1x\ne1, giving g(x)=x+1g(x)=x+1 on that original domain. Near input 11, the outputs are near 22, but (1,2)(1,2) is missing. A hole is a missing point at an excluded input where the completely reduced formula has a finite value.

For hh, there is no common factor. At x=0.9x=0.9 the output is −10-10; at x=1.1x=1.1 it is 1010. Moving closer to 11 makes the outputs unbounded in size. The excluded input is a pole, and the line x=1x=1 is a vertical asymptote: on at least one side, the outputs grow without bound in magnitude as inputs approach that line.

Cancellation leaves a missing pointThe graph of (x² - 1)/(x - 1) is the line y = x + 1 with a hole at (1,2). Axes show x from -3 to 5 and y from -4 to 4. A break and open circle mark the missing input 1.Cancellation leaves a missing point-224-4-224xy0Hole at (1, 2); input 1 stays excluded.
The reduced line supplies nearby heights, but the original denominator removes input 1.
A pole separates two branchesThe graph of 1/(x - 1) has separate branches on either side of the dashed vertical line x = 1. The left branch falls without bound near 1, and the right branch rises without bound. The axes use the same window and scale as the hole panel.A pole separates two branches-224-4-224xy0Pole at 1; dashed line x = 1.
The same excluded input now produces unbounded nearby outputs. Both panels use equal unit scales.

Trace each graph toward input 11 from the left and then from the right. The open circle removes one point from an otherwise ordinary line. The separate reciprocal branches leave every fixed horizontal band near their pole. Neither graph contains a point with input 11.

A rational function is a quotient P(x)/D(x)P(x)/D(x) of polynomials, where DD is not the zero polynomial. Its natural real domain excludes every real zero of the original denominator. A surviving denominator factor matters only if it has a real zero: x2+1x^2+1 is positive at every real input and produces no pole.

Read the features after complete cancellation

An excluded input is classified by what remains after all common factors are canceled. If the reduced denominator is nonzero there, there is a hole. If it is zero there, its numerator is nonzero after complete cancellation, producing a pole. A zero of the reduced numerator gives an xx-intercept only when the original domain allows that input.

Worked example 1 Classify the excluded inputs

Problem. Let

f(x)=(x+6)(x−5)(x+6)(x−2).f(x)=\frac{(x+6)(x-5)}{(x+6)(x-2)}.

(a) State the domain and locate every hole and vertical asymptote.

(b) Find both axis intercepts.

Solution. (a) The original denominator excludes −6-6 and 22. Canceling x+6x+6 gives

f(x)=x−5x−2,x≠−6,2.f(x)=\frac{x-5}{x-2},\quad x\ne-6,2.

At −6-6, the reduced formula gives (−11)/(−8)=11/8(-11)/(-8)=11/8. There is a hole at (−6,11/8)(-6,11/8). The remaining denominator is zero at 22, so x=2x=2 is a vertical asymptote.

(b) The reduced numerator is zero at 55, an allowed input. The xx-intercept is (5,0)(5,0); the canceled numerator zero −6-6 supplies no intercept.

Input 00 is allowed and gives f(0)=5/2f(0)=5/2, so the yy-intercept is (0,5/2)(0,5/2).

Partial cancellation still leaves a pole. For example, (x+4)/(x+4)2(x+4)/(x+4)^2 reduces to 1/(x+4)1/(x+4) for x≠−4x\ne-4. One denominator copy survives, so −4-4 is a pole, not a hole.

Check your understanding

For r(x)=(x−7)2(x−7)(x+5)r(x)=\frac{(x-7)^2}{(x-7)(x+5)}, which description is correct?

Answer choices

To determine behavior beside a pole, use the signs of the reduced factors. For h(x)=1/(x−1)h(x)=1/(x-1), a small negative denominator makes a large negative output on the left; a small positive denominator makes a large positive output on the right. For 1/(x−1)21/(x-1)^2, both sides have a small positive denominator, so both branches rise without bound. The parity of a surviving factor matters, as in Graphs of Polynomial Functions, but the factor is now in a denominator.

Check your understanding

Describe p(x)=−3/(x+2)2p(x)=-3/(x+2)^2 near its excluded input.

Answer choices

What remains far away?

Near a pole and far from the origin are different questions. For h(x)=1/(x−1)h(x)=1/(x-1), inputs 101101 and 10011001 give 0.010.01 and 0.0010.001, while −99-99 and −999-999 give −0.01-0.01 and −0.001-0.001. The branches get closer to the horizontal line y=0y=0 on both ends.

A horizontal asymptote y=Ly=L describes outputs whose distance from LL becomes and stays smaller than any chosen positive distance sufficiently far to the left or right. It does not forbid a crossing at an ordinary input. As in the Algebra II convention, we reserve the word asymptote for approach to a line rather than a graph coinciding with that line throughout its domain.

Leading powers explain the shortcut. For example, divide both parts of (4x2−x+3)/(2x2+5)(4x^2-x+3)/(2x^2+5) by x2x^2 when x≠0x\ne0:

4−1/x+3/x22+5/x2.\frac{4-1/x+3/x^2}{2+5/x^2}.

For large positive or negative inputs, the fractional corrections shrink, leaving a ratio near 4/2=24/2=2. This algebra explains behavior beyond a finite graph window; a few small outputs alone would not establish it.

For nonzero PP and DD, comparing their degrees gives the following guide. Canceling common factors changes both degrees by the same amount, so it does not change their difference.

Numerator degree compared with denominator degreeFar-away behavior
SmallerHorizontal asymptote y=0y=0
EqualHorizontal asymptote at the ratio of leading coefficients, unless the quotient is exactly constant
LargerNo horizontal asymptote; use division to identify the growing polynomial part

If the numerator is the zero polynomial, the function is zero at every allowed input. Under our convention, its graph lies on y=0y=0 rather than having that line as an asymptote.

Worked example 2 Compare a curve with a horizontal line

Problem. For H(x)=(3x2+2x+5)/(x2+2)H(x)=(3x^2+2x+5)/(x^2+2), find the horizontal asymptote and every point where the graph crosses it. Explain why the crossing is compatible with the far-away behavior.

Solution. The denominator is positive at every real input. The degrees match and the leading-coefficient ratio is 33, suggesting y=3y=3. Subtracting this line gives

H(x)−3=2x−1x2+2.H(x)-3=\frac{2x-1}{x^2+2}.

The denominator grows faster than the numerator for large inputs, so this difference shrinks toward zero on both ends. It is zero only at x=1/2x=1/2, giving the point (1/2,3)(1/2,3).

Because x2+2x^2+2 stays positive, the difference is negative for x<1/2x<1/2 and positive for x>1/2x>1/2. The graph crosses from below to above the line. This finite crossing does not change its far-away approach.

A crossing and the far endsThe curve H equals (3x² + 2x + 5)/(x² + 2) crosses the dashed horizontal line y = 3 at (1/2,3). It is below the line on the left and above it on the right. Both tails head toward the line. The graph is drawn for x from -8 to 8 and y from 0 to 5.A crossing and the far ends-8-6-4-22468135xy0(1/2, 3)Solid curve H; dashed line y = 3.
Crossing the dashed line at an ordinary input does not prevent the far ends from getting closer to it.

Division gives a slant line

A rational graph can follow a slanted line far away even while its outputs keep growing. Polynomial division writes the function as a polynomial part plus a proper fraction [a fraction with smaller numerator degree]. The division identity was established in Dividing Polynomials and the Remainder Theorem.

Worked example 3 Measure the gap from a slant line

Problem. For S(x)=(2x2+3x+7)/(x+1)S(x)=(2x^2+3x+7)/(x+1), state its domain, find its slant asymptote, and describe which side of the line contains each far end of the graph.

Solution. The domain excludes −1-1. Division gives quotient 2x+12x+1 and remainder 66, verified by

(x+1)(2x+1)+6=2x2+3x+7.(x+1)(2x+1)+6=2x^2+3x+7.

Therefore, on the original domain,

S(x)=2x+1+6x+1.S(x)=2x+1+\frac6{x+1}.

The signed difference from the line is 6/(x+1)6/(x+1); its magnitude is the vertical gap. The main view below shows both branches, with marked points A=(−7,−14)A=(-7,-14) and B=(5,12)B=(5,12). The line’s heights at those inputs are −13-13 and 1111, so the curve is one unit below it at AA and one unit above it at BB.

Both branches beside the slant lineThe rational curve S equals (2x² + 3x + 7)/(x + 1) is shown in the window x from -8 to 6 and y from -20 to 20. Horizontal and vertical units have different drawn lengths. The solid blue left branch is clearly visible below the dashed red slant line y = 2x + 1; the separate right branch is above it. The dashed vertical line x = -1 contains no curve point. Filled points A at (-7,-14) and B at (5,12) have signed differences -1 and 1 from the slant line. Both branches continue beyond the window.Both branches beside the slant line-8-4046-20-101020xyx = -1ABS(x)2x + 1
Both branches are visible beside the slant line. Horizontal and vertical units use different drawn lengths; the table below examines the signed difference at farther inputs.

The table includes inputs outside the main graph window. Move farther left from −7-7 to −13-13, and farther right from 55 to 1111.

InputSigned difference from the line
−7-7−1-1
−13-13−1/2-1/2
5511
11111/21/2

In each direction, doubling the distance from the pole from 66 to 1212 halves the gap. These finite samples illustrate the behavior. The exact expression ∣6/(x+1)∣|6/(x+1)| explains why it continues: farther out on either side, the denominator’s magnitude keeps growing, so the gap becomes and stays smaller than any chosen positive distance. Thus y=2x+1y=2x+1 is a slant asymptote, also called an oblique asymptote.

For x>−1x>-1, the correction is positive, so the graph is above the line. For x<−1x<-1, it is negative, so the graph is below the line. There is no horizontal asymptote because the linear part keeps growing in magnitude.

When the numerator degree is exactly one greater than the denominator degree and division leaves a nonzero remainder, the linear quotient is the slant asymptote. If the remainder is zero, the graph is the quotient line with any original exclusions retained, as with g(x)=x+1g(x)=x+1 for x≠1x\ne1. Under our convention, that exact line is not called an asymptote.

Check your understanding

A function has domain x≠3x\ne3 and can be written F(x)=−2x+4+5/(x−3)F(x)=-2x+4+5/(x-3). Which statement describes its far ends?

Answer choices

Solve an inequality by signs

Multiplying an inequality by a variable denominator can reverse its direction, depending on the input. A sign chart records positive and negative intervals instead. Mark every numerator zero and every original exclusion, then test the factors between these points. A reduced polynomial factor keeps a fixed sign until one of its real zeros, so the product and quotient signs stay fixed on each interval. If the other side is not zero, subtract it first and combine into one quotient, as with H(x)−3H(x)-3 above. Then compare that quotient with zero, retaining the original domain.

Worked example 4 Solve a factored inequality

Problem. Solve the inequality

x(x−4)x(x+1)≤0\frac{x(x-4)}{x(x+1)}\le0

over the real numbers. Give interval notation, retaining the original domain.

Solution. The original denominator excludes 00 and −1-1. For allowed inputs the quotient reduces to (x−4)/(x+1)(x-4)/(x+1). The critical inputs are the pole −1-1, the hole 00, and the zero 44.

IntervalTest inputSign of x−4x-4Sign of x+1x+1Quotient sign
(−∞,−1)(-\infty,-1)−2-2−-−-++
(−1,0)(-1,0)−1/2-1/2−-++−-
(0,4)(0,4)22−-++−-
(4,∞)(4,\infty)55++++++

Choose the two negative intervals. The endpoint 44 is allowed and makes the numerator zero, so include it. The original exclusions −1-1 and 00 cannot be included even though the inequality allows equality. The solution is

(−1,0)∪(0,4].(-1,0)\cup(0,4].
A hole splits the solution intervalThe solution number line shades the intervals from -1 to 0 and from 0 to 4. Open circles exclude -1 and 0; a filled circle includes 4. The hole at 0 splits the selected interval.-104poleholeallowed zero
The hole stays open inside the selected interval. Only the allowed zero is included.

Check your understanding

Solve (x+8)/(x−6)>0(x+8)/(x-6)>0.

Answer choices

Put the domain back into the model

An algebraic graph can include inputs that the modeled quantity cannot take. Keep the algebraic exclusions first, then intersect with the feasible domain [inputs the situation permits].

Worked example 5 Interpret an average storage cost

Problem. A storage rental has an initial fee of 8484 dollars and a charge of 99 dollars for each cubic meter rented. The capacity vv may be any real value with 0<v≤400<v\le40, in cubic meters. The average cost per cubic meter is

C(v)=84+9vv.C(v)=\frac{84+9v}{v}.

(a) Explain the exclusion at v=0v=0 and the meaning of the horizontal asymptote of the formula.

(b) Find feasible capacities for which the average cost is at most 1212 dollars per cubic meter.

Solution. (a) At v=0v=0, the average would divide the fixed fee by zero cubic meters, so it has no meaning. For positive capacity,

C(v)=9+84v.C(v)=9+\frac{84}{v}.

The formula has horizontal asymptote y=9y=9: for arbitrarily large positive capacities, the fixed fee contributes less per cubic meter. The actual model stops at 4040, so it does not describe arbitrarily large rentals. At its largest permitted capacity, the average is 11.1011.10 dollars per cubic meter, still above 99.

(b) Since vv is positive, multiplying by it preserves the inequality:

84+9v≤12v.84+9v\le12v.

This gives 84≤3v84\le3v, or v≥28v\ge28. Intersecting with 0<v≤400<v\le40 gives 28≤v≤4028\le v\le40 cubic meters. At v=28v=28, the average is exactly 1212 dollars per cubic meter.

Check your understanding

A quotient model's algebraic solution is (−∞,−2]∪(5,∞)(-\infty,-2]\cup(5,\infty). Its stated operating domain is 0<x≤90<x\le9. Which inputs are feasible solutions?

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Core practice

Practice problems at the level of the course, to be worked out on paper. Hints one at a time, then the answer or the full worked solution, with your progress kept in this browser.

Core practice Work it out on paper 10 problems Start →
More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (optional)

Apollonius sent the first book of his work on conic sections to the mathematician Eudemus with an explanation of how the project began. A visitor, Naucrates, had asked him to write down the material during a stay in Alexandria. Apollonius said he initially put the eight books together hurriedly because the visitor was about to leave, intending to revise them afterward.

The letter also gives a tour of the books. The second would study diameters, axes, and asymptotes. What now looks like an orderly ancient textbook began with a request from a colleague and a rushed departure. MacTutor’s biography of Apollonius reproduces his explanation of the hurried first version.

Your progress

See all your progress →