Math for economyMM1005

How to find your way

  1. 1Search for the word that confuses you — the box at the top searches the whole course.
  2. 2Look it up in Concepts. Every concept links to the section that explains it. Concepts →
  3. 3Read the Watch out and Common error boxes: they show the mistakes that are actually made.
  4. 4Still stuck? Bring the question to the exercise session or send an email.

Lecturer: Eric Ahlqvist, eric.ahlqvist@math.su.se · Put “MM1005” in the subject line.

← 1
Lecture 2 Powers, exponentials, logarithms, and the derivative
3 →
2 One variable

Powers, exponentials, logarithms, and the derivative

Lecture 1 was about functions built from $x$ by addition and multiplication. Today we add two new families — power functions and exponential functions, together with the logarithm that inverts the latter — and then take the single most important step of the whole course: we learn to measure how fast a function is changing at a point. The two halves are connected by a question we have already half answered. A linear function was characterised in Lecture 1 by the fact that its value changes by the same amount for each unit increase in $x.$ What if instead it changes by the same factor? That gives the exponential function. And what if the rate of change is not constant at all — what should “rate of change” even mean then? That gives the derivative.

⏱ 60 min read§ 6 sections

After this lecture you can

  • tell a power function $Ax^{r}$ from an exponential function $Aa^{t},$ and read the shape of $y = x^{r}$ off the exponent
  • turn “grows by $p\%$ per period” into the factor $1 + p/100$ and write down the model $Aa^{t}$
  • use the rules for $\ln,$ and solve an equation with the unknown in the exponent — doubling times included
  • compute $f'(a)$ from the definition for a quadratic, and say why $h = 0$ may not be substituted into the Newton quotient
  • write down the tangent $y = f(a) + f'(a)(x - a)$ and read $f'(a)$ as a rate of change (a marginal quantity)
  • find where a function increases and decreases from a sign diagram of $f'$
1

Power functions

Four times the workforce gives twice the output. Which kind of function behaves like that?

We insist on $x>0.$ The reason is that $x^{r}$ simply is not defined for negative $x$ for most exponents — $(-4)^{1/2}$ is not a real number — and $0^{r}$ is undefined when $r\le 0.$ For $x>0,$ on the other hand, $x^{r}$ makes sense for every real $r,$ including irrational ones such as $x^{\pi}.$

$y = x^{r}$ for $r = 2$ (steepest on the right), $r = 1$ (the line), $r = \tfrac12$ (flattening) and $r = -1$ (falling). All four pass through $(1,1).$
Fact 2.2The shape of $y=x^{r}$#

Every power function $y=x^{r}$ passes through $(1,1),$ since $1^{r}=1,$ and its shape on $x>0$ depends only on $r{:}$ for $r>1$ it increases and bends upwards $(y=x^2);$ for $r=1$ it is the line $y=x;$ for $0<r<1$ it increases and bends downwards $(y=\sqrt{x});$ for $r=0$ it is the constant $y=1;$ and for $r<0$ it decreases, with $y\to\infty$ as $x\to 0$ and $y\to0$ as $x\to\infty$ $(y=1/x).$

Power functions are the standard building block for production functions in economics. A firm using $K$ units of capital and $L$ units of labour is commonly modelled by the Cobb–Douglas function $Y = A\,K^{\alpha}L^{\beta}$ with $A,\alpha,\beta>0{:}$ fixing $L,$ output is a power function of capital alone. Typically $0<\alpha<1,$ which by Fact 2.2 means the graph bends downwards — each extra machine adds less than the one before. That is diminishing returns, built into the model by the single assumption $\alpha<1.$

Example

Doubling the input (an addition to the notes)

This example is not in the lecture notes; it is the lecture's own illustration of Fact 2.2.

A workshop with $L$ workers produces $Y = 30\,L^{1/2}$ units a day.

(a) By what factor does output grow when the workforce is doubled? When it is quadrupled?

(b) How much does one more worker add at $L = 100,$ and at $L = 400?$

Try it yourself first. Then open one step at a time.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

A firm's output as a function of its capital is $Y = 5K^{0.3}$ for $K > 0.$ What does Fact 2.2 say about the graph?

2

Exponential functions

“Rises by 5 million a year” and “rises by 5% a year”: is that the same kind of growth?

In a power function the base varies and the exponent is fixed. Now we swap the two roles.

Guess first. The two families differ only in which letter moves. Before reading on, decide how a power function with a very large exponent compares with an exponential function whose base is barely above $1.$

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

