HEG GenΓ¨ve QUANTITATIVE METHODS I Β· FALL WEEK 4 ← Course
This week
0%
The year
0%
Fall Week 4 · Quantitative Methods I · HEG Genève

What does one more cost us?

Week 1 found the cost of the 61st tonne by subtracting two rows of a table. That only works when somebody hands you the table. Week 3 read a rate off a straight line, and the rate was the same everywhere. But the roastery's cost is a curve: every extra thousand doses costs more than the one before, and "the rate" depends on where you ask. The derivative is how you answer "how fast is this changing, right here?" from the formula, at any point, exactly β€” and that number is what almost every business decision turns on.

This week builds it in three moves. A secant through two points gives an average rate. Slide the second point toward the first and the secant becomes a tangent: the rate at one point. Then a short table of derivatives and three rules let you find that rate without ever taking a limit again. The second half of the deck is a parenthesis β€” solving equations where the unknown sits in an exponent or inside a log, and differentiating those functions β€” because next week's rules and half the homework need it.

1Sensitivityfrom the secant to the tangent β€” an average rate becomes a rate at one point
2The derivativea limit, a slope, a function β€” and the table you will use all year
3Tangents and rulesconstant, constant factor, sum β€” and the equation of a tangent line
4Marginal and relativerate, relative rate, percentage rate β€” marginal cost and revenue
5Exponential and log equationsisolate the power, take the log, reject the false root
6Differentiating logs and exponentialsrewrite first, then uβ€² ⁄ u β€” and where is x?

The session is three hours in two parts. Part 1 (~1 h 15) is the lesson: your instructor presents the deck and you follow the same numbered sections here β€” every slide names its section. Part 2 is eight exercises worked together, given on the slides and as forms below; solutions open as your instructor reveals them.

🏫 In class: 3 h Β· lesson, then exercises Β· bring this page open and a calculator πŸ“– Reading: Christensen, "How Will You Measure Your Life?" (HBR, 2020) β–Ά The Lecture button (top-right) shows the deck we use in class

By the end of Fall Week 4 you will be able to

  • Define the instantaneous rate of change of a function at a point, and tell it apart from an average rate over an interval.
  • Understand the derivative as a limit of secant slopes and as the slope of the tangent line β€” and read fβ€²(x), df ⁄ dx and yβ€² as the same thing.
  • Interpret a derivative as a marginal quantity β€” marginal cost, marginal revenue β€” and compute relative and percentage rates of change.
  • Calculate simple derivatives by hand: constants, powers, roots and reciprocals, ex, ax, ln x, and sums of them.
  • Find the equation of a tangent line at a given point.
  • Parenthesis: solve exponential and logarithmic equations β€” isolate the power, take a logarithm, use the laws, reject roots outside the domain β€” and differentiate logarithms and exponentials after rewriting them.

Resources β€” tick them off as you go

βœ“Lecture deck β€” the β–Ά Lecture button above; presented in class in Week 4. Print it to PDF from inside the deck if you want it on paper.
βœ“Reading: Christensen, "How Will You Measure Your Life?", Harvard Business Review, 2020 β€” on Cyberlearn. Not about calculus; about marginal thinking, which is what section 4.4 turns into a number. The sentence to look for is the one about the "marginal cost" of a small decision.
βœ“Part 2 Β· the exercise set β€” eight exercises done with your instructor in the second half of the session. Section 4.7 below.
βœ“Week 4 homework β€” the sixteen problems from the printed sheet, with hints and full worked solutions. Not graded; it is how you find out whether the lesson stuck.
Sections 4.5 and 4.6 are the deck's parenthesis: nothing in them is calculus except the last five slides. They are here because the exam will ask you to solve for an exponent, and because next week's chain rule needs (ln u)β€² = uβ€² ⁄ u to feel ordinary.
← Course page
A reset link lives at the bottom of section 4.8.
Section 4.1 Β· Sensitivity

From the secant to the tangent β€” the rate at one point

J
"Theo wants to know what the next thousand doses will cost. Not the average β€” he knows the average, it is on the dashboard. The next thousand. Last month I answered by running the plant for a day at 61 and subtracting. That is one data point and it cost us a day. I want to be able to answer from the formula, for any output, in ten seconds β€” and I want the answer to be exact, not 'roughly'."
Jane Β· Head of Insights, XY Coffee Co.
The question, as the deck asks it

How to estimate sensitivity?

The sensitivity of business metrics refers to how changes in certain variables impact key metrics or indicators. The deck's own four examples:

  • how changes in employee satisfaction levels or compensation packages impact turnover rates;
  • how changes in the number of job postings on different platforms affect the number of qualified applicants;
  • how changes in advertising expenditure affect sales revenue;
  • how to determine the production level that maximizes its profit.
