Mascot image.
#Math#Differentiation

The Exponential Function exe^{x}

Recitation 4 previewed the pattern that every tangent slope on y=bxy = b^{x} is a fixed multiple of the slope at x=0x = 0. The 15% investment, the doubling bacteria culture, and the decaying 235U^{235}\mathrm{U} pile all share the proportionality f=kff' = k \, f, and the only quantity left to pin down is the slope of bxb^{x} at x=0x = 0. Once that slope is named, the derivative is forced everywhere.

Three differentiation rules from Lesson 4AM stand ready: the product rule, the quotient rule, and the chain rule. None of them apply to bxb^{x} as written, because bxb^{x} is not a polynomial, not a quotient of polynomials, and not a composition involving such pieces. The limit definition of the derivative from Lesson 2PM is the only tool that reaches it.

The Slope of 2x2^{x} at x=0x = 0

Denote the slope of y=2xy = 2^{x} at x=0x = 0 by mm. By the limit definition from Lesson 2PM, applied at x=0x = 0,

m=limh020+h20h=limh02h1h.(1)m = \lim_{h \to 0} \frac{2^{0 + h} - 2^{0}}{h} = \lim_{h \to 0} \frac{2^{h} - 1}{h}. \tag{1}

Each value of hh produces a secant line through (0,1)(0, 1) and (h,2h)(h, 2^{h}), with slope (2h1)/h(2^{h} - 1)/h; as h0h \to 0, the secant tilts toward the tangent.

On the curve y = 2^x, the secant line through (0, 1) and (h, 2^h) for h = 0.7 is dashed, sloping more steeply than the true tangent at x = 0 drawn solid. As h shrinks toward zero, the secant tilts down toward the tangent.

The right-hand side of (1)(1) has the indeterminate form 0/00/0 at h=0h = 0, and the algebraic moves available, namely the laws of exponents from Recitation 4, give 2h12^{h} - 1 no useful factorisation. The limit must be estimated numerically. Tabulating (2h1)/h(2^{h} - 1)/h for h=0.1,0.01,,107h = 0.1, 0.01, \dots, 10^{-7}:

hh(2h1)/h(2^{h} - 1)/h
0.10.10.717730.71773
0.010.010.695560.69556
0.0010.0010.693390.69339
0.00010.00010.693170.69317
10510^{-5}0.693150.69315
10610^{-6}0.693150.69315
10710^{-7}0.693150.69315

The values stabilise at 0.693150.69315\dots to five decimal places. The full proof that the limiting process converges belongs to the later analysis course; here we record the limiting value supplied by the table:

m=ddx(2x) ⁣x=00.693.(2)m = \frac{d}{dx} (2^{x}) \!\bigg|_{x = 0} \approx 0.693. \tag{2}

The same construction performed for b=3b = 3 would tabulate (3h1)/h(3^{h} - 1)/h and stabilise near 1.09861.0986; for b=5b = 5, near 1.60941.6094. These values match the qualitative ranking visible in Recitation 4’s five-curve figure: larger bases give steeper exponential curves near x=0x = 0.

The Derivative of 2x2^{x} at Every xx

The slope at x=0x = 0 propagates to every xx by Recitation 4’s structural observation. To turn that into a proof, run the limit definition at an arbitrary xx and use law (i) of Recitation 4 to peel off the xx.

By the limit definition,

ddx(2x)=limh02x+h2xh.(3)\frac{d}{dx} (2^{x}) = \lim_{h \to 0} \frac{2^{x + h} - 2^{x}}{h}. \tag{3}

Law (i) of exponents from Recitation 4 gives 2x+h=2x2h2^{x + h} = 2^{x} \cdot 2^{h}, so

2x+h2x=2x(2h1).2^{x + h} - 2^{x} = 2^{x} (2^{h} - 1).

Substituting into (3)(3) and pulling the constant 2x2^{x} outside the limit (the variable of the limit is hh, not xx):

ddx(2x)=limh02x2h1h=2xlimh02h1h=m2x.(4)\frac{d}{dx} (2^{x}) = \lim_{h \to 0} 2^{x} \cdot \frac{2^{h} - 1}{h} = 2^{x} \cdot \lim_{h \to 0} \frac{2^{h} - 1}{h} = m \cdot 2^{x}. \tag{4}

The unknown mm is the same constant from (2)(2), the slope at zero, and it factors out of every other derivative computation involving 2x2^{x}. Compactly,

ddx(2x)=m2x,m0.693.(5)\frac{d}{dx} (2^{x}) = m \cdot 2^{x}, \qquad m \approx 0.693. \tag{5}
Example 130 (Slopes of 2x2^{x} at sample points)

Compute:

  1. ddx(2x) ⁣x=3\dfrac{d}{dx}(2^{x}) \!\bigg|_{x = 3}.
  2. ddx(2x) ⁣x=1\dfrac{d}{dx}(2^{x}) \!\bigg|_{x = -1}.