Compare $f(x) = x^{100}$ with $g(x) = 1.01^{\,x}$ for $x > 0$.

Which is bigger?

Try it yourself

Power against exponential

The blue curve is the power function $y = x^{r},$ the pink one the exponential function $y = a^{x}.$ The axes never move: $x$ runs from $0$ to $10.$

  1. Drag $r$ alone: $r = 1$ is a straight line, $r = 2$ a parabola. Only the blue curve moves.
  2. Drag $a$ alone: only the pink curve moves.
  3. Press Reset $(r = 3,$ $a = 2).$ The power function is ahead almost all the way. Find the two places where the curves cross: near $x = 1.4$ and near $x = 9.9.$
  4. Press Log axis. The exponential function becomes a straight line and the power function a curve that keeps flattening. Which of the two must win in the end?

The defining property is the exact analogue of Fact 1.3 for linear functions, with “adds” replaced by “multiplies”.

Linear: add the same amount $(+20)$ at every step. Exponential: multiply by the same factor $(\times 1.2)$ at every step.
Fact 2.5Interpretation of the base#

If $f(t)=Aa^{t},$ then for every $t,$ $$ f(t+1) = A a^{t+1} = a\cdot Aa^{t} = a\,f(t)\,. $$ So increasing $t$ by one unit multiplies the value by $a,$ no matter where you start, and $A=f(0).$ Hence $a>1$ gives growth, $0<a<1$ decay and $a=1$ a constant; writing $a = 1+p/100$ with $p>0,$ the function grows by $p\%$ per unit, and $a=1-p/100$ with $0<p<100$ makes it fall by $p\%$ per unit.

$f(t) = A\,a^{t}$ with the same $A{:}$ growth for $a > 1,$ decay for $0 < a < 1.$ Both start at $f(0) = A.$

This is the whole difference between the two models of growth. Linear growth adds a fixed amount per period; exponential growth multiplies by a fixed factor. For populations, interest and prices the second is almost always the right starting assumption. A standard example fits Europe's population, in millions and with $t$ counted from 1960, by the linear model $P=5.1t+606;$ run backwards, that model reaches a negative population before 1841, whereas the constant proportional rate of $0.45\%$ per year gives $P(t)=606\cdot1.0045^{\,t},$ which does not.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

A savings account holds $K_0$ today and grows by 4% each year.

Which formula gives the balance after $t$ years?

Example 2.6

Compound interest

A deposit of $\text{\textdollar}K$ earning $p\%$ interest per year grows to $$ K\Bigl(1+\frac{p}{100}\Bigr)^{t} $$ after $t$ years.

Try it yourself first. Then open one step at a time.

Every base $a>0$ gives a different exponential function, and at first sight none is more natural than another. Once we have calculus, though, one base will make every formula simpler: the irrational number $e = 2.718281828459045\ldots,$ a little larger than $2.7.$

The notation $\exp(u)$ is used when $u$ is a complicated expression: compare $\exp\bigl(x^3+x\sqrt{x}-1/x+5\bigr)$ with the same thing as a superscript. You cannot avoid $e$ for long in statistics either — the normal density $\varphi(x)=\tfrac{1}{\sqrt{2\pi}}e^{-x^{2}/2},$ the bell curve, is the most important single function in the subject.

Nothing so far singles $e$ out: every base obeys these rules. What makes this particular base natural is a property of tangent lines, and it must wait until the derivative of $a^{x}$ is computed in Lecture 4.

3

Logarithms

How long until $1000 at $8\%$ interest has become $10 000?

Economists constantly ask questions of the form: how long until…? How long until the price level triples? How long until $1000 at $8\%$ becomes $10 000? Each of these asks us to solve $a^{x} = b$ for $x$ — that is, to undo an exponential. The logarithm is the tool that does it.

Memorise the sentence in italics; every computation below is an unpacking of it. So $\ln 1=0$ because $e^{0}=1;$ $\ln e=1;$ $\ln(1/e)=-1;$ and $\ln 4\approx1.386$ lies between $1$ and $2,$ as one sees without a calculator from $e^{1}\approx2.7<4<7.4\approx e^{2}.$ Note that $\ln a$ is defined only for $a>0,$ because $e^{x}$ is always positive.

Fact 2.9Rules for logarithms#