πŸ”Every one of those is the same shape of question: if I move this by a little, how much does that move? In Week 3 the answer was a slope, and a line has one slope. But none of these relationships is a line β€” more advertising brings in less and less extra revenue, more output costs more and more per unit β€” so the answer depends on where you are. That is the whole reason this week exists: a slope that changes from point to point needs a new definition, and the new definition is the derivative.

Last week: how fast does one thing change when I change another β€” along a line? This week: the same question, along a curve, at exactly one point.

The slope of a function at a point

The slope of the function is the slope of the tangent line. How can we construct the tangent line?

The deck's answer, in two steps. First, the secant: the slope of f(x) at x₁ is "approximated" by the slope of the line going through the two points (x₁, f(x₁)) and (xβ‚‚, f(xβ‚‚)):

slope = ( f(xβ‚‚) βˆ’ f(x₁) ) ⁄ ( xβ‚‚ βˆ’ x₁ )
πŸ”This is Week 3's slope formula, unchanged β€” rise over run between two points. What is new is the word "approximated": on a curve the two-point slope depends on which second point you pick, so it is not the slope, it is an average rate over the stretch between the two points. At the roastery, the secant from 60 to 100 thousand doses says "CHF 1 000 per thousand on average over that stretch" β€” true, and not what Theo asked.

Second, let the second point slide toward the first:

slope = limxβ‚‚ β†’ x₁ ( f(xβ‚‚) βˆ’ f(x₁) ) ⁄ ( xβ‚‚ βˆ’ x₁ )
πŸ”Read "lim" as "the value the fraction settles on as the gap closes". You cannot put xβ‚‚ = x₁ in directly β€” that is 0 ⁄ 0, which is not a number β€” but you can bring xβ‚‚ as close as you like and watch what the slope does. If it settles on a number, that number is the slope at the point, and the secant has become the tangent. The widget below does exactly this, with the roastery's cost curve, and you can watch the number stop moving.
Try it Β· close the gap

The roastery's cost curve, a fixed point at 60, and a second point you bring closer.

From Week 2: C(q) = 10 000 + 200q + 5qΒ², francs per day for q thousand doses. Pick the gap h = xβ‚‚ βˆ’ 60. The dashed line is the secant; the number is its slope.

Secant slope from q = 60 to q = 60 + h Β· shrink h
0 of 7 gaps tried β€” try at least five, down to h = 0.01, to complete this half of the section.
On the coffee β†’ Every secant slope comes out as 800 + 5h β€” you can see it in the panel β€” so as h shrinks to nothing the slope settles on CHF 800 per thousand doses. That is the rate at exactly 60: not the average over any stretch, but what the next dose costs, scaled up to a thousand. Week 1's table answered the same question by subtraction and got 776 for a different plant; here the "61st thousand" by subtraction is 805 (h = 1), and the tangent says 800. The 5 is the curve bending inside the gap. The derivative removes the gap, and the bend with it.
Try it

Average rate, or rate at a point?

Six management questions. Say which one is being asked before any arithmetic β€” the first word of the answer is "secant" or "tangent", and the exam marks that word.

Average (secant) Β· At a point (tangent)
Section 4.2 Β· The derivative

A limit, a slope, and a function β€” and the table you will use all year

Definition β€” for the sake of completeness

The derivative of a function f is the function denoted fβ€² and defined by

fβ€²(x) = limh β†’ 0 ( f(x + h) βˆ’ f(x) ) ⁄ h

provided that the limit exists. If fβ€²(a) can be found, f is said to be differentiable at a, and fβ€²(a) is called the derivative of f at a. The process of finding the derivative is called differentiation.

πŸ”It is section 4.1's limit with the letters renamed: x₁ is now x, and the second point is x + h, so the run is just h. The top is the change in the output; the bottom is the change in the input; h β†’ 0 closes the gap. Three things to hold on to. First, fβ€² is a function β€” it hands you the slope at every x, not just one. Second, "provided that the limit exists" is a real condition: a curve with a corner or a jump has no tangent there, and no derivative. Third, the deck says "for the sake of completeness" because you will compute derivatives from a table, not from this limit β€” but you should see the limit work once, below, so the table is not magic.

Notation β€” five ways of writing the same thing: fβ€²(x), (df ⁄ dx)(x), df(x) ⁄ dx, (d ⁄ dx) f(x), yβ€².

πŸ”The prime says "the rate of this"; fβ€² is the rate of f. d ⁄ dx says "the rate of … with respect to x" β€” it names the input, which matters when a cost depends on both output and time and you must say which one you are moving. The d is not a number and df ⁄ dx is not a fraction, though it is written like one and behaves like one often enough that the notation survived three centuries. yβ€² is the shorthand for when the function has been called y. Pick whichever the question uses, and never mix fβ€² with the wrong letter β€” fβ€²(q) is a rate per unit of q, and nothing else.

