A little calculus.
A lot more confidence.
Your term test 1 study kit.
Ten illustrated chapters, 153 flashcards, six graph labs, and three unofficial practice tests. Free to use, no sign-in or download needed.
Functions and average rate of change
What a function is
A function is a rule that assigns each input exactly one output. We write y = f(x): x is the input (independent variable), y is the output (dependent variable). In business the input is usually something you control or something that passes (price, quantity, time), and the output is something you care about (revenue, cost, demand).
Read function notation as a sentence. If R = f(p) is weekly revenue (in dollars) when a smoothie costs p dollars, then f(6) = 4800 says: "at a price of $6, weekly revenue is $4800." The number in the brackets is always the input.
Four ways to show the same function
Every function on a test shows up in one of four costumes. You need to be fluent in all four and able to translate between them.
| Representation | Looks like | Good for |
|---|---|---|
| Formula | C(q) = 450 + 12q | exact values, algebra, derivatives by rules |
| Table | q: 0, 10, 20 / C: 450, 570, 690 | data; estimate rates with differences |
| Graph | a curve on axes | seeing increasing/decreasing, concavity, maxima at a glance |
| Words | "a $450 setup fee plus $12 per unit" | interpretation, which is where many marks live |
A function is increasing if its outputs go up as inputs go up (graph climbs left to right) and decreasing if they go down. A demand curve is the classic decreasing function: raise the price, sell fewer units.
Linear functions
A function is linear exactly when its rate of change is constant: equal steps in x always give equal steps in y. In a table with evenly spaced inputs, check that the differences in y are all the same.
A print shop's cost to produce q posters:
| q | 0 | 10 | 20 | 30 |
|---|---|---|---|---|
| C ($) | 450 | 570 | 690 | 810 |
Differences: 570 − 450 = 120, 690 − 570 = 120, 810 − 690 = 120. Constant, so linear. Slope m = 120/10 = 12 dollars per poster. Intercept b = C(0) = 450. So C(q) = 450 + 12q.
In words: the shop has $450 of fixed cost (paid even if it prints nothing), and each additional poster adds $12.
Two more facts worth having in your pocket: parallel lines have equal slopes, and the point-slope form y − y1 = m(x − x1) is the fastest way to write a line through a known point. You will use point-slope constantly once tangent lines arrive.
Average rate of change
For a curve the slope changes from place to place, so we ask a fairer question: on average, over an interval, how fast did the output change? Geometrically, that is the slope of the secant line joining the two endpoints.
A newsletter's subscriber count S (thousands) t months after launch:
| t | 0 | 1 | 2 | 3 | 4 |
|---|---|---|---|---|---|
| S | 12 | 15 | 19.5 | 25.6 | 33.2 |
Average rate from t = 1 to t = 3: (25.6 − 15)/(3 − 1) = 10.6/2 = 5.3 thousand subscribers per month.
In words: between month 1 and month 3, the newsletter gained on average about 5300 subscribers per month.
Change, relative change, and percentage points
Change (absolute) is new − old, in the output's units. Relative change compares that to where you started:
A coffee bag going from $40 to $46 is a change of +$6 and a relative change of 6/40 = 0.15 = 15%. The same $6 on a $400 item would be only 1.5%. Relative change is how businesses compare growth across things of very different sizes.
Concavity from a table or graph
Increasing tells you the direction; concavity tells you how the rate is behaving.
- Concave up: the graph bends upward (like a cup); slopes are increasing. In a table with equal input steps, the differences get bigger (more positive or less negative).
- Concave down: the graph bends downward (like a frown); slopes are decreasing. Differences get smaller.
Back to the subscribers. Differences: 15 − 12 = 3, 19.5 − 15 = 4.5, 25.6 − 19.5 = 6.1, 33.2 − 25.6 = 7.6. The function is increasing (differences positive) and the differences themselves are increasing, so the graph is concave up: growth is speeding up.
Practice
Q: A gym charges a sign-up fee plus a fixed monthly amount. After 3 months a member has paid $185 in total; after 8 months, $410. Find the total-cost function and interpret the slope and intercept.
Q: Is this table linear? x: 2, 4, 6, 8 / y: 7, 12, 17, 22. If so, find the formula.
Q: g(t) is the value of a collectible card (in dollars) t years after 2020. g(1) = 30 and g(5) = 78. What is the average rate of change between 2021 and 2025?
(a) 12 dollars
(b) 12 dollars per year
(c) 48 dollars per year
(d) 2.6 per year
Q: A rent goes from $1600 to $1720. Find the change and the relative change.
Q: An unemployment rate drops from 6.4% to 5.6%. By how many percentage points did it change, and what was the relative change?
Q: Values of h at x = 0, 1, 2, 3, 4 are 50, 41, 34, 29, 26. Which is true?
(a) increasing, concave up
(b) decreasing, concave up
(c) decreasing, concave down
(d) increasing, concave down
Q: True or false: if a function is increasing on an interval, its average rate of change over any part of that interval is positive.
Q: A company's annual revenue was $2.0M in year 1 and $2.6M in year 3. A colleague says "revenue grew 30% per year." What is wrong with that?
The derivative
From average to instantaneous
The speedometer in a car shows how fast you are going right now, not your average over the trip. The derivative is the speedometer reading for any function. The idea: take average rates of change over smaller and smaller intervals around a and see what number they settle on.
For f(t) = t2, estimate f′(3) numerically.
| h | 0.1 | 0.01 | 0.001 |
|---|---|---|---|
| (f(3 + h) − 9)/h | 6.1 | 6.01 | 6.001 |
The average rates are closing in on 6, so f′(3) = 6. (The limits section shows how to get this exactly with algebra.)
Geometrically, each average rate is the slope of a secant. As the second point slides toward a, the secants pivot into the tangent line: the line that just grazes the curve at a and matches its direction there.
Notation
If y = f(x), these all mean the derivative:
Leibniz's dy/dx is handy because it reminds you of the units (y-units over x-units) and of which variable is the input. dR/dp is the rate of change of revenue with respect to price; dR/dt is with respect to time. Same revenue, very different questions.
Estimating the derivative from a table
With only data, use the closest data points. Three options at x = a:
- Forward difference: (f(a + h) − f(a))/h, using the next point to the right.
- Backward difference: (f(a) − f(a − h))/h, using the point to the left.
- Symmetric (central) difference: (f(a + h) − f(a − h))/(2h), the average of the two, usually the best estimate.
A bakery's daily profit P (dollars) as a function of the number of staff hours x:
| x | 10 | 12 | 14 | 16 |
|---|---|---|---|---|
| P | 210 | 236 | 258 | 276 |
Estimate P′(12).
Forward: (258 − 236)/2 = 11. Backward: (236 − 210)/2 = 13. Symmetric: (258 − 210)/4 = 12 dollars per staff hour.
At an endpoint (like x = 16) you have no choice: use the backward difference, (276 − 258)/2 = 9.
Bonus: the differences 26, 22, 18 are shrinking, so P is concave down here. That tells you the forward estimate (11) is too low and the backward estimate (13) too high, which is why the average 12 is the best guess.
Estimating the derivative from a graph
Draw (or imagine) the tangent line at the point, pick two points on the tangent line that are far apart and easy to read, and compute rise over run. Do not use two points on the curve unless they are very close together; that gives a secant, not the tangent.
From the graph of f to the graph of f′
This is a core skill. Walk along f from left to right and ask at each point "how steep, and which way?" Then plot that number.
- Mark where f has horizontal tangents (peaks, valleys, flat spots). There f′ = 0: those are the x-intercepts of f′.
- Where f is increasing, draw f′ above the axis; where decreasing, below.
- Where f is steepest uphill, f′ has a high point; steepest downhill, a low point. These happen at the inflection points of f.
Units of the derivative
If C = f(q) is cost in dollars for q kilograms, f′(q) is in dollars per kilogram. If W = g(t) is water in a tank (litres) after t minutes, g′(t) is in litres per minute.
Interpreting f′(a) in words
Most interpretation questions want one well-built sentence. Use this template:
Approximation version: If [input name] increases from [a] to [a + 1] [input units], [output name] changes by about [f′(a)] [output units].
A theatre sells T = f(p) tickets per show at a price of p dollars. Interpret f(50) = 1200 and f′(50) = −18.
f(50) = 1200: at a price of $50, the theatre sells 1200 tickets per show.
f′(50) = −18: when the price is $50, the number of tickets sold is decreasing at a rate of 18 tickets per dollar. In plain terms, raising the price from $50 to $51 would lose about 18 ticket sales per show.
Tangent-line approximation
Near a, the curve and its tangent line are almost the same, so we can use the (easy) line to estimate the (hard) function:
(new value ≈ old value + rate × change in input)
Same theatre: estimate ticket sales at $52.
f(52) ≈ f(50) + f′(50)(52 − 50) = 1200 + (−18)(2) = 1164 tickets.
The tangent line at a = 50 is y = 1200 − 18(p − 50), which is just point-slope form.
A warehouse holds W(t) = 3400 pallets on day t = 20, with W′(20) = −65 pallets per day. Estimate stock half a day later.
W(20.5) ≈ 3400 + (−65)(0.5) = 3367.5, so about 3368 pallets. Note that "half a day" means Δt = 0.5 in the formula, not 12.
Overestimate or underestimate?
Relative rate of change
Just like relative change compares a change to the starting size, the relative rate of change compares the rate to the current size:
Five months after launch, an app has S(5) = 80 thousand users and S′(5) = 2.4 thousand users per month. Relative rate: 2.4/80 = 0.03, so the user base is growing at 3% per month at that moment.
Compare: a competitor gaining 4 thousand users per month on a base of 400 thousand is growing at only 1% per month. Bigger absolute rate, smaller relative rate.
Practice
Q: V = g(t) is the value of a used car (in dollars) t years after purchase. What are the units of g′(t), and what sign would you expect?
Q: Using the table x: 0, 5, 10, 15 / f(x): 80, 92, 101, 107, give the best estimate of f′(10).
Q: Q = f(a) is the number of online orders per week when the company spends a thousand dollars per week on ads. Interpret f′(20) = 35.
(a) Spending $20 000 brings 35 orders.
(b) When spending is $20 000 per week, an extra $1000 per week brings about 35 more orders per week.
(c) When spending is $20 000 per week, an extra $1 brings about 35 more orders.
(d) Orders grow by 35% when spending increases.
Q: At a price of $8, a café sells 300 muffins per week and dq/dp = −25. Estimate weekly sales at $8.40.
Q: In the previous question, the demand curve is concave down near p = 8. Is 290 too high or too low?
Q: A graph of f has a local max at x = 2, is increasing on (−∞, 2) and decreasing on (2, ∞). What can you say about f′?
Q: A city's population is 1.8 million and growing by 27 thousand people per year. Find the relative rate of growth.
Q: True or false: if f(10) = 0, then f′(10) = 0.
Q: The tangent line to y = f(x) at x = 4 passes through (4, 7) and (6, 3). Find f(4), f′(4), and estimate f(4.3).
Q: Revenue is R = f(t) in millions of dollars, t in years since 2020. Which sentence matches f′(4) = −0.6?
(a) In 2024 revenue was −$0.6 million.
(b) In 2024 revenue was falling at about $600 000 per year.
(c) Revenue fell 0.6% in 2024.
(d) From 2020 to 2024 revenue fell by $0.6 million.
The second derivative, concavity, and marginal analysis
The second derivative
Since f′ is itself a function, it has its own derivative: f″, the second derivative. It tells you whether the slope of f is going up or down.
| Sign of f″ | What f′ is doing | Shape of f |
|---|---|---|
| f″ > 0 | f′ increasing | concave up (cup) |
| f″ < 0 | f′ decreasing | concave down (frown) |
| f″ changes sign | f′ has a max or min | inflection point |
S(t) is a streaming service's subscribers (millions), t in months. Suppose S′(12) = 0.4 and S″(12) = −0.05.
S′(12) = 0.4: at month 12, subscribers are increasing at 0.4 million per month.
S″(12) = −0.05: at month 12, that growth rate is itself decreasing by about 0.05 million per month, every month. Translation for a manager: "We are still growing, but growth is slowing down."
Plain-language version: "[output] is [growing / shrinking] [faster and faster / slower and slower]."
f′ > 0, f″ > 0: growing faster and faster.
f′ > 0, f″ < 0: growing, but slower and slower.
f′ < 0, f″ < 0: shrinking faster and faster.
f′ < 0, f″ > 0: shrinking, but slower and slower.
Reading f, f′ and f″ off each other's graphs
This is the most graph-heavy skill on the test, and the most learnable. The whole game is a dictionary between the three graphs:
| On the graph of f | On the graph of f′ | On the graph of f″ |
|---|---|---|
| increasing | above the axis | (no info) |
| decreasing | below the axis | (no info) |
| local max or min (flat tangent) | crosses / touches zero | (negative at a max, positive at a min, usually) |
| concave up | increasing | above the axis |
| concave down | decreasing | below the axis |
| inflection point | local max or min | crosses zero |
The same rules work one level down: f′ plays the role of "f" and f″ plays the role of "f′". So the zeros of f″ line up with the peaks and valleys of f′, exactly as the zeros of f′ line up with the peaks and valleys of f.
Study the three triples below. Cover the bottom two graphs and try to sketch them from the top one; then cover the top and try to recover it from the middle.
Reading triple 1. f(x) = x3 − 3x, f′(x) = 3x2 − 3, f″(x) = 6x. The peak of f at x = −1 and the valley at x = 1 are where f′ crosses zero. Between them f falls, so f′ dips below the axis. f switches from frown to cup at x = 0: that is the bottom of the f′ parabola and the zero of the line f″.
Reading triple 2. This S-shape (logistic growth) shows up whenever something spreads and then saturates: a new product's cumulative sales, an app's users in a fixed market. f always increases, so f′ never goes negative. Growth is fastest at the inflection point, which is the peak of the f′ hump. Before it, f″ > 0 (accelerating); after it, f″ < 0 (decelerating). Managers call the inflection point "the point of diminishing returns."
Reading triple 3. f(x) = x4/4 − x3/3 − x2, so f′(x) = x3 − x2 − 2x = x(x − 2)(x + 1) and f″(x) = 3x2 − 2x − 2. Read the sign pattern of f′ left to right: −, +, −, +. That gives f: down, up, down, up, so min at −1, max at 0, min at 2. f″ is negative only between its zeros (about −0.55 and 1.22), which is the one stretch where f is concave down and contains the local max.
Which graph is which?
A favourite question shows three unlabelled curves and asks you to match f, f′, f″. The routine:
- For each curve, find where it has a peak or valley (flat tangent).
- Look for another curve that crosses zero at exactly those x-values. That second curve is the derivative of the first.
- Chain the pairs: if A's flat spots are B's zeros and B's flat spots are C's zeros, then A = f, B = f′, C = f″.
The graph of g′ is a downward parabola with zeros at x = 1 and x = 5 and vertex at x = 3.
- g′ < 0 for x < 1, > 0 on (1, 5), < 0 for x > 5. So g decreases, increases, decreases: local min at x = 1, local max at x = 5.
- g′ increases until x = 3 then decreases. So g is concave up on (−∞, 3), concave down on (3, ∞), with an inflection point at x = 3.
- g″ is positive then negative, crossing zero at x = 3 (it is a decreasing line).
Second derivative from a table
Estimate f″ the same way you estimate f′, but using a table of f′ values (or differences of differences). If the table gives f′(2) = 14 and f′(4) = 9, then f″(3) ≈ (9 − 14)/2 = −2.5.
Marginal cost, revenue, and profit
Business calculus has its own vocabulary. If q is the quantity produced and sold:
- Cost C(q) = fixed cost + variable cost. The fixed cost is C(0), what you pay before making anything (rent, equipment). Variable cost depends on q.
- Revenue R(q) = price × quantity = p·q. If the price is fixed, R is a line through the origin with slope p.
- Profit π(q) = R(q) − C(q). Break-even points are where R = C.
C′(q) ≈ C(q + 1) − C(q) = cost of producing the (q + 1)th unit
"Marginal" just means "of one more unit." Because a single unit is a small step, the derivative and the one-step difference are nearly equal, so economists use them interchangeably.
A small furniture maker has C(q) = 2000 + 15q + 0.01q2 dollars and sells each stool for $55, so R(q) = 55q.
Fixed cost: C(0) = $2000.
MC: C′(q) = 15 + 0.02q. At q = 400: C′(400) = 23. Check: C(401) − C(400) = 23.01. So the 401st stool costs about $23 to make.
MR: R′(q) = 55. Every extra stool brings in $55.
Marginal profit at 400: 55 − 23 = $32. Making one more stool adds about $32 of profit, so they should make more.
Best quantity: MR = MC gives 55 = 15 + 0.02q, so q = 2000 stools. Profit there: π(2000) = 55(2000) − (2000 + 15·2000 + 0.01·20002) = 110 000 − 72 000 = $38 000. And π″(q) = −0.02 < 0, so this is a maximum.
MR > MC → the next unit adds more revenue than cost → produce more.
MR < MC → the next unit costs more than it brings in → produce less.
MR = MC (with MC crossing MR from below) → profit is at a (local) maximum.
In the top graph, profit is the vertical distance from C up to R. That gap grows while R is steeper than C (MR > MC) and shrinks once C becomes steeper (MC > MR). It is largest exactly where the tangent to C is parallel to R. The shaded regions on the bottom graph show the same story: blue = units that add profit, red = units that lose it.
Sketching MC and MR from the graphs of C and R
MC is the slope of C, so sketching MC is the "f to f′" skill in costume.
- A typical cost curve rises steeply at first, flattens (bulk buying, efficient use of equipment), then steepens again (overtime, congestion). So C is concave down then concave up.
- Therefore MC decreases then increases: a U shape. The bottom of the U sits directly under the inflection point of C.
- MC stays positive as long as C is increasing (making more never costs less in total).
- If R is a straight line (fixed price), MR is a horizontal line at height p.
- If R is concave down (you must cut the price to sell more), MR is decreasing, and it hits zero where R peaks.
A graph shows MR as a downward line and MC as a U-shaped curve that crosses MR at q = 120 and q = 30 (MC crossing from above at 30, from below at 120). Where is profit maximized?
Between 30 and 120, MR > MC, so profit is rising. After 120, MC > MR, so profit falls. At 30, profit switches from falling to rising: a local minimum. So the profit-maximizing quantity is q = 120. (Always check: at the max, MC crosses MR from below.)
Practice
Q: A table gives f′(t) at t = 0, 1, 2, 3 as 40, 31, 24, 19 (thousand dollars per year), where f(t) is a company's value. Which describes the company?
(a) value growing faster and faster
(b) value growing slower and slower
(c) value shrinking slower and slower
(d) value shrinking faster and faster
Q: P(t) is the price of a share (dollars), t in days. What are the units of P″(t), and what does P″(t) > 0 with P′(t) < 0 mean?
Q: The graph of h′ is positive on (0, 4), negative on (4, 9), with its lowest point at x = 7. Give the local extrema and inflection points of h on (0, 9).
Q: True or false: at an inflection point, f′ = 0.
Q: C(q) = 800 + 6q + 0.05q2. Find the fixed cost and MC at q = 100, and interpret.
Q: A firm currently produces 500 units. MR = $14 per unit and MC = $11 per unit. What should it do?
(a) Produce more
(b) Produce less
(c) Nothing; profit is maximized
(d) Shut down
Q: A firm sells at a fixed price of $30, with C(q) = 1200 + 2q + 0.004q2. Find the profit-maximizing quantity and the maximum profit.
Q: On a graph, the cost curve C and the revenue line R cross at q = 40 and q = 210. A student says profit is maximized at 210 "because that is where the curves meet." What is wrong?
Q: A cost curve is concave down for q < 60 and concave up for q > 60. Describe the MC curve.
Q: Revenue is R(q) = 40q − 0.02q2. Find MR at q = 600 and say whether selling one more unit increases revenue.
Limits, continuity, and the limit definition of the derivative
What a limit means
The key phrase is not equal to a. The limit cares about the neighbourhood of a, not the point itself. The function might not even be defined at a, or might be defined as something else entirely, and the limit is unaffected.
One-sided limits
limx→a− f(x) approaches from the left (inputs slightly less than a); limx→a+ from the right. The two-sided limit exists only if both one-sided limits exist and are equal.
Limits from a graph
| left limit | right limit | two-sided limit | value | continuous? | |
|---|---|---|---|---|---|
| x = 1 | 2 | 3 | does not exist | f(1) = 3 | no (jump) |
| x = 3 | 1.5 | 1.5 | 1.5 | f(3) = 4 | no (limit ≠ value) |
| x = 5 | +∞ | −∞ | does not exist | undefined | no (asymptote) |
Limits from a table
Plug in inputs creeping toward a from both sides and watch the outputs.
Estimate limh→0 (2h − 1)/h. (You cannot just plug in 0: you'd get 0/0.)
| h | −0.1 | −0.01 | −0.001 | 0.001 | 0.01 | 0.1 |
|---|---|---|---|---|---|---|
| (2h − 1)/h | 0.6697 | 0.6908 | 0.6929 | 0.6934 | 0.6956 | 0.7177 |
Both sides squeeze toward about 0.693. (That number is ln 2, which is exactly the slope of 2x at x = 0. See the rules section.)
Limits from a formula
Step 1: try plugging in. If you get a real number, that is the limit (for any function built from polynomials, exponentials, logs, roots and so on, at a point where it is defined). Step 2: if you get 0/0, the expression needs simplifying. Factor and cancel, or multiply by a conjugate, then plug in again.
(a) limx→4 (x2 − 16)/(x − 4). Plugging in gives 0/0. Factor: (x − 4)(x + 4)/(x − 4) = x + 4 for x ≠ 4. Limit = 4 + 4 = 8.
(b) limx→2 (x2 + x − 6)/(x2 − 4) = limx→2 (x + 3)(x − 2)/((x + 2)(x − 2)) = limx→2 (x + 3)/(x + 2) = 5/4.
(c) limx→9 (√x − 3)/(x − 9). Notice x − 9 = (√x − 3)(√x + 3). So the expression is 1/(√x + 3) → 1/6.
(d) limx→0 |x|/x. For x > 0 this is 1; for x < 0 it is −1. Left limit −1, right limit 1, so the limit does not exist.
Limits at infinity (long-run behaviour)
For a ratio of polynomials as x → ∞, only the highest powers matter. limx→∞ (3x2 + 1)/(5x2 − x) = 3/5. Also e−x → 0 as x → ∞, which is why models like 500(1 − e−0.2t) level off at 500.
Continuity
Informally: you can draw the graph through a without lifting your pen. Polynomials, exponentials, sin and cos are continuous everywhere; ln x and √x are continuous on their domains; a rational function is continuous except where its denominator is zero.
A delivery fee is f(x) = kx + 3 for x < 2 and x2 − k for x ≥ 2. Find k so that f is continuous.
The only danger is x = 2. Left limit: 2k + 3. Right limit and value: 4 − k. Set equal: 2k + 3 = 4 − k, so 3k = 1, k = 1/3.
The limit definition of the derivative
The fraction is the slope of a secant over a run of length h. Plugging in h = 0 directly always gives 0/0, so the routine is always the same:
- Write out f(x + h) carefully (brackets!).
- Subtract f(x) and simplify the numerator. Everything without an h should cancel.
- Factor h out of the numerator and cancel it with the denominator.
- Now set h = 0.
f(x) = 3x2 − 5x.
f(x + h) = 3(x + h)2 − 5(x + h) = 3x2 + 6xh + 3h2 − 5x − 5h.
f(x + h) − f(x) = 6xh + 3h2 − 5h = h(6x + 3h − 5).
Divide by h: 6x + 3h − 5. Let h → 0: f′(x) = 6x − 5.
f(x) = x3, find f′(2).
(f(2 + h) − f(2))/h = ((2 + h)3 − 8)/h = (8 + 12h + 6h2 + h3 − 8)/h = 12 + 6h + h2 → 12.
f(x) = 1/x.
1/(x + h) − 1/xh = x − (x + h)x(x + h)·h = −hx(x + h)h = −1x(x + h) → −1/x2.
Trick: combine the two small fractions over a common denominator first.
f(x) = √x. Multiply top and bottom by the conjugate:
√(x + h) − √xh · √(x + h) + √x√(x + h) + √x = (x + h) − xh(√(x + h) + √x) = 1√(x + h) + √x → 1/(2√x).
Practice
Q: Using the graph in this section, find limx→1− f(x), limx→1+ f(x), and f(1).
Q: Compute limx→−3 (x2 − 9)/(x + 3).
Q: Compute limx→1 (x2 + 4)/(x + 1).
Q: Which statement is always true?
(a) If f(a) is defined, then limx→a f(x) = f(a).
(b) If limx→a f(x) exists, then f is continuous at a.
(c) If f is differentiable at a, then f is continuous at a.
(d) If f is continuous at a, then f is differentiable at a.
Q: Find c so that g(x) = cx2 for x ≤ 3 and 2x + c for x > 3 is continuous.
Q: Use the limit definition to find f′(x) for f(x) = 4 − 2x2.
Q: Use the limit definition to find f′(1) for f(x) = 2/(x + 1).
Q: The expression limh→0 ((5 + h)2 − 25)/h is the derivative of which function at which point? Evaluate it.
Differentiation rules
The basic toolkit
ddx(ex) = ex ddx(ekx) = kekx ddx(bx) = (ln b)·bx ddx(ln x) = 1x
ddx(sin x) = cos x ddx(cos x) = −sin x
Power rule
Works for any constant exponent: positive, negative, fractional. The trick is to rewrite roots and fractions as powers first.
Differentiate y = 4x5 − 3x2 + 6√x − 7.
Rewrite: y = 4x5 − 3x−2 + 6x1/2 − 7.
y′ = 20x4 + 6x−3 + 3x−1/2 = 20x4 + 6x3 + 3√x.
Exponential and log rules
Every exponential is proportional to its own derivative: the slope of bx is (ln b) times its height. The base e ≈ 2.718 is the special one where that constant is 1, which is why e is everywhere in calculus.
d/dx (5·3x) = 5(ln 3)3x ≈ 5.49·3x.
An account balance B(t) = 2000e0.04t: B′(t) = 80e0.04t dollars per year. At t = 0 that is $80 per year, exactly 4% of $2000.
A population P(t) = 40(1.05)t: P′(t) = 40(ln 1.05)(1.05)t ≈ 1.95(1.05)t.
d/dx (ln x + ln 7) = 1/x (ln 7 is a constant).
Product and quotient rules
Memory aid for the quotient rule: "low d-high minus high d-low, over low squared." The minus sign means order matters in the quotient rule; it does not matter in the product rule.
Product: y = x2e3x. y′ = 2x·e3x + x2·3e3x = xe3x(2 + 3x).
Quotient: y = (2x + 1)/(x2 + 3). y′ = [2(x2 + 3) − (2x + 1)(2x)]/(x2 + 3)2 = (−2x2 − 2x + 6)/(x2 + 3)2.
Product with a log: y = x ln x. y′ = 1·ln x + x·(1/x) = ln x + 1.
Revenue = price × quantity: the product rule in business
Revenue is a product, so its rate of change uses the product rule. Two versions show up:
As a function of price: R(p) = p·q(p) ⇒ dRdp = q + p·dqdp
A ticket currently costs $8 and the price is rising by $0.50 per month. Monthly sales are 1200 tickets and falling by 40 tickets per month. How fast is monthly revenue changing?
R′ = p′q + pq′ = (0.50)(1200) + (8)(−40) = 600 − 320 = +$280 per month.
The price increase adds $600 per month of revenue on the existing sales; the lost customers cost $320 per month. Net: revenue is rising.
Demand for a phone case is q(p) = 900 − 30p. At p = $12, q = 540 and dq/dp = −30.
dR/dp = 540 + 12(−30) = 540 − 360 = 180 dollars per dollar. Raising the price from $12 to $12.10 would increase revenue by about 180 × 0.10 = $18.
Chain rule
"derivative of the outside (with the inside left alone) × derivative of the inside"
Use it whenever something other than plain x sits inside a function: inside a power, an exponent, a log, a root, a sin. The Leibniz version reads like a units conversion: if profit changes $4 per unit of output, and output changes 30 units per hour, profit changes 4 × 30 = $120 per hour.
y = (x3 + 2x)5: outside (·)5, inside x3 + 2x. y′ = 5(x3 + 2x)4·(3x2 + 2).
y = e−x2: y′ = e−x2·(−2x) = −2xe−x2.
y = √(4 − x2) = (4 − x2)1/2: y′ = ½(4 − x2)−1/2·(−2x) = −x/√(4 − x2).
y = ln(1 + e2x): y′ = 11 + e2x·2e2x = 2e2x1 + e2x.
y = x2(3x − 1)4 (product and chain): y′ = 2x(3x − 1)4 + x2·4(3x − 1)3·3 = 2x(3x − 1)3(9x − 1).
Chain rule from a table
| x | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| f(x) | 3 | 1 | 4 | 2 |
| f′(x) | −1 | 2 | 0.5 | 3 |
| g(x) | 2 | 3 | 1 | 4 |
| g′(x) | 5 | −2 | 1 | 0.5 |
h(x) = f(g(x)), find h′(1). h′(1) = f′(g(1))·g′(1) = f′(2)·5 = 2·5 = 10.
k(x) = g(f(x)), find k′(3). k′(3) = g′(f(3))·f′(3) = g′(4)·0.5 = 0.5·0.5 = 0.25.
Method: first find the inside value, then look up the outside derivative at that value, then multiply by the inside derivative at the original point.
Rules from graphs
Slopes: f′ = −2 on (0, 2) and ½ on (2, 6). g′ = 2 on (0, 2) and −½ on (2, 6). Read values off the lines, e.g. f(4) = 1, g(4) = 3, f(1) = 2, g(1) = 2.
Chain, h = f(g(x)) at 4: h′(4) = f′(g(4))·g′(4) = f′(3)·(−½) = ½·(−½) = −¼.
Chain, k = g(f(x)) at 5: f(5) = 1.5, so k′(5) = g′(1.5)·f′(5) = 2·½ = 1.
Product, P = fg at 1: P′(1) = f′(1)g(1) + f(1)g′(1) = (−2)(2) + (2)(2) = 0.
Quotient, Q = f/g at 4: Q′(4) = [f′(4)g(4) − f(4)g′(4)]/g(4)2 = [(½)(3) − (1)(−½)]/9 = 2/9.
Note h′(1) does not exist: g(1) = 2 lands on the corner of f.
The derivative of ln f: relative rate of change
This is just the chain rule (outside ln, inside f), but it has a useful meaning: it measures percentage growth.
P(t) = 250e0.03t: ln P = ln 250 + 0.03t, whose derivative is 0.03. So P grows at a constant 3% per year, which is what the exponent's coefficient always means for ekt.
P(t) = 40(1.05)t: ln P = ln 40 + t ln 1.05, so the relative rate is ln 1.05 ≈ 0.0488, about 4.88% per year (slightly less than 5%, since 5% per year compounded yearly is equivalent to about 4.88% continuous).
Revenue again: ln R = ln p + ln q, so R′R = p′p + q′q. If prices rise 2% per year and the quantity sold falls 5% per year, revenue falls at about 3% per year. Relative rates of a product add.
Sine and cosine
Look at the graph: wherever sin x has a peak or trough, cos x crosses zero; where sin climbs fastest (at 0), cos is at its maximum 1. That is d/dx sin x = cos x. Shifting the same reasoning gives d/dx cos x = −sin x (note the minus). Angles are always in radians in calculus.
Monthly sales of an ice-cream brand are modelled by S(t) = 500 + 120 sin(πt/6) thousand litres, t in months. Chain rule: S′(t) = 120 cos(πt/6)·(π/6) = 20π cos(πt/6).
At t = 2: S′(2) = 20π cos(π/3) = 20π(0.5) = 10π ≈ 31.4 thousand litres per month. Sales are rising. At t = 3, cos(π/2) = 0, so sales have peaked.
Other quick ones: d/dt sin(3t) = 3 cos(3t); d/dt cos(t2) = −2t sin(t2).
Practice
Q: Differentiate y = 7x3 − 4/x + ∛x + e2.
Q: Which is the derivative of 6x?
(a) x·6x−1
(b) 6x
(c) (ln 6)·6x
(d) 6x/ln 6
Q: Differentiate y = ex/(x + 1) and simplify.
Q: Differentiate y = ln(x2 + 5x).
Q: Differentiate y = 300e−0.2t and interpret the sign.
Q: Using the table in the chain-rule section, find (fg)′(2) and (f/g)′(4).
Q: Using the same table, find d/dx f(g(x)) at x = 2.
Q: A store's price for a lamp is $40 and rising $1.50 per month; it sells 220 lamps per month, a number falling by 6 per month. Is monthly revenue rising or falling, and how fast?
Q: W(t) = 15(1.08)t. What is the relative rate of change of W?
(a) 8% per unit time
(b) ln 1.08 ≈ 7.70% per unit time
(c) 15 × 0.08 per unit time
(d) 1.08 per unit time
Q: Differentiate y = 4 cos(2t) + sin(t)·t.
Critical points, extrema and curve sketching
The vocabulary, minus the fog
- Critical point: a value x = c in the domain of f where f′(c) = 0 or f′(c) does not exist. These are the only interior places a local max or min can hide.
- Local (relative) maximum at c: f(c) is at least as big as f at every nearby x. Local minimum: at most as big. Think "top of a hill" vs "bottom of a dip", judged only by the neighbours.
- Global (absolute) maximum on an interval: f(c) is the biggest value f takes anywhere on that interval. A function can have several local maxima but only one global maximum value.
- Inflection point: a point on the graph where the concavity changes (concave up to concave down or the reverse), which is where f″ changes sign.
Step 1: find the critical points
Differentiate, set f′(x) = 0, solve. Then separately ask: is there any x in the domain where f′ is undefined (a zero denominator, a fractional power like x2/3 at 0, an absolute-value corner)? Those count too, as long as f itself is defined there.
Step 2a: the first derivative test (always works)
Make a sign chart of f′ around each critical point:
- f′ goes from + to − (rising, then falling): local max.
- f′ goes from − to + (falling, then rising): local min.
- f′ keeps the same sign on both sides: neither.
To get the sign on an interval, plug any test point from that interval into f′ (or reason from the factored form). The sign can only flip at a critical point, so one test point per interval is enough.
Step 2b: the second derivative test (fast, but can shrug)
If f′(c) = 0 and f″(c) > 0, then f has a local min at c (concave up: a cup holds the bottom).
If f″(c) = 0, the test says nothing. Go back to the first derivative test.
f(x) = x³ − 3x² − 9x + 5 (the curve in the first figure).
Critical points. f′(x) = 3x² − 6x − 9 = 3(x² − 2x − 3) = 3(x − 3)(x + 1). So f′ = 0 at x = −1 and x = 3. f′ is a polynomial, so it is never undefined.
Sign of f′.
| interval | x < −1 | −1 < x < 3 | x > 3 |
|---|---|---|---|
| test point | x = −2: 3(−5)(−1) = 15 | x = 0: 3(−3)(1) = −9 | x = 4: 3(1)(5) = 15 |
| f′ | + | − | + |
| f | increasing | decreasing | increasing |
+ to − at x = −1: local max, f(−1) = −1 − 3 + 9 + 5 = 10. − to + at x = 3: local min, f(3) = 27 − 27 − 27 + 5 = −22.
Concavity. f″(x) = 6x − 6, zero at x = 1. f″ < 0 for x < 1 (concave down) and f″ > 0 for x > 1 (concave up). The sign changes, so (1, f(1)) = (1, −6) is an inflection point.
Cross-check with the second derivative test. f″(−1) = −12 < 0, max. f″(3) = 12 > 0, min. Agreement, so we can sleep at night.
g(x) = x e−x. Product rule: g′(x) = e−x − x e−x = e−x(1 − x). Since e−x > 0 always, g′ = 0 only at x = 1.
g″(x) = −e−x(1 − x) + e−x(−1) = e−x(x − 2). Then g″(1) = −e−1 ≈ −0.368 < 0, so g has a local max at x = 1 with value g(1) = e−1 ≈ 0.368.
Bonus: g″ changes sign at x = 2 (negative before, positive after), so g has an inflection point at (2, 2e−2) ≈ (2, 0.271).
Inflection points, carefully
- Find where f″(x) = 0 or f″ is undefined. These are candidates.
- Check that f″ actually changes sign there. No sign change, no inflection point.
- Report the point as (x, f(x)) if asked for the point, or just x if asked "where".
On a graph of f′, inflection points of f show up as the peaks and valleys of f′ (where f′ switches from increasing to decreasing). On a graph of f″, they are where f″ crosses the axis.
Reading the story from a graph of f′
f′ above the axis → f increasing. f′ below → f decreasing.
f′ crosses the axis going down (+ to −) → local max of f. Going up (− to +) → local min of f.
f′ touches the axis without crossing → neither.
f′ increasing (sloping up) → f concave up. f′ decreasing → f concave down.
Peak or valley of f′ → inflection point of f.
Curve sketching from sign information
You often get only sign charts, not a formula. Combine the two signs on each interval into one of four shapes:
| f″ > 0 (concave up) | f″ < 0 (concave down) | |
|---|---|---|
| f′ > 0 (rising) | rising faster and faster (like ex) | rising but levelling off (like √x) |
| f′ < 0 (falling) | falling but levelling off (like e−x) | falling faster and faster (like −x² for x > 0) |
Recipe: (1) mark critical points and inflection points on the x-axis; (2) in each interval write the shape; (3) plot any known points (y-intercept, the max/min values); (4) connect the shapes smoothly, making sure the turning happens exactly at the critical points.
Global extrema
On a closed interval [a, b] (and f continuous), a global max and global min are guaranteed to exist. Use the closed interval method:
- Find the critical points inside (a, b).
- Evaluate f at each critical point and at both endpoints a and b.
- Biggest value = global max, smallest = global min. No sign chart needed.
Find the global extrema of f(x) = x³ − 3x² − 9x + 5 on [−2, 6].
Critical points from before: x = −1 and x = 3, both inside the interval.
| x | −2 (endpoint) | −1 | 3 | 6 (endpoint) |
|---|---|---|---|---|
| f(x) | 3 | 10 | −22 | 59 |
Global max is 59 at x = 6 (an endpoint!) and global min is −22 at x = 3. On [−2, 4] instead, f(4) = −15 and the global max would be 10 at x = −1. Same function, different interval, different answer.
On an open interval or the whole real line, a global max or min might not exist (the function can keep climbing, or approach a value it never reaches). Use the shape:
Alternative justification: if f″ < 0 on the whole interval (concave down everywhere), any critical point is a global max; if f″ > 0 everywhere, any critical point is a global min.
h(x) = x + 4/x for x > 0. h′(x) = 1 − 4/x² = 0 gives x² = 4, so x = 2 (−2 is outside the domain). h″(x) = 8/x³ > 0 for all x > 0, so h is concave up everywhere and x = 2 is the global minimum: h(2) = 4. There is no global maximum, because h(x) → ∞ as x → 0⁺ and as x → ∞.
Fill-in template: "On the interval ____, f attains its global (maximum / minimum) value of ____ at x = ____, because ____ (compared all candidates / only critical point and it is a local ____ / f is concave ____ everywhere)."
Practice
Q: f′(x) = (x + 2)(x − 1)². Classify each critical point of f.
Q: Suppose f′(c) = 0 and f″(c) = 0. What can you conclude?
A) c is an inflection point
B) c is a local max
C) c is neither a max nor a min
D) nothing yet: use the first derivative test
Q: Find all inflection points of f(x) = x⁴ − 4x³.
Q: Find the global max and min of g(x) = x e−x on [0, 4].
Q: h(x) = x5/3 − 5x2/3. Find and classify the critical points.
Q: Using the graph of f′ in the "reading the story" figure above, on which intervals of [0, 6] is f concave up?
Q: f′ > 0 for x < 2, f′ < 0 for x > 2, and f″ < 0 everywhere. Which describes the graph of f?
A) a cup with its lowest point at x = 2
B) an upside-down bowl peaked at x = 2
C) always rising, with a flat spot at x = 2
D) an S-shape with an inflection point at x = 2
Q: For x > 0, does f(x) = x + 9/x have a global max? A global min?
Q: True or false: if f′(x) > 0 for every x in [a, b], then the global max of f on [a, b] is at x = b.
Business optimization: maximize profit, minimize cost
The business dictionary
Profit π(q) = R(q) − C(q)
Marginal revenue MR = R′(q), marginal cost MC = C′(q), marginal profit MP = π′(q) = MR − MC
Average cost a(q) = C(q)q (cost per unit)
Fixed cost = C(0). Variable cost = C(q) − C(0).
If price depends on quantity (a demand curve, like p = 80 − 2q), substitute it in before differentiating: R(q) = (80 − 2q)q = 80q − 2q². Forgetting this and treating p as a constant is a classic way to get the wrong MR.
Why MR = MC
π′(q) = R′(q) − C′(q), so π′ = 0 exactly when MR = MC. Intuition: if the next unit brings in more than it costs (MR > MC), make it. If it costs more than it brings in (MR < MC), don't. You stop when they are equal.
Graphically, on a picture of R and C, the profit is the vertical gap R − C. The gap is widest where the two curves are parallel (same slope, MR = MC), with R above C.
A studio sells q gift boxes per day at price p = 80 − 2q dollars. Its daily cost is C(q) = 100 + 20q + q² dollars. Find the profit-maximizing output.
R(q) = (80 − 2q)q = 80q − 2q². MR = 80 − 4q. MC = 20 + 2q.
MR = MC: 80 − 4q = 20 + 2q, so 6q = 60 and q = 10.
Check it is a max: π(q) = 60q − 3q² − 100, π″(q) = −6 < 0 everywhere, so q = 10 is the global max.
π(10) = 600 − 300 − 100 = $200 per day, at price p = 80 − 20 = $60 per box. Break-even happens where 3q² − 60q + 100 = 0, at q ≈ 1.8 and q ≈ 18.2 (the edges of the shaded region in the figure).
Reading max profit from a graph
From MR and MC curves: look for the crossing where MR is above MC to the left and below MC to the right. That q is a local max of profit.
From an MP graph: MP is π′, so use the f′-graph rules: profit rises where MP > 0 and falls where MP < 0; the local max is where MP crosses zero going down. On a closed interval also compare with the endpoints.
If MP crosses zero going down at two different places, you have two local maxima and you need actual profit values (or areas, if your course uses them) to choose. A graph alone may not settle it: say so.
Average cost and the line from the origin
Average cost a(q) = C(q)/q is the slope of the line from (0, 0) to the point (q, C(q)). To minimize average cost, set a′(q) = 0. A handy fact falls out: at the minimum average cost, MC = a(q). (When the marginal unit costs less than the average, it pulls the average down; when it costs more, it pulls the average up.)
C(q) = 400 + 10q + 0.25q². Then a(q) = 400/q + 10 + 0.25q.
a′(q) = −400/q² + 0.25 = 0, so q² = 1600 and q = 40 (q > 0). a″(q) = 800/q³ > 0 for q > 0, so it is the global min.
a(40) = 10 + 10 + 10 = $30 per unit. Check: MC = 10 + 0.5q, so MC(40) = 30. It matches, as promised.
The integer check
If q must be a whole number (boxes, cars, employees) and your critical point is not an integer, evaluate profit at the integers on either side and pick the better one. Do not just round: profit curves are not always symmetric, and the tie-breaker is the actual profit value.
A model written answer (what earns the marks)
A small company sells meal kits. At a price of p = 70 − 0.3q dollars it can sell q kits per week. Weekly cost is C(q) = 400 + 20q dollars, and the kitchen can produce at most 120 kits per week. How many kits should it make, and at what price, to maximize weekly profit?
1. Define variables and domain. Let q be the number of kits made and sold per week, 0 ≤ q ≤ 120, q a whole number.
2. Build the objective. R(q) = pq = 70q − 0.3q². Profit π(q) = R(q) − C(q) = 50q − 0.3q² − 400 dollars per week.
3. Critical points. π′(q) = 50 − 0.6q. Setting π′(q) = 0 gives q = 50/0.6 ≈ 83.33, which lies in [0, 120].
4. Justify the max. π″(q) = −0.6 < 0, so π is concave down on the whole interval and q ≈ 83.33 is the global maximum on [0, 120]. (Endpoint check, for extra safety: π(0) = −400 and π(120) = 1280, both smaller than π(83.33) ≈ 1683.33.)
5. Integer check. π(83) = 1683.30 and π(84) = 1683.20, so q = 83 is better.
6. Answer in context. The company should make and sell 83 kits per week at a price of p(83) = 70 − 0.3(83) = $45.10 per kit, for a maximum weekly profit of $1683.30.
Fill-in templates:
- "At q = ____ units, MR = $____ per unit and MC = $____ per unit, so producing one more unit would (raise / lower) profit by about $____."
- "Profit is maximized at q = ____ because π′ changes from positive to negative there (MC crosses MR from below), and since it is the only critical point in the domain, it is the global max."
- "The maximum profit is $____ per ____, achieved by producing ____ units at a price of $____ each."
Practice
Q: R(q) = 120q − q² and C(q) = 500 + 40q + q². Find the profit-maximizing q and the maximum profit.
Q: A firm currently makes 200 units. MR(200) = $50 per unit and MC(200) = $42 per unit. What should it do?
A) Increase production
B) Decrease production
C) Stay put: it is at max profit
D) Shut down
Q: A marginal profit graph is positive for 0 ≤ q < 6 and negative for 6 < q ≤ 15. Where is profit maximized on [0, 15]?
Q: C(q) = 900 + 4q + 0.01q². At what output is average cost smallest, and what is it?
Q: You solve π′(q) = 0 and get q = 17.6 units, which must be a whole number. What do you do?
Q: Demand is p = 200 − 4q and cost is C(q) = 500 + 20q. Find the whole-number q that maximizes profit.
Q: A company's fixed cost rises by $300 per week (new rent). How does the profit-maximizing quantity change?
A) It increases
B) It decreases
C) It does not change
D) Not enough information
Q: π′(q) > 0 for every q in [0, 50], and the factory can make at most 50 units. What is the optimal output?
Q: On an MR/MC graph, MC crosses MR twice: first from above at q = 2, then from below at q = 9. Which is the profit max?
Exponential growth and compound interest
Exponential growth and decay
Growth: a > 1 (r > 0). Decay: 0 < a < 1 (r < 0, e.g. "loses 15% per year" means a = 0.85).
Continuous form: P(t) = P0 ekt, with k the continuous growth rate. Converting: a = ek, k = ln a.
Linear vs exponential: linear functions add the same amount each step; exponential functions multiply by the same factor each step. In a table with equally spaced inputs, check differences (constant → linear) and ratios (constant → exponential).
A delivery van bought for $32 000 loses 15% of its value each year. V(t) = 32 000(0.85)t. After 3 years: 32 000(0.85)³ ≈ $19 652.
When is it worth half? 0.85t = 0.5, so t = ln 0.5 / ln 0.85 ≈ 4.27 years. (Take ln of both sides; the exponent comes down.)
Compound interest, n times a year
P0 = principal (deposit today), r = nominal annual rate (decimal), n = compounding periods per year, t = years.
r/n = interest rate per period; nt = total number of periods.
Some courses call the annual rate k instead of r. Same thing. Common values of n: annually 1, semiannually 2, quarterly 4, monthly 12, weekly 52, daily 365.
$2500 is deposited at 4.8% per year, compounded monthly, for 6 years. Rate per month = 0.048/12 = 0.004; number of months = 72.
P(6) = 2500(1.004)72 ≈ $3332.48.
Continuous compounding
This is the limit of compounding more and more often: as n → ∞, (1 + r/n)n → er. It is the ceiling: for a given nominal rate, continuous compounding gives the most, but only slightly more than daily.
Same $2500 at 4.8% compounded continuously for 6 years: 2500e0.048·6 = 2500e0.288 ≈ $3334.39, about $1.91 more than monthly.
Effective annual rate: the fair comparison
Nominal rates with different compounding cannot be compared directly. Convert each to the effective annual rate (EAR): the actual percentage growth over one year.
EAR = er − 1 (continuous)
Account A: 5.4% compounded quarterly. Account B: 5.5% compounded annually. Account C: 5.35% compounded continuously.
| account | calculation | EAR |
|---|---|---|
| A | (1 + 0.054/4)4 − 1 = 1.01354 − 1 | ≈ 5.510% |
| B | already annual | 5.500% |
| C | e0.0535 − 1 | ≈ 5.496% |
A wins, narrowly, even though B advertises the highest nominal rate. Effective rate is what your money actually does.
Another nice fact: 6% compounded monthly has EAR (1.005)12 − 1 ≈ 6.168%; continuously, e0.06 − 1 ≈ 6.184%. More frequent compounding always nudges EAR up, with diminishing returns.
Present value and future value of a single payment
n times a year: PV = FV(1 + r/n)nt Continuous: PV = FV · e−rt
Present value answers: "How much would I need to deposit today to have FV at time t?" It is also how you compare payments that arrive at different times: move everything to the same date (usually today), then compare.
You want $15 000 in 4 years for a down payment. An account pays 5% compounded continuously. PV = 15 000e−0.05·4 = 15 000e−0.2 ≈ $12 280.96 today.
A client offers $9000 today or $10 000 in 2 years. You can earn 6% compounded semiannually. PV of the later payment: 10 000 / (1.03)4 ≈ $8884.87. Since $9000 > $8884.87, take the $9000 today. (Equivalently, $9000 today grows to 9000(1.03)⁴ ≈ $10 129.58 in 2 years, which beats $10 000.)
Fill-in templates: "An investment of $____ today grows to $____ after ____ years at ____% compounded ____." and "At ____% compounded ____, receiving $____ in ____ years is worth the same as $____ today."
Doubling time and solving for t or r
Set the growth factor equal to 2 and take logs:
Continuous: ert = 2 → t = ln 2r ≈ 0.693r
Rule of 70 (quick estimate): doubling time ≈ 70 / (rate in percent)
At 7%: annual compounding doubles in ln 2 / ln 1.07 ≈ 10.24 years; continuous in ln 2 / 0.07 ≈ 9.90 years; rule of 70 says about 10. With quarterly compounding at 6%: (1.015)4t = 2, so t = ln 2 / (4 ln 1.015) ≈ 11.64 years.
Solving for the rate: what continuous rate doubles money in 8 years? e8r = 2 → r = ln 2 / 8 ≈ 0.0866, about 8.66%.
Practice
Q: $4000 is invested at 3.6% per year compounded monthly. What is it worth after 5 years?
Q: Which formula gives the balance after t years if P0 is invested at 7% compounded quarterly?
A) P0(1.07)4t
B) P0(1.0175)4t
C) P0(1.0175)t
D) P0e0.07t
Q: What is the effective annual rate of 9% compounded daily (365 days)?
Q: Account X pays 4.9% compounded monthly; account Y pays 5% compounded annually. Which is better?
Q: Find the present value of $20 000 due in 3 years at 6% compounded continuously.
Q: How long does it take money to double at 4% compounded continuously?
Q: $5000 grows to $6500 in 4 years with annual compounding. What annual rate was earned?
Q: A town's population shrinks by 2.5% per year. Write a formula, and find the equivalent continuous rate.
Q: You can receive $50 000 now or $56 000 in 2 years. Money earns 5.5% compounded annually. Which do you choose?
Geometric series, annuities, perpetuities and loans
Sigma notation in 30 seconds
Σj=04 3(2)j means "plug j = 0, 1, 2, 3, 4 into 3(2)j and add": 3 + 6 + 12 + 24 + 48 = 93. The number of terms is (top − bottom + 1), here 4 − 0 + 1 = 5.
Geometric series
A geometric series is a sum where each term is the previous one times the same ratio R.
Infinite: a + aR + aR² + … = a1 − R only if |R| < 1 (otherwise it diverges)
a = the first term (actually written first, not "the payment")
R = the ratio between consecutive terms (term ÷ previous term)
n = the number of terms. If the exponents run from 0 to N, then n = N + 1.
S = 300 + 300(0.9) + 300(0.9)² + … + 300(0.9)14.
a = 300, R = 0.9, exponents 0 through 14, so n = 15 (not 14). S = 300(1 − 0.915)/(1 − 0.9) ≈ 2382.33.
If the sum ran forever: 300/(1 − 0.9) = 3000. The finite sum is already most of the way there.
Annuities: payment streams as series
An annuity is a sequence of equal payments at regular intervals (rent, loan payments, subscriptions, savings plans). To find its present value, discount each payment to today and add. To find its future value, grow each payment to the end date and add. Each payment differs from its neighbour by one period of growth, so you always get a geometric series.
Continuous at annual rate r with payments every Δ years: u = erΔ, v = e−rΔ
Start vs end matters. Payments at the start of each period (an "annuity due": rent, insurance premiums) arrive earlier, so their PV is larger. In fact PVstart = (1 + i) · PVend for the same payments.
A prize pays $5000 per year for 8 years, first payment today. Interest is 5% compounded annually. What is it worth today?
PV = 5000 + 5000(1.05)−1 + … + 5000(1.05)−7. So a = 5000, R = 1/1.05, n = 8.
PV = 5000 · 1 − (1/1.05)81 − 1/1.05 ≈ $33 931.87.
If the payments were at the end of each year instead, the first term would be 5000/1.05 and the PV ≈ $32 316.06 (exactly the first answer divided by 1.05).
You deposit $250 at the end of each month for 3 years into an account paying 4.2% compounded monthly. How much is there right after the last deposit?
Monthly rate 0.042/12 = 0.0035, 36 deposits. The last deposit earns nothing, the first earns 35 months of interest: FV = 250 + 250(1.0035) + … + 250(1.0035)35.
a = 250, R = 1.0035, n = 36: FV = 250(1 − 1.003536)/(1 − 1.0035) ≈ $9573.76. You put in $9000, so about $573.76 is interest.
Perpetuities: payments forever
A perpetuity is an annuity that never ends (an endowed scholarship, some preferred shares). Its PV is an infinite geometric series with R = v < 1, so it converges:
First payment today: PV = P1 − v = P + Pi
A donor wants to fund a $3000 scholarship every year forever, first award in one year, at 4% compounded annually. PV = 3000/0.04 = $75 000. If the first award is today, add one more payment: $78 000.
Loans: the payment that makes PV = amount borrowed
A loan is an annuity from the lender's point of view: the bank hands you L today in exchange for payments whose present value equals L. Set up PV of payments = L and solve for P.
Borrow $18 000 for 5 years at 6% compounded monthly, paying at the end of each month. i = 0.005, n = 60, v = 1/1.005.
P(v + v² + … + v60) = 18 000 → P · v(1 − v60)/(1 − v) = 18 000. The series factor simplifies to (1 − 1.005−60)/0.005 ≈ 51.73.
P ≈ 18 000 / 51.73 ≈ $347.99 per month. Total paid: 60 × 347.99 ≈ $20 879.43, so about $2879.43 is interest.
Drug dosage build-up
Same maths, different costume. A patient takes D mg at regular intervals and a fraction f of the drug remains at the next dose. Right after the n-th dose, the amount in the body is D + Df + Df² + … + Dfn−1 (newest dose first). Long run, the peak level approaches D/(1 − f).
40% of the drug remains after 8 hours. Right after the 4th dose: 150 + 60 + 24 + 9.6 = 150(1 − 0.4⁴)/(1 − 0.4) = 243.6 mg. Long run, right after a dose: 150/0.6 = 250 mg. Right before a dose in the long run: 0.4 × 250 = 100 mg.
Which setup? A decision table
| situation | series (newest/first term written first) | a | R | n |
|---|---|---|---|---|
| PV, payments at start of each period | P + Pv + … + Pvn−1 | P | v | number of payments |
| PV, payments at end of each period | Pv + Pv² + … + Pvn | Pv | v | number of payments |
| FV measured at the last payment | P + Pu + … + Pun−1 | P | u | number of payments |
| FV one period after the last payment (e.g. start-of-period deposits, value at end of term) | Pu + Pu² + … + Pun | Pu | u | number of payments |
| Perpetuity, first payment in one period | Pv + Pv² + … | Pv | v | ∞: use a/(1 − R) = P/i |
| Perpetuity, first payment now | P + Pv + … | P | v | ∞: use P/(1 − v) |
| Loan payment | PV of payments = amount borrowed; solve for P | Pv (end-of-period) | v | number of payments |
| Drug, just after n-th dose | D + Df + … + Dfn−1 | D | f | n |
| Drug, just before (n+1)-th dose | Df + Df² + … + Dfn | Df | f | n |
Fill-in template: "The present value of ____ payments of $____ made at the (start / end) of each ____ is $____, which is the amount that would need to be deposited today at ____% compounded ____ to fund all of them."
Practice
Q: Evaluate Σj=09 40(1.05)j.
Q: For 7 + 7(0.8) + 7(0.8)² + … + 7(0.8)20, what are a, R, n?
A) a = 7, R = 0.8, n = 20
B) a = 7, R = 0.8, n = 21
C) a = 5.6, R = 0.8, n = 20
D) a = 7, R = 1.25, n = 21
Q: Find 2 + 6 + 18 + … + 4374.
Q: Find the sum 90 + 60 + 40 + … (forever). Does Σj=0∞ 5(1.1)j have a sum?
Q: What is the PV of $1200 paid at the end of each year for 10 years, at 4.5% compounded continuously?
Q: $600 is paid at the end of every quarter for 2 years. With 5% compounded continuously, what is the PV?
Q: A perpetuity pays $500 every quarter, first payment in 3 months. Interest is 6% compounded quarterly. What is its PV?
Q: You borrow $30 000 for 4 years at 7.2% compounded monthly, with end-of-month payments. What is the monthly payment?
Q: Same 12 payments of $1000, same interest rate. Which has the larger PV: payments at the start of each month or at the end?
A) Start
B) End
C) Equal
D) Depends on the rate
Q: A patient takes 80 mg once a day; 25% remains after 24 hours. What level does the amount right after a dose approach in the long run? Right before a dose?
Functions of two variables, 3-space and contour diagrams
Three ways to meet a function of two variables
From a table. Rows are one input, columns the other. Here S(p, T) is daily smoothie sales (hundreds of cups) at price p dollars and temperature T °C:
| p \ T | 15 | 20 | 25 | 30 |
|---|---|---|---|---|
| 3 | 42 | 51 | 63 | 78 |
| 4 | 35 | 43 | 54 | 67 |
| 5 | 29 | 36 | 45 | 56 |
| 6 | 22 | 28 | 36 | 45 |
S(5, 25) = 45: "At a price of $5 per cup and a temperature of 25 °C, about 4500 cups are sold per day." Reading across a row (fixed price) sales rise with temperature; down a column (fixed temperature) they fall with price. A single row is a one-variable function: S(4, T) gives 35, 43, 54, 67, and its average rate of change from T = 20 to 25 is (54 − 43)/5 = 2.2 hundred cups per °C.
From a formula. f(x, y) = 3x² − xy + 2 gives f(2, −1) = 12 + 2 + 2 = 16. Substitute both values; the order (x first, then y) matters.
From words. "A crew of n workers each paid $22 per hour works h hours, plus a $150 equipment fee" gives C(n, h) = 22nh + 150 dollars.
Fill-in template: "f(a, b) = c means that when ____ (first input, units) is a and ____ (second input, units) is b, the ____ (output) is c (units)."
Points and distance in 3-space
A point (x, y, z) is found by moving x along the x-axis, y parallel to the y-axis, then z up (or down). The three coordinate planes are z = 0 (the xy-plane, the "floor"), y = 0 (the xz-plane) and x = 0 (the yz-plane).
From (1, −2, 4) to (4, 2, −8): differences 3, 4, −12. d = √(9 + 16 + 144) = √169 = 13.
Related: the set of points at distance 5 from (1, 0, −2) is the sphere (x − 1)² + y² + (z + 2)² = 25.
Distance from a point to a coordinate plane is just the absolute value of the missing coordinate: (3, −7, 2) is 2 units from the xy-plane, 7 from the xz-plane, 3 from the yz-plane.
Graphs, planes and cylinders
The graph of f(x, y) is the surface z = f(x, y): above each point (x, y) on the floor, plot height f(x, y).
- z = c is a horizontal plane at height c. x = c and y = c are vertical planes (walls) parallel to the yz- and xz-planes.
- Linear functions f(x, y) = c + mx + ny have planes as graphs. m is the slope in the x-direction (y fixed), n the slope in the y-direction.
- An equation that is missing a variable in 3-space describes a cylinder: the 2D curve extended forever in the missing direction. x² + y² = 4 is a circular tube around the z-axis; z = x² is a parabolic trough running along the y-axis; x² + z² = 9 is a tube around the y-axis.
Cross-sections: slicing the surface
Fix one input and you get an ordinary graph of the other. Holding y = c gives the curve z = f(x, c); holding x = c gives z = f(c, y).
For z = y² − 2x: the slice x = 1 is z = y² − 2, a parabola opening up. The slice y = 3 is z = 9 − 2x, a line with slope −2. The surface is a parabolic trough that tilts downward as x increases.
Contour diagrams: reading and building them
A contour (level curve) is the set of (x, y) where f(x, y) = c for one value c. A contour diagram draws several of these on the xy-plane, like the height lines on a hiking map.
• Each curve is one output value; between two curves the value is in between.
• Close together contours mean f changes quickly there (steep). Far apart means gentle.
• Walking along a contour, f does not change at all.
• Evenly spaced parallel straight lines (for equally spaced c) means f is linear.
• To estimate f at a point between contours, interpolate between the neighbouring labels.
• To see a cross-section, walk along a horizontal line (y fixed) and record the contour values you cross.
Building one: set f(x, y) = c, solve for y (or recognize the shape), and draw it for several equally spaced c. For f = x² + y², the contour f = c is a circle of radius √c. For f = 2x + y, it is the line y = c − 2x. For f = y − x², it is the parabola y = x² + c.
Cobb-Douglas production functions
Q = output, L = labour, K = capital.
Its contours are called isoquants: all the (L, K) mixes that produce the same output. They are decreasing curves bending toward the axes (you can trade labour for capital).
a + b = 1: constant returns (output doubles exactly).
a + b > 1: increasing returns (more than doubles).
a + b < 1: decreasing returns (less than doubles).
Q = 5L0.6K0.4. With L = 32 and K = 243: 320.6 = 2³ = 8 (since 32 = 2⁵) and 2430.4 = 3² = 9 (since 243 = 3⁵). Q = 5 × 8 × 9 = 360.
Doubling to L = 64 and K = 486 gives Q = 360 × 20.6+0.4 = 720: constant returns to scale.
The isoquant Q = 100 solved for K: K0.4 = 20/L0.6, so K = 202.5L−1.5 ≈ 1789L−1.5, the middle curve in the figure.
Practice
Q: Using the smoothie table, is S increasing or decreasing in p? Estimate S(4.5, 25).
Q: Find the distance from the origin to (2, −3, 6).
Q: Which point is closest to the xz-plane?
A) (5, 1, 9)
B) (−1, 4, 0)
C) (2, −0.5, −8)
D) (0, 3, 0)
Q: What does the cross-section of z = x² − 3y at x = 2 look like?
A) a parabola opening up
B) a line with negative slope
C) a horizontal line
D) a circle
Q: Describe the contours of f(x, y) = y − x².
Q: In 3-space, what is the graph of x² + z² = 9?
Q: In the left contour diagram (f = x² + y²), is the surface steeper near the origin or near the edge? How do you know?
Q: Q = 4L0.5K0.5. Find Q when L = 16 and K = 25, then when both inputs double.
Q: For Q = cL0.7K0.5, what happens to output if both inputs double?
Q: A linear function has f(0, 0) = 3, f(1, 0) = 5 and f(0, 1) = 2. Write its formula and describe its contours.
Flashcards
Practice tests
Rapid drills
Derivative speed drill
Write the derivative on paper, then check it. If you get one wrong, it comes back later in the deck.
True or false sprint
Formula and rule recall
Say each answer before you open it. If you hesitated, it isn't learned yet.
Explain it out loud
Draw the graphs
Study plans
The test is tomorrow (about 3 hours)
- 20 min: derivative speed drill and formula recall. If a rule doesn't come instantly, write it ten times.
- 20 min: the f, f′, f″ chapter and the linked-graphs tool. These graph questions turn up on almost every test.
- 50 min: Practice Test C (the 50-minute sprint), timed.
- 40 min: for every topic where you lost marks, reread that chapter's "Must know" and "Common mistake" boxes and do two practice questions.
- 30 min: one long optimization question written out in full, and one annuity set up as a geometric series.
- 20 min: flashcards, "Missed only". Then sleep.
Three days out
- Day 1: chapters 1–5 (functions to differentiation rules) and their practice questions, plus the derivative speed drill. Evening: those flashcard decks.
- Day 2: chapters 6–10 (extrema to two-variable functions) and all six interactive graphs. Evening: every Explain it prompt out loud.
- Day 3: Practice Test A, timed. Mark it, fix the gaps, then the true/false sprint and the "Missed only" flashcards. Do Test C the night before.
A full week
- Days 1–5: two chapters a day. After each one, do its flashcard deck, its practice questions and its sketches from Draw the graphs.
- Day 6: Practice Test A under exam conditions, then review for as long as the test took.
- Day 7: Practice Test B (hard), then the drills and the "Missed only" flashcards. Get an early night.