FreeMathCamp
Course Articles

Free Math Camp

A free course in the maths you need before calculus. Short lessons, interactive visuals, practice that adapts to you, and a record of progress on your account.

freemathcamp.app

Made by Adam Richard Turner

hello@adamrichardturner.dev

Course

  • Foundations
  • Articles
  • Start free
  • Sign in

Legal

  • Privacy
  • Terms
  • Do not sell or share

Copyright © Adam Richard Turner. All rights reserved.

  1. Articles
  2. /
  3. Polynomials & Quadratics
Polynomials & Quadratics

Rational Functions: Asymptotes, Holes and Algebraic Fractions

How to simplify algebraic fractions by factorising and cancelling, how to find vertical and horizontal asymptotes, why some zeros of the denominator make holes instead, and how all of this is limits in disguise.

3 min read Supports 4 lessons
In short

A rational function is one polynomial divided by another, like f(x)=1x−2f(x) = \frac{1}{x - 2}f(x)=x−21​. Its graph can have asymptotes, lines it approaches but never reaches, and holes, single missing points.

Divide one polynomial by another and you get a rational function, named after [[ratios|ratio]]. Its graph can do three things a polynomial's never can: shoot off to infinity, level out towards a line, or have a single point missing.

A vertical asymptote at x=2x = 2x=2 and a horizontal asymptote at y=1y = 1y=1.

Simplifying algebraic fractions

Algebraic fractions simplify exactly like number fractions: factorise the top and bottom, then cancel common factors.

  1. x2−9x2+5x+6\frac{x^2 - 9}{x^2 + 5x + 6}x2+5x+6x2−9​

    Factorise top and bottom.

1/4
Watch out

Only cancel factors, never terms. x+3x\frac{x + 3}{x}xx+3​ is not 333.

Vertical asymptotes

Near a value where the denominator is zero (after cancelling), the denominator is tiny, so the fraction is huge. The graph rockets up or down alongside a vertical line called a vertical asymptote.

Vertical asymptotes
q(a)=0 after cancelling  ⇒  x=aq(a) = 0 \text{ after cancelling} \;\Rightarrow\; x = aq(a)=0 after cancelling⇒x=a

Holes

If a factor cancels, the function is still undefined there, but the graph does not blow up. It just has a single missing point, a hole.

Worked example

Find the hole and vertical asymptote of f(x)=x−3x2−x−6f(x) = \dfrac{x - 3}{x^2 - x - 6}f(x)=x2−x−6x−3​.

  1. 1

    Factorise the denominator.

    x−3(x−3)(x+2)\frac{x - 3}{(x - 3)(x + 2)}(x−3)(x+2)x−3​

Horizontal asymptotes

For very large xxx, only the highest-power terms matter. Compare the degrees of the top and bottom.

Horizontal asymptotes
3x2+1x2−5→3   as   x→±∞\frac{3x^2 + 1}{x^2 - 5} \to 3 \;\text{ as }\; x \to \pm\inftyx2−53x2+1​→3 as x→±∞

Same degree: the ratio of leading coefficients. Top degree lower: y=0y = 0y=0. Top degree higher: no horizontal asymptote.

Tip

Try a big number. At x=1000x = 1000x=1000, 3x2+1x2−5\frac{3x^2 + 1}{x^2 - 5}x2−53x2+1​ is 3 000 001999 995≈3.00002\frac{3\,000\,001}{999\,995} \approx 3.000029999953000001​≈3.00002.

Combining algebraic fractions

Adding and subtracting needs a common denominator, just as with numbers:

1x−1x+h=(x+h)−xx(x+h)=hx(x+h)\frac{1}{x} - \frac{1}{x + h} = \frac{(x + h) - x}{x(x + h)} = \frac{h}{x(x + h)}x1​−x+h1​=x(x+h)(x+h)−x​=x(x+h)h​
Key idea

Asymptotes are limits in disguise: f(x)→±∞f(x) \to \pm\inftyf(x)→±∞ as x→2x \to 2x→2, and lim⁡x→∞f(x)=1\lim_{x \to \infty} f(x) = 1limx→∞​f(x)=1. A hole is exactly the kind of point a limit can fill in.

Common questions

What is the difference between a hole and a vertical asymptote?

