Skip to content
Explainer · Calculus & Probability

What Is a Limit? Calculus Basics From Slope to Rate

Functions, limits, continuity and instantaneous rate of change explained from scratch, and how a shrinking secant line becomes a tangent. Try it in a live lab.

5 min readPublished

Calculus has a reputation for being scary, but its first big idea is small: ask what a function is heading towards, not what it is doing right at one point. That single move, called a limit, lets us talk about continuity and about speed at one instant. This guide builds the chain of ideas step by step.

A function is a reliable machine

A function is a rule that gives exactly one output for every input. Put a number x in, get a number f(x) out, and the same input always gives the same output. We draw it as a graph with inputs along the horizontal axis and outputs up the vertical axis.

Most graphs you meet belong to a few families, each with dials that stretch or shift it:

  • lines, y = ax + b, where a is the slope and b is the height at zero;
  • parabolas, y = ax² + bx + c, shaped like a U or an upside-down U;
  • waves, like y = a·sin(bx), where a is the height of the wave and b controls how tightly it repeats.

Change a dial and the whole curve moves in a predictable way. That predictability is what makes calculus possible: if you know the rule, you can ask precise questions about how the curve behaves.

Slope: how steep is this line?

The slope of a straight line is rise divided by run. Move one step to the right and see how far the line goes up or down. A slope of 3 climbs three times as fast as a slope of 1, and a negative slope runs downhill.

For a straight line the slope is the same everywhere, which is exactly what makes it straight. A curve is different. A hill is gentle at the bottom, steep on the side and flat at the top, so its steepness changes from place to place. The big question of calculus is how to measure steepness at a single spot on a curve.

Rise over run needs two points. A single point has no run at all. To get around this, we need the idea of getting closer and closer without arriving.

What is a limit?

A limit asks what value f(x) approaches as x gets closer and closer to some number a. The key word is approaches. The function does not have to reach that value, or even be defined there.

Take (x² − 4) / (x − 2). At x = 2 you get 0/0, which has no meaning. But for any other x you can factor the top into (x − 2)(x + 2) and cancel, leaving x + 2. Try x = 1.9, 1.99, 1.999 and the outputs are 3.9, 3.99, 3.999. From the other side, 2.1, 2.01, 2.001 give 4.1, 4.01, 4.001. Both sides close in on 4, so the limit is 4 even though the function has a hole at 2.

One-sided limits

You can approach a point from the left or from the right. The two-sided limit exists only if both sides agree. If a graph jumps, say it is 1 just to the left of a point and 3 just to the right, then the left and right limits differ and the ordinary limit does not exist there.

Continuity: drawing without lifting your pen

A function is continuous at a point if it passes three checks:

  1. the function has a value there;
  2. the limit exists there;
  3. the two are equal.

In everyday language, you can draw through the point without lifting your pencil. When one of the three conditions fails, you get one of several kinds of break: a removable hole (the limit exists but the value is missing or wrong), a jump (left and right limits disagree), or an infinite break where the graph shoots off the page.

Piecewise functions, which follow one rule on one interval and another rule elsewhere, are the best place to practise this. The action is all at the seam. Check what each piece does as it reaches the seam, and ask whether they meet.

From average rate to instantaneous rate

Pick two points on a curve and draw the straight line through them, called a secant. Its slope, (f(b) − f(a)) / (b − a), is the average rate of change between them: on average, how fast did the output change across this interval? For a car's position over time, it is average speed over a stretch of road.

Now slide the second point towards the first. The run shrinks, the secant swings round, and in the limit it settles into the tangent line, a line that just touches the curve and points the way it is heading. Its slope is the instantaneous rate of change: the speed on the speedometer at one moment, not the average over a trip.

That limit of secant slopes has a name, the derivative. It is the same idea as every limit above, applied to the slope of a shrinking secant.

Live lab Live calculus lab. Move the points and watch the secant turn into a tangent. Open the full Calculus & Probability lab →

Common mistakes to avoid

  • Thinking a limit is the function's value. They can differ, and when they do the function is not continuous there.
  • Plugging in and giving up at 0/0. That result is a signal to simplify, factor or look at nearby values, not a proof that no limit exists.
  • Reading "approaches" as "equals". A limit describes the trend, not the arrival.
  • Treating the secant as the answer. A secant gives an average. Only the shrinking process gives the instant.

How to explore this in the lab

The Calculus & Probability lab shows these ideas as curves you can move. A good order through the free first world:

  1. Warm up with What is a function?.
  2. Close in on a value in What is a limit?.
  3. Test breaks and gaps in Continuity.
  4. Measure a secant in Average rate of change.
  5. Watch it become a tangent in Instantaneous rate.

Remember that the lab is a simplified teaching model: it samples curves at finite resolution, so it shows the trend clearly but never replaces algebra or proof.

Key takeaways
  • A function gives exactly one output for each input.
  • A limit describes what f(x) approaches, not necessarily what it equals.
  • Continuous means the limit exists and equals the value: no holes, jumps or breaks.
  • Slide a secant's second point inward and its slope becomes the instantaneous rate of change.
Free lesson · Calculus & Probability

What is a limit?

Closing in on a value. About 8 minutes. Free, no account, runs in your browser.

Start the free lesson

Report a mistake

What is wrong?
0 / 2000 · at least 10 characters
Sent along with your report
  • Page
  • About What Is a Limit? Calculus Basics From Slope to Rate · what-is-a-limit-calculus-basics
Plus your browser type. Reports go to our support system; see the privacy notice.

Simulations on Novareka are teaching models, simplified on purpose. They show how an idea behaves; they are not a substitute for professional, medical or engineering advice.