MATH 150 · Mathematics for Economics I

Rates of Change and the Idea of a Limit

Move from average rates of change to instant ones by shrinking an interval, and learn what a limit is and when one fails to exist.

Key takeaways

  • The average rate of change of a function over an interval is the change in output divided by the change in input, which is the slope of a line through two points.
  • Shrinking the interval makes the average rate settle toward a single number, which we call the instantaneous rate of change.
  • A limit is the value a function approaches as its input gets close to some point, whether or not the function reaches it.
  • A function is continuous at a point if its limit exists there and equals its actual value, which fails at jumps and gaps.
  • Limits let us handle the zero divided by zero problem that appears whenever we try to measure change at a single point.

A delivery driver named Omar finishes a 60-mile trip in 90 minutes. His average speed was 40 miles per hour. But the police officer who stopped him at mile 20 does not care about the average. She wants to know how fast he was going at that exact moment. Was he doing 25 or 65?

Both numbers are answers to the same sort of question: how fast is something changing? One answer is spread over a stretch of time. The other is squeezed down to a single instant.

Economics asks both. A firm wants to know its average cost over a month, and also what the very next bagel costs to make. The first is simple division. The second needs a new idea: the limit. It is the doorway to calculus, and this lesson walks you through it.

Average rates of change

Recall from slopes that the slope of a line is the change in y divided by the change in x. A function that is not a line has a different slope between different pairs of points. So we talk about the average rate of change between two points:

average rate of change = (f(b) − f(a)) / (b − a)

The notation f(a) means the value of the function f at the input a, as in the first lesson.

Let's put a function on the table. A bagel shop's total cost of baking q dozen bagels in a day is

C(q) = q²   (in dollars, for q up to about 30)

This is an invented, simple cost curve. Costs rise faster and faster as the ovens fill up.

What is the average rate of change between 3 and 5 dozen?

C(3) = 9,   C(5) = 25
(25 − 9) / (5 − 3) = 16 / 2 = $8 per dozen

Between 3 and 4 dozen: (16 − 9) / 1 = $7 per dozen. Between 3 and 3.5 dozen: (12.25 − 9) / 0.5 = $6.50 per dozen.

Notice that the numbers keep changing depending on which stretch you pick. The cost curve is not a line, so one stretch tells you nothing about the next.

On a graph, the average rate of change is the slope of a secant line, a line that cuts through two points of the curve.

Secant lines from the point at 3 dozen
Cost ($) Cost q squared Secant 3 to 5 Secant 3 to 4 q = 3 q = 5 q = 4 Dozens baked Cost ($) Cost q squared Secant 3 to 5 Secant 3 to 4 q = 3 q = 5 q = 4 Dozens baked

Each secant has a different slope: 8 on the long one, 7 on the short one.

Squeezing the interval

Now the officer's question. What is the cost rate right at 3 dozen? We cannot divide by a stretch of zero length: (C(3) − C(3)) / (3 − 3) is 0 / 0, which is meaningless.

But we can sneak up on it. Let h be a small step beyond 3, and compute the rate between 3 and 3 + h.

rate = (C(3 + h) − C(3)) / h
     = ((3 + h)² − 9) / h
     = (9 + 6h + h² − 9) / h
     = (6h + h²) / h
     = 6 + h       (for h not zero)

Look at that. Whatever the size of h, the average rate is exactly 6 + h. Now try shrinking h.

h Interval Average rate (6 + h)
2 3 to 5 8
1 3 to 4 7
0.5 3 to 3.5 6.5
0.1 3 to 3.1 6.1
0.01 3 to 3.01 6.01
0.001 3 to 3.001 6.001

The rates close in on 6. We never plug in h = 0, because that is where 0 / 0 hides. We watch where the numbers are heading. The destination, 6, is the limit.

limit as h approaches 0 of (6 + h) = 6

So at 3 dozen, the cost is rising at a rate of $6 per dozen. That number is the slope of the tangent line, the line that just touches the curve at one point.

From average to instant
1 Pick a point Choose the input where you want the rate, such as 3 dozen. 2 Take a second point Move a small step h away and find the slope between them. 3 Shrink the step Make h smaller and smaller, never zero. 4 Watch the numbers If the slopes settle on one value, that is the limit. 5 Name it The limit is the instantaneous rate of change. Pick a point Choose the input where you want the rate, such as 3 dozen. 1 Take a second point Move a small step h away and find the slope between them. 2 Shrink the step Make h smaller and smaller, never zero. 3 Watch the numbers If the slopes settle on one value, that is the limit. 4 Name it The limit is the instantaneous rate of change. 5