Because the derivative gives the slope of the tangent line, fβ€²(a) is the slope of the line tangent to the graph of y = f(x) at (a, f(a)).

Try it Β· from the definition, once

f(x) = xΒ². Take the limit by hand, one move at a time.

This is the derivation the deck leaves to the room on slides 11 and 12. Do it once properly and the power rule in the table stops being a rule you were told and becomes one you have seen.

(f(x + h) βˆ’ f(x)) ⁄ h for f(x) = xΒ² Β· four moves
Step through all four.
Why you cannot just put h = 0 inBefore the algebra, the fraction is (0) ⁄ (0) at h = 0 β€” not a number. The algebra's job is to cancel the h in the denominator, so that what is left (2x + h) is a perfectly ordinary expression you can put h = 0 into. Every derivation from the definition has this shape: expand, cancel, then let h go. If you take the limit before cancelling, you get 0 ⁄ 0 and nothing else.
Some derivatives β€” the deck's table

Seven rows. Three of them do all the work this term.

f(x)fβ€²(x)Why β€” and what it says
Ξ±x + Ξ²Ξ±A line's slope is its slope everywhere β€” Week 3. The Ξ² vanishes: a constant added to a function shifts its graph up or down and changes no slope.
xⁿn Β· xⁿ⁻¹The power rule: bring the exponent down as a factor and lower it by one. Derived above for n = 2 (2x), and it holds for any n β€” fractions and negatives included, which is what the next two rows are.
√x1 ⁄ (2·√x)The power rule with n = Β½: Β½ xβˆ’Β½, rewritten without a negative exponent. A root grows fast at first and then slowly β€” its slope at 100 is 1 ⁄ 20.
1 ⁄ xβΏβˆ’n ⁄ xⁿ⁺¹The power rule with n β†’ βˆ’n: βˆ’n xβˆ’nβˆ’1. Negative because a reciprocal falls as x grows; the exponent on the bottom goes up by one, which is the one that catches people.
exp(x)exp(x)The function whose rate of change is itself. That is what makes e the "natural" base: a quantity growing at ex grows at a rate equal to its current size, with no leftover constant.
aΛ£aΛ£ Β· ln(a)Any a > 0 is e to some power, a = eln a, so ax = ex ln a β€” e to a linear function of x β€” and the chain rule drops out the factor ln a. For a = e, ln e = 1 and the factor disappears: the row above.
ln(x)1 ⁄ xStart from the identity that defines ln: eln x = x. Differentiate both sides (chain rule on the left): eln x Β· (ln x)β€² = 1, i.e. x Β· (ln x)β€² = 1. So (ln x)β€² = 1 ⁄ x β€” each extra unit of x adds less to ln x the further out you are.
πŸ”Rows 2, 5 and 7 β€” the power rule, ex, ln x β€” are the three to know cold; rows 3 and 4 are the power rule in disguise, and row 6 is row 5 with a constant attached. The general form of the last row, (ln u)β€² = uβ€² ⁄ u, "derivative of the inside over the inside", is the one you will use most: ln(3x) β†’ 3 ⁄ 3x = 1 ⁄ x; ln(xΒ²) β†’ 2x ⁄ xΒ² = 2 ⁄ x; ln(5x βˆ’ 2) β†’ 5 ⁄ (5x βˆ’ 2). And uβ€² ⁄ u is the percentage rate of change of u β€” section 4.4 β€” so the derivative of ln(price) is the instantaneous return. That is why finance works in logs.
Try it Β· watch the quotient settle

Pick a row of the table. The difference quotient at h = 1, 0.1, 0.01, 0.001 β€” and what the table says it should settle on.

(f(x + h) βˆ’ f(x)) ⁄ h at x = 4 Β· open all five
0 of 5 opened β€” open all five to complete this half of the section.
On the coffee β†’ This is the check you can always do with a calculator when you are not sure of a derivative: compute (f(x + 0.001) βˆ’ f(x)) ⁄ 0.001 and compare. It is not a proof, and the exam wants the rule, but it catches a wrong sign or a wrong exponent in ten seconds β€” and the instructor's own annotation on slide 27 of the deck does exactly this for logβ‚‚ x at x = 4.
Try it

Which row of the table?

Six functions. Decide which row applies before you differentiate anything β€” including the two that look like they have an x in them and do not.

Constant · Power xⁿ · Exponential · Logarithm
Section 4.3 Β· Tangent lines and the rules

The slope at a point, the rules for sums, and the line itself

Finding the slope of a tangent line

Find the slope of the tangent line to the curve y = f(x) = xΒ² at the point (1, 1).

