Rational Functions Formula

A rational function is a ratio of two polynomials: f(x) = P(x)/Q(x) where P and Q are polynomials and Q(x) ≠ 0.

The Formula

f(x)=p(x)q(x) where p(x) and q(x) are polynomials and q(x)≠0

Ask yourself: Is the function a polynomial divided by another polynomial containing the variable?

Quick example

f(x)=x+1x−2 Undefined at x=2 (division by zero).

Notation

Vertical asymptotes where q(x)=0 after cancelling factors shared with p(x) (a cancelled factor gives a hole). Horizontal asymptote determined by comparing degrees of p and q.

What this formula means

A rational function is a ratio of two polynomials: f(x)=P(x)/Q(x) where P and Q are polynomials and Q(x)≠0.

Sharing 8 slices of pizza among n people gives each person 8n slices: few for a big group, a huge amount as the group shrinks toward nobody, where the question stops making sense. The picture fits the wall at zero; unlike people, a function's inputs can also be fractions or negatives.

Formal view

R(x)=p(x)q(x) where p,q are polynomials, q≢0, with Dom(R)={x∈R∣q(x)≠0}

Worked examples

Example 1

medium
Find the vertical and horizontal asymptotes of f(x)=3x+2x−4.
Show solution

Answer

Vertical: x=4,Horizontal: y=3

First step

1.
Vertical asymptote: set denominator =0: x−4=0, so x=4.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Find all asymptotes and holes of f(x)=x2−9x2−x−6.

Example 3

medium
Find all asymptotes of f(x)=4x2x2−1.

Common mistakes

  • Forgetting to exclude inputs where the denominator is zero - those are never in the domain.
  • Cancelling a common factor and ignoring the resulting hole - the cancelled input stays excluded as a hole.
  • Assuming a vertical asymptote wherever the denominator is zero - if the factor also cancels, it is a hole, not an asymptote.

Why this formula matters

Rational functions model 'per' quantities that change, and they show limits you approach but never reach: the average cost per printed book falls toward the per-copy cost but never below it. Without tracking the denominator you can accept a solution the function forbids, or miss that a graph has a wall where outputs become enormous.

Frequently asked questions

What is the Rational Functions formula?

A rational function is a ratio of two polynomials: f(x)=P(x)/Q(x) where P and Q are polynomials and Q(x)≠0.

How do you use the Rational Functions formula?

Use a rational model when a quantity is a ratio with the variable in the denominator: a 'per' quantity (cost per item, hours per trip at speed v), a fixed amount shared out, or a mixture's concentration. Then find the excluded inputs, decide whether each denominator zero is a hole or an asymptote, and compare degrees for the long-run value. If the denominator is a plain number, the function is a polynomial; if the variable is in an exponent, it is exponential.

What do the symbols mean in the Rational Functions formula?

Vertical asymptotes where q(x)=0 after cancelling factors shared with p(x) (a cancelled factor gives a hole). Horizontal asymptote determined by comparing degrees of p and q.

Why is the Rational Functions formula important in Math?

Rational functions model 'per' quantities that change, and they show limits you approach but never reach: the average cost per printed book falls toward the per-copy cost but never below it. Without tracking the denominator you can accept a solution the function forbids, or miss that a graph has a wall where outputs become enormous.

What do students get wrong about Rational Functions?

The procedure for rational functions is the easy part; the trap is forgetting to exclude inputs where the denominator is zero. Asking "Is the function a polynomial divided by another polynomial containing the variable?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

What should I learn before the Rational Functions formula?

Before studying the Rational Functions formula, you should understand: polynomial functions, fractions.

The full guide

This formula is covered in depth in Rational Functions: Definition, Graphs, Asymptotes, and Applications.