Home
Login

Color

Indigo
Red
Green
Teal
Blue
Purple
Rose

Mode

Light
বাং

The limit, seen as a game between ε and δ

The limit of f(x) as x approaches a is L when you can make f(x) as close to L as you like just by keeping x close enough to a. “As close as you like” is the horizontal ε band; “close enough” is the vertical δ band. If for every ε someone can find a δ, the limit exists. If some ε defeats every δ, it does not.

Drag on the graph to move a

Curve y = f(x)ε band around Lδ band around a
Speed

Controls

Function f(x)

1.00
1.00

Readings

Left-hand limit
1
Right-hand limit
1
Does the limit exist?
Yes
Limit L
1
Value of f at a
1
ε
1
Widest δ that works
0.5

How to use this simulation

  1. Pick a function under “Function f(x)”. The thick curve is y = f(x). The vertical dotted line marks the point a, which you can drag along the graph or set with “Point a”.
  2. The orange horizontal band is the ε band: the strip of heights within ε of the limit value L. “ε” is the error you are willing to put up with in the answer. Change it with the “ε” slider.
  3. The green vertical band is the δ band: the widest strip of x-values around a for which the curve, apart from the single point x = a itself, stays inside the orange band. The readout “Widest δ that works” gives its half-width.
  4. Press play. ε shrinks again and again, and the green band narrows with it. That is the whole definition in motion: whatever ε you choose, a δ exists.
  5. Read “Left-hand limit” and “Right-hand limit”. When they agree the limit exists and is shown as L. The hollow circle on the curve marks a point where the function itself has no value.
  6. Choose the last function, the jump. Put a at 0. The two sides disagree, and for any ε of 1 or less the green band disappears with the message “no δ works”.

What does “approaching” really mean?

Say you are walking towards a shop. You get closer, then closer again. “Approaching” is about the journey, not the arrival. A limit asks the same thing of a function: as x creeps towards a number a, what height does f(x) creep towards? We never ask what happens at a itself, only near it.

That distinction matters. Take (x² − 1)/(x − 1). At x = 1 it is 0 ÷ 0, which is meaningless, so the function has no value there at all. But for every other x it behaves perfectly well. The limit lets us say something useful about a place the function itself refuses to answer.

The ε–δ game

Textbooks write the definition with Greek letters and it looks scary. It is really a game between two people. You are the sceptic and you pick a tolerance ε, a tiny positive number: “I want f(x) within ε of L.” The other player has to answer with a δ: “then keep x within δ of a, and I promise you will get it.”

If the second player can answer every ε you throw, however small, the limit is L. If there is even one ε for which no δ works, the claim is false. In the simulation the orange band is your demand and the green band is the answer.

lim (x → a) f(x) = Lread “the limit of f(x) as x approaches a is L”

for every ε > 0 there is a δ > 0 with 0 < |x − a| < δ ⇒ |f(x) − L| < εthe precise statement

  • 0 < |x − a| means x is near a but not equal to a. The point x = a is deliberately left out.
  • |f(x) − L| < ε means the height is inside the orange band.
  • δ is allowed to depend on ε. A tighter ε usually needs a smaller δ.

A straight line: δ is just ε divided by the slope

Start with f(x) = 2x − 1 at a = 1, where L = 1. Moving x by δ moves f(x) by twice as much, so the output error is 2δ. To keep 2δ below ε we need δ = ε/2. The table below was computed by the simulation's own search, and it matches.

εWidest δ
10.5000
0.50.2500
0.10.0500
0.010.0050

A curve: x² bends the rules a little

Now f(x) = x² at a = 1, with L = 1. The curve is steeper on the right of 1 than on the left, so the two sides allow different widths and the safe δ is the smaller one. The simulation shows the green band sitting evenly around a, sized by the tighter side.

  • Shrink ε by 10 and δ shrinks by roughly 10 as well, once ε is small. Near a point a smooth curve looks like its tangent, so δ ≈ ε / slope again.
  • The same ε needs a different δ at a different place. At a = 2, where the slope is 4 and L = 4, ε = 0.5 gives δ = 0.1213.
εWidest δ
10.4142
0.50.2247
0.10.0488
0.010.0050

A hole: the limit exists, the value does not

Choose (x² − 1)/(x − 1). For every x except 1 this equals x + 1, so the graph is the straight line y = x + 1 with a single point missing, drawn as a hollow circle. As x closes in on 1 from either side, the heights close in on 2.

  • The limit is 2, even though f(1) is undefined.
  • Here the green band is as wide as ε itself, since the line has slope 1. For ε = 0.5, 0.1 and 0.01 the widest δ values are 0.5000, 0.1000, 0.0100.
  • This kind of gap is called a removable discontinuity: define f(1) = 2 and the hole is patched.
