Open the page and three panels appear. On the left is the function picker with eleven functions grouped by the type of asymptote they have — vertical only, horizontal only, both, or oblique. In the center is the plot panel with the function curve in blue and its asymptotes drawn as dashed lines:
• Red dashed verticals mark vertical asymptotes • Green dashed horizontals mark horizontal asymptotes • Purple dashed slants mark oblique asymptotes
Below the plot, a detected asymptotes panel lists each one as a colored pill with its equation. For vertical asymptotes it also shows the one-sided limits (x→c− and x→c+, each tagged +∞ or −∞). On the right is the info panel with two tabs — Detected (state-specific) and Concepts (general theory).
The page launches with the reciprocal function1/x. The plot shows the two-branch hyperbola, a red dashed vertical line at x=0, and a green dashed horizontal at y=0 — the canonical example of a function with both kinds of asymptote.
Picking a Function
The picker groups eleven functions by which asymptotes they have:
The grouping is a teaching tool. Arctan is the classic two-different-HA example — π/2 on the right, −π/2 on the left. Exponential decay is the classic one-sided HA — converges on the right, blows up on the left. $x/(x^2-1)$ has two VAs (x=±1) and one HA (y=0). $(x^2-1)/x$ simplifies to x−1/x, so its oblique asymptote is y=x.
Clicking any entry switches the function and resets transformation parameters to defaults.
Reading the Plot
The plot uses color as a type code — every visual element's color tells you what kind of asymptote it is.
• Blue solid — the function curve itself, g(x) • Red dashed verticals — vertical asymptotes. The curve heads toward ±∞ as x approaches the line. • Green dashed horizontals — horizontal asymptotes. The curve flattens out toward the line as x→±∞. • Purple dashed slants — oblique asymptotes. The curve approaches the slanted line at infinity.
Each line is labeled with its equation directly on the plot. The detector finds all asymptotes numerically at render time, so when you transform the function with sliders, the dashed lines move with it.
A key visual: the function curve can cross a horizontal or oblique asymptote in the middle, but never crosses a vertical asymptote (because the function isn't defined there). The asymptote is about long-term behavior, not a barrier the curve must stay away from.
The Detected Asymptotes Panel
Below the plot, a panel organizes the detected asymptotes by type with color-coded pills:
• Vertical section — one row per VA. Each row shows the equation x=c as a red pill, followed by the one-sided limit information: x→c− tagged with +∞ or −∞, and x→c+ similarly. Reading 1/(x−1) for example: x→1−:−∞ and x→1+:+∞ — the curve drops to negative infinity from the left and rises to positive infinity from the right.
• Horizontal section — one row per HA. The pill shows y=L in green, followed by which direction the limit applies: x→+∞, x→−∞, or x→±∞ (when both sides converge to the same value).
• Oblique section — one row per oblique asymptote. The pill shows y=mx+b in purple with the side indicator.
A counter at the top of the panel reads the total: "3 total" for the reciprocal-with-shift case, for example.
One-Sided Limits at Vertical Asymptotes
Not every vertical asymptote behaves the same on both sides. The visualizer probes each VA from the left and from the right separately, then reports each one-sided limit independently.
Three patterns show up:
• Sign-flip (the curve crosses infinity) — like 1/x at x=0. Left limit: −∞. Right limit: +∞. The curve flies down on the left, up on the right.
• Same-sign blow-up — like 1/x2 at x=0. Both sides go to +∞. The curve forms an upside-down bowl with its peak hidden at the asymptote.
• One-sided — like ln(x) at x=0. Only the right side is defined; the function isn't real for x<0. The panel shows only the right limit and omits the left entry entirely.
Watching the symbols (+∞ vs −∞, present vs absent) gives you the full behavior at the asymptote without needing to compute limits by hand.
Transforming and Tracking Asymptotes
Four sliders apply the affine transformation g(x)=a⋅f(b(x−h))+k:
• a — vertical scale rescales the output. Horizontal asymptotes move with a: a HA at y=L becomes y=aL+k. • k — vertical shift lifts the whole curve. HAs shift by k; verticals are unaffected. • b — horizontal scale stretches the input. VAs move: x=c becomes x=c/b+h. • h — horizontal shift translates left/right. Verticals shift by h; HAs are unaffected.
Concrete example: start on the reciprocal, default parameters — VA at x=0, HA at y=0. Drag h to +2 — the VA tracks to x=2. Drag k to +3 — the HA tracks to y=3. The dashed lines move in real time, and the detector's labels update accordingly.
The detection is purely numerical — no formula manipulation — so even fairly complex compositions like the shifted-and-scaled tangent get correct asymptote labeling.
Oblique Asymptotes
An oblique (or slant) asymptote is a non-horizontal line y=mx+b that the curve approaches at infinity. Two functions in the picker demonstrate this:
• The classic obliquex+1/x — at large ∣x∣, the 1/x term shrinks to zero, leaving y=x. The asymptote is the line y=x through the origin. • The oblique rational(x2−1)/x — polynomial-divide to get x−1/x. Same oblique asymptote: y=x.
The detector finds it by computing m=limx→±∞g(x)/x. If that limit is a finite non-zero number, compute b=limg(x)−mx. If both limits converge, y=mx+b is the asymptote.
A function has either a horizontal asymptote on a side or an oblique one or neither — never both. A non-zero slope rules out a finite limit at infinity. The detector enforces this: the oblique check runs only on sides where the horizontal check came back empty.
Oblique asymptotes appear most commonly in rational functions where the numerator's degree is exactly one more than the denominator's.
What Is an Asymptote?
An asymptote is a line (or curve) that the graph of a function approaches arbitrarily closely as a variable approaches some value. Three kinds matter for elementary functions:
• Vertical — x=c is a VA if f(x)→±∞ as x→c from at least one side. Typical sources: division by zero in rational functions, domain boundaries where a function diverges, periodic singularities like tan and cot.
• Horizontal — y=L is an HA if f(x)→L as x→+∞ or x→−∞. Common in rational functions with degree denominator ≥ numerator, in arctan and logistic curves, in exponential decay.
• Oblique — y=mx+b is an oblique asymptote if f(x)−(mx+b)→0 at infinity, with m=0.
Asymptotes describe end behavior and singular behavior, the two key pieces of a function's global structure beyond its local features.
Why Asymptotes Matter
Asymptotes capture how a function behaves where you can't just evaluate it — at points where it blows up, or as inputs grow without bound.
In rational functions, asymptotes are the skeleton: you find them, sketch them as dashed lines, and the rest of the graph hangs naturally from that scaffolding. Knowing all VAs and the HA (or OA) tells you the function's overall shape before you compute a single point.
In modeling, horizontal asymptotes represent steady states or saturation levels — the logistic curve's HA at y=1 is the carrying capacity in population models; arctan's HAs at ±π/2 are the limits of saturating signals.
In calculus, asymptotes are explicitly limits: vertical asymptotes are one-sided limits equal to ±∞, and horizontal asymptotes are limits at infinity. Learning to find asymptotes is learning to compute these limits geometrically, before working with the algebra.
The visualizer lets you build intuition by watching the dashed lines emerge from familiar functions and track sliders in real time.
Families with Vertical Asymptotes Only
Two functions in the picker have vertical asymptotes and nothing else: the logarithm, whose single wall stands at its domain edge, and the tangent, whose walls repeat forever at every half-period. They bracket the two ways a vertical asymptote arises — a domain boundary the function cannot cross, and a periodic division by zero.
Neither function settles toward any height at infinity: the logarithm keeps climbing (ever more slowly), and tangent never stops cycling. That is what "vertical only" means — singular behavior without end-behavior flattening.
The Logarithmic Family
The natural logarithm ln(x) is the cleanest one-sided vertical asymptote in elementary mathematics: a single wall at x=0, approached from the right only.
ln(x), frozen
One red wall at x = 0, approached from the right only — and no flattening anywhere: the climb never ends.
The one-sidedness is the point: for x<0 the function simply does not exist, so the detected asymptotes panel reports only the right-hand limit, x→0+:−∞, and omits the left entry entirely — the pattern examined in One-Sided Limits.
There is no horizontal asymptote: ln(x) grows without bound. It just does so at an ever-decreasing pace — a slow climb that is easy to mistake for flattening until you scroll the plot.
Drag the horizontal shift h and the wall tracks to x=h; the transformation rules apply verbatim.
The Tangent Family
Tangent multiplies the vertical asymptote into a periodic family: one wall at every x=π/2+nπ, marching across the axis forever.
tan(x), frozen
Red walls at every π/2 + nπ, each branch sweeping the full height between its two fences.
Each wall is a sign-flip asymptote — the curve leaves through +∞ on one side and re-enters from −∞ on the other — and between consecutive walls the function sweeps the entire real line once.
The walls come from tan(x)=sin(x)/cos(x): wherever cosine vanishes, the ratio blows up. Because cosine has infinitely many zeros, no other elementary function in the picker matches tangent's asymptote count.
The horizontal-scale slider b compresses the spacing: at b=2 the walls stand π/2 apart instead of π. Watching the red lines re-space themselves live is the fastest way to internalize the input-transform rule x=c/b+h.
Families with Horizontal Asymptotes Only
Four picker functions flatten toward a height without ever blowing up: exponential decay, the bell curve, the arctangent, and the logistic curve. Between them they cover every horizontal-asymptote pattern: one-sided (decay), one line serving both directions (bell), two different lines (arctan), and a pair of lines boxing the curve in (logistic).
None of them has a vertical asymptote — each is defined and finite on the whole real line. Their interest lies entirely at infinity.
Exponential Decay
The decay curve e−x is the textbook one-sided horizontal asymptote: it hugs y=0 ever more tightly to the right, and explodes without bound to the left.
e⁻ˣ, frozen
The curve hugs the green line y = 0 ever more tightly to the right — and ignores it completely to the left.
The asymmetry is the lesson. A horizontal asymptote is a statement about one direction of travel: here f(x)→0 as x→+∞, while the limit as x→−∞ does not exist at all. The detected panel tags the green pill accordingly — x→+∞ only.
The curve never touches its asymptote: e−x is strictly positive. But that is a special feature of this function, not a law — the bell curve shares the same asymptote and also never touches it, while other functions cross their HA freely.
Vertical shift k moves the resting level: y=k becomes the new floor, the model's steady state.
The Bell Curve
The function 1/(1+x2) makes one symmetric hump at the origin and dies off to zero in both directions — one horizontal asymptote serving both ends of the axis.
1/(1 + x²), frozen
One symmetric hump, both tails sliding down to the same green floor — and no wall anywhere.
The denominator 1+x2 is never zero, so there is no vertical asymptote anywhere: a rational function with poles nowhere on the real line. Peak value 1 at x=0, half-height at x=±1, and from there the long symmetric slide toward the green line.
Because the function is even, both tails behave identically — the detected panel shows a single HA tagged x→±∞, the both-sides case.
Compare it with exponential decay: same asymptote, but the bell approaches it polynomially (∼1/x2) rather than exponentially — visibly slower once you look for it.
The Arctangent Function
Arctangent is the canonical two-asymptote function: it rises from y=−π/2 on the far left to y=+π/2 on the far right, a different horizontal asymptote on each side.
arctan(x), frozen
Two different green ceilings: −π/2 catching the left tail, +π/2 catching the right.
The two limits are genuinely different numbers — limx→−∞=−π/2 and limx→+∞=+π/2 — which is why the detected panel lists two separate green pills, each tagged with its own direction.
The reason lives in the inverse relationship: arctangent undoes tangent, so tangent's vertical walls at ±π/2 become arctangent's horizontal ceilings. Inverting a function reflects its graph across y=x, and the reflection turns vertical asymptotes into horizontal ones.
In applications this shape models saturation — a response that levels off at hard limits in both directions.
The Logistic Curve
The logistic function 1/(1+e−x) climbs its S-shape between two horizontal asymptotes: the floor y=0 behind it and the ceiling y=1 ahead.
1/(1 + e⁻ˣ), frozen
The S-curve boxed between its floor y = 0 and ceiling y = 1, crossing the midline at (0, ½).
Like the arctangent it has two HAs, but here they box the curve into a bounded band: every value lies strictly between 0 and 1. The midpoint crossing at (0,21) is the curve's only inflection.
The ceiling is the famous one: in population models y=1 is the carrying capacity, in machine learning it is the probability limit of the sigmoid. Steady states in models are horizontal asymptotes wearing applied clothing — the point made in Why Asymptotes Matter.
Vertical scale a and shift k move both bounds together: floor k, ceiling a+k.
Families with Both Asymptote Types
Three rational functions in the picker carry vertical and horizontal asymptotes at once: the reciprocal, the shifted rational(x+1)/(x−1), and the three-branch rationalx/(x2−1). This is the classic rational-function situation — poles from the denominator's zeros, plus flattening at infinity because the degrees balance.
Together the dashed lines form a scaffold: sketch the red walls and the green floor first, and the branches of the curve hang from that frame almost by themselves.
The Reciprocal Function
The reciprocal 1/x is the archetype — one vertical asymptote, one horizontal, two branches, and the page's opening view.
1/x, frozen
The archetype: red wall at x = 0, green floor at y = 0, two branches pinned between them.
The vertical wall at x=0 is a sign-flip: x→0− dives to −∞, x→0+ soars to +∞ — the first pattern in One-Sided Limits. The horizontal floor y=0 catches both tails.
Every transformed reciprocal b(x−h)a+k keeps exactly this structure with the lines moved to x=h and y=k — which makes it the cleanest function for practicing the tracking rules: two sliders, two dashed lines, one-to-one correspondence.
The hyperbola never meets either line: the two asymptotes are genuine barriers here, though only the vertical one is a barrier by necessity.
The Shifted Rational Function
The quotient (x+1)/(x−1) moves both asymptotes away from the axes: the wall stands at x=1, the floor at y=1.
(x + 1)/(x − 1), frozen
The same hyperbola structure moved off the axes: wall at x = 1, level at y = 1.
Both locations are readable from the formula: the denominator vanishes at x=1 (the pole), and the leading coefficients give limx→±∞=1 (the level). Equal degrees up and down always produce a horizontal asymptote at the ratio of leading coefficients.
The one-sided limits at the wall flip signs — −∞ from the left, +∞ from the right — exactly like the reciprocal, because near the pole the function behaves like 2/(x−1).
Unlike the reciprocal, this curve crosses nothing it shouldn't but is allowed to cross its HA — and functions like it do; the green line is a limit, not a fence.
The Three-Branch Rational Function
The function x/(x2−1) carries two vertical asymptotes at once — walls at x=−1 and x=1 — cutting the curve into three branches over one horizontal floor.
x/(x² − 1), frozen
Two red walls at x = ±1 cut the curve into three branches; the middle one crosses the green floor at the origin.
The denominator factors as (x−1)(x+1): two simple zeros, two sign-flip walls. The middle branch lives entirely between the walls, passes through the origin, and — a favorite exam surprise — crosses its horizontal asymptote right there at x=0. The green line is end behavior only; the middle of the plot owes it nothing.
Degree one over degree two sends the tails to zero, so y=0 catches both outer branches.
The function is odd — symmetric through the origin — which the three-branch picture makes visible at a glance: the outer branches are 180° rotations of each other.
The Classic Oblique Function
The sum x+1/x is the cleanest oblique-asymptote specimen: at large ∣x∣ the 1/x term evaporates and the curve settles against the slanted line y=x.
x + 1/x, frozen
The purple slant y = x catches both far ends while the red wall at x = 0 separates the branches.
The formula IS the decomposition: line part x, vanishing part 1/x. That is the oblique-asymptote pattern in its purest form — f(x)−(mx+b)→0 with the difference written out explicitly.
There is also a vertical asymptote at x=0 from the 1/x term, so the two branches each cling to the purple line at their far end and to the red wall at their near end. The upper branch bottoms out at (1,2), the lower peaks at (−1,−2).
Its picker partner, the oblique rational, hides the same structure inside a quotient — polynomial division is what uncovers it.
The Oblique Rational Function
The quotient (x2−1)/x looks different from x+1/x but divides out to x−1/x: same slanted asymptote y=x, same wall at x=0.
(x² − 1)/x, frozen
Divided out, this is x − 1/x: the same purple slant, approached from the mirror side.
This is the general recipe made visible: when the numerator's degree exceeds the denominator's by exactly one, polynomial division splits the function into a line plus a vanishing remainder. The line is the oblique asymptote.
The sign difference in the remainder (−1/x here versus +1/x in the classic oblique) flips which side of the purple line each branch approaches from — compare the two frozen scenes and the mirror-image approach is plain.
Zeros at x=±1 anchor the two branches to the axis on their way between wall and slant — a curve fully determined by three dashed lines and two crossing points.
Related Concepts and Tools
Limits at Infinity — formal theory of limx→∞f(x). Horizontal and oblique asymptotes are exactly these limits made visible.
One-Sided Limits — the x→c− and x→c+ notation in the VA panel. Vertical asymptotes correspond to one-sided limits being ±∞.
Rational Functions — the natural home of asymptotes. Polynomial-division and degree comparisons let you find HAs and OAs algebraically; setting the denominator to zero gives VA candidates.
Domain of a Function — VAs always sit at points where the function is undefined, but not every undefined point is a VA (removable singularities exist). The Domain visualizer complements this one.
Function Symmetry — another structural property in the Function Properties group. Combined with asymptotes, symmetry pins down a function's gross shape.
Logarithmic Functions, Tangent Function, Exponential Functions — the elementary functions whose asymptotic behavior is foundational for everything else.
Continuity and Discontinuity — VAs are a specific type of essential discontinuity; the theory connects directly to limit theory.