Loading calculators...
Fetching calculator categories and tools for this section.
Preparing tools and content for you. This usually takes a second.
Fetching calculator categories and tools for this section.
Quick answer
End behavior is what f(x) does as x → −∞ (left end) and x → ∞ (right end). For a polynomial, only the leading term aₙxⁿ matters: even degree means both ends go the same way (up if aₙ > 0, down if aₙ < 0); odd degree means opposite ends (down-left, up-right if aₙ > 0). For a rational function, compare degrees: a smaller numerator gives y = 0, equal degrees give y = aₙ/bₘ, and a larger numerator sends the ends to ±∞. Example: f(x) = −2x⁴ + 3x² − 1 has degree 4 and a negative leading coefficient, so lim(x→−∞) f(x) = −∞ and lim(x→∞) f(x) = −∞.
Type any polynomial (expanded or factored), rational, exponential, logarithmic, root or trig function. You get both ends in words, arrows and limit notation, a graph, the leading term, asymptotes, holes, zeros and step-by-step reasoning. Or use the leading coefficient test and the rational degree rules directly.
Last updated October 2, 2026. Free, no sign-up. Guides: the leading coefficient test · end behavior of a rational function
Use ^ for powers and parentheses for fractions: (x^2+4)/(x-1). Supports e^x, 2^x, ln, log, sqrt, cbrt, |x|, sin, cos, tan, arctan and factored forms like (x-2)^2(x+3).
Reading: f(x) = −2x⁴ + 3x² − 1
Left end ↙ as x → −∞
f(x) → −∞
behaves like −2x⁴
Right end ↘ as x → ∞
f(x) → −∞
behaves like −2x⁴
Both ends fall (down on the left, down on the right). As x → −∞, f(x) → −∞; as x → ∞, f(x) → −∞.
lim(x→−∞) f(x) = −∞
lim(x→∞) f(x) = −∞
Degree · leading coefficient
4 · −2
Leading term −2x⁴
Real zeros (x-intercepts)
−1, ≈ −0.7071, ≈ 0.7071, 1
y-intercept
(0, −1)
Turning points
at most 3
degree − 1
Step by step
End behavior describes what the output f(x) does as the input x heads toward negative infinity (the left end of the graph) and positive infinity (the right end). Each end either rises without bound (f(x) → ∞), falls without bound (f(x) → −∞), levels off toward a horizontal asymptote (f(x) → L), or has no limit because it keeps oscillating. For polynomials the leading term alone decides it; for rational functions you compare the degrees of the numerator and denominator; for exponential and logarithmic functions you compare growth rates.
Polynomial: f(x) ≈ aₙxⁿ as x → ±∞
Rational: f(x) ≈ (aₙxⁿ) ÷ (bₘxᵐ) = (aₙ/bₘ)·xⁿ⁻ᵐ
Growth order: ln x ≪ xᵖ ≪ bˣ (b > 1) as x → ∞
Why it works: for large |x|, the highest power outgrows every other term, so dividing f(x) by the leading term gives a ratio that approaches 1. Zeros, turning points, holes and vertical asymptotes all live in the middle of the graph; they never change the ends.
Four cases cover every polynomial of degree 1 or more. The arrows show the left end, then the right end.
| Degree | Leading coefficient | Arrows | End behavior | Limit notation | Examples |
|---|---|---|---|---|---|
| Even | Positive | ↖ ↗ | Both ends rise (up on the left, up on the right). | lim(x→−∞) f(x) = ∞; lim(x→∞) f(x) = ∞ | x², 3x⁴ − x |
| Even | Negative | ↙ ↘ | Both ends fall (down on the left, down on the right). | lim(x→−∞) f(x) = −∞; lim(x→∞) f(x) = −∞ | −x², −2x⁴ + 3x² − 1 |
| Odd | Positive | ↙ ↗ | Falls to the left and rises to the right. | lim(x→−∞) f(x) = −∞; lim(x→∞) f(x) = ∞ | x³, 3x⁵ − 2x² + x |
| Odd | Negative | ↖ ↘ | Rises to the left and falls to the right. | lim(x→−∞) f(x) = ∞; lim(x→∞) f(x) = −∞ | −x³, −2x³ + 5x² − 1 |
Worked answers for the polynomials students ask about most, computed by the calculator above. Factored forms are expanded only far enough to find the leading term.
| f(x) | Degree · LC | Ends | As x → −∞ | As x → ∞ | Real zeros |
|---|---|---|---|---|---|
| x⁴ − 25x² | 4 · 1 | ↖ ↗ | f(x) → ∞ | f(x) → ∞ | −5, 0 (×2), 5 |
| (x − 2)²(x + 3) | 3 · 1 | ↙ ↗ | f(x) → −∞ | f(x) → ∞ | −3, 2 (×2) |
| −6x²(5x + 3) | 3 · −30 | ↖ ↘ | f(x) → ∞ | f(x) → −∞ | −3/5, 0 (×2) |
| 3x⁵ − 2x² + x | 5 · 3 | ↙ ↗ | f(x) → −∞ | f(x) → ∞ | 0 |
| −x⁴ + 4x² + x − 5 | 4 · −1 | ↙ ↘ | f(x) → −∞ | f(x) → −∞ | ≈ 1.2321, ≈ 1.6808 |
| −2x³ + 5x² − 1 | 3 · −2 | ↖ ↘ | f(x) → ∞ | f(x) → −∞ | ≈ −0.4142, 1/2, ≈ 2.4142 |
| x² − 2x + 2 | 2 · 1 | ↖ ↗ | f(x) → ∞ | f(x) → ∞ | none real |
| −x² − 3x + 3 | 2 · −1 | ↙ ↘ | f(x) → −∞ | f(x) → −∞ | ≈ −3.7913, ≈ 0.7913 |
| x⁶ − 3x⁵ − 17x³ | 6 · 1 | ↖ ↗ | f(x) → ∞ | f(x) → ∞ | 0 (×3), ≈ 4.041 |
| −7x⁶ − 4x − 8 | 6 · −7 | ↙ ↘ | f(x) → −∞ | f(x) → −∞ | none real |
| −4x⁵ + 3x³ − 2x + 7 | 5 · −4 | ↖ ↘ | f(x) → ∞ | f(x) → −∞ | ≈ 1.1944 |
| −5x⁷ + 6x² | 7 · −5 | ↖ ↘ | f(x) → ∞ | f(x) → −∞ | 0 (×2), ≈ 1.0371 |
| x⁴ − 16x² | 4 · 1 | ↖ ↗ | f(x) → ∞ | f(x) → ∞ | −4, 0 (×2), 4 |
n is the numerator degree, m the denominator degree, aₙ and bₘ their leading coefficients.
| Case | Example | Asymptote | Model | Ends |
|---|---|---|---|---|
| n < m | (x + 1)/(x² − 4) | Horizontal asymptote y = 0 | 1/x | → → Levels off toward the horizontal asymptote y = 0 at both ends. |
| n = m | (3x² + 4)/(x² + 1) | Horizontal asymptote y = 3 | 3 | → → Levels off toward the horizontal asymptote y = 3 at both ends. |
| n = m + 1 | (x² + 4)/(x − 1) | No horizontal asymptote; slant (oblique) asymptote y = mx + b from long division | x | ↙ ↗ Falls to the left and rises to the right. |
| n ≥ m + 2 | −2x³/(x − 5) | No horizontal or slant asymptote; the graph follows a degree-2 polynomial | −2x² | ↙ ↘ Both ends fall (down on the left, down on the right). |
After long division, f(x) = quotient + remainder ÷ denominator. The remainder term’s sign tells you whether the graph sits above or below the asymptote at each end — useful for sketching. For (2x + 1)/(3x − 4) = 2/3 + (11/3)/(3x − 4), the extra piece is negative for very negative x and positive for large x, so the graph approaches y = 2/3 from below on the left and from above on the right.
Holes happen when a factor cancels: (x² − 1)/(x − 1) = x + 1 with a hole at x = 1. The hole changes nothing at the ends — the function behaves like the line y = x + 1.
| f(x) | As x → −∞ | As x → ∞ | End asymptote | Vertical asymptotes | Holes |
|---|---|---|---|---|---|
| 1/x | f(x) → 0 (from below) | f(x) → 0 (from above) | y = 0 | x = 0 | — |
| (2x + 1)/(3x − 4) | f(x) → 2/3 (from below) | f(x) → 2/3 (from above) | y = 2/3 | x = 4/3 | — |
| (3x − 5)/(x + 1) | f(x) → 3 (from above) | f(x) → 3 (from below) | y = 3 | x = −1 | — |
| (3x² + 4)/(x² + 1) | f(x) → 3 (from above) | f(x) → 3 (from above) | y = 3 | — | — |
| (4x³ + 2x + 5)/x³ | f(x) → 4 (from above) | f(x) → 4 (from above) | y = 4 | x = 0 | — |
| (x + 1)/(x² − 4) | f(x) → 0 (from below) | f(x) → 0 (from above) | y = 0 | x = −2, x = 2 | — |
| (x² + 4)/(x − 1) | f(x) → −∞ | f(x) → ∞ | y = x + 1 | x = 1 | — |
| 12x²/(x − 2) | f(x) → −∞ | f(x) → ∞ | y = 12x + 24 | x = 2 | — |
| (x² − 1)/(x − 1) | f(x) → −∞ | f(x) → ∞ | — | — | x = 1 |
| (x³ + 1)/(x − 2) | f(x) → ∞ | f(x) → ∞ | y = x² + 2x + 4 | x = 2 | — |
Exponentials with base greater than 1 rise on the right and die out on the left, leaving any added constant as a horizontal asymptote. Logarithms exist only for x > 0 and rise slowly forever. When terms compete, exponentials beat powers, and powers beat logs.
| f(x) | Ends | As x → −∞ | As x → ∞ | In words |
|---|---|---|---|---|
| 2ˣ | → ↗ | f(x) → 0 (from above) | f(x) → ∞ | The graph levels off toward y = 0 on the left and rises to the right. |
| 0.5ˣ | ↖ → | f(x) → ∞ | f(x) → 0 (from above) | The graph rises to the left and levels off toward y = 0 on the right. |
| eˣ − 5 | → ↗ | f(x) → −5 | f(x) → ∞ | The graph levels off toward y = −5 on the left and rises to the right. |
| −3eˣ + 2 | → ↘ | f(x) → 2 | f(x) → −∞ | The graph levels off toward y = 2 on the left and falls to the right. |
| 2^(x − 3) + 1 | → ↗ | f(x) → 1 | f(x) → ∞ | The graph levels off toward y = 1 on the left and rises to the right. |
| e^(−x) | ↖ → | f(x) → ∞ | f(x) → 0 (from above) | The graph rises to the left and levels off toward y = 0 on the right. |
| x·eˣ | → ↗ | f(x) → 0 (from below) | f(x) → ∞ | The graph levels off toward y = 0 on the left and rises to the right. |
| x²·e^(−x) | ↖ → | f(x) → ∞ | f(x) → 0 (from above) | The graph rises to the left and levels off toward y = 0 on the right. |
| (4eˣ + 2)/(5e^(2x) + 10) | → → | f(x) → 1/5 | f(x) → 0 (from above) | The graph levels off toward y = 1/5 on the left and levels off toward y = 0 on the right. |
| x² − eˣ | ↖ ↘ | f(x) → ∞ | f(x) → −∞ | Rises to the left and falls to the right. |
| ln(x) | · ↗ | not defined | f(x) → ∞ | The graph is not defined far to the left and rises to the right. |
| log(x) + 2 | · ↗ | not defined | f(x) → ∞ | The graph is not defined far to the left and rises to the right. |
| ln(x)/x | · → | not defined | f(x) → 0 (from above) | The graph is not defined far to the left and levels off toward y = 0 on the right. |
| arctan(x) | → → | f(x) → −π/2 (from above) | f(x) → π/2 (from below) | The graph levels off toward y = −π/2 on the left and levels off toward y = π/2 on the right. |
| Function | Ends | Left end | Right end |
|---|---|---|---|
| x | ↙ ↗ | lim(x→−∞) f(x) = −∞ | lim(x→∞) f(x) = ∞ |
| x² | ↖ ↗ | lim(x→−∞) f(x) = ∞ | lim(x→∞) f(x) = ∞ |
| x³ | ↙ ↗ | lim(x→−∞) f(x) = −∞ | lim(x→∞) f(x) = ∞ |
| 1/x | → → | lim(x→−∞) f(x) = 0 | lim(x→∞) f(x) = 0 |
| 1/x² | → → | lim(x→−∞) f(x) = 0 | lim(x→∞) f(x) = 0 |
| √(x) | · ↗ | lim(x→−∞) f(x): not defined | lim(x→∞) f(x) = ∞ |
| ∛(x) | ↙ ↗ | lim(x→−∞) f(x) = −∞ | lim(x→∞) f(x) = ∞ |
| |x| | ↖ ↗ | lim(x→−∞) f(x) = ∞ | lim(x→∞) f(x) = ∞ |
| eˣ | → ↗ | lim(x→−∞) f(x) = 0 | lim(x→∞) f(x) = ∞ |
| e^(−x) | ↖ → | lim(x→−∞) f(x) = ∞ | lim(x→∞) f(x) = 0 |
| ln(x) | · ↗ | lim(x→−∞) f(x): not defined | lim(x→∞) f(x) = ∞ |
| sin(x) | ∿ ∿ | lim(x→−∞) f(x): no limit (oscillates) | lim(x→∞) f(x): no limit (oscillates) |
| sin(x)/x | → → | lim(x→−∞) f(x) = 0 | lim(x→∞) f(x) = 0 |
| x·sin(x) | ∿ ∿ | lim(x→−∞) f(x): no limit (oscillates, unbounded) | lim(x→∞) f(x): no limit (oscillates, unbounded) |
The rules follow the OpenStax Precalculus, College Algebra and Calculus textbooks and Paul’s Online Math Notes; definitions match Wolfram MathWorld, and the topic is part of Common Core standard HSF-IF.C.7. Polynomials are expanded exactly and their zeros found numerically; rational functions use exact polynomial long division; other functions use a symbolic growth-rate comparison. Every result is cross-checked by evaluating the function at large positive and negative x, and every table on this page comes from the same code as the calculator.
Need the asymptote line itself? Try the slant asymptote calculator or the limit calculator. Run a tutoring service, school or ed-tech site? We build branded math calculators for your website.
Get Custom Calculator for Your BusinessSuggested hashtags: #Math #Precalculus #Algebra #EndBehavior #Calculator