xf(x)
0.91.900
0.991.990
0.9991.999
1.0012.001
1.012.010
1.12.100

sin x / x at 0: the most famous limit

Pick sin x / x and leave a at 0. At x = 0 it is 0 ÷ 0 again, and the curve has a hollow circle. Yet look at the values on both sides: they crowd towards 1.

xsin x / x (right)sin x / x (left)
10.8414710.841471
0.50.9588510.958851
0.10.9983340.998334
0.010.9999830.999983

A jump: when no δ works

Choose the jump function: it equals -1 for every negative x and 1 from zero onwards. Put a at 0. Coming from the left the heights head for -1; from the right, for 1. The two one-sided limits disagree, so there is no single L.

The simulation still draws a band around the midpoint 0 so you can try. For ε up to 1 the curve always pokes out of the band, however close to 0 you stay, and the table shows it.

  • ε = 0.5 and 0.9: δ = 0. No width saves you, because both pieces sit a full unit from the midpoint.
  • ε = 1.1: every δ works, since the whole curve lies within 1.1 of 0. Such a loose demand proves nothing. A limit must survive every ε, including the tiny ones.
  • Away from the jump, say at a = 2, the two sides agree again (both 1) and the limit exists.
εWidest δ
0.50
0.90
1.1≥ 4

Left, right, and when a limit exists

The left-hand limit uses only x < a and the right-hand limit only x > a. The ordinary limit exists exactly when both exist and are equal. That is the quickest test in practice: compute the two sides, compare.

Continuity is the stronger claim. A function is continuous at a when the limit exists, the function has a value at a, and the two are equal. A hole breaks the second part, a jump breaks the first, and both the hole and jump functions in the simulation are therefore discontinuous at their special points.

lim (x → a) f(x) exists ⇔ lim (x → a⁻) f(x) = lim (x → a⁺) f(x)both sides agree

continuous at a ⇔ lim (x → a) f(x) = f(a)limit equals the value

Try it in the simulation

Six quick experiments, a minute each.

  • Choose 2x − 1 and press play. Watch the green band stay exactly half as wide as the orange one.
  • Pause, drag a along x² to a large value like 2.5. Does the same ε still give the same δ?
  • Choose the hole function and drag a to 1. See the hollow circle. Now drag a to 2: the circle turns into a solid dot.
  • Choose sin x / x and use a large ε of 1.5. The green band becomes enormous. Shrink ε and watch it close in around 0.
  • Choose the jump, a = 0, and set ε to 0.5. The message “no δ works” appears. Raise ε above 1. Why does the band come back?
  • On the jump, drag a to 1. The limit now exists. How wide can δ be before it reaches the jump at 0?

Solved problems

Six common questions. Every number below is computed with the same code as the simulation.

Problem 1: find δ for a linear function

Show that lim (x → 2) (3x + 2) = 8, and find a δ for ε = 0.3.

|(3x + 2) − 8| = 3|x − 2|. For this to be below ε we need |x − 2| < ε/3. So δ = ε/3, and for ε = 0.3 that is δ = 0.1. Any smaller δ works too.

Problem 2: a limit by factorising

Find lim (x → 2) (x² − 4)/(x − 2).

At x = 2 both top and bottom are 0, so substitution fails. Factorise: x² − 4 = (x − 2)(x + 2), and for x ≠ 2 the (x − 2) cancels, leaving x + 2. As x → 2 that tends to 4. The table agrees.

x(x² − 4)/(x − 2)
1.93.900
1.993.990
1.9993.999
2.0014.001
2.014.010
2.14.100

Problem 3: sin 3x / x

Find lim (x → 0) sin 3x / x.

Write sin 3x / x = 3 · (sin 3x)/(3x). The second factor is sin u / u with u = 3x → 0, which tends to 1. So the limit is 3. The values below creep to it.

xsin 3x / x
0.12.95520
0.012.99955
0.0013.00000

Problem 4: does lim |x|/x exist at 0?

For x > 0, |x|/x = 1. For x < 0, |x|/x = −1. The right-hand limit is 1 and the left-hand limit is −1. They disagree, so the limit does not exist. This is the same shape as the jump function in the simulation.

Problem 5: the squeeze idea

Why is lim (x → 0) x² sin(1/x) = 0 even though sin(1/x) wobbles wildly? Because −x² ≤ x² sin(1/x) ≤ x², and both x² on the outside tend to 0. A function squeezed between two others that share a limit must share it too.