For all $x,y>0$ and all real $p,$ $$ \begin{aligned} \ln(xy) &= \ln x + \ln y\,,\\ \ln\frac{x}{y} &= \ln x - \ln y\,,\\ \ln x^{p} &= p\,\ln x\,, \end{aligned} $$ and $\ln$ and $\exp$ undo each other: $\ln e^{x}=x$ for all real $x,$ and $e^{\ln x}=x$ for all $x>0.$

The third rule is the one that matters: it brings the exponent down, turning an equation in which the unknown sits upstairs into an ordinary linear equation.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

Which of these equals $\ln 12?$

Try the method once yourself before the worked example. The equation is the one this section opened with.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

Solve for $x$: $$1000 \cdot (1.08)^{\,x} = 10\,000$$

Example 2.12

Two equations with the unknown in the exponent

Solve for $x{:}$ (a) $(1.08)^{x}=10;$ (b) $e^{x}+4e^{-x}=4.$

Try it yourself first. Then open one step at a time.

The equation $u=\ln x$ says exactly the same thing as $x=e^{u},$ so the graph of $y=\ln x$ is the graph of $y=e^{x}$ reflected in the line $y=x{:}$ defined only for $x>0,$ strictly increasing, crossing the $x$-axis at $x=1,$ and falling steeply towards $-\infty$ as $x$ approaches $0.$ Occasionally a base other than $e$ is convenient. For $a>0,$ $a\ne1,$ write $\log_a x$ for the power to which $a$ must be raised to give $x,$ so that $a^{\log_a x}=x;$ taking $\ln$ of this identity gives $\log_a x\cdot\ln a=\ln x,$ that is $\log_a x = \ln x/\ln a.$ So all logarithms are proportional to one another, and $\log_a$ obeys exactly the same three rules as ${\ln}.$

$y = \ln x$ is $y = e^{x}$ reflected in the dashed line $y = x.$ The point $(0,1)$ on one graph is the point $(1,0)$ on the other.
Fact 2.13Doubling time#

Let $a>1$ and $A>0.$ The exponential function $f(t)=Aa^{t}$ has a unique doubling time $t^{*},$ the solution of $a^{t^{*}}=2,$ namely $$ t^{*} = \frac{\ln 2}{\ln a}\,. $$ It does not depend on $A,$ nor on the moment from which you start measuring.

Example 2.14

Doubling times, and the rule of 70

How long does a population take to double at the growth rates of Zimbabwe and Kenya in the 1970s and 1980s?

Try it yourself first. Then open one step at a time.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

A quantity grows exponentially and doubles every $12$ years. How long does it take to become $8$ times as large?

4

The derivative

A straight line has one slope. What is the slope of a curve at a single point?

We now change subject. For a straight line $y=px+q$ we have a perfectly good measure of steepness: the slope $p,$ which is the same everywhere. For a curve, steepness clearly varies from point to point — so what number should we attach to a single point? The answer is to look at the straight line that best matches the curve there.

The steepness of the curve at $P = (a, f(a))$ is the slope of the tangent at $P.$

Definition 2.15 is already enough to read a derivative off a picture: imagine the tangent at each point and compare the slopes.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

The graph shows $y = f(x)$, with four points marked.

At which of them is $f'(x)$ largest?

Definition 2.15 is geometric and vague: “just touches” is not something we can compute with. Here is the idea that makes it precise. Fix $P=(a,f(a))$ on the graph and take a second point $Q$ on the graph, a little to the right, with $x$-coordinate $a+h.$ The line through $P$ and $Q$ is called a secant, and we know its slope exactly, by the formula (1.1) from Lecture 1: $$ \frac{f(a+h)-f(a)}{h}\,. \tag{2.2} $$ This expression is called the Newton quotient of $f$ at $a.$ Now slide $Q$ along the curve towards $P,$ that is, let $h$ shrink towards $0.$ The secant pivots about $P$ and settles down onto the tangent, so the slope of the tangent should be the value that (2.2) approaches.

Let $h \to 0{:}$ the point $Q$ slides towards $P,$ and the secant through $P$ and $Q$ turns into the tangent at $P.$

Note carefully that we cannot simply substitute $h=0$ into (2.2): both numerator and denominator would be $0,$ and $0/0$ is not a number. The whole content of the definition is that the quotient can nevertheless settle on a definite value as $h$ gets small. The word “limit” is made precise in Lecture 5; for now, intuition suffices.

Try it yourself

Let h → 0