By (5)(5),

ddx(2x) ⁣x=3=m23=8m8(0.693)=5.544,\frac{d}{dx}(2^{x}) \!\bigg|_{x = 3} = m \cdot 2^{3} = 8 m \approx 8 (0.693) = 5.544,ddx(2x) ⁣x=1=m21=0.5m0.5(0.693)=0.347.\frac{d}{dx}(2^{x}) \!\bigg|_{x = -1} = m \cdot 2^{-1} = 0.5 \, m \approx 0.5 (0.693) = 0.347.

The derivative eight units to the right is sixteen times the derivative one unit to the left, because 23/21=24=162^{3} / 2^{-1} = 2^{4} = 16. The function and its derivative grow in lockstep.

The argument that produced (5)(5) used only law (i) of Recitation 4, the exponential add-then-multiply identity. Replacing 22 by any base b>0b > 0 leaves every step intact:

ddx(bx)=mbbx,mb=ddx(bx) ⁣x=0=limh0bh1h.(6)\frac{d}{dx} (b^{x}) = m_{b} \cdot b^{x}, \qquad m_{b} = \frac{d}{dx} (b^{x}) \!\bigg|_{x = 0} = \lim_{h \to 0} \frac{b^{h} - 1}{h}. \tag{6}

The slope at zero is base-dependent; the form of the derivative, function multiplied by a constant, is not.

Problem 141

Use (6)(6) together with the numerical values m20.693m_{2} \approx 0.693, m31.099m_{3} \approx 1.099, and m51.609m_{5} \approx 1.609 to compute each derivative.

  1. ddx(3x) ⁣x=2\dfrac{d}{dx}(3^{x}) \!\bigg|_{x = 2}.
  2. ddx(5x) ⁣x=0\dfrac{d}{dx}(5^{x}) \!\bigg|_{x = 0} and ddx(5x) ⁣x=1\dfrac{d}{dx}(5^{x}) \!\bigg|_{x = 1}.
  3. The ratio (d/dx)(2x)x=4(d/dx)(2x)x=1\dfrac{(d/dx)(2^{x})|_{x = 4}}{(d/dx)(2^{x})|_{x = 1}}, simplified by cancellation of m2m_{2} before any numerical work.
Problem 142

Tabulate (3h1)/h(3^{h} - 1)/h at h=0.1,0.01,0.001h = 0.1, 0.01, 0.001 to confirm m31.099m_{3} \approx 1.099 to three decimal places. Compare with the value of m3m_{3} suggested by Recitation 4’s five-curve figure.

The Number ee

Equation (6)(6) is awkward because every base carries its own undetermined constant mbm_{b}. The numerical experiments above show m20.693<1m_{2} \approx 0.693 < 1 and m31.099>1m_{3} \approx 1.099 > 1. More detailed tables show that exactly one base between 22 and 33 has slope 11 at x=0x = 0. A full proof of this existence and uniqueness is part of real analysis; in MA0A we take it as the defining fact of the number below.

Definition 36 (The number ee)

The number ee is the unique base b>0b > 0 for which

limh0bh1h=1,\lim_{h \to 0} \frac{b^{h} - 1}{h} = 1,

equivalently, the unique bb for which the graph of y=bxy = b^{x} has slope exactly 11 at x=0x = 0.

To ten significant digits, e=2.718281828e = 2.718281828\dots. For most purposes, e2.7e \approx 2.7 suffices.

Substituting b=eb = e into (6)(6) collapses the formula:

ddx(ex)=meex=1ex=ex.(7)\frac{d}{dx} (e^{x}) = m_{e} \cdot e^{x} = 1 \cdot e^{x} = e^{x}. \tag{7}
Theorem 17 (Derivative of exe^{x})

For every real xx,

ddx(ex)=ex.\frac{d}{dx} (e^{x}) = e^{x}.

Equivalently, the function f(x)=exf(x) = e^{x} satisfies f=ff' = f.

Geometrically, at every point on the curve y=exy = e^{x} the slope of the tangent line equals the height of the curve.

The curve y = e^x with four tangent lines drawn at x = -1, 0, 1, 2. The slopes of the tangents are 1/e, 1, e, and e^2 respectively, exactly the heights of the curve at those x-values.

At x=1x = -1, the height 1/e0.371/e \approx 0.37 equals the slope. At x=0x = 0, the height 11 equals the slope. At x=1x = 1, the height ee equals the slope. At x=2x = 2, the height e2e^{2} equals the slope.

Example 131 (The tangent line at x=1x = 1)

Find the tangent line to y=exy = e^{x} at x=1x = 1.

The point of tangency is (1,e)(1, e). The slope is e1=ee^{1} = e. Point-slope form gives

ye=e(x1),y - e = e (x - 1),

so y=exy = e x.

