Loading…

Graphing Polynomial and Rational Functions

Math Algebra • Polynomial and Rational Functions

View all topics

Graph polynomial and rational functions with roots, intercepts, holes, vertical asymptotes, horizontal or oblique asymptotes, and end behavior. Use the interactive window to zoom, pan, trace values, and inspect key features.

Function form \(f(x)=P(x)\quad\text{or}\quad f(x)=\dfrac{P(x)}{D(x)}\) Roots \(P(x)=0,\;D(x)\ne0\) Vertical asymptotes \(D_1(x)=0\) Holes \(G(a)=0,\;D_1(a)\ne0\)

Function input

Supported syntax: x^3 - 4x, (x^2 - 1)/(x^2 - 4), (x - 1)(x + 2). Use ^ for powers. Implicit multiplication such as 2x and (x-1)(x+2) is supported.

Analysis settings

Graph window

Quick examples

Ready
Enter a polynomial or rational function, then click “Graph function”.

Rate this calculator

0.0 /5 (0 ratings)
Be the first to rate.
Your rating
You can update your rating any time.

Frequently Asked Questions

What does this polynomial and rational function grapher show?

It graphs the function and identifies roots, intercepts, holes, vertical asymptotes, horizontal or oblique asymptotes, domain restrictions, and end behavior.

How are roots found?

Roots are found from the zeros of the simplified numerator, provided those x-values are still in the original domain.

How are holes found?

Holes are found from canceled real factors. The x-value comes from the canceled factor, and the y-value is found by evaluating the simplified expression.

How are vertical asymptotes found?

Vertical asymptotes come from real zeros of the simplified denominator after common factors have been canceled.

Does every denominator zero create a vertical asymptote?

No. If the factor cancels and the simplified denominator is nonzero there, the point is a hole instead of a vertical asymptote.

How is a horizontal asymptote found?

For a rational function, compare the degrees of the simplified numerator and denominator. If the numerator degree is smaller, y = 0. If the degrees are equal, use the ratio of leading coefficients.

When does an oblique asymptote occur?

An oblique asymptote occurs when the numerator degree is exactly one more than the denominator degree. Polynomial division gives the slant line.

What happens if the numerator degree is more than one higher than the denominator degree?

Polynomial division gives a higher-degree polynomial asymptote, meaning the rational graph approaches a polynomial curve rather than a horizontal or slant line.

What is the graph of (x^2 - 1)/(x^2 - 4)?

It has roots at x = -1 and x = 1, vertical asymptotes at x = -2 and x = 2, no holes, and horizontal asymptote y = 1.

Why does the graph keep excluded x-values after simplification?

The original function is undefined wherever its original denominator is zero. Canceling factors simplifies the formula but does not add excluded points back to the original domain.