Two numbers are shown: the slope of the secant and the derivative.

  1. Press h → 0 and watch the slope of the secant close in on the derivative.
  2. Look at where $h$ stops: at a small positive number, not at $0.$ At $h = 0$ there would be nothing to compute.
  3. Move $a$ to the left of the origin and press h → 0 again. The derivative is negative there, and the secant follows.
  4. Press the button f(x) = x² once: the function changes to $x^{3}.$ Put $a = 0.$ The tangent is horizontal, although the curve rises on both sides. We return to this in the last section.
Example 2.19

The derivative of $x^{2}$ from the definition

Compute $f'(a)$ for $f(x)=x^{2}.$

Try it yourself first. Then open one step at a time.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

Let $f(x) = x^{2} + 3x$ and $a = 1.$ What does the Newton quotient look like after step 4 of Method 2.18, simplified and with $h \ne 0?$

5

Quadratics, the tangent line and rates of change

Lecture 1 found the vertex of a parabola by completing the square. Can the derivative find it too?

Carrying out this procedure every time would be intolerable, and Lecture 3 develops rules that make it unnecessary. One case is worth recording now, because it covers everything in Lecture 1.

Fact 2.20Derivative of a quadratic#
$$ \begin{aligned} f(x)&=ax^{2}+bx+c\\ \ \Longrightarrow\ f'(x)&=2ax+b\,. \end{aligned} $$

This closes a circle. In Lecture 1 we found by completing the square that a quadratic has its vertex at $x^{*}=-b/2a.$ Fact 2.20 says that $f'(x)=0$ exactly when $2ax+b=0,$ that is when $x=-b/2a$ — the same point. The vertex is where the tangent is horizontal. This is the first glimpse of the central technique of the course: to optimise, differentiate and set the derivative to zero.

It also gives the tangent itself. Applying the point–slope formula (1.2) at the point $(a,f(a))$ with slope $f'(a),$ the tangent to $y=f(x)$ at that point is the line $y = f(a) + f'(a)(x-a).$

Example

A tangent line, step by step (an addition to the notes)

This example is not in the lecture notes; it is the one the lecture itself works through.

Find the tangent to $y = x^{2}$ at $x = \tfrac12.$

Try it yourself first. Then open one step at a time.

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

Which line is the tangent to $f(x) = x^{2} - 4x$ at $x = 3?$

The derivative is written in several ways, all meaning the same thing: $$ f'(x)\,,\qquad y'\,,\qquad \frac{dy}{dx}\,,\qquad \frac{d}{dx}f(x)\,, $$ the last two being Leibniz's differential notation; read $\dfrac{d}{dx}$ as the instruction “differentiate with respect to $x$”. When the variable is time a dot is common, $\dot{x}(t),$ and letters change with the context: $P(t)=t^{2}$ gives $P'(t)=2t.$

Fact 2.21Derivative as rate of change#

The Newton quotient is the average rate of change of $f$ between $a$ and $a+h,$ so its limit $f'(a)$ is the instantaneous rate of change at $a;$ and for small $h,$ $f(a+h)-f(a)\approx f'(a)\cdot h.$

In economics this is exactly what the word marginal means. If $C(Q)$ is total cost, $C'(Q)$ is marginal cost, the extra cost of producing roughly one more unit; if $R(Q)$ is revenue, $R'(Q)$ is marginal revenue. So a firm with $C(x)=p+qx^{2}$ has marginal cost $C'(x)=2qx$ by Fact 2.20: zero at $x=0$ and increasing with output. The fixed cost $p$ has vanished, as it must — fixed costs cannot affect the cost of one more unit.

Recap The economics words, once and for good

If the words stop you and not the mathematics, here they are. They stay the same for the whole course.

wordsymbolwhat it means
quantity, demand$Q$units sold
price$P$price per unit
revenue$R = P\cdot Q$money in
cost$C(Q)$money out
profit$\pi = R - C$what is left
marginal anything$R'(Q),$ $C'(Q)$the effect of one more unit

There is no new mathematics in the table. “Marginal” is today's word: it means derivative.

6

Increasing and decreasing functions

At the top of a hill $f$ is as large as it gets. What is $f'$ there?

The curve from the check in the section on the derivative, with its four tangents: $f'(a) \approx +2.4,$ $f'(b) = 0,$ $f'(c) \approx -3.1,$ $f'(d) \approx +3.6.$

Look at the signs in the picture. Where the curve rises, at $a$ and at $d,$ the derivative is positive. Where it falls, at $c,$ the derivative is negative. At the top, at $b,$ the tangent is horizontal and the derivative is $0.$ This section turns that observation into a method. First the words have to be exact.

