Advanced maths

Continuity and discontinuity diagnostic calculator

Check a function value, bounded continuity rules and shrinking one-sided samples, with explicit hole candidates and a function-behavior SVG.

Your numbers

Use explicit multiplication and bounded arithmetic with x, pi, e, sin, cos, tan, sec, exp, natural log, sqrt or abs.
Probes shrink by powers of ten. Finite samples are numerical evidence, not a proof of an arbitrary limit.

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Try it, understand it

Explore the result

Check the center value and nearby behavior independently before interpreting a continuity claim.

Worked example comparison
ExampleOutputWhat to notice
Original removable holeContinuity diagnosisNo supported value at c — removable-hole candidateNearby values suggest four, but the original expression has no defined value at two.
Ordinary polynomial pointContinuity diagnosisContinuity supported by the expression rules at cPolynomial composition rules support continuity at the finite point.
Different one-sided valuesContinuity diagnosisOne-sided samples disagree — no two-sided continuity indicatedThe tested left and right values are −1 and 1.
Growing magnitudesContinuity diagnosisGrowing one-sided sample magnitudes — no finite trend assignedFinite probes show increasing magnitudes rather than a common finite trend.
A natural-domain endpointContinuity diagnosisDomain-boundary or unsupported samples — two-sided test unresolvedRelative-domain continuity and a full two-sided real-neighborhood test are different statements.
Oscillatory samplesContinuity diagnosisContinuity unresolved by the bounded rules and finite samplesA finite grid cannot certify the limiting behavior of an oscillatory expression.

Check your understanding

Can a function value be inferred from a nearby limit candidate?

No. The function must separately assign its value at the point.

Does failure of a conservative rule check prove discontinuity?

No. Additional mathematical reasoning can still establish continuity.

Behind the numbers

How this calculation works

Keep the function value at c separate from nearby samples. Apply conservative continuity composition checks where their domain conditions are supported, then inspect shrinking left/right probes and an SVG with defined points or open candidate holes. Numerical trends remain labeled as candidates when no rule-based conclusion is supported.

THE FORMULAContinuity at c requires a defined f(c), a finite two-sided limit, and agreement between that limit and f(c)

A worked example

For (x²−4)/(x−2) at c=2, the original expression is undefined at the point. Nearby values approach four because the expression simplifies to x+2 away from two. The open point at (2,4) is a limit candidate, not an assigned value of the original function.

Good to know

Bounded single-expression grammar and a two-sided real-neighborhood convention. Standard rule checks are conservative and numerical constants use floating-point arithmetic. Finite probes cannot prove all limits or detect every singularity or oscillation. Domain-relative endpoint continuity and exact symbolic identities may need separate analysis. Explicit multiline piecewise definitions are not parsed here.

Keep the three continuity questions separate

Continuity at an ordinary interior point requires a defined function value, a finite two-sided limit and equality between the two. Those are separate statements. A curve that appears to pass through the point does not supply a missing value, and a successful substitution does not by itself establish the relevant domain assumptions.

The calculator records f(c) independently from its left/right probes. Standard composition rules can support continuity for ordinary formulas where their required real-domain conditions hold. When those bounded checks do not settle the question, the numerical output remains a diagnostic rather than an unconditional continuity certificate.

A little curiosity

Follow the removable-hole example

For f(x)=(x²−4)/(x−2), substituting x=2 produces division by zero. Away from two, factoring the numerator gives (x−2)(x+2)/(x−2)=x+2. The nearby values therefore approach four even though the original expression does not assign a value at two.

The drawing uses an open point for the matching-side candidate at (2,4). It does not fill that hole merely because the limit has a plausible value. A separate definition f(2)=4 would produce a different function that extends the expression continuously at this point, after the limit reasoning has been established.

To draw that extension explicitly, the piecewise function grapher can use x+2 for x!=2 and a separate value four for x=2. Choosing seven instead would leave the nearby limit at four while assigning a different center value. That comparison isolates the third continuity condition: defining a value is necessary, but it must be the same value established by the limit argument.

Distinguish disagreement, growth and unresolved sampling

For abs(x)/x at zero, negative probes give −1 while positive probes give 1. The tested sides disagree and do not indicate a common two-sided finite value. For 1/x, shrinking offsets produce growing magnitudes with opposite signs. A finite sampling sequence illustrates those behaviors but remains different from a complete mathematical proof for every expression.

An oscillatory formula such as sin(1/x) can give irregular samples near zero. Some sampling patterns can even align with an oscillation and look deceptively stable. The tool does not turn a few agreeing decimal values into a universal limit theorem. It reports unresolved cases rather than inventing a finite answer when its trend checks are insufficient.

Use composition rules with their real-domain conditions

Polynomials and familiar continuous functions can be combined through addition, multiplication and valid composition. Division also requires a nonzero denominator, logarithms need positive arguments, and square roots require care at a boundary. These mathematical conditions are part of the rule, not optional details to infer from a smooth-looking plot.

The bounded checker treats a very small trigonometric denominator or a point near a tangent/secant pole conservatively because floating-point constants can obscure an exact identity. It is not a complete symbolic domain solver. A report of unresolved support does not prove discontinuity; it means the available checks did not establish the needed local conditions.

Separate a real-domain endpoint from an interior two-sided test

A function such as sqrt(x) is continuous at zero relative to its natural domain [0,∞), while there is no two-sided open real interval around zero on which that ordinary real formula is defined. This page states its two-sided real-neighborhood convention so a domain-boundary report is not mistaken for a proof that relative-domain continuity fails.

Similarly, an out-of-range numerical evaluation does not automatically mean the corresponding mathematical real value does not exist. Large exponentials or tiny denominators can exceed the supported arithmetic. The value field distinguishes unsupported numerical output from a guessed replacement, and the limitations keep that computational issue separate from an exact mathematical conclusion.

Read the graph and probe table together

The probe table uses successively smaller effective floating-point offsets on both sides. Where a finite trend is assigned, the last values support a linear extrapolation; that extrapolation is not a symbolic limit calculation. Growing magnitudes and missing values are retained explicitly instead of being replaced by zeros.

The graph draws separate finite segments when an evaluated sample is undefined and marks a supported center value independently. It cannot reveal every unsampled pole, jump or oscillation. Keep the formula, c and view span with an exported SVG or copied result so the illustration is not separated from its domain and numerical context.

The piecewise function grapher handles explicit formula-and-condition rows and endpoint membership. The numerical polynomial root calculator addresses a different question about where a supported polynomial becomes zero. Neither tool automatically supplies a continuity proof for an arbitrary entered expression.

A few questions, answered

Does a matching left/right table prove the limit exists?

No. Finite samples provide numerical evidence and can miss unsampled behavior.

Does an open point assign a value to the function?

No. It marks a candidate approached value while the original function has no supported value there.

Is unresolved the same as discontinuous?

No. It means the bounded rules and numerical evidence did not establish a conclusion.

What about sqrt(x) at zero?

It is continuous relative to its natural domain; this page separately labels the lack of a full two-sided real neighborhood.

Can I enter several explicit piecewise branches?

Use the separate piecewise grapher for formula-and-condition rows. This diagnostic accepts one bounded expression.

Find your calculator

Start typing to explore the library.