fβ€²(x) = 2x  β€” from the table, or from the derivation in section 4.2
mtan = fβ€²(1) = 2
πŸ”Two steps, always in this order: differentiate first, then substitute the point. Substituting first gives f(1) = 1, a number, whose derivative is 0 β€” the wrong answer and a common one. The deck's second version asks for the slope at a general point (x, f(x)) and the answer is just mtan = fβ€²(x) = 2x: the derivative is the slope at every point at once, and "find the slope at (1, 1)" is "read fβ€² at x = 1".
Try it Β· slide the tangent

The cafΓ©'s revenue parabola from Week 3, with its tangent at the point you choose.

R(q) = 9q βˆ’ 0.01qΒ², so Rβ€²(q) = 9 βˆ’ 0.02q. Slide q and read the slope β€” and find the output where the tangent is flat.

Rβ€²(q) = 9 βˆ’ 0.02q Β· find the flat tangent
Try at least five outputs, including the one where the slope is zero, to complete this half.
On the coffee β†’ At 450 cups the tangent is horizontal: Rβ€²(450) = 9 βˆ’ 9 = 0. That is Week 3's vertex, βˆ’b ⁄ 2a = 450, found a second way β€” a parabola peaks exactly where its derivative is zero, and in Week 8 that sentence becomes the whole method for maximising anything. Left of 450 the slope is positive (one more cup still adds revenue); right of it, negative. The derivative does not just give the peak; it tells you which side of it you are on.
Rules for differentiation

Three rules, and together they differentiate every polynomial.

1. Derivative of a constant  (d ⁄ dx)(c) = 0
2. Constant factor rule  (d ⁄ dx)(c Β· f(x)) = c Β· fβ€²(x)
3. Sum or Difference rule  (d ⁄ dx)(f(x) Β± g(x)) = fβ€²(x) Β± gβ€²(x)
πŸ”A constant has no rate β€” the rent does not react, and neither does √5 or ln 2, however exotic it looks. A constant factor rides along: five times a function changes five times as fast. A sum changes at the sum of the rates, so you may differentiate term by term. What the three rules do not say is anything about a product or a quotient of two functions of x β€” x Β· ex, x ⁄ ex β€” and that is next week. This week, if two x's are multiplied together, expand first (homework 4.3 l) or divide through (4.3 m, n) until it is a sum of powers.

The deck's first example, f(x) = 6xΒ³ βˆ’ 2xΒ² + 7x βˆ’ 8, one move at a time:

Differentiate 6xΒ³ βˆ’ 2xΒ² + 7x βˆ’ 8 Β· four moves
Step through all four.

And the second, where the rules meet the table's fractional and negative exponents β€” f(x) = x⁴ ⁄ 4 βˆ’ 5 ⁄ x1⁄3:

(d ⁄ dx)( x⁴ ⁄ 4 ) βˆ’ (d ⁄ dx)( 5 ⁄ x1⁄3 ) = (1 ⁄ 4)(4xΒ³) βˆ’ 5Β·( βˆ’(1 ⁄ 3) xβˆ’4⁄3 )
= xΒ³ + (5 ⁄ 3) xβˆ’4⁄3
πŸ”Rewrite before you differentiate: 5 ⁄ x1⁄3 is 5 xβˆ’1⁄3, a constant times a power, and the power rule gives βˆ’(1 ⁄ 3) xβˆ’4⁄3. Two signs meet β€” the minus of the subtraction and the minus of the exponent β€” and they make a plus. The ⁄4 in the first term is a constant factor and simply waits: ΒΌ Γ— 4xΒ³ = xΒ³. Homework 4.3 is fourteen of these, and the rewrite is the step most of them turn on.
Finding an equation of a tangent line

Strategy β€” given f(x), first we find fβ€²(x), then evaluate it at the point, then write the line in point-slope form.

The deck's example: f(x) = 2xΒ² + 2x + 3, tangent at (1, 7).

fβ€²(x) = 4x + 2,  so the slope at (1, 7) is fβ€²(1) = 6.
y βˆ’ 7 = 6(x βˆ’ 1),  that is  y = 6x + 1
πŸ”The derivative supplies one number β€” the slope β€” and then it is Week 3: a point and a slope make a line, in point-slope form. Check that the point is on the curve first: f(1) = 2 + 2 + 3 = 7 βœ“. If a question gives you only the x, compute f(x) yourself to get the point. Homework 4.2 is this with y = 4 ⁄ (x + 1) at (3, 1): the derivative is βˆ’4 ⁄ (x + 1)Β² β€” the reciprocal row of the table, with x + 1 in place of x, because shifting a graph sideways changes no slope β€” so the slope is βˆ’ΒΌ and the line is y = βˆ’x ⁄ 4 + 7 ⁄ 4.
Try it

Differentiate, then evaluate at x = 1.

Six functions. For each, find fβ€²(x) in your head, then read it at x = 1. Rewrite the roots and reciprocals as powers first.