The tangent line passes through the origin with slope ee. In rate-of-change language, near x=1x = 1 a small input change Δx\Delta x changes the output by approximately eΔxe\,\Delta x, and the tangent line is the linear approximation at that point.

Problem 143

Find the tangent line to y=exy = e^{x} at x=0x = 0 and at x=1x = -1. In each case, state where the tangent line meets the xx-axis.

Problem 144

Show that the tangent line to y=exy = e^{x} at the point (a,ea)(a, e^{a}) has xx-intercept a1a - 1. Conclude that, as aa varies, the foot of the tangent line slides along the xx-axis at the same rate as aa itself moves.

exe^{x} in the Toolkit

The derivative formula for exe^{x}, combined with the product, quotient, and chain rules from Lesson 4AM, differentiates every expression built from exe^{x} and the polynomial/rational pieces of earlier lessons.

Example 132 (Algebra of exponents with base ee)

Write each expression in the form AekxA \, e^{k x} for constants AA and kk.

  1. (3e2x)2exe2x\dfrac{(3 e^{2 x})^{2} \cdot e^{x}}{e^{-2 x}}.

  2. exe7xe2x+5\sqrt{\dfrac{e^{x}}{e^{7 x}}} \cdot e^{2 x + 5}.

The laws of exponents from Recitation 4 transfer unchanged to base ee.

  1. Square the inside, then collect:
(3e2x)2exe2x=9e4xexe2x=9e4xexe2x=9e4x+x+2x=9e7x.\frac{(3 e^{2 x})^{2} \cdot e^{x}}{e^{-2 x}} = \frac{9 \, e^{4 x} \cdot e^{x}}{e^{-2 x}} = 9 \, e^{4 x} \cdot e^{x} \cdot e^{2 x} = 9 \, e^{4 x + x + 2 x} = 9 \, e^{7 x}.

So A=9A = 9, k=7k = 7.

  1. Pull law (iii) inside the square root, then law (iv):
exe7xe2x+5=e6xe2xe5=e3xe2xe5=e5ex.\sqrt{\frac{e^{x}}{e^{7 x}}} \cdot e^{2 x + 5} = \sqrt{e^{-6 x}} \cdot e^{2 x} \cdot e^{5} = e^{-3 x} \cdot e^{2 x} \cdot e^{5} = e^{5} \cdot e^{-x}.

So A=e5148.4A = e^{5} \approx 148.4, k=1k = -1.

Remark

Putting an expression in the form AekxA \, e^{k x} before differentiating makes the later derivative step short once the formula for ekxe^{kx} has been established. Whenever a stack of ee‘s appears with sums, products, or roots in the exponent, collapse it first.

Problem 145

Reduce each expression to the form AekxA \, e^{k x} and state AA and kk.

  1. e3xexe2e^{3 x} \cdot e^{-x} \cdot e^{2}.
  2. e4x(ex)3\dfrac{e^{4 x}}{(e^{x})^{3}}.
  3. (exe2x)4e6x\bigl(e^{x} \cdot e^{-2 x}\bigr)^{4} \cdot e^{6 x}.
  4. e6x+93\sqrt[3]{e^{6 x + 9}}.
Example 133 (Product and quotient with exe^{x})

Differentiate:

  1. y=(1+x2)exy = (1 + x^{2}) \, e^{x}.

  2. y=1+ex2xy = \dfrac{1 + e^{x}}{2 x}.

  3. By the product rule with f(x)=1+x2f(x) = 1 + x^{2} and g(x)=exg(x) = e^{x}:

dydx=(1+x2)ex+ex2x=ex(x2+2x+1)=ex(x+1)2.\frac{dy}{dx} = (1 + x^{2}) \cdot e^{x} + e^{x} \cdot 2 x = e^{x} (x^{2} + 2 x + 1) = e^{x} (x + 1)^{2}.

The factored form has a useful consequence. Since ex>0e^{x} > 0 and (x+1)20(x + 1)^{2} \geq 0 for every xx, the derivative is non-negative everywhere, and zero only at x=1x = -1. By the first derivative rule, yy is non-decreasing on the entire real line. The derivative does not change sign around x=1x = -1, so the horizontal tangent there is neither a relative maximum nor a relative minimum. The product structure made this readable; expanding ex(x2+2x+1)e^{x} (x^{2} + 2 x + 1) would have hidden it.

  1. By the quotient rule with f(x)=1+exf(x) = 1 + e^{x} and g(x)=2xg(x) = 2 x:
dydx=(2x)ex(1+ex)2(2x)2=2xex2ex24x2=xexex12x2.\frac{dy}{dx} = \frac{(2 x) \, e^{x} - (1 + e^{x}) \cdot 2}{(2 x)^{2}} = \frac{2 x \, e^{x} - 2 e^{x} - 2}{4 x^{2}} = \frac{x \, e^{x} - e^{x} - 1}{2 x^{2}}.

