Rational functions: asymptotes, holes and intercepts

Build a rational function from its zeros and poles and see its vertical and horizontal asymptotes, holes and intercepts update on the graph as you slide.

Keep it one tap away for everyday use.

Bookmark Rational explorer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

Or install fibub as an app: every tool you open then works offline.

  1. Set
  2. See
  3. Check
Nothing is uploadedWorks offline once open

Rational function from its factors

Try this

  • Set a zero equal to a pole, such as z₁ = −1 and p₁ = −1. The factor cancels: the asymptote becomes a hole (an open circle).
  • Tick "Linear numerator". The degree of the top is now lower than the bottom, so the horizontal asymptote drops to y = 0.
  • Make both poles equal. The curve now has one asymptote, and both arms go to the same infinity.

Check yourself

What it does

A rational function is one polynomial divided by another. This tool lets you build one from its factors: the zeros on top, the poles on the bottom, and a scale k. The graph shows the curve, dashed lines for asymptotes, and an open circle wherever a factor cancels and leaves a hole. A list underneath gives the vertical asymptotes, holes, horizontal asymptote and intercepts.

Where the bottom is zero but the top is not, the graph shoots off to infinity: a vertical asymptote. Where a factor appears on both top and bottom it cancels, leaving a single missing point instead. Far to the left and right the curve settles towards a horizontal asymptote that depends on the degrees of top and bottom. To practise the factors themselves, use polynomial zeros; to see why the ends level off, try limit zoom; and function gallery shows other families side by side.

How to use it

  1. Slide the zeros z₁ and z₂ (the top) and the poles p₁ and p₂ (the bottom).
  2. Watch the equation and the graph change. Dashed vertical lines are vertical asymptotes.
  3. Tick “Linear numerator” to drop the second zero, so the top has a lower degree than the bottom.
  4. Set a zero equal to a pole to see a hole appear where an asymptote was.
  5. Read the list under the graph, then try “Check yourself”.

What each setting does

  • Zeros: where the top is zero, so the graph crosses the x axis (unless it is cancelled by a pole).
  • Poles: where the bottom is zero. These are vertical asymptotes, unless a matching zero cancels them into a hole.
  • Scale k: stretches the curve and sets the horizontal asymptote when the degrees are equal. A negative k flips it.
  • Linear numerator: with a lower degree on top, the horizontal asymptote is y = 0.

Worked example

f(x) = (x + 2)(x − 3) / ((x + 1)(x − 2)), the tool’s starting graph. The poles x = −1 and x = 2 are vertical asymptotes. The zeros x = −2 and x = 3 are x-intercepts. The degrees match and k = 1, so the horizontal asymptote is y = 1. The y-intercept is (2)(−3) / ((1)(−2)) = −6 / −2 = 3.

FAQs

Why is there a hole and not an asymptote? If (x − a) is on top and bottom it cancels everywhere except x = a itself, where the function is undefined: one missing point, not a break to infinity.

Why does the horizontal asymptote change? It depends on the degrees. A lower degree on top gives y = 0, equal degrees give y = the ratio of leading numbers (here k), and a higher degree on top has none.

Does this follow the Ontario curriculum? It covers the usual Grade 12 Advanced Functions (MHF4U) work on rational functions. fibub is not part of the Ontario government; check the official curriculum for the current course wording.

Are my numbers saved? No. Everything is worked out in your browser and nothing is stored or sent.

Where the numbers come from

  • Rational function behaviour (asymptotes, holes, end behaviour) is standard algebra. Grade levels follow the Ontario Ministry of Education course topics for MHF4U; check the official curriculum for the current wording. Drawings are fibub's own.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-16.

Change log for Rational explorer

  1. Learn: Ontario Grade 8-12 curriculum map and three new maths tools Details on GitHub

Every change to fibub

Related tools

Polynomial zeros #L73 Slide the coefficients of a linear, quadratic or cubic polynomial and see its zeros where the graph meets the x axis. Drag a zero and the polynomial rebuilds itself. The sum and product of zeros are checked against the coefficients live. Limit zoom #L88 Zoom in on a function near a point and watch where it heads from the left and from the right, with tables of values closing in, the sector picture behind sin x / x → 1, and a Class 12 view that sorts each point as continuous, a hole, a jump, an infinite break or an endless wobble. Function gallery #L229 See the standard real functions of Class 11 maths (identity, constant, polynomial, reciprocal, modulus, signum, greatest integer, square root, exponential, log) with the domain shaded on the x-axis and the range on the y-axis. Then build f + g, f − g, f × g and f ÷ g and find the domain of the result. Quadratic explorer #L68 Slide a, b and c and watch the parabola move: vertex, roots and the discriminant update live, completing the square is drawn with tiles, and the middle term is split for you. With fresh practice questions. Pythagoras proof playground #L69 Drag a right triangle and watch the squares on its sides add up. Slide through four visual proofs (rearrangement, Bhaskara, similar triangles, Baudhayana) with your own side lengths, and list Pythagorean triples. Trig ratio explorer #L70 Drag the angle of a right triangle and see sin, cos and tan as ratios of its sides, with the exact values at 0°, 30°, 45°, 60° and 90°, the identities checked live, and the full unit circle for Class 11.