Rational functions

Ask the tutor about Rational functionsOpen the graphing workbench

A polynomial is a finite sum with a nonzero leading term, smooth on the whole line. Form the quotient of two such sums. Where is the graph still smooth, where does it blow up, and far away, who still decides the height?

Start with

Freeze a positive constant and look at

Drag . The green curve is an equilateral hyperbola: the coordinate axes are its asymptotes, and the blue marks sit at the vertices .

Drag b. The green curve is y = b/x for x ≠ 0. The axes are asymptotes; the blue marks are the vertices (±√b, ±√b). Far left and far right the height returns to 0; at x = 0 the graph has a pole.

As the height returns to . As approaches from the right the height goes to ; from the left it goes to . So is a pole — the denominator vanishes while the numerator stays off zero.

Shift the center: linear fractional maps

Keep numerator and denominator both degree one. Let be real with and determinant . Then

The excluded vertical line is again a pole. A translation and rewrites the same graph as

So after the shift, the picture is the same shape as , only the constant may change sign. The old origin lands at the new center .

Drag Δ. The green curve is y = −Δ/x for x ≠ 0 — the book’s shift shape w = −Δ/(c² u) with c = 1 — so the center sits at the origin of the dashed axes. The sign of Δ flips which pair of opposite quadrants the branches occupy.

Drag . When the branches occupy one pair of opposite quadrants relative to the dashed axes through ; when they occupy the other pair. The hypothesis is what keeps the rewritten coefficient off zero — otherwise the “fraction” would have collapsed to a constant.

Higher odd or even power in the denominator

Replace the first power by and keep :

Drag n. The green curve is y = 1/x^n for x ≠ 0 (here b = 1). When n is even both arms rise the same way and the graph is even; when n is odd the arms take opposite signs and the graph is odd.

Drag (here ). When is even the graph is an even function: both arms rise the same way as , and the picture is symmetric across the y-axis. When is odd the graph is odd: the arms take opposite signs, like . In every case the axes remain asymptotes.

Quadratic denominator — smooth or two poles

Now let the denominator be quadratic. First freeze and compare two formulas whose denominators have no real root:

Drag d. The green curve is y = 1/(x² + d²). The denominator never zero, so the graph stays smooth on the whole line. The blue mark is the peak (0, 1/d²); widen d and the bell flattens.

Drag on the first. The bell is even; its peak is the blue mark at height . Widen and the peak drops. The second formula (not drawn here) is odd: it crosses the origin and carries a local max and a local min at . Because for every real , both graphs are continuous and infinitely differentiable on the whole line — no poles.

Switch to two distinct real roots :

Partial fractions split the same function as

Drag the gap g. The green curve is y = 1/((x − g)(x + g)) with poles at ±g (orange dashed lines). Between the poles the graph stays negative; far left and far right the height returns to 0.

Drag the gap so the poles sit at . Between them the graph stays negative; outside, it stays positive and returns to at infinity. Approaching either pole, the height escapes to with opposite one-sided signs on the two sides of that pole. So both are poles.

Canceling a common factor can hide a hole. The formula

is undefined at , yet rewrites it as for every . After the cancelation, is only an apparent singularity; the true pole that remains is .

The same trichotomy appears for a general linear-over-quadratic

with . Let . Always . If the denominator has two distinct real roots and splits into partial fractions with poles at both. If there is a repeated real root and a single pole whose two sides both go to or both to according to the sign of . If the quadratic stays positive for every real , so is continuous and infinitely differentiable on .

Name the general quotient

A real rational function is a quotient of two polynomials,

with the denominator not the zero polynomial. Write . Far away the height matches the single power that survives after canceling the leading terms:

When , the limit as is if , if , and if ; as the same list holds except that follows the parity of (even , odd ). When , swap each for the opposite. That is the same leading-term logic as for polynomials, only the surviving degree is now the difference .

What this page put in place

A rational function is a quotient of polynomials. The model case is an equilateral hyperbola with a pole at the origin; every nondegenerate linear fractional map is that same shape after a shift of center; higher powers keep the axes as asymptotes and pick even or odd symmetry from ; a quadratic denominator is either pole-free and smooth, or it plants one or two real poles (or an apparent singularity after cancelation); and far away the height follows .

Spot a mistake in this page?