DGS Studio

Limits & Continuity

Limits & Continuity

Evaluate two-sided and one-sided limits and verify continuity.

The default removable rational limit is 4, and sin(x)/x at zero has limit 1. The rational expression (2*x^2+1)/(x^2-3) tends to 2 at both positive and negative infinity; its graph retains the poles at x=±sqrt(3).

The right-hand limit of 1/x at zero is +infinity and the left-hand limit is -infinity. The limit of sin(1/x) at zero does not exist. The continuity variants expose a removable hole at 2, a pole inside [-1,1], and a piecewise jump with unequal one-sided limits. These are mathematical findings, not syntax errors.

Equation

limit((x^2-4)/(x-2),x,2)

Approaches, discontinuities and continuity

A limit describes values near an approach point, rather than simply substituting at the point. The rational function (x^2-4)/(x-2) approaches 4 at x=2 even though its original value is undefined there. The familiar limit sin(x)/x at zero is 1. Positive and negative infinity are written oo and -oo, and dir='+' or dir='-' selects a one-sided approach.

Continuity at a point requires a defined function value, an existing two-sided limit, and equality between them. A pole, a jump, a removable hole, and sustained oscillation fail for different reasons. For sin(1/x) near zero, the oscillations prevent a limit from existing. Graph plots the original function with appropriate approach indicators, holes and asymptotes, and keeps discontinuities separated.

Reading the input

Other versions of this example

These stay on this page so each version keeps the same explanation. Choose Try example to run a version in its Studio workflow, or copy it into the editable field below.

Removable rational limit

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit((x^2-4)/(x-2),x,2)

Standard sine limit

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit(sin(x)/x,x,0)

Limit at positive infinity

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit((2*x^2+1)/(x^2-3),x,oo)

Right-hand infinite limit

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit(1/x,x,0,dir='+')

Left-hand infinite limit

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit(1/x,x,0,dir='-')

Oscillatory limit does not exist

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit(sin(1/x),x,0)

Limit at negative infinity

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

limit((2*x^2+1)/(x^2-3),x,-oo)

Continuity at a point

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

continuity((x^2-4)/(x-2),x,2)

Continuity on an interval

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

continuity(1/x,x,-1,1)

Piecewise jump

This is a command. The name selects the routine, and the items inside the parentheses are its arguments.

continuity({ x if x<0; x+2 if x>=0 },x,0)

Try a change

Solve Equation opens the original input in the equation workspace and displays its symbolic results, conditions, and solution steps.

Edit and generate

Solve Equation opens the studio homepage and runs this field. Open in DGS Studio loads the same text and waits for you to generate it. The equation is sent once, as a query parameter.

Related examples