fβ€²(1) = ?
The mistake this section exists to preventSubstituting the point into f before differentiating. f(1) is a number; a number's derivative is 0; and "the slope at (1, 1) is 0" is wrong for every curve on this page except at its peak. Differentiate the function, then read the derivative at the point. The order is the whole method.
Section 4.4 Β· Rates of change

Marginal cost, marginal revenue β€” and relative and percentage rates

Three definitions

The rate, the relative rate, and the percentage rate of change of f(x).

The rate of change of f(x) is  fβ€²(x)
The relative rate of change of f(x) is  fβ€²(x) ⁄ f(x)
The percentage rate of change of f(x) is  ( fβ€²(x) ⁄ f(x) ) Β· 100
πŸ”The rate is in the units of f per unit of x: francs per thousand doses. The relative rate divides by the current size, so it is a pure number per unit of x β€” "the function is growing at 3.3% of itself per thousand doses" β€” and the percentage rate is that number times 100. Why three? Because "profit is rising by CHF 200 per thousand doses" means something different at a profit of 6 000 (3.3%, healthy) and at a profit of 600 000 (0.03%, flat). The relative rate is what lets you compare a small business with a large one, and it is what a growth rate is. Homework 4.6 asks for all three of the same function, in order.
Marginal cost β€” the derivative is the business idea

What does the next thousand doses cost? Cβ€²(q), read at the current output.

The roastery: C(q) = 10 000 + 200q + 5qΒ². By the rules of section 4.3, Cβ€²(q) = 200 + 10q, and at today's 60 thousand doses:

Cβ€²(60) = 200 + 600 = 800  francs per thousand doses β€” the marginal cost at 60
πŸ”Compare it with two other numbers at the same output. The average cost, C(60) ⁄ 60 = 40 000 ⁄ 60 = 666.67, is what each thousand doses has cost on average so far. The subtraction, C(61) βˆ’ C(60) = 805, is Week 1's method and is off by 5 β€” the curve bending inside the one-unit gap. Marginal cost is above average cost here, which means the next unit drags the average up: Week 1 noticed this in the table (776 against 528) and could not explain it. Now it is a sentence: the average rises whenever the marginal is above it. Week 5 proves that with the quotient rule.
Marginal, average, and the subtraction Β· slide the output
Try at least five outputs, including 60, to complete this half.
Marginal revenue, and the rule

Produce while one more unit brings in more than it costs β€” while MR > MC.

At the cafΓ©, Week 3's demand gives revenue R(q) = 9q βˆ’ 0.01qΒ², so the marginal revenue is Rβ€²(q) = 9 βˆ’ 0.02q: what the next cup adds, once the price cut it needs is counted. The cost is C(q) = 900 + q, so the marginal cost is Cβ€²(q) = 1, a franc a cup.

MR = 9 βˆ’ 0.02q against MC = 1 Β· where does one more cup stop paying?
Try at least five outputs, including the crossing, to complete this half.
On the coffee β†’ MR equals MC where 9 βˆ’ 0.02q = 1, at 400 cups β€” which is exactly where Week 3's profit parabola P(q) = βˆ’0.01qΒ² + 8q βˆ’ 900 had its vertex, CHF 700. Not a coincidence: profit is R βˆ’ C, so Pβ€² = Rβ€² βˆ’ Cβ€² = MR βˆ’ MC, and profit stops rising where that is zero. Same answer, found from the rate instead of from the shape β€” and the rate method works for curves that are not parabolas, which is why it is the one that survives into Week 8. At the roastery, MR is a flat 800 (revenue is 800q) and MC = 200 + 10q, so MR = MC at 60: Theo is already at the right output, and exercise 8 asks what to tell him when he wants 80.
Try it

Which rate is being asked for?

Six sentences from the business. Each wants the rate, the relative rate, or the percentage rate β€” and the units in the sentence tell you which.

Rate Β· Relative rate Β· Percentage rate
"Marginal" means the derivative, not the subtractionIn this course and in the exam, marginal cost at q is Cβ€²(q) β€” the tangent β€” and the subtraction C(q + 1) βˆ’ C(q) is an approximation of it (homework 4.7 goes the other way and uses the derivative to approximate the subtraction). The two agree when the cost is a line and differ by the bend when it is not. Write Cβ€² and say "per unit", and you have said exactly what you mean.
Section 4.5 Β· Parenthesis Β· Exponential and logarithmic equations

Solving for an exponent, and for what sits inside a log

Board summary β€” everything in this section comes from these lines

A log is a question: "b to what power gives x?"