Both come from zeros of the denominator. If the factor cancels with one on top, the graph has a hole. If it does not cancel, the graph has a vertical asymptote.

Can a graph cross its horizontal asymptote?

Yes, it can cross it for smaller values of xxx. A horizontal asymptote only describes what happens as xxx becomes very large or very negative.

Practise rational functions

The Rational Functions & Asymptotes lesson has worked examples and unlimited practice that adapts to you.

Open the lesson

On this page

  1. Simplifying algebraic fractions
  2. Vertical asymptotes
  3. Holes
  4. Horizontal asymptotes
  5. Combining algebraic fractions
  6. Common questions
Lessons on this
  • Rational Functions & AsymptotesPolynomials, Quadratics & Rational Functions
  • Rational ExpressionsPolynomials, Quadratics & Rational Functions
  • Operations with Rational ExpressionsPolynomials, Quadratics & Rational Functions
  • Limits: Approaching a ValueReady for Calculus
Related reading12
Ideas this article builds on or leads to.
  • Fractions, Decimals & Percentages
    Equivalent Fractions and Simplifying to Simplest Form

    Equivalent fractions name the same amount with different numbers, like 12=24=48\frac{1}{2} = \frac{2}{4} = \frac{4}{8}21​=42​=84​. Multiplying or dividing the top and bottom by the same number never changes a fraction's value.

  • Polynomials & Quadratics
    How to Factorise Quadratics: Sum-Product Method and Difference of Two Squares

    Factorising a quadratic rewrites it as a product of brackets: x2+7x+12=(x+3)(x+4)x^2 + 7x + 12 = (x + 3)(x + 4)x2+7x+12=(x+3)(x+4). For x2+bx+cx^2 + bx + cx2+bx+c, look for two numbers that add to bbb and multiply to ccc.

  • Ready for Calculus
    What Is a Limit in Maths? Limits Explained for Beginners

    A limit describes the value a function approaches as its input gets closer and closer to some number, whether or not the function is defined there. We write lim⁡x→af(x)=L\lim_{x \to a} f(x) = Llimx→a​f(x)=L.

  • Graphs & Functions
    Domain and Range of a Function: How to Find Them

    The domain of a function is the set of inputs it accepts. The range is the set of outputs it actually produces.

  • Polynomials & Quadratics
    What Is a Polynomial? Terms, Degree and the Factor Theorem

    A polynomial is a sum of terms of the form axnax^naxn, where each power nnn is a whole number, such as 4x3−x+74x^3 - x + 74x3−x+7. Its degree is the highest power present.

  • Ratio & Proportion
    Ratios Explained: Simplifying and Sharing in a Ratio

    A ratio compares the sizes of two or more quantities. 2:32 : 32:3 means that for every 222 of the first there are 333 of the second.

  • Fractions, Decimals & Percentages
    What Is a Fraction? Numerators, Denominators and Mixed Numbers

    A fraction ab\frac{a}{b}ba​ means aaa parts of a whole that has been cut into bbb equal parts. The bottom number is the denominator; the top is the numerator.

  • Number & Arithmetic
    Greatest Common Factor and Least Common Multiple (GCF and LCM)

    The greatest common factor (GCF, or HCF) of two numbers is the largest number that divides both. The least common multiple (LCM) is the smallest number that both divide into.

  • Number & Arithmetic
    Factors and Multiples: What Is the Difference?

    A factor of a number divides it exactly, with no remainder. A multiple of a number is that number times a whole number. So 444 is a factor of 121212, and 121212 is a multiple of 444.

  • Graphs & Functions
    What Is a Function? Inputs, Outputs, f(x) and the Vertical Line Test

    A function is a rule that gives exactly one output for each input. Writing f(x)f(x)f(x) means "the output of the function fff when the input is xxx".

  • Powers & Roots
    What Are Exponents? Powers, Bases and Repeated Multiplication

    An exponent (or power) says how many times to multiply a number, the base, by itself: 25=2×2×2×2×2=322^5 = 2 \times 2 \times 2 \times 2 \times 2 = 3225=2×2×2×2×2=32.

  • Fractions, Decimals & Percentages
    Common Denominators: How to Compare, Add and Subtract Fractions

    A common denominator is a denominator shared by two or more fractions. Rewriting fractions over a common denominator makes their pieces the same size, so they can be compared, added and subtracted.