The numerator does not factor over the elementary tools from this course; the answer is left in the cleaned-up form.

Problem 146

Differentiate each function. Where the answer factors over the polynomial-times-exe^{x} family, factor it.

  1. y=x3exy = x^{3} \, e^{x}.
  2. y=(x24x+1)exy = (x^{2} - 4 x + 1) \, e^{x}.
  3. y=exxy = \dfrac{e^{x}}{x}.
  4. y=x2exy = \dfrac{x^{2}}{e^{x}} (write the denominator as exe^{x} first; the next section turns this into a one-line chain-rule problem instead).

exe^{-x} via the General Power Rule

The function exe^{-x} is an exponential with base 1/e0.37<11/e \approx 0.37 < 1, hence falls under the decreasing-curve case of Recitation 4’s graph discussion. By law (ii) of Recitation 4,

ex=1ex=(ex)1.e^{-x} = \frac{1}{e^{x}} = (e^{x})^{-1}.

The general power rule (Recitation 2 / Lesson 4AM toolkit) with r=1r = -1 and inner function g(x)=exg(x) = e^{x} supplies the derivative directly, without yet introducing the chain rule for exponentials.

Example 134 (Derivative of exe^{-x} from the power rule)

Differentiate y=exy = e^{-x}.

Write y=(ex)1y = (e^{x})^{-1}. By the general power rule applied to the inner function g(x)=exg(x) = e^{x}, with g(x)=exg'(x) = e^{x}:

dydx=1(ex)2ex=e2xex=ex.\frac{dy}{dx} = -1 \cdot (e^{x})^{-2} \cdot e^{x} = - e^{-2 x} \cdot e^{x} = - e^{-x}.

The derivative of exe^{-x} is ex-e^{-x}. The function reproduces itself under differentiation up to a sign. Geometrically, the slope at every point on y=exy = e^{-x} is the negative of the height. The curve falls everywhere, and its rate of fall scales with how far above the axis it currently sits.

Graphs of y = e^x (dotted, blue) and y = e^{-x} (solid, red) on the same axes. Both pass through (0, 1). The two curves are mirror images of each other across the y-axis.

The solid red curve y=exy = e^{-x} is the reflection of y=exy = e^{x} across the yy-axis, exactly as predicted by law (ii). Both pass through (0,1)(0, 1) with slopes 1-1 and +1+1 respectively, mirroring each other.

Problem 147

Differentiate each function by the same trick: rewrite as a power of exe^{x} and apply the general power rule.

  1. y=e2xy = e^{-2 x}.
  2. y=e3xy = e^{3 x} (write as (ex)3(e^{x})^{3}).
  3. y=1e2xy = \dfrac{1}{e^{2 x}}.
  4. Compare answers (1) and (3); explain in one sentence why they are equal.

The general-power-rule manoeuvre runs out as soon as the exponent is anything more interesting than a constant times xx. For ex2+1e^{x^{2} + 1} or e3x21/xe^{3 x^{2} - 1/x}, no choice of rr recovers the function. The chain rule is needed.

The Chain Rule for Exponentials

The composition eg(x)e^{g(x)} is the outer function f(u)=euf(u) = e^{u} applied to the inner function g(x)g(x). The chain rule applied to this composition uses the fact f=ff' = f:

ddx[eg(x)]=f(g(x))g(x)=eg(x)g(x).(8)\frac{d}{dx} \bigl[e^{g(x)}\bigr] = f'(g(x)) \cdot g'(x) = e^{g(x)} \cdot g'(x). \tag{8}
Theorem 18 (Chain rule for exponentials)

For every differentiable function gg,

ddx[eg(x)]=eg(x)g(x).\frac{d}{dx} \bigl[e^{g(x)}\bigr] = e^{g(x)} \cdot g'(x).

In Leibniz form with u=g(x)u = g(x):

ddx(eu)=eududx.(8a)\frac{d}{dx} (e^{u}) = e^{u} \, \frac{du}{dx}. \tag{8a}

The rule says: leave the exponential expression in place, then multiply by the derivative of the inside. The exponential is the only outer function in this course that survives differentiation unchanged; for every other outer function, ff' must be looked up separately.

Example 135 (Chain rule applied to eg(x)e^{g(x)})

Differentiate:

  1. y=ex2+1y = e^{x^{2} + 1}.

  2. y=e3x21/xy = e^{3 x^{2} - 1/x}.

  3. y=e5xy = e^{5 x}.

  4. g(x)=x2+1g(x) = x^{2} + 1, g(x)=2xg'(x) = 2 x. So

dydx=ex2+12x=2xex2+1.\frac{dy}{dx} = e^{x^{2} + 1} \cdot 2 x = 2 x \, e^{x^{2} + 1}.
  1. g(x)=3x21/x=3x2x1g(x) = 3 x^{2} - 1/x = 3 x^{2} - x^{-1}, g(x)=6x+x2=6x+1/x2g'(x) = 6 x + x^{-2} = 6 x + 1/x^{2}. So