Problem 6: a limit that is infinite

Look at 1/x² as x → 0. The values 100, 10 000, 1 000 000 grow without bound, so there is no finite L and we say the limit is ∞. A band of height ε around any finite number is eventually escaped, which is the ε–δ way of seeing it.

Mistakes to avoid

These cost marks again and again.

  • Thinking the limit is f(a). The limit ignores what happens at a; for the hole and sin x / x functions f(a) does not even exist.
  • Writing a limit when the two sides differ. Always check both sides if the function changes rule at a.
  • Choosing δ first. In the definition ε comes first and δ is found from it.
  • Cancelling a factor that is zero at the very point and forgetting that the original function is still undefined there.
  • Writing = 0 ÷ 0 = 1. 0 ÷ 0 is meaningless. It is a signal to factorise or rearrange, not an answer.

Where limits are used

Every derivative is a limit (the slope of a secant as the gap shrinks to zero), and every integral is a limit (the sum of thin strips as the strips narrow). Without limits there is no calculus.

Engineers use the same idea in tolerance: a part has to be within ε of a specified size, and the question is how well the machine must be set, which is δ. Computer scientists use it for convergence: how many steps until the answer is within ε.

Exam corner

For HSC higher maths and admission tests, remember these.

  • Try substitution first. If you get a number, that is the limit. If you get 0/0, factorise, rationalise or use a standard limit.
  • The standard limit lim (x → 0) sin x / x = 1 is used constantly, with x in radians.
  • To show a limit does not exist, find two different one-sided limits, or two paths with different answers.
  • In a formal ε–δ proof, work backwards from |f(x) − L| < ε to find what |x − a| must be, then write the proof forwards.

Frequently asked questions

What is the limit of a function in simple words?

It is the value f(x) gets closer and closer to as x gets closer and closer to a chosen number, without needing to reach it. The function may even be undefined at that number.

What do ε and δ stand for?

ε (epsilon) is how close to the limit L you want the output f(x) to be. δ (delta) is how close to a the input x has to be to guarantee that. The definition says every ε has a matching δ.

Why is x = a left out of the definition?

Because a limit describes behaviour near a point, not at it. Leaving a out lets us study holes such as (x² − 1)/(x − 1) at 1 and sin x / x at 0.

When does a limit not exist?

When the left-hand and right-hand limits are different (a jump), when the function grows without bound, or when it oscillates forever without settling, like sin(1/x) near 0.

Is the limit the same as the value of the function?

Not necessarily. They are equal only when the function is continuous at that point. At a hole the limit exists but the value does not.

Why does a smaller ε need a smaller δ?

A tighter band of allowed heights can only be guaranteed by staying closer to a, since the curve has less room to wander. How much smaller depends on the slope.

Keep studying this topic

The animation made the idea click; now turn it into marks. Syllabus, suggestions, textbooks and admission-test guides are below.

More math animations

Grade 8–10

Pythagorean Theorem

The Pythagorean theorem explained: formula a² + b² = c², two proofs you can watch, the converse, Pythagorean triples and 10 worked examples. Drag the triangle yourself.

Grade 10–11

Trigonometric Ratios and the Unit Circle

Drag a point round the unit circle and watch sin, cos and tan change. Standard angle table, ASTC signs, identities, radians and graphs, with solved examples.

Grade 9–11

Quadratic functions and their graphs

Drag the vertex and change a, b, c to see how a quadratic function graph moves. Learn factoring, completing the square, the quadratic formula and discriminant.

Grade 9–10

Circle theorems

All the circle theorems with drag-and-check diagrams: angle at the centre, same segment, semicircle, cyclic quadrilateral, chords, tangents and alternate segment.

Grade 9–10

Heights and distances: elevation and depression angles

What angle of elevation and angle of depression mean, how the height-and-distance formula works, and how two observations solve a tower's height without ever measuring it — with an interactive simulation and solved problems.

Grade 9–11

Probability: experimental vs theoretical probability

What probability means, how the sample-space formula P(E) = n(E)/n(S) works, and why experimental frequency edges closer to theoretical probability the more you flip, roll or draw — with a coin, dice and coloured-ball simulator.

Grade 10–11

Arithmetic and Geometric Sequences

Learn the arithmetic and geometric sequence formulas for the nth term and sum, Gauss's pairing trick, and the sum-to-infinity formula a/(1−r), with a drag-and-slide bar-chart simulation and worked examples.

Grade 9–10