What a limit is

A limit describes where a function is heading, not where it is. We write

lim (x → a) f(x) = L

and read it as "as x approaches a, f(x) approaches L." The idea is that f(x) can be made as close as you like to L by taking x close enough to a, but not equal to a.

That last phrase matters. The limit does not care what happens right at a. The function might not even be defined there.

Here is a classic case. Consider

f(x) = (x² − 4) / (x − 2)

At x = 2, both top and bottom are zero. The function has a hole there. But for any other x, factor the top: x² − 4 = (x − 2)(x + 2). The factors of (x − 2) cancel, leaving f(x) = x + 2.

So near x = 2, the function behaves like x + 2. Try x = 1.9 (gives 3.9), x = 1.99 (3.99), x = 2.01 (4.01). The values head for 4.

lim (x → 2) (x² − 4) / (x − 2) = 4

Economics gives hole-in-the-graph situations all the time. "What is the average cost per unit when you produce zero units?" is 0 / 0. The limit asks what average cost does as the quantity gets very small.

A hole in a graph and its limit
f(x) 2 4 f(x) = x + 2 with a hole Limit is 4 x f(x) 2 4 f(x) = x + 2 with a hole Limit is 4 x

The graph is missing the point at x equal to 2, yet it heads straight for height 4.

Limits from the left and right

You can approach a point from two sides. The left-hand limit uses inputs smaller than a. The right-hand limit uses inputs larger than a. The limit exists only when both sides head for the same number.

Take a delivery fee that is $5 for orders under $30 and free for orders of $30 or more. Near an order of $30:

  • Approaching from below, the fee is $5.
  • Approaching from above, the fee is $0.

The two sides disagree, so no limit exists at $30. The fee has a jump. This sort of step shows up in tax brackets, postage rates and eligibility cutoffs, and it hints at why careful economists look for jumps.

Rules for limits

Limits obey tidy rules, which let you avoid grinding through tables. If the limits of f and g exist at a point, then:

  • The limit of f + g is the sum of the limits.
  • The limit of c × f is c times the limit of f.
  • The limit of f × g is the product of the limits.
  • The limit of f / g is the quotient of the limits, as long as the limit of g is not zero.

For nicely behaved functions such as polynomials, the limit as x approaches a is simply f(a): just plug in. For example, the limit of 3x² + 2x as x approaches 4 is 3 × 16 + 8 = 56.

You need extra work only when plugging in gives 0 / 0, as with the bagel rate or the hole above. The standard repair is to simplify first, usually by factoring or expanding, and then plug in.

Continuity

A function is continuous at a point when you can draw it through that point without lifting your pencil. More exactly, three things must hold:

  1. f(a) is defined.
  2. The limit as x approaches a exists.
  3. The limit equals f(a).

The bagel cost curve passes this test everywhere. The delivery fee fails at $30 because of its jump. The function (x² − 4) / (x − 2) fails at 2 because the value is missing.

Continuity matters to economists because most of their tools assume it. When you look for where a curve peaks, as in finding maximums and minimums, you assume the curve has no sudden leaps in the way. Real life has plenty of leaps, from price breaks to quotas, so continuous models are a convenience and not a law of nature.

A worked example: the marginal cost of one more dozen

The cost of baking q dozen is C(q) = 50 + 2q + 0.1q², with $50 for the oven's daily fee, $2 for ingredients per dozen and an extra cost that grows with output.

Step 1: Compute the average rate between 10 and 11 dozen.

C(10) = 50 + 20 + 10   = 80
C(11) = 50 + 22 + 12.1 = 84.1
rate = (84.1 − 80) / 1 = 4.1

Step 2: Write the cost at 10 + h dozen. Expand the square carefully.

C(10 + h) = 50 + 2(10 + h) + 0.1(10 + h)²
          = 50 + 20 + 2h + 0.1(100 + 20h + h²)
          = 50 + 20 + 2h + 10 + 2h + 0.1h²
          = 80 + 4h + 0.1h²

Check the endpoint: with h = 0 this gives 80, matching C(10). Checking an endpoint like this is a cheap way to catch a slip.

Step 3: Form the rate.

(C(10 + h) − C(10)) / h = (4h + 0.1h²) / h = 4 + 0.1h

Step 4: Shrink h. At h = 1, the rate is 4.1, matching Step 1. At h = 0.1, it is 4.01. At h = 0.001, 4.0001.