dydx=e3x21/x ⁣(6x+1x2).\frac{dy}{dx} = e^{3 x^{2} - 1/x} \cdot \!\left(6 x + \frac{1}{x^{2}}\right).
  1. g(x)=5xg(x) = 5 x, g(x)=5g'(x) = 5. So
dydx=e5x5=5e5x.\frac{dy}{dx} = e^{5 x} \cdot 5 = 5 \, e^{5 x}.

Part (c) generalises in one sentence: differentiating ekxe^{k x} for any constant kk pulls a factor of kk out front. This is the formula that powers every applied use in this lesson.

Theorem 19 (Derivative of ekxe^{k x})

For every constant kk,

ddx(ekx)=kekx.\frac{d}{dx} (e^{k x}) = k \, e^{k x}.
Example 136 (Differentiating CekxC e^{k x})

Differentiate:

  1. y=3e5xy = 3 \, e^{5 x}.
  2. y=3ekxy = 3 \, e^{k x}, with kk constant.
  3. y=Cekxy = C \, e^{k x}, with C,kC, k constants.

By the constant-multiple rule and the formula for ekxe^{kx}:

  1. dydx=35e5x=15e5x\dfrac{dy}{dx} = 3 \cdot 5 \, e^{5 x} = 15 \, e^{5 x}.

  2. dydx=3kekx=3kekx\dfrac{dy}{dx} = 3 \cdot k \, e^{k x} = 3 k \, e^{k x}.

  3. dydx=Ckekx=Ckekx\dfrac{dy}{dx} = C \cdot k \, e^{k x} = C k \, e^{k x}.

Part (c) earns its own line because, writing y=Cekxy = C \, e^{k x},

y=Ckekx=k(Cekx)=ky.(9)y' = C k \, e^{k x} = k \cdot (C \, e^{k x}) = k \, y. \tag{9}

The function y=Cekxy = C \, e^{k x} satisfies the rate equation (its own derivative is kk times itself) that opened the exponential section of Recitation 4.

Problem 148

Differentiate each function. Each is a one-line application of the formula for ekxe^{kx} or its chain-rule generalisation.

  1. y=e4x7y = e^{4 x - 7}.
  2. y=5ex/2y = 5 \, e^{-x/2}.
  3. y=e(x21)3y = e^{(x^{2} - 1)^{3}}.
  4. y=e2xx2+1y = \dfrac{e^{2 x}}{x^{2} + 1}.
  5. y=(x2+1)e3xy = (x^{2} + 1) \, e^{-3 x}. Factor the answer; identify every xx at which y=0y' = 0.
Problem 149

A drug’s bloodstream concentration after tt hours is modelled by

C(t)=12tet/2 mg/L,t0.C(t) = 12 \, t \, e^{-t/2} \text{ mg/L}, \qquad t \geq 0.
  1. Use the product rule and the formula for ekxe^{kx} to find C(t)C'(t), factoring fully.
  2. Find the time at which the concentration peaks, and compute the peak value.
  3. By the first derivative test, classify the critical number you found in part (2). State on which intervals the drug is being absorbed faster than it is being eliminated, and on which it is being eliminated faster than it is being absorbed.

The Equation y=kyy' = k \, y

Equation (9)(9) produced solutions of the proportionality y=kyy' = k \, y from formulas of the form CekxC \, e^{k x}. The converse, that every solution looks like this, is the content of the theorem below.

Definition 37 (Differential equation)

A differential equation is an equation expressing a relationship between an unknown function yy and one or more of its derivatives. A solution is any function y=f(x)y = f(x) that satisfies the equation when substituted in.