Mean, Median and Mode

Learn the mean, median and mode formulas, why the median resists an outlier while the mean does not, and the grouped-data median/mode formulas, by dragging points on a number line, with worked examples.

Grade 7–11

Sets and Venn Diagrams

Shade union, intersection, difference and complement on a live Venn diagram, drop numbers into regions, check n(A ∪ B) and test De Morgan’s laws, with solved problems.

Grade 8–10

Linear equations: graphs, slope and simultaneous pairs

See slope, intercepts and angle on a straight line, then graph two linear equations to find where they meet. Learn the ratio test for one, none or infinite solutions.

Grade 10–12

Graphs of sin, cos and tan

Plot y = A sin(Bx + C) + D with sliders: see amplitude, period, phase shift, range and the asymptotes of tan live. Trigonometric graphs with solved examples.

Grade 9–10

Completing the Square and the Quadratic Formula

Watch algebra tiles complete the square, then solve quadratic equations, find the vertex and see why the formula works. Free interactive simulation with solved examples.

Grade 7–10

Area of a Circle: Proof, Formula and Solved Problems

Cut a circle into slices, slide them into a rectangle and watch the area become πr². Free interactive simulation with circumference, pi, sectors, arcs and solved problems.

Grade 8–10

Volume and Surface Area of Solids: Cube, Cuboid, Cylinder, Cone, Sphere

Rotate six solids in 3D, unfold their nets and pour a cone into a cylinder to see why it takes exactly three. Free simulation with volume, CSA and TSA formulas and solved problems.

Grade 8–10

Similar Triangles: Scale Factor, AA, SSS, SAS and Shadow Heights

Scale a triangle with a slider and watch angles stay equal, side ratios stay k and area grow by k². Free interactive similar triangles simulation with AA, SSS, SAS tests and shadow problems.

Grade 9–11

Coordinate Geometry: Distance, Midpoint, Slope, Section Formula and Locus

Drag points on a grid and watch the distance formula, midpoint, slope and section formula update live. Free coordinate geometry simulation with the perpendicular-bisector locus and solved problems.

Grade 11–12

Conic Sections: Circle, Ellipse, Parabola and Hyperbola

Tilt a plane through a double cone and watch a circle, ellipse, parabola or hyperbola appear, with its standard equation, foci and eccentricity. Free conic sections simulation with solved problems.

Grade 9–11

Function Transformations: Shifts, Stretches and Reflections

Pick x², |x|, √x, sin x or 2^x and drag sliders for a, b, h and k. Watch shifts, stretches, squeezes and reflections move the graph, with the parent faded behind. Free simulation with solved problems.

Grade 11–12

Derivative as the Slope of a Tangent: Secant to Tangent

Drag a point P on x², x³, sin x, eˣ or 1/x and shrink the gap h to zero. Watch the secant become the tangent and its slope become the derivative, with the derivative graph below. Free simulation.

Grade 11–12

Riemann Sums and Integration: Area Under a Curve

Cut the area under x², x³, sin x, eˣ or √x into up to 100 strips and compare left, right, midpoint and trapezoid sums with the exact integral. Watch the error melt away. Free simulation.

Grade 11–12

3D Vectors: Sum, Dot Product and Cross Product

Drag to rotate two 3D vectors. See the sum as a parallelogram, the dot product as a shadow and an angle, and the cross product as a perpendicular arrow whose length is the area. Free simulation.

Grade 11–12

Matrix Transformations: Rotation, Reflection, Shear and the Determinant

Change a 2×2 matrix and watch the grid, a unit square and an F-shape move. See where i-hat and j-hat land, the determinant as signed area, and the inverse. Free simulation.

Grade 11–12

Complex Numbers: Sum, Product, Powers and Roots on the Argand Plane

Drag two complex numbers on the Argand plane. See the sum as a parallelogram, the product as a rotation and stretch, conjugates, powers as a spiral and roots of unity. Free simulation.

Grade 9–12

Binary Number System: Place Value, Conversion and Addition

Flip bits and see decimal, binary, octal and hex change together. Watch conversion by repeated division by 2, regrouping into octal and hex, and binary addition with carries. Free, with worked examples.

Animations in other subjects

Physics

Refraction of light

Physics

Ohm's law

Physics

Projectile motion

Physics

Simple pendulum

Physics

Electric field

Physics

Wave interference

Physics

Free Fall

Physics

Lens ray diagrams

Physics

Newton's Laws of Motion

Physics

Spherical mirror ray diagrams

Physics

Electromagnetic Induction

Physics