Note that an “increasing” function is allowed to have flat stretches — which is why such functions are sometimes called nondecreasing. Checking these definitions directly, by comparing $f(x_1)$ and $f(x_2)$ for all pairs of points, is hopeless in practice. The derivative gives a test that is genuinely usable.

Fact 2.23The sign of the derivative#

Let $f$ be differentiable on an interval $I.$ Then $$ \begin{aligned} &f'(x)\ge 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is increasing on } I\,,\\ &f'(x)\le 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is decreasing on } I\,,\\ &f'(x)= 0 \text{ for all } x\in I\\ &\qquad\iff f \text{ is constant on } I\,. \end{aligned} $$ Moreover $f'(x)>0$ for all $x\in I$ implies that $f$ is strictly increasing on $I,$ and similarly $f'(x)<0$ implies strictly decreasing.

Given that $f'(x)$ is the slope of the tangent, the equivalences are close to obvious: a graph whose tangents all point upwards can only rise. (A careful proof needs the mean value theorem, which this course does not cover.)

Above, $f;$ below, $f'.$ Where $f' > 0$ (between $1$ and $3)$ the function rises, and where $f' < 0$ it falls. This is the function of Example 2.26 below.

Guess first. The first three lines of Fact 2.23 run in both directions. The last sentence is stated in one direction only. Is that an accident of the wording?

Check yourself

Pick an answer before reading on. Getting it wrong is fine — that is how you find out what you believe.

A student writes:

"$f$ is strictly increasing on $I$, so $f'(x) > 0$ at every point of $I$."

Is that right?

$f(x) = x^{3}{:}$ strictly increasing, with a flat spot. The tangent at the origin is horizontal, $f'(0) = 0,$ and the curve never turns round.
Example 2.26

A sign diagram for a cubic

Where is $f(x)=-\tfrac13x^{3}+2x^{2}-3x+1$ increasing and decreasing? You may use that its derivative is $f'(x)=-x^{2}+4x-3.$

Try it yourself first. Then open one step at a time.

What you should take away

  • A power function $Ax^{r}$ has a fixed exponent and a varying base; an exponential function $Aa^{t}$ has a fixed base and a varying exponent. Do not confuse them.
  • Linear growth adds a fixed amount per period; exponential growth multiplies by a fixed factor $a$ per period. If $a=1+p/100,$ the growth is $p\%$ per period.
  • $\ln a$ is the power of $e$ needed to give $a{:}$ $e^{\ln a}=a.$ It obeys $\ln(xy)=\ln x+\ln y,$ $\ln(x/y)=\ln x-\ln y$ and $\ln x^{p}=p\ln x$ — but there is no rule for $\ln(x+y).$ The third rule is what lets you solve $a^{x}=b.$
  • The doubling time of $Aa^{t}$ is $t^{*}=\ln2/\ln a,$ independent of $A$ and of the starting date; for small rates, $t^{*}\approx 70/p.$
  • The derivative $f'(a)=\lim_{h\to0}\bigl(f(a+h)-f(a)\bigr)/h$ is the slope of the tangent at $(a,f(a)),$ and the instantaneous rate of change of $f$ there — in economics, the marginal quantity. The tangent is $y=f(a)+f'(a)(x-a).$
  • $f(x)=ax^{2}+bx+c \Rightarrow f'(x)=2ax+b;$ in particular $f'(x)=0$ at $x=-b/2a,$ the vertex found by completing the square in Lecture 1.
  • $f'\ge0$ on an interval means increasing, $f'\le0$ means decreasing. But $f'>0$ is only sufficient for strict increase, not necessary: recall $x^{3}$ at $x=0.$

Think further