Theorem 20 (Solutions of y=kyy' = k \, y)

Let kk be a constant. The differentiable functions y=f(x)y = f(x) on the real line satisfying

y=kyy' = k \, y

are exactly the functions of the form

y=Cekx,y = C \, e^{k x},

where CC is an arbitrary constant.

Specifying any single value f(x0)=y0f(x_{0}) = y_{0} determines CC uniquely.

Proof

One direction. If y=Cekxy = C \, e^{k x}, then by the formula for ekxe^{kx} and the constant-multiple rule, y=Ckekx=k(Cekx)=kyy' = C k \, e^{k x} = k \, (C \, e^{k x}) = k \, y. The substitution checks.

Other direction. Suppose y=f(x)y = f(x) is differentiable and satisfies y=kyy' = k \, y. Define a new function

φ(x)=f(x)ekx=f(x)ekx.\varphi(x) = \frac{f(x)}{e^{k x}} = f(x) \, e^{-k x}.

By the product rule applied to f(x)f(x) and ekxe^{-k x}, with ddx(ekx)=kekx\dfrac{d}{dx}(e^{-k x}) = -k \, e^{-k x}:

φ(x)=f(x)ekx+f(x)(k)ekx=ekx[f(x)kf(x)].\varphi'(x) = f'(x) \, e^{-k x} + f(x) \cdot (-k) \, e^{-k x} = e^{-k x} \bigl[f'(x) - k \, f(x)\bigr].

The hypothesis f(x)=kf(x)f'(x) = k \, f(x) makes the bracket zero. Hence φ(x)=0\varphi'(x) = 0 for every xx.

A standard consequence of the derivative theory is that a differentiable function whose derivative is zero at every point of an interval is constant on that interval. Applying that fact on the real line, φ\varphi is constant. Call the constant CC. Then φ(x)=C\varphi(x) = C for every xx, and unwinding the definition of φ\varphi gives

f(x)ekx=C,sof(x)=Cekx.\frac{f(x)}{e^{k x}} = C, \qquad \text{so} \qquad f(x) = C \, e^{k x}.

The single initial condition f(x0)=y0f(x_{0}) = y_{0} forces Cekx0=y0C \, e^{k x_{0}} = y_{0}, hence C=y0ekx0C = y_{0} \, e^{-k x_{0}}, a unique value.

The proof’s main move is the substitution φ(x)=f(x)ekx\varphi(x) = f(x) e^{-k x}, which extracts the exponential factor through a single derivative computation. The same idea, divide the unknown function by a candidate solution and check that the quotient is constant, reappears in later differential-equation problems.

Example 137 (A pure rate equation)

Find every function y=f(x)y = f(x) such that y=2yy' = -2 y.

The equation has the form y=kyy' = k \, y with k=2k = -2. By the solutions theorem above,

y=Ce2x,C an arbitrary constant.y = C \, e^{-2 x}, \qquad C \text{ an arbitrary constant}.

For C>0C > 0 these are decreasing exponentials. For C=0C = 0 the solution is the zero function, and for C<0C < 0 the graph lies below the axis and increases toward 00.

Example 138 (An initial-value problem)

Find y=f(x)y = f(x) such that y=y/2y' = y / 2 and f(0)=4f(0) = 4.

The equation is y=kyy' = k y with k=1/2k = 1/2, so y=Cex/2y = C \, e^{x/2}. The initial condition gives

4=f(0)=Ce0=C,4 = f(0) = C \, e^{0} = C,

so C=4C = 4 and

f(x)=4ex/2.f(x) = 4 \, e^{x/2}.

The general family from the solutions theorem has one free parameter CC; one data point fixes it.

Note (Procedure: $y' = k y$ with one initial condition)
  1. Read kk off the equation y=kyy' = k y.
  2. Write the general solution y=Cekxy = C \, e^{k x}.
  3. Plug in the initial condition f(x0)=y0f(x_{0}) = y_{0} to solve for CC.
  4. Substitute CC back to obtain the unique solution.

Recitation 4’s exponential scenarios, the 15% investment, the doubling bacteria culture, and the decaying 235U^{235}\mathrm{U} pile, each fit the solutions theorem with a different value of kk.

Example 139 (A growing bacteria culture)

A bacteria culture in a Petri dish grows so that its population N(t)N(t) satisfies N(t)=0.4N(t)N'(t) = 0.4 \, N(t), with tt measured in hours. The initial population is N(0)=500N(0) = 500. Find N(t)N(t) and express the time at which the population first reaches 20002000 in terms of the doubling time.

By the solutions theorem, N(t)=Ce0.4tN(t) = C \, e^{0.4 \, t}. The initial condition gives 500=C500 = C, so

N(t)=500e0.4t.N(t) = 500 \, e^{0.4 \, t}.

The population reaches 20002000 when 500e0.4t=2000500 \, e^{0.4 \, t} = 2000, that is, e0.4t=4e^{0.4 \, t} = 4. Without logarithms, the equation can be reduced as follows. The population-doubling time τ\tau satisfies e0.4τ=2e^{0.4 \, \tau} = 2, so e0.4t=4=22=(e0.4τ)2=e0.8τe^{0.4 \, t} = 4 = 2^{2} = (e^{0.4 \, \tau})^{2} = e^{0.8 \, \tau}. By the injectivity of exe^{x} from Recitation 4, 0.4t=0.8τ0.4 \, t = 0.8 \, \tau, so t=2τt = 2 \tau.

The numeric value of τ\tau requires a tabulation of e0.4te^{0.4 \, t} until the entry 22 first appears. The structural answer is that the population first reaches four times its initial value at exactly twice its doubling time.

Problem 150

A radioactive sample has mass M(t)M(t) in grams at time tt years, satisfying M(t)=0.05M(t)M'(t) = -0.05 \, M(t). Initially M(0)=80M(0) = 80 grams.

  1. Write M(t)M(t) explicitly using the solutions theorem.
  2. Express the half-life TT, the time at which M(T)=40M(T) = 40, by the equation e0.05T=1/2e^{-0.05 \, T} = 1/2, and explain why no further elementary simplification is possible with the tools introduced so far.
  3. Use the injectivity of exe^{x} to compute, in terms of TT, the time at which only one-eighth of the original sample remains.
Problem 151

An investment of PP pounds at continuously compounded annual interest rate r>0r > 0 has balance B(t)B(t) satisfying B(t)=rB(t)B'(t) = r \, B(t) with B(0)=PB(0) = P.

  1. Write B(t)B(t).
  2. Compare two investments at the same time t>0t > 0, one at rate 2r2 r and one at rate rr. Show that the ratio of the two balances is erte^{r t}, while the ratio of their time-rates of growth is 2ert2 e^{r t}. Conclude that the faster investment is growing more than twice as fast for every t>0t > 0, and that its balance is more than twice as large once tt exceeds the unique time TT for which erT=2e^{r T} = 2. Leave TT as the solution of erT=2e^{r T} = 2.
  3. Two investors start with the same principal PP at the same time. One earns rate rr, the other earns rate r/2r/2. Show that the first investor’s balance at time tt equals the square of the second investor’s balance divided by PP for every t>0t > 0. Set up the two balances, reduce both sides to a single erte^{r t} by laws of exponents, and conclude by inspection.

Functions f(x)=ekxf(x) = e^{k x}

The formula for ekxe^{kx} plus the solutions theorem set up the family y=Cekxy = C \, e^{k x} as the standard language of proportional rates of change. Two qualitative regimes appear depending on the sign of kk.

Two side panels. Left: y = e^{kx} for k = 0.4, 0.8, 1.2, 1.6, all increasing curves through (0, 1), with steeper k giving faster growth. Right: y = e^{kx} for k = -0.4, -0.8, -1.2, -1.6, all decreasing curves through (0, 1), with more negative k giving faster decay.

For k>0k > 0 (left panel), every curve y=ekxy = e^{k x} shares four features:

  1. The graph passes through (0,1)(0, 1), since e0=1e^{0} = 1.
  2. The graph lies strictly above the xx-axis: ekx>0e^{k x} > 0 for every real xx and every real kk.
  3. The xx-axis is a horizontal asymptote as xx \to -\infty, as seen from the graph of exponential decay in Recitation 4.
  4. The graph is increasing and concave up. The formula for ekxe^{kx} gives y=kekx>0y' = k \, e^{k x} > 0 and y=k2ekx>0y'' = k^{2} \, e^{k x} > 0.

For k<0k < 0 (right panel), the same four facts hold with one reversal:

  1. The graph passes through (0,1)(0, 1).
  2. The graph lies strictly above the xx-axis.
  3. The xx-axis is a horizontal asymptote as x+x \to +\infty, as seen from the graph of exponential decay in Recitation 4.
  4. The graph is decreasing and concave up. Now y=kekx<0y' = k \, e^{k x} < 0 but y=k2ekx>0y'' = k^{2} \, e^{k x} > 0.

The graph is concave up in both regimes because y=k2ekxy'' = k^{2} \, e^{k x} depends on kk only through k2k^{2}. The exponential family is concave up for every nonzero kk.

Problem 152

For each function below, identify kk and state whether the curve is increasing or decreasing. Confirm that y>0y'' > 0 everywhere by computing yy'' explicitly.

  1. y=e0.3xy = e^{0.3 \, x}.
  2. y=e1.7xy = e^{-1.7 \, x}.
  3. y=5e2xy = 5 \, e^{2 x}.
  4. y=100ex/4y = 100 \, e^{-x/4}.

Every bxb^{x} Is an ekxe^{k x}

The opening computation reduced ddx(bx)\dfrac{d}{dx}(b^{x}) to mbbxm_{b} \cdot b^{x} with mbm_{b} an undetermined limit. The formula for ekxe^{kx} reduces ddx(ekx)\dfrac{d}{dx}(e^{k x}) to kekxk \, e^{k x} with kk free. The two formulas agree if and only if bxb^{x} can be rewritten as ekxe^{k x} for the right kk.

The graph of y=exy = e^{x} is strictly increasing, stays positive, approaches 00 on the left, and grows without bound on the right. We use the standard exponential fact, visible in that graph, that exe^{x} takes every positive value exactly once. So for every base b>0b > 0 there is a unique real number kk with

ek=b.(10)e^{k} = b. \tag{10}

Once kk is named, law (iv) of exponents from Recitation 4 supplies the rewrite:

bx=(ek)x=ekx.(11)b^{x} = (e^{k})^{x} = e^{k x}. \tag{11}
Theorem 21 (Reduction of bxb^{x} to ekxe^{k x})

For every base b>0b > 0, there is a unique constant kk such that

bx=ekxfor every real x.b^{x} = e^{k x} \qquad \text{for every real } x.

The constant kk is the unique solution of ek=be^{k} = b.

Consequently,

ddx(bx)=kbx,\frac{d}{dx} (b^{x}) = k \, b^{x},

where kk is the same constant.

The undetermined constant mbm_{b} from (6)(6) is forced to coincide with kk. The numerical experiments at the start of the lesson, m20.693m_{2} \approx 0.693, m31.099m_{3} \approx 1.099, m51.609m_{5} \approx 1.609, are exactly the values of kk for which ek=2,3,5e^{k} = 2, 3, 5 respectively. Without logarithms, this lesson cannot compute kk algebraically; the existence of kk, however, is enough to bring every bxb^{x} inside the chain-rule machinery.

The curve y = 2^x drawn solid in red, with y = e^{kx} drawn as a dotted blue overlay, where k is the unique constant satisfying e^k = 2. The two curves coincide everywhere: same shape, two formulas.

The two formulas y=2xy = 2^{x} and y=ekxy = e^{k x}, with ek=2e^{k} = 2, draw the same curve. The choice between them is one of bookkeeping: ekxe^{k x} slots into the chain rule and the differential equation y=kyy' = k y without any leftover constants; bxb^{x} stays close to the original problem statement.

Example 140 (Differentiating bxb^{x} via reduction)

Differentiate y=2xy = 2^{x} using the reduction theorem, and compare with the result of (5)(5).

By the reduction theorem, 2x=ekx2^{x} = e^{k x} where kk is the unique constant with ek=2e^{k} = 2. By the formula for ekxe^{kx},

ddx(2x)=ddx(ekx)=kekx=k2x.\frac{d}{dx} (2^{x}) = \frac{d}{dx} (e^{k x}) = k \, e^{k x} = k \cdot 2^{x}.

Comparing with equation (5)(5), ddx(2x)=m2x\dfrac{d}{dx}(2^{x}) = m \cdot 2^{x}, the constant mm from the limit-table calculation must equal the kk from the rewrite: m=km = k, where ek=2e^{k} = 2. The two derivations describe the same number through different machinery.

Problem 153

Recitation 4 modelled a British investor’s account balance as B(t)=1000(1.15)tB(t) = 1000 \cdot (1.15)^{t} pounds.

  1. Use the reduction theorem to write B(t)=1000ektB(t) = 1000 \, e^{k t} for the unique kk with ek=1.15e^{k} = 1.15.
  2. State B(t)B'(t) both as 1000kekt1000 \cdot k \cdot e^{k t} and as kB(t)k \cdot B(t). Identify the proportionality constant in the rate equation B(t)=kB(t)B'(t) = k \, B(t).
  3. Without computing kk numerically, explain why 0<k<10 < k < 1: since e0=1<1.15<e=e1e^{0} = 1 < 1.15 < e = e^{1} and exe^{x} is increasing, the unique input kk with ek=1.15e^{k} = 1.15 must lie between 00 and 11.
Problem 154

A bacteria culture grows according to N(t)=N03tN(t) = N_{0} \cdot 3^{t}, so the population triples each unit of time.

  1. Use the reduction theorem to rewrite N(t)N(t) as N0ektN_{0} \, e^{k t} for some k>0k > 0.
  2. Write the rate equation N(t)=kN(t)N'(t) = k \, N(t) that N(t)N(t) satisfies, with kk left as the unique constant satisfying ek=3e^{k} = 3.
  3. Numerically, k1.099k \approx 1.099 from the slope-at-zero table earlier in this lesson. Compute N(0)N'(0) and N(1)N'(1) when N0=100N_{0} = 100.
Problem 155

Let b>0b > 0, b1b \neq 1, and let kk be the unique constant with ek=be^{k} = b. Show that the function y=(1+kx)bxy = (1 + k x) \, b^{x} has a single critical number, and locate it. Use the first derivative test to classify the critical point. Then prove that, at that critical xx, the height of y=(1+kx)bxy = (1 + k x) \, b^{x} is the negative of the height of y=bxy = b^{x}.

Note (Toolkit additions from this lesson)
RuleForm
Derivative of exe^{x}ddx(ex)=ex\frac{d}{dx} (e^{x}) = e^{x}
Chain rule for eg(x)e^{g(x)}ddxeg(x)=eg(x)g(x)\frac{d}{dx} \, e^{g(x)} = e^{g(x)} \, g'(x)
Derivative of ekxe^{k x}ddx(ekx)=kekx\frac{d}{dx} (e^{k x}) = k \, e^{k x}
Solutions of y=kyy' = k yy=Cekxy = C \, e^{k x}, CC arbitrary
Reduction of bxb^{x}bx=ekxb^{x} = e^{k x} where ek=be^{k} = b