Step 5: Take the limit. The rate is heading for 4. So at 10 dozen, one more dozen costs about $4, the instantaneous rate of change. The real cost of the eleventh dozen, $4.10, is a little higher, because costs keep rising along the way.

Average cost rate from 10 dozen as the step shrinks
Step of 2 dozen $4.20 Step of 1 dozen $4.10 Step of 0.1 dozen $4.01 Step of 0.001 dozen $4 Step of 2 dozen $4.20 Step of 1 dozen $4.10 Step of 0.1 dozen $4.01 Step of 0.001 dozen $4

Each smaller step lands closer to the limit of $4 per dozen. Hypothetical example: the numbers are made up to show the method, not a quote or an average.

This number, the extra cost of the next unit, is what economists call marginal cost. Making it precise is the job of the derivative, which we meet next.

The common mistake: treating a limit as a value

There are four typical errors.

  • Plugging in too early. If plugging in gives 0 / 0, you have not found the limit. You have found a puzzle. Simplify, then plug in.
  • Thinking the function must reach the limit. In the hole example, the function never takes the value 4 at x = 2, yet its limit is 4.
  • Thinking the limit must exist. Jumps, wild oscillations and growth without bound can all mean no limit.
  • Confusing average and instant rates. The average rate of $4.10 between 10 and 11 dozen is not the rate at 10. Which one a question wants depends on wording like "from 10 to 11" versus "at 10."

A related error is believing that getting closer always means getting there. A table can head toward 6 and still be fooled if the pattern changes. That is why we back up a table with algebra whenever possible.

Words to know

Average rate of change the change in a function's output divided by the change in its input over an interval.

Secant line a line through two points on a curve.

Tangent line a line that touches a curve at one point and matches its direction there.

Limit the value that a function approaches as its input approaches a given point.

Continuous function a function with no jumps, holes or breaks that can be drawn without lifting the pencil.

Instantaneous rate of change the limit of average rates of change over shrinking intervals.

Marginal cost the added cost of producing one more unit.

Check yourself

  1. For C(q) = q², find the average rate of change between q = 3 and q = 6.
  2. For the same function, write the rate between 3 and 3 + h and find its limit as h approaches 0.
  3. Find the limit as x approaches 3 of (x² − 9) / (x − 3).
  4. A fee is $2 for weights up to 1 pound and $4 above. Does the limit at 1 pound exist? Explain.
  5. For C(q) = 50 + 2q + 0.1q², find the instantaneous rate at q = 20 by taking the limit of the rate from 20 to 20 + h.
  6. Explain why we cannot find an instantaneous rate by plugging h equals 0 into the average rate formula.
Show the answers
  1. (36 − 9) / 3 = 9.
  2. The rate is 6 + h, which approaches 6.
  3. The expression simplifies to x + 3, so the limit is 6.
  4. No, because the left-hand limit is $2 and the right-hand limit is $4, and a limit needs both sides to agree.
  5. C(20 + h) − C(20) = 2h + 0.1(40h + h²) = 6h + 0.1h², so the rate is 6 + 0.1h and the limit is 6.
  6. Setting h to zero makes both the top and the bottom zero, giving 0 / 0, which has no meaning, so we study what the rate approaches as h shrinks.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: First calculus

  1. Rates of Change and the Idea of a LimitMove from average rates of change to instant ones by shrinking an interval, and learn what a limit is and when one fails to exist.11 min
  2. The Derivative as a Marginal ValueDefine the derivative as the limit of the slope, read it as marginal cost and marginal revenue, and use it to find a profit-maximizing output.12 min
  3. Rules of Differentiation: Power, Sum, Product and ChainLearn the power, sum, product, quotient and chain rules so you can find marginal values without grinding through limits every time.11 min
  4. Derivatives of Exponentials and LogarithmsFind derivatives of e to the x and the natural log, and see why a growth rate is simply the derivative of a logarithm.12 min
  5. Elasticity With CalculusCompute point elasticity from a derivative, see how it changes along a straight demand line, and link it to revenue and to a seller's pricing.12 min
  6. Finding Maximums and MinimumsUse first and second derivatives to find the best output, the lowest average cost and the best bundle, and avoid the usual optimization traps.11 min
  7. Areas Under Curves: A First Look at IntegralsSee how adding thin slices gives areas under curves, and use integrals to rebuild total cost from marginal cost and to measure consumer surplus.11 min

In the news