Questions without computation. Think on your own or with a classmate before opening the thought.

  1. Discussion question 1 — which letter moves

    Which of the following define exponential functions of $x?$ $y=3^{x};$ $y=x^{\sqrt2};$ $y=(\sqrt2)^{x};$ $y=x^{x};$ $y=(1/2)^{x}.$

    One way to think about it

    Three of them: $3^{x},$ $(\sqrt2)^{x}$ and $(1/2)^{x}.$ In each the base is a fixed positive number and the variable sits in the exponent, as Definition 2.3 requires; the last one has a base below $1,$ so it describes decay, but it is exponential all the same.

    $y=x^{\sqrt2}$ is a power function (Definition 2.1): the base varies and the exponent is fixed. That the exponent is irrational changes nothing. $y=x^{x}$ is neither: both the base and the exponent vary.

  2. Discussion question 2 — falling by 50% twice

    A quantity falls by $50\%$ each year. After two years it has fallen in total by

    • (A) $100\%;$
    • (B) $75\%;$
    • (C) $50\%;$
    • (D) $25\%.$
    One way to think about it

    (B). A fall of $50\%$ is multiplication by $0.5$ (Fact 2.5), so after two years the factor is $0.5^{2}=0.25.$ A quarter is left, and the total fall is $75\%.$

    (A) adds the percentages, which is the linear model: it would leave nothing after two years and a negative quantity after three. The second fall of $50\%$ is taken from what is left, not from the original amount. (D) is the share that remains, not the share that has gone.

  3. Discussion question 3 — which rules are rules

    Which of these is always true?

    • (A) $(\ln A)^{4} = 4\ln A;$
    • (B) $\ln B = 2\ln\sqrt{B};$
    • (C) $\ln A^{10}-\ln A^{4} = 3\ln A^{2};$
    • (D) $\ln\dfrac{A+B}{C} = \ln A+\ln B-\ln C.$
    One way to think about it

    Two of them, (B) and (C), for all positive $A$ and $B.$

    (B): $\sqrt{B}=B^{1/2},$ so $2\ln\sqrt{B}=2\cdot\tfrac12\ln B=\ln B$ by the third rule of Fact 2.9.

    (C): the left side is $10\ln A-4\ln A=6\ln A,$ and the right side is $3\cdot 2\ln A=6\ln A.$

    (A) confuses $(\ln A)^{4}$ with $\ln A^{4}.$ For $A=e$ the left side is $1^{4}=1$ and the right side is $4.$

    (D) is Watch out 2.10: there is no rule for $\ln(A+B).$ For $A=B=C=1$ the left side is $\ln 2\approx0.69$ and the right side is $0.$

  4. Discussion question 4 — two doubling times

    Two quantities grow exponentially with doubling times $10$ and $20$ years. After $60$ years, by what factor has each grown? Does the one that started smaller necessarily stay smaller?

    One way to think about it

    Sixty years is six doubling times for the first and three for the second, so the factors are $2^{6}=64$ and $2^{3}=8.$

    No. If the smaller one is the one that doubles every $10$ years, it overtakes the other in the end, however far behind it starts. Take the values $1$ and $4$ at the start: the quantities are $2^{t/10}$ and $4\cdot2^{t/20}=2^{2+t/20},$ and they are equal when $t/10=2+t/20,$ that is after $40$ years (both are then $16).$ After that the first is larger for ever.

    If instead the smaller one has the longer doubling time, it does stay smaller: the ratio between the two only grows.

  5. Discussion question 5 — a horizontal tangent

    If $f'(a)=0,$ then $f$ has a maximum or a minimum at $a.$

    • (A) True.
    • (B) False.
    • (C) True only if $f$ is a polynomial.
    • (D) True only if $f'$ changes sign at $a.$
    One way to think about it

    (B), false. The counterexample is the one from Watch out 2.24: $f(x)=x^{3}$ has $f'(0)=0,$ yet it is strictly increasing, so it has neither a maximum nor a minimum at $0.$ Since $x^{3}$ is a polynomial, (C) does not rescue the claim.

    (D) points at what is missing. If $f'$ changes sign at $a,$ as it does at $x=1$ and $x=3$ in Example 2.26, then $f$ does turn round there. A horizontal tangent alone is not enough. Later lectures make this precise; for now the point is that $f'(a)=0$ tells you where to look, not what you will find.

  6. Discussion question 6 — the sign of the marginal profit

    A firm's profit satisfies $\pi'(Q)>0$ for $Q<40$ and $\pi'(Q)<0$ for $Q>40.$ What should the firm do, and why does it not need to know $\pi$ itself?

    One way to think about it

    Produce $Q=40.$ By Fact 2.23 the profit is strictly increasing for $Q<40$ and strictly decreasing for $Q>40,$ so every other quantity gives a smaller profit than $40$ does.

    Only the sign of $\pi'$ was used. The firm needs to know whether one more unit adds to the profit or takes away from it — whether the marginal profit is positive or negative — and not how large the profit is. In particular a fixed cost, which shifts $\pi$ up or down without changing $\pi',$ has no influence on the best quantity.