Definition. logb x = y  βŸΊ  by = x  (x > 0).  logβ‚‚ 8 = 3 because 2Β³ = 8.  ln is base e β‰ˆ 2.718.
Laws. log(MN) = log M + log N,  log(M ⁄ N) = log M βˆ’ log N,  log Mk = k log M
Change of base. logb u = ln u ⁄ ln b
Consequences. logb 1 = 0 (b⁰ = 1); logb b = 1 (bΒΉ = b), so ln e = 1. Domain: x must be positive β€” no power of 2 gives βˆ’8 or 0, so logβ‚‚(βˆ’8) does not exist.
πŸ”Read the definition both ways. Left to right: logβ‚‚ 8 = 3 since 2Β³ = 8. Right to left: if 4xβˆ’1 = 7 ⁄ 3 then x βˆ’ 1 = logβ‚„(7 ⁄ 3) β€” and that step is the whole of the next example. Each law is an exponent rule read through the definition: with p = log_b M and q = log_b N, MN = bp bq = bp+q, so log_b(MN) = p + q. Check: logβ‚‚(8 Β· 4) = logβ‚‚ 32 = 5 = 3 + 2. Layman: ln x counts, roughly, how many times you multiply by 2.718 to reach x. Multiplying always adds the same amount to the count β€” so logs turn multiplication into addition and powers into multiplication. And the slope 1 ⁄ x says each extra unit of x matters less the further out you are. Bases: ln is base e; calculators and Excel's LOG are base 10; Python's math.log and R's log are ln. Say which you mean.

A logarithmic equation involves the logarithm of an expression containing an unknown. An exponential equation has the unknown appearing in an exponent.

Try it Β· an exponential equation, one move at a time

Solve 5 + 3 Β· 4xβˆ’1 = 12.

Plan before solving. The unknown sits in an exponent. There is no log law for a sum, so taking a log of 5 + 3 Β· 4xβˆ’1 directly gets nowhere. Isolate the power first, with ordinary algebra; then read off the exponent with the definition; then change the base so a calculator can evaluate it.

5 + 3 Β· 4^(xβˆ’1) = 12 Β· five moves
Step through all five.
πŸ”Alternative for the middle step: take ln of both sides and use the power law, (x βˆ’ 1) ln 4 = ln(7 ⁄ 3), then divide by ln 4. Same answer, no logβ‚„ needed β€” and this is the route to use when the base is awkward. Check: 40.6112 = e0.6112 Γ— 1.3863 = e0.8473 = 2.333 = 7 ⁄ 3, and 5 + 3 Γ— 2.333 = 12 βœ“.
The deck's finance case β€” how many periods?

In finance, the capitalisation formula reads Cn = Cβ‚€ Β· (1 + i)ⁿ.

where i is the interest rate for one period, n the number of time periods, Cβ‚€ the initial value and Cn the value after n periods. Problem: find the number of time periods, if the rate, the initial and final values are known.

Cβ‚€ Β· (1 + i)n = Cn  β†’  (1 + i)n = Cn ⁄ Cβ‚€  β€” divide by Cβ‚€ so the power stands alone
ln( (1 + i)n ) = ln( Cn ⁄ Cβ‚€ )  β€” apply ln to both sides; the equation stays true
n Β· ln(1 + i) = ln( Cn ⁄ Cβ‚€ )  β€” power law: n is now a factor, not an exponent
n = ln( Cn ⁄ Cβ‚€ ) ⁄ ln(1 + i)  β€” divide by the number ln(1 + i)
πŸ”Same situation as the previous example: n is in the exponent, so isolate the power, take ln, bring n down, divide. ln is chosen because it is the function that turns an exponent into a multiplier β€” any log would do, and ln is the one on the calculator. Layman: "how many years of compounding to get from Cβ‚€ to Cn?" β€” a log counts how many times the factor (1 + i) was applied. In Excel: =LN(1.5)/LN(1.04), or =NPER(4%,0,-10000,15000).
n = ln(Cβ‚™ ⁄ Cβ‚€) ⁄ ln(1 + i) Β· open all four
0 of 4 opened β€” open all four to complete this half of the section.
On the coffee β†’ XY Coffee puts CHF 50 000 aside at 4% for the next roaster, which will cost CHF 75 000. n = ln 1.5 ⁄ ln 1.04 = 0.4055 ⁄ 0.0392 β‰ˆ 10.3 years. The "rule of 72" β€” divide 72 by the rate in percent β€” gives a doubling time of about 18 years at 4% and 10.3 at 7%; it is this formula, rounded, and it is worth having in your head for a meeting. The exact version is on your calculator in two keystrokes.
Try it Β· a logarithmic equation, one move at a time

Solve logβ‚‚ x = 5 βˆ’ logβ‚‚(x + 4).

Plan before solving. Now the unknown is inside logs. (1) Collect all logs on one side; (2) merge them into a single log with the product law; (3) remove the log with the definition; (4) solve the quadratic; (5) check each root in the original equation β€” a log of a negative number does not exist, so one root will have to be thrown away.

