Enter the cancelled factor root and the other numerator root to find the exact hole point of a rational function and its simplified form.

Holes Calculator

Give the cancelled root and the surviving root, and get the hole's full coordinates — not just where the graph breaks, but where it would have been.

Free to use Full hole point (x, y) Simplified function shown Save PDF · PNG · Share

Enter your values

Fill in the fields below — the result appears with every step shown.

Shown on the printed, PDF and PNG copies of your result. Leave blank to stay anonymous.

Enter a valid value for cancelled factor root (r).

The function is (x-r)(x-t)/(x-r): r is the root shared by numerator and denominator — where the hole sits.

Enter a valid value for other numerator root (t).

The numerator's other root t in (x-t), which survives in the simplified function.

Local browser calculation

Review your inputs and the tool’s supported scope before using the result.

Calculator loading… If this message stays, this view is not running the calculator's script — open this file in a full browser tab, then press Calculate.

Your result will appear here

Enter your values above, then press Calculate — or press Enter in any field.
TinyExe Holes Calculator tinyexe.comFree online calculators

TinyExe · Holes Result

Calculated locally in your browser

Calculated on
—

–
—

Name

—

Cancelled factor root (r)

—

Other numerator root (t)

—

Result

—

How this was calculated

    What to do next

      TinyExe · tinyexe.com — Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.

      Runs 100% in your browser — your numbers never leave this tab; nothing is uploaded or stored.

      Embed this tool

      Add this Holes Calculator to your own page — copy the code below and paste it where you want the tool to appear.

      The embed loads the live calculator in a frame, so it stays up to date automatically. Choose a width, check the code, then copy it. When you publish on WordPress, keep the src pointing at your live tool URL.

      Works in WordPress (Custom HTML block), HTML pages, and most site builders.

      The short answer

      A hole occurs where a factor cancels in a rational function. For f(x) = (x-2)(x-5)/(x-2), the factor (x-2) cancels, leaving g(x) = x - 5, so the hole is at x = 2 with y-coordinate g(2) = -3: the hole point is (2, -3), drawn as an open circle on the simplified graph.

      • A hole is a removable discontinuity from a cancelled factor
      • Hole x = the cancelled factor's root
      • Hole y = the simplified function evaluated at that x

      Hole points for sample functions

      Reference values for this calculator.

      Cancelled root rOther root tHole point
      25(2, -3)
      -31(-3, -4)
      1.50.5(1.5, 1)
      04(0, -4)

      The formula

      The exact formula this calculator uses — every variable in it is explained in the card below.

      The formula

      For f(x) = (x-r)(x-t)/(x-r): the common factor cancels, the hole is at x = r, and its y-value is g(r) = r - t from the simplified function g(x) = x - t

      Finds the removable discontinuity (hole) of a rational function built from a shared linear factor, returning the full hole point rather than just an x-value. Ideas enhancement: the simplified function is shown as a detail, because the hole's y-coordinate only makes sense as a point on that simplified graph.

      Worked examples

      Worked examples with the full working shown — try them in the calculator to check.

      Example 1

      Standard textbook hole

      Cancelled root r = 2, other root t = 5

      CalculationSteps
      f(x) = (x-2)(x-5)/(x-2) simplifies to g(x) = x - 5. Hole x = 2. Hole y = g(2) = 2 - 5 = -3.Hole at (2, -3).

      Result

      Example 2

      Negative cancelled root

      r = -3, t = 1

      CalculationSteps
      Simplified g(x) = x - 1. Hole x = -3. Hole y = -3 - 1 = -4.Hole at (-3, -4).

      Result

      Example 3

      Decimal roots

      r = 1.5, t = 0.5

      CalculationSteps
      Simplified g(x) = x - 0.5. Hole x = 1.5. Hole y = 1.5 - 0.5 = 1.Hole at (1.5, 1).

      Result

      How to use this calculator

      Step 1

      Factor your rational function and find the linear factor that appears in both numerator and denominator.

      Step 2

      Enter that factor's root as r — this is where the hole is.

      Step 3

      Enter the numerator's remaining root as t.

      Step 4

      Read the hole's x-coordinate as the main result and its y-coordinate in the details.

      Step 5

      Plot the simplified line g(x) = x - t with an open circle at the hole point.

      In short: A hole (removable discontinuity) is a single point missing from a rational function's graph where numerator and denominator share a factor that cancels.

      Frequently asked questions

      What is a hole in a graph?

      A single missing point where a factor cancels between numerator and denominator. The function is undefined there, but the simplified graph passes through that spot — drawn as an open circle.

      How is a hole different from a vertical asymptote?

      A hole comes from a cancelled factor; an asymptote comes from a denominator factor that remains after cancelling, where the graph shoots to infinity instead of just skipping a point.

      Why is the y-coordinate r - t?

      After cancelling, the simplified function is g(x) = x - t. The hole sits on that line at x = r, so its y-value is g(r) = r - t.

      What if the cancelled factor is squared or repeated?

      If a factor cancels but still remains in the denominator afterwards, the point is a vertical asymptote, not a hole. This calculator covers the clean single-cancellation case stated on the page.

      Can a function have more than one hole?

      Yes — one per distinct cancelled factor. Run this calculator once per cancelled root, with the simplified function updated each time.

      About this calculator

      A holes calculator locates the removable discontinuity of a rational function — the single point where the graph has a gap because a factor cancels between the numerator and denominator. This version is scoped to the standard textbook form (x-r)(x-t)/(x-r) and returns the hole as a full point (x, y), together with the simplified function.

      Division by zero is undefined, so wherever the denominator of a rational function is zero, the graph cannot include that x-value. What happens next depends on the numerator. If the same factor also appears upstairs, it cancels, and the function behaves exactly like its simplified version everywhere except that one x — a hole. If the factor survives downstairs after cancelling, the values explode instead — a vertical asymptote.

      Finding the hole is therefore a two-step idea: cancel first, then evaluate. The x-coordinate is simply the cancelled factor's root. The y-coordinate is not zero and not undefined in spirit — it is whatever the simplified function says at that x, because the graph approaches that height from both sides. This calculator reports both coordinates and the simplified function so the point can be plotted as an open circle.

      The most common exam error is stopping after cancelling and reporting the simplified line as the whole answer. The simplified line is the graph minus one point; questions that ask for the domain, or for f at that x, are testing exactly that missing point.

      Use it in precalculus when analysing rational functions: before graphing, when a question asks for discontinuities, and to distinguish a hole from a vertical asymptote on the same function.

      How to calculate it yourself

      Step 1

      Factor the numerator and denominator completely.

      Step 2

      Identify the factor common to both and note its root — that root is the hole's x-coordinate.

      Step 3

      Cancel the common factor to get the simplified function.

      Step 4

      Substitute the hole's x into the simplified function to get the y-coordinate.

      Step 5

      State the hole as a point (x, y) and note the function is undefined there.

      Real-life examples

      Graphing assignment check

      A student factors (x-2)(x-5)/(x-2) for a graphing assignment and needs the discontinuity stated precisely before drawing the line with its open circle.

      Cancel (x-2): the graph is the line g(x) = x - 5 except at x = 2, where the missing point's height is 2 - 5 = -3.

      Draw the line with an open circle at (2, -3) and state the domain excludes 2.

      Why a sensor reading 'skips'

      A simplified calibration model divides by (x-2) after a factor cancels; at the single input x = 2 the device reports no reading even though neighbouring inputs behave smoothly — the model's own hole.

      The simplified model g(x) = x - 5 predicts the missing level would have been 2 - 5 = -3 at x = 2.

      The gap is a removable hole at (2, -3), not a fault — the design should special-case that input.

      Ideas & use cases

      • Hole versus asymptote drill: change the setup so the factor remains in the denominator after cancelling and predict, before graphing, which discontinuity type appears.
      • Domain writing practice: state the domain in interval notation with the hole's x excluded — the skill most rational-function questions actually test.
      • Limit intuition: evaluate the simplified function at x values closing in on r from both sides and watch them approach the hole's y — a first hands-on limit.

      Limitations & sources

      • Scoped to functions of the form (x-r)(x-t)/(x-r) with one cancelled linear factor; repeated factors, higher-degree cancellations and asymptotes need fuller factoring tools.

      Sources: Rational functions and removable discontinuities, per standard precalculus texts (e.g. OpenStax Precalculus, rational functions chapter).

      Holes Calculator · TinyExe calculator suite Free to use · No sign-up · Instant results