Conservation of Momentum and Collisions

Physics

Work, Energy and Power

Physics

Inclined Plane

Physics

Uniform circular motion

Physics

Transverse and Longitudinal Waves

Physics

Levers and moments

Physics

Centre of mass

Physics

Spring-mass SHM

Physics

Vector addition: triangle and parallelogram laws

Physics

Relative velocity: trains and river crossing

Physics

Kepler's laws and elliptical orbits

Physics

Newton’s law of gravitation, g and satellites

Physics

Standing waves in strings and pipes

Physics

Resonance tube and the speed of sound

Physics

Beats: when two close notes pulse

Physics

Doppler effect: moving sources, listeners and sonic booms

Physics

Prism, dispersion of light and the rainbow

Physics

Kirchhoff’s laws: junction rule and loop rule

Physics

Wheatstone bridge and metre bridge

Physics

Single-slit diffraction

Physics

Defects of the human eye and their correction

Physics

Polarisation of light: Malus’s law and Brewster’s law

Physics

Charging and discharging a capacitor: the RC time constant

Physics

Magnetic field lines: bar magnet, current-carrying wire and solenoid

Physics

AC generator

Physics

Transformer

Physics

Heat transfer: conduction, convection and radiation

Physics

Photoelectric effect: Einstein’s equation and the stopping potential

Physics

Motor effect: force on a current-carrying wire and the DC motor

Physics

Gas molecules and kinetic theory: pressure, temperature and speed

Physics

The semiconductor diode: p–n junction, I–V curve and rectifier

Physics

Radioactive decay: half-life, the decay law and penetration

Physics

The Bohr atom: orbits, energy levels and the hydrogen spectrum

Chemistry

Structure of the atom

Chemistry

Acids, Bases and the pH Scale

Chemistry

Electron configuration

Chemistry

Gas laws: Boyle, Charles, Gay-Lussac, Avogadro and PV = nRT

Chemistry

How an Ionic Bond Forms

Chemistry

Electrolysis and Faraday’s Laws

Chemistry

Covalent Bond

Chemistry

Periodic Trends

Chemistry

Reaction rate and collision theory

Chemistry

States of matter: solid, liquid, gas and the heating curve

Chemistry

Atomic orbitals: the shapes of s, p and d, quantum numbers and nodes

Chemistry

Molecular shapes and VSEPR theory: bond pairs, lone pairs and angles

Chemistry

The mole concept: molar mass, Avogadro’s number and molar volume

Chemistry

Diffusion and effusion: Graham’s law of gases

Chemistry

Balancing chemical equations: method, examples and practice

Chemistry

Chemical equilibrium: the equilibrium constant Kc and Le Chatelier’s principle

Chemistry

Titration: finding an unknown concentration with a burette and an indicator

Chemistry

Galvanic cell: the Daniell cell, EMF and the Nernst equation

Chemistry

Redox reactions: oxidation numbers, electron transfer and half-equations

Chemistry

Hydrocarbons: alkanes, alkenes, alkynes and structural isomers in 3D

Chemistry

Functional groups: alcohols, aldehydes, ketones, acids, esters and amines

Chemistry

Polymerisation: addition and condensation polymers, polythene and nylon

Chemistry

Separation techniques: filtration, distillation, chromatography, crystallisation

Chemistry

Crystal lattice: SC, BCC and FCC unit cells, packing efficiency and density

Chemistry

Radioactivity: Alpha, Beta, Gamma Decay and Half-Life

Biology

Mitosis cell division

Biology

Diffusion and Osmosis

Biology

Photosynthesis

Biology

The human heart: structure and function

Biology

Mendelian Genetics

Biology

DNA Replication

Biology

Cellular Respiration

Biology

Enzyme Action

Biology

The Nerve Impulse and the Action Potential

Biology

The Nephron and Urine Formation

Biology

Meiosis Cell Division

Biology

Digestive System

Biology

Breathing Mechanism: Inhalation and Exhalation

Biology

Protein synthesis

Biology

Blood circulation: double circulation and cardiac output

Biology

Cell structure and organelles: plant cell vs animal cell

Biology

Reflex action and the reflex arc

Biology

The human eye: parts, image formation and accommodation

Biology

Muscle contraction and the sliding-filament model

Biology

Transport in plants: xylem, phloem and transpiration

Biology

Food chain and food web: energy flow and the 10 % rule

Biology

Population growth: exponential and logistic curves

Biology

Natural selection: peppered moths and the sooty tree

Biology

Immune response: primary and secondary antibody response

Biology

Pollination and fertilisation