logβ‚‚ x = 5 βˆ’ logβ‚‚(x + 4) Β· six moves
Step through all six.
Why a false root appearsRemoving the log (move 4) is reversible only when x and x + 4 are positive; the algebra after it does not know the domain, and happily produces x = βˆ’8. Rule: whenever you remove a log, or square both sides, test every candidate in the original. This is the same discipline that rejected the negative price in Week 3's coffee market and the phantom root in homework 3.20 β€” and it decides quiz questions 5 and 6 and homework 4.9, 4.11, 4.12 d) and 4.15 a).
Try it

How many solutions survive the domain check?

Six equations. Solve each in your head as far as the candidates, then throw out the ones a log or a base cannot accept.

One Β· Two Β· None
Section 4.6 Β· Differentiating logs and exponentials

Rewrite first, then uβ€² ⁄ u β€” and always ask where the x is

Rewriting logarithmic functions before differentiating

Differentiate f(x) = ln( (2x + 5)Β³ ).

Plan. Two rules do the whole job: the power law ln(Mk) = k ln M and the derivative rule (ln u)β€² = uβ€² ⁄ u β€” derivative of the inside over the inside. Rewrite first: pull the exponent 3 out front so you differentiate ln(2x + 5), not ln of a cube.

f(x) = 3 Β· ln(2x + 5)  β€” power law, the exponent comes out as a factor
fβ€²(x) = 3 Β· ( 1 ⁄ (2x + 5) ) Β· 2 = 6 ⁄ (2x + 5)  β€” u = 2x + 5, uβ€² = 2; the 3 rides along
πŸ”Without the rewrite you still get there: u = (2x + 5)Β³, uβ€² = 3(2x + 5)Β² Β· 2, and uβ€² ⁄ u = 6(2x + 5)Β² ⁄ (2x + 5)Β³ = 6 ⁄ (2x + 5). Same answer, three times the algebra β€” the rewrite is a convenience, not a different rule. Domain: 2x + 5 > 0, i.e. x > βˆ’2.5; a derivative only exists where the function does. And the "Β· 2" is the chain rule in its smallest form β€” next week makes it general.
Try it Β· a log of a product of powers

Differentiate f(x) = ln( (x + 1)² · (x + 2)³ · (x + 3)⁴ ).

Plan. Do not touch the product rule: first split with the product law ln(ABC) = ln A + ln B + ln C, then pull each exponent out with the power law. You are left with three simple terms, each differentiated as constant Γ— uβ€² ⁄ u with uβ€² = 1.

Split, then pull the exponents out, then uβ€² ⁄ u Β· four moves
Step through all four.
Procedure to differentiate logb u, and the two exponential examples

Convert logb u to ln(u) ⁄ ln(b), and then differentiate.

Where the strategy comes from. Let y = logb u. By definition by = u. Take ln of both sides: ln(by) = ln u. Power law: y ln b = ln u. Divide: y = ln u ⁄ ln b. Check: logβ‚‚ 8 = 3 and ln 8 ⁄ ln 2 = 2.0794 ⁄ 0.6931 = 3.000.

f(x) = logβ‚‚ x:  fβ€²(x) = (d ⁄ dx)( ln(x) ⁄ ln(2) ) = (1 ⁄ ln 2) Β· (d ⁄ dx)(ln x) = 1 ⁄ (ln(2) Β· x)
πŸ”ln 2 β‰ˆ 0.693 is a constant, so ln x ⁄ ln 2 = (1 ⁄ ln 2) Β· ln x and the constant-factor rule applies: only ln x is differentiated, giving 1 ⁄ x. Same move as 5xΒ³. Why convert at all: the only log with a differentiation rule is ln, and ln b is a number, so log_b u is just ln u times the constant 1 ⁄ ln b. General: (log_b x)β€² = 1 ⁄ (x ln b); for b = e it collapses to 1 ⁄ x. Check at x = 4: 1 ⁄ (4 Γ— 0.693) = 0.361; the secant (logβ‚‚ 4.01 βˆ’ 2) ⁄ 0.01 = 0.360 βœ“ β€” the widget below does this for you.

And the two exponential examples:

f(x) = 3 ex  β†’  fβ€²(x) = 3 ex  β€” constant-factor rule only; ex is its own derivative
f(x) = x ⁄ ex  β†’  fβ€²(x) = (1 Β· ex βˆ’ x Β· ex) ⁄ e2x = (1 βˆ’ x) ⁄ ex
πŸ”The second is a quotient, and the quotient rule is Week 5 β€” the deck shows the result so you have seen the shape. The alternative is to rewrite x ⁄ ex = x eβˆ’x and use the product rule, also Week 5: 1 Β· eβˆ’x + x Β· (βˆ’eβˆ’x) = eβˆ’x(1 βˆ’ x), the same thing. What the result says: fβ€² = 0 at x = 1, so x ⁄ ex rises, peaks at x = 1 (value 1 ⁄ e β‰ˆ 0.37), then decays to 0 β€” a "rise then fade" shape, which is what a product launch looks like. You will meet it again.
Try it Β· check a derivative with a secant

Four derivatives from this section, each checked against (f(x + 0.01) βˆ’ f(x)) ⁄ 0.01.

Formula against secant Β· open all four
0 of 4 opened β€” open all four to complete this half of the section.
Try it Β· the deck's last example

f(x) = e² + ex + xe + 2√x + ln(2). Before differentiating: where is x in each term?

Three possibilities, and each has its own rule. No x at all β†’ a constant, however exotic it looks β†’ derivative 0. x in the base, constant exponent β†’ power rule. Constant base, x in the exponent β†’ exponential rule, (au)β€² = au ln a Β· uβ€². Sort the six terms below.

Constant Β· Power rule Β· Exponential rule
fβ€²(x) = ex + e Β· xeβˆ’1 + e√x Β· ln 2 Β· ln(2) Β· ( 1 ⁄ (2√x) ) = ex + e Β· xeβˆ’1 + ( 2√x Β· ln(2) ) ⁄ ( 2√x )
πŸ”Term by term: (eΒ²)β€² = 0 (eΒ² β‰ˆ 7.39 is a number); (ex)β€² = ex; (xe)β€² = e xeβˆ’1 (power rule β€” the exponent e β‰ˆ 2.718 is a constant, so it is just x to a power); (2√x)β€²: rewrite 2√x = e√x ln 2 β€” the change-of-base trick in the other direction β€” with inside u = √x ln 2 and uβ€² = ln 2 ⁄ (2√x), so the derivative is 2√x Β· ln 2 ⁄ (2√x); (ln 2)β€² = 0. Two of the five terms were constants wearing a disguise. Asking "where is x?" before touching a term is the habit that gets the mixed exam question right.
Section 4.7 Β· Part 2 Β· Exercises

Eight exercises, worked together

How this half of the session runs

The second half of the session is the eight exercises below, done as a class. They follow the six lesson sections in order β€” the secant at the roastery, the derivative from the definition, the rules and a tangent, a drill, marginal revenue against marginal cost, relative rates, solving for an exponent β€” and the last one asks for a recommendation.

  • The question goes up on the screen; you work it here.
  • Attempt first, then the hint, then the solution. The hint costs you nothing and teaches you more than the answer does.
  • The πŸ”’ Solution button unlocks when your instructor releases that exercise in class. Once released it stays open, so the whole set is here for revision afterwards.
  • Your answers are saved and reach your instructor's dashboard as classwork. They are not graded β€” nothing in this course is graded except the three exams.
  • Use the calculator you will use in the exam: a Casio FX-82 Solar or a TI-30 eco RS.
Section 4.8 Β· Review quiz

Prove it to yourself

Warm-up Β· false friends

Six pieces of notation from this session that look like something they are not.

Each card shows a term and what it is constantly mistaken for. Tap to flip it to what it actually means. Not scored.

Tap each card to flip it
0 of 6 flipped
Review quiz Β· not graded

Twelve questions on this week

The first seven are the review quiz exactly as it is printed for Session 4 β€” same questions, same options in the same order, right down to "None of the above". The five after them are this site's addition: the same mathematics, asked the way the midterm asks it.

One attempt per question, every answer explained. Your score syncs to your instructor's dashboard as a self-check but does not count toward your grade β€” the review quizzes never do. What they do is tell your instructor, before the next session, which idea did not land.

β€”

Six ideas, six questions

The whole session on one card.

Every idea you met this week exists because a business asks a particular kind of question. This is the table to have in your head when an exam question arrives and you do not yet know what to do with it.

Notice that the first four are one idea seen from four sides β€” a rate at a point β€” and the last two are the parenthesis, there because the exam asks them and because next week's chain rule needs them. Next week adds the three rules this week could not do without: product, quotient and chain.

Where this goes next

In Week 5 the rules grow: product, quotient and chain, which is what you need for x Β· ex, for average cost C(q) ⁄ q, and for every function of a function. Do the Week 4 homework first: sixteen problems from the printed sheet, by hand, with a calculator. Problem 4.3 alone is fourteen derivatives and is the single best thing you can do for the midterm this week.

Before the next session β†’ read Christensen's "How Will You Measure Your Life?" on Cyberlearn β€” it is about what happens when a person decides on the margin, one small step at a time, and it is section 4.4 written about a life rather than a roastery. And if section 4.2's table felt like a list to memorise, do homework 4.3 twice: Week 5 assumes the power rule and (ln u)β€² = uβ€² ⁄ u are automatic.