Mascot image.
#Math#Differentiation
← Back to MA0A: Differentiation

Lesson assets

No linked assets.

Exponential Models and Logarithmic Differentiation

Lesson 5AM produced the family y=Cekty = C \, e^{k t} as the solutions of the rate equation y=kyy' = k \, y, and Lesson 5PM named k=lnbk = \ln b and gave the four log identities together with logarithmic differentiation. Two pieces of data fix CC and kk for any application; one piece of data fixes one of them when the other is read off the model. This recitation applies those tools to two-data-point growth, half-life, the time constant of a decay curve, mixed-rule expressions involving exe^{x} and lnx\ln x, and higher-derivative patterns.

Note (Log identities used below)

We use the labels from Lesson 5PM: LI is ln(xy)=lnx+lny\ln(xy) = \ln x + \ln y, LII is ln(1/x)=lnx\ln(1/x) = -\ln x, LIII is ln(x/y)=lnxlny\ln(x/y) = \ln x - \ln y, and LIV is ln(xb)=blnx\ln(x^{b}) = b\ln x, with positive logarithm arguments.

Two Data Points Fix CektC \, e^{k t}

A measurement at one time fixes CC. A measurement at a second time then fixes kk through one application of ln\ln.

Example 1 (A bacteria culture from two readings)

A bacteria culture grows so that N(t)=kN(t)N'(t) = k \, N(t) for some constant k>0k > 0, with tt measured in hours. At time t=0t = 0 there are 2000020\,000 bacteria, and at time t=5t = 5 there are 400000400\,000 bacteria. Find N(t)N(t) in closed form.

By the solutions theorem, N(t)=CektN(t) = C \, e^{k t}. The reading at t=0t = 0 gives

20000=N(0)=Ce0=C,20\,000 = N(0) = C \, e^{0} = C,

so C=20000C = 20\,000.

The reading at t=5t = 5 gives

20000e5k=400000,e5k=20.20\,000 \, e^{5 k} = 400\,000, \qquad e^{5 k} = 20.

Take logarithms of both sides. Since ln(e5k)=5k\ln(e^{5k}) = 5k, this gives

5k=ln20,k=ln205.5 k = \ln 20, \qquad k = \frac{\ln 20}{5}.

Hence

N(t)=20000e(ln20/5)t.N(t) = 20\,000 \, e^{(\ln 20 / 5) \, t}.

The growth rate at any moment is kN(t)k \, N(t), with k=(ln20)/50.599k = (\ln 20)/5 \approx 0{.}599 per hour.

Example 2 (A doubling time fixes kk alone)

A colony of fruit flies grows so that P(t)=P0ektP(t) = P_{0} \, e^{k t}, with tt in days. The colony’s size doubles in 99 days. Find kk.

The doubling condition is P(9)=2P(0)P(9) = 2 \, P(0). Substituting the model and dividing by P0P_{0},

e9k=2.e^{9 k} = 2.

Take ln\ln of both sides:

9k=ln2,k=ln290.077 per day.9 k = \ln 2, \qquad k = \frac{\ln 2}{9} \approx 0{.}077 \text{ per day}.

The initial population P0P_{0} never appeared. The growth constant of an exponential model is fixed by any ratio of values at two times, not by the absolute scale.

Problem 1

A continuation of the fruit-fly example. The initial population is P0=100P_{0} = 100.

  1. Use k=(ln2)/9k = (\ln 2)/9 to write P(t)P(t) explicitly.
  2. Compute the size of the colony at t=41t = 41 days, in closed form involving a power of 22. Compute the rate of growth at that moment in flies per day, leaving the answer in terms of ln2\ln 2.
  3. Find the time at which the colony first contains 800800 flies. Reduce the equation to one of the form ekt=8e^{k t} = 8, then solve in closed form using ln\ln.
Problem 2

A British investor opens an account at time t=0t = 0 with PP pounds. The balance grows continuously at a fixed rate, so B(t)=PertB(t) = P \, e^{r t}. After 44 years the balance is £1500, and after 1010 years it is £3000.

  1. Use the ratio B(10)/B(4)B(10) / B(4) to find rr in closed form, without computing PP.
  2. Use either reading to find PP.
  3. Show, using the answer to part (1) and the doubling-time logic of the fruit-fly example, that the doubling time of this account is exactly 66 years.
Problem 3

A laboratory yeast culture in early growth phase has cell count N(t)=N0ektN(t) = N_{0} \, e^{k t}, with tt in hours. Two technicians take readings: N(2)=1.5×106N(2) = 1{.}5 \times 10^{6} and N(7)=4.5×106N(7) = 4{.}5 \times 10^{6}.

  1. Find kk by using the ratio of the two readings, expressing kk in closed form involving ln3\ln 3.
  2. Find N0N_{0} in closed form.
  3. Find the time at which the cell count first reaches 10710^{7}, in closed form.

Half-Life Applications

For a decay model M(t)=M0eλtM(t) = M_{0} \, e^{-\lambda t} with λ>0\lambda > 0, the half-life formula T1/2=(ln2)/λT_{1/2} = (\ln 2)/\lambda from Lesson 5PM converts every decay constant into a half-life and back. The fractional rate of decay M(t)/M(t)=λ|M'(t)|/M(t) = \lambda is constant in tt, so every interval of length T1/2T_{1/2} removes half of whatever is present at its start.

Example 3 (Strontium-90)

Strontium-9090 decays at rate λM(t)-\lambda \, M(t) with λ=0.0244\lambda = 0{.}0244 per year. Find the half-life T1/2T_{1/2}, and the fraction of the original mass remaining after 100100 years.

By the half-life formula,

T1/2=ln2λ=ln20.024428.4 years.T_{1/2} = \frac{\ln 2}{\lambda} = \frac{\ln 2}{0{.}0244} \approx 28{.}4 \text{ years}.

The mass remaining after 100100 years is

M(100)M0=e100λ=e2.440.0872,\frac{M(100)}{M_{0}} = e^{-100 \lambda} = e^{-2{.}44} \approx 0{.}0872,

so about 8.72%8{.}72\% of the strontium-9090 remains. Equivalently, 100/T1/23.52100 / T_{1/2} \approx 3{.}52, so the sample has passed through just over three and a half half-lives.

Example 4 (Iodine-131 in dairy hay)

Iodine-131131 has half-life 88 days. Hay collected after a nuclear test contains 1010 times the maximum allowable level of iodine-131131 for use as cattle fodder. How many days must the hay be stored before it is safe?

The decay constant is λ=(ln2)/8\lambda = (\ln 2)/8 per day, and the iodine content at time tt is M(t)=M0eλtM(t) = M_{0} \, e^{-\lambda t}. The first safe time occurs at the threshold M(t)=M0/10M(t) = M_{0}/10, so we solve

eλt=110.e^{-\lambda t} = \frac{1}{10}.

Take logarithms of both sides. Since ln(eλt)=λt\ln(e^{-\lambda t}) = -\lambda t and LII gives ln(1/10)=ln10\ln(1/10) = -\ln 10, we get

λt=ln10,t=ln10λ=8ln10ln2.-\lambda t = -\ln 10, \qquad t = \frac{\ln 10}{\lambda} = \frac{8 \ln 10}{\ln 2}.

Numerically, t82.303/0.69326.6t \approx 8 \cdot 2{.}303 / 0{.}693 \approx 26{.}6 days. The hay must be stored at least 2727 days.

Remark

The bound ”M(t)M0/10M(t) \leq M_{0}/10 for all later tt” is automatic once MM first reaches M0/10M_{0}/10, because MM is strictly decreasing. The strict monotonicity of eλte^{-\lambda t} for λ>0\lambda > 0 is one application of the formula for ekxe^{kx} with k=λ<0k = -\lambda < 0.

Problem 4

Carbon-1414 has half-life 57305730 years. A parchment fragment contains 80%80\% of the carbon-1414 that a comparable living organism would have today. Estimate the age of the parchment in closed form, then compute it numerically to the nearest year using ln0.80.2231\ln 0{.}8 \approx -0{.}2231.

Set M(t)=M0eλtM(t) = M_{0} \, e^{-\lambda t} with λ=(ln2)/5730\lambda = (\ln 2)/5730, and solve M(t)/M0=0.8M(t)/M_{0} = 0{.}8 for tt.

Problem 5

A radioactive sample drops from 8080 grams to 55 grams over a 2424-hour interval, following M(t)=M0eλtM(t) = M_{0} \, e^{-\lambda t}.

  1. Use the ratio M(24)/M(0)=5/80M(24)/M(0) = 5/80 to find λ\lambda in closed form involving ln2\ln 2.
  2. Find the half-life T1/2T_{1/2} of the isotope. Confirm 2424 hours equals 4T1/24 T_{1/2} exactly.
  3. Predict the mass at t=36t = 36 hours, in closed form, by computing M0236/T1/2M_{0} \cdot 2^{-36/T_{1/2}}.
Problem 6

Two radioactive isotopes A and B have decay constants λA\lambda_{A} and λB=2λA\lambda_{B} = 2 \lambda_{A}. Both samples have the same initial mass M0M_{0}.

  1. Express the ratio MB(t)/MA(t)M_{B}(t) / M_{A}(t) in closed form using the formula for ekxe^{k x}, and show that the ratio is itself an exponential decay eλAte^{-\lambda_{A} t}.
  2. Show that the time required for B’s mass to fall to half of A’s mass is the half-life TA,1/2T_{A,1/2} of A.
  3. Compute the time at which MB(t)M_{B}(t) equals one-eighth of MA(t)M_{A}(t), in closed form involving TA,1/2T_{A,1/2}.

The Time Constant of a Decay Curve

A common shorthand for an exponential decay is the time constant. For y=Ceλty = C \, e^{-\lambda t} with λ>0\lambda > 0, the tangent line at t=0t = 0 has slope Cλ-C \lambda and passes through (0,C)(0, C), so its equation is

y=C(1λt).y = C (1 - \lambda t).

The tangent meets the tt-axis when y=0y = 0, that is, at t=1/λt = 1/\lambda.

Definition 1 (Time constant)

For an exponential decay y=Ceλty = C \, e^{-\lambda t} with λ>0\lambda > 0, the time constant is

τ=1λ.\tau = \frac{1}{\lambda}.
A decay curve y = C e^{-λt} drawn solid. The tangent line at t = 0 is dashed and meets the t-axis at t = τ = 1/λ. The actual curve at t = τ sits at C/e, well above the zero of the tangent.

The curve at t=τt = \tau has height Ceλτ=Ce1=C/e0.368CC \, e^{-\lambda \tau} = C \, e^{-1} = C/e \approx 0{.}368 \, C, while the tangent line is already at zero. Thus the time constant is the tangent-line intercept, not the actual time at which the decay reaches zero.

The relationship between τ\tau and the half-life is one substitution:

T1/2=ln2λ=τln2.T_{1/2} = \frac{\ln 2}{\lambda} = \tau \ln 2.

The half-life is shorter than the time constant by the factor ln20.693\ln 2 \approx 0{.}693.

Example 5 (Sales after advertising stops)

A clothing retailer’s monthly sales fall along the curve S(t)=S0eλtS(t) = S_{0} \, e^{-\lambda t} in the months following the end of a promotional campaign. In the last month of advertising, sales were S0=5000S_{0} = 5000 units. Six months after the campaign ended, sales had fallen to 20002000 units. Find the time constant and the half-life of the sales decay.

The reading at t=6t = 6 gives

5000e6λ=2000,e6λ=0.4.5000 \, e^{-6 \lambda} = 2000, \qquad e^{-6 \lambda} = 0{.}4.

Take logarithms of both sides; LII gives ln(0.4)=ln2.5\ln(0{.}4) = -\ln 2{.}5:

6λ=ln2.5,λ=ln2.560.153 per month.-6 \lambda = -\ln 2{.}5, \qquad \lambda = \frac{\ln 2{.}5}{6} \approx 0{.}153 \text{ per month}.

The time constant is

τ=1λ=6ln2.56.55 months,\tau = \frac{1}{\lambda} = \frac{6}{\ln 2{.}5} \approx 6{.}55 \text{ months},

and the half-life is τln2=(6ln2)/(ln2.5)4.54\tau \ln 2 = (6 \ln 2)/(\ln 2{.}5) \approx 4{.}54 months. By month τ6.55\tau \approx 6{.}55, sales have fallen to S0/e1840S_{0}/e \approx 1840, the standard ”37%37\% remaining” reading on a decay tangent.

Problem 7

A drug’s bloodstream concentration after intravenous injection follows C(t)=C0eλtC(t) = C_{0} \, e^{-\lambda t}, with tt in hours. The time constant for the clearance is τ=4\tau = 4 hours.

  1. State λ\lambda in closed form.
  2. Compute the half-life of the clearance, in closed form involving ln2\ln 2.
  3. Compute the fraction of the initial dose remaining at t=τt = \tau, t=2τt = 2 \tau, and t=3τt = 3 \tau. Express each in the form ene^{-n} for an integer nn.
Problem 8

A capacitor in an electronics circuit discharges so that its voltage satisfies V(t)=V0et/τV(t) = V_{0} \, e^{-t / \tau} for a fixed positive constant τ\tau. Show, using only the formula for ekxe^{k x}, that the fractional rate of discharge V(t)/V(t)|V'(t)|/V(t) is constant in tt and equals 1/τ1/\tau. Hence any time interval of length τ\tau multiplies the voltage by 1/e1/e, regardless of where the interval starts.

Mixed-Rule Applications

The two functions below are useful test cases for the new rules. Each is one chain rule away from the tools of Lessons 5AM and 5PM.

Example 6 (A Gaussian-shaped curve)

The function f(x)=ex2f(x) = e^{-x^{2}} is a Gaussian-shaped curve. Find f(x)f'(x), locate every critical number, and find every inflection point.

By the chain rule for exponentials with g(x)=x2g(x) = -x^{2},

f(x)=ex2(2x)=2xex2.f'(x) = e^{-x^{2}} \cdot (-2 x) = -2 x \, e^{-x^{2}}.

The factor ex2e^{-x^{2}} is strictly positive, so f(x)=0f'(x) = 0 exactly when x=0x = 0. The first derivative test applies: ff' is positive for x<0x < 0 and negative for x>0x > 0, so there is a relative maximum at x=0x = 0. The maximum point is (0,1)(0, 1), and the maximum value is 11.

For inflection points, differentiate again. By the product rule on 2x-2 x and ex2e^{-x^{2}},

f(x)=2ex2+(2x)(2x)ex2=(4x22)ex2.f''(x) = -2 \, e^{-x^{2}} + (-2 x) \cdot (-2 x) \, e^{-x^{2}} = (4 x^{2} - 2) \, e^{-x^{2}}.

Since ex2>0e^{-x^{2}} > 0 always, f(x)=0f''(x) = 0 exactly when 4x22=04 x^{2} - 2 = 0, that is, when x=±1/2x = \pm 1/\sqrt{2}. The sign of 4x224 x^{2} - 2 flips at each value, so by the inflection criterion the inflection points are (1/2,e1/2)\left(-1/\sqrt{2}, e^{-1/2}\right) and (1/2,e1/2)\left(1/\sqrt{2}, e^{-1/2}\right).

The Gaussian-shaped curve y = e^{-x²} drawn from x = -2.5 to x = 2.5, peaking at the marked point (0, 1) and decaying symmetrically to both sides. Two inflection points are marked at x = ±1/√2 with their heights, slightly above 0.6.

The calculus locates the two bending changes with one application each of the chain rule and the product rule.

Example 7 (The softplus)

The function g(x)=ln(1+ex)g(x) = \ln(1 + e^{x}) is often called the softplus function. Show that 0<g(x)<10 < g'(x) < 1 for every real xx, and identify the asymptotic behaviour of y=g(x)y = g(x) as xx \to -\infty and as xx \to \infty.

By the chain rule for ln\ln with h(x)=1+exh(x) = 1 + e^{x}, h(x)=exh'(x) = e^{x},

g(x)=ex1+ex.g'(x) = \frac{e^{x}}{1 + e^{x}}.

Both numerator and denominator are positive for every real xx, and the numerator is strictly less than the denominator, so 0<g(x)<10 < g'(x) < 1.

For the asymptotic behaviour, factor exe^{x} out of the argument of the logarithm:

g(x)=ln(1+ex)=ln ⁣(ex(ex+1))=ln(ex)+ln(ex+1)=x+ln(1+ex).g(x) = \ln(1 + e^{x}) = \ln \!\left( e^{x} (e^{-x} + 1) \right) = \ln(e^{x}) + \ln(e^{-x} + 1) = x + \ln(1 + e^{-x}).

As xx \to \infty, ex0e^{-x} \to 0 (Lesson 5AM, decreasing-curve case of ekxe^{k x} with k=1k = -1), so ln(1+ex)ln1=0\ln(1 + e^{-x}) \to \ln 1 = 0. Therefore g(x)x0g(x) - x \to 0, so the graph approaches the line y=xy = x on the right. As xx \to -\infty, ex0e^{x} \to 0, so g(x)ln1=0g(x) \to \ln 1 = 0; the horizontal line y=0y = 0 is the asymptote on the left.

The softplus curve y = ln(1 + e^x) from x = -5 to x = 5. The curve flattens to y = 0 on the left and rises along the line y = x on the right. Both limiting lines are drawn dotted.

The softplus is a smooth replacement for the kinked piecewise function that equals 00 for x0x \leq 0 and equals xx for x>0x > 0: it has the same limiting shape, but its derivative exists everywhere.

Problem 9

Differentiate. Each is one or two applications of the rules from Lessons 5AM and 5PM.

  1. y=ex(x23x+1)y = e^{x} (x^{2} - 3 x + 1), then factor yy'.
  2. y=e2x1+exy = \dfrac{e^{2 x}}{1 + e^{x}}, simplifying yy' as a single fraction.
  3. y=ln ⁣(ex+1ex1)y = \ln \!\left( \dfrac{e^{x} + 1}{e^{x} - 1} \right) on x>0x > 0. Split using LIII before differentiating.
  4. y=(1+ex)1/2y = (1 + e^{x})^{1/2}.
  5. y=ln ⁣(x2+4ex)y = \ln \!\left( \sqrt{x^{2} + 4} \cdot e^{x} \right). Simplify using LI and LIV first.
Problem 10

The sigmoid function is

σ(x)=11+ex,\sigma(x) = \frac{1}{1 + e^{-x}},

Show by direct differentiation that

σ(x)=σ(x)(1σ(x)).\sigma'(x) = \sigma(x) \, \bigl(1 - \sigma(x)\bigr).

This identity expresses the derivative entirely in terms of σ(x)\sigma(x).

Problem 11

For each of the following, find every relative extreme point on the indicated domain and classify it using either the first or the second derivative test.

  1. f(x)=xexf(x) = x \, e^{-x} on the real line.
  2. f(x)=(lnx)2f(x) = (\ln x)^{2} on x>0x > 0.
  3. f(x)=x2ex2f(x) = x^{2} \, e^{-x^{2}} on the real line.
  4. f(x)=exxf(x) = \dfrac{e^{x}}{x} on x>0x > 0.

Higher Derivatives

The derivative formulas ddx(ekx)=kekx\dfrac{d}{dx}(e^{k x}) = k \, e^{k x} and ddx(lnx)=1/x\dfrac{d}{dx}(\ln x) = 1/x are stable enough under repeated differentiation to admit closed-form nnth derivatives.

Recitation 2 named the first two derivatives of a position function s(t)s(t): the velocity v(t)=s(t)v(t) = s'(t) and the acceleration a(t)=s(t)a(t) = s''(t). The pattern continues. The third derivative s(t)s'''(t) is the rate at which acceleration itself changes. For our purposes, higher derivatives are simply the functions obtained by differentiating more than twice.

The notation

dndxnf(x)\frac{d^{n}}{dx^{n}} f(x)

means applying ddx\dfrac{d}{dx} to ff a total of nn times. Thus n=1n = 1 gives ff', n=2n = 2 gives ff'', and n=3n = 3 gives ff'''.

Example 8 (Higher derivatives of xexx \, e^{x})

Find a closed form for the nnth derivative of f(x)=xexf(x) = x \, e^{x}.

By the product rule,

f(x)=1ex+xex=(x+1)ex.f'(x) = 1 \cdot e^{x} + x \cdot e^{x} = (x + 1) \, e^{x}.

Differentiating again,

f(x)=ex+(x+1)ex=(x+2)ex,f''(x) = e^{x} + (x + 1) \, e^{x} = (x + 2) \, e^{x},

and once more,

f(x)=ex+(x+2)ex=(x+3)ex.f'''(x) = e^{x} + (x + 2) \, e^{x} = (x + 3) \, e^{x}.

Each application of the product rule introduces a new exe^{x} from the derivative of the polynomial factor and leaves the polynomial part unchanged, so the constant term grows by 11 each round. Differentiating (x+n)ex(x + n) \, e^{x} by the product rule produces

ddx[(x+n)ex]=ex+(x+n)ex=(x+n+1)ex,\frac{d}{dx} \bigl[(x + n) \, e^{x}\bigr] = e^{x} + (x + n) \, e^{x} = (x + n + 1) \, e^{x},

so once the formula holds at level nn, the same product rule applied once more delivers it at level n+1n + 1. The first three derivatives above start the chain at n=1,2,3n = 1, 2, 3, and every subsequent level continues by the same one-step calculation:

dndxn(xex)=(x+n)ex.\frac{d^{n}}{d x^{n}} (x \, e^{x}) = (x + n) \, e^{x}.
Problem 12

For g(x)=ekxg(x) = e^{k x} with constant kk, compute gg', gg'', gg''', and g(4)g^{(4)} directly, identify the pattern, and write down the closed form for the nnth derivative

dndxn(ekx)=knekx\frac{d^{n}}{d x^{n}} (e^{k x}) = k^{n} \, e^{k x}

together with a one-line argument that differentiating knekxk^{n} \, e^{k x} once more produces kn+1ekxk^{n + 1} \, e^{k x}, so each level forces the next. Use the formula to compute the third and fourth derivatives of y=5e2xy = 5 \, e^{-2 x} at x=0x = 0.

Problem 13

Find the nnth derivative of f(x)=lnxf(x) = \ln x on x>0x > 0, for n1n \geq 1. Compute the first four derivatives, identify the pattern, and express the closed form using (1)n1(-1)^{n - 1}, a factorial of n1n - 1, and a power of xx. Here (n1)!(n - 1)! means the product 12(n1)1 \cdot 2 \cdots (n - 1), with 0!=10! = 1.

Problem 14

For f(x)=(x2+x)exf(x) = (x^{2} + x) \, e^{x}, compute f(x)f'(x), f(x)f''(x), and f(x)f'''(x), factoring the polynomial part each time. Predict f(4)(x)f^{(4)}(x) from the pattern, then differentiate to verify.

Exercises

Exercise 1

A bacteria culture grows so that N(0)=1000N(0) = 1000 and N(3)=8000N(3) = 8000, with N(t)=N0ektN(t) = N_{0} \, e^{k t}.

  1. Find kk in closed form involving ln2\ln 2.
  2. Find the doubling time of the culture, in closed form. Verify it equals 11 hour.
  3. Predict N(10)N(10) in closed form, leaving the answer as a power of 22 multiplied by 10001000.
Exercise 2

A radioactive isotope has half-life T1/2T_{1/2} years. Working only from M(t)=M0e(ln2/T1/2)tM(t) = M_{0} \, e^{-(\ln 2 / T_{1/2}) t}, show that:

  1. The fraction of the original mass remaining after nT1/2n T_{1/2} years is exactly 2n2^{-n}, for every positive integer nn.
  2. The time required for the mass to decay to 1%1\% of its original value is T1/2ln100ln2T_{1/2} \cdot \dfrac{\ln 100}{\ln 2}.
  3. The fractional rate of decay M(t)/M(t)|M'(t)|/M(t) is the constant (ln2)/T1/2(\ln 2)/T_{1/2} at every tt.
Exercise 3

The function f(x)=xex2/2f(x) = x \, e^{-x^{2}/2} is a line multiplied by a Gaussian-shaped factor.

  1. Find every relative extreme point of ff on the real line, and classify each.
  2. Determine the maximum value of f|f| and the points at which it is attained.
  3. Find every inflection point of ff, in closed form.
Exercise 4

A British investor places PP pounds in an account earning continuous interest at rate rr per year, so the balance is B(t)=PertB(t) = P \, e^{r t}.

  1. Determine rr if the balance doubles in 1212 years; leave the answer in closed form.
  2. Using that rr, find the time at which the balance first reaches 10P10P pounds, in closed form involving ln10\ln 10 and ln2\ln 2.
  3. Compute the rate of growth B(t)B'(t) at the moment the balance first reaches 2P2P pounds, in closed form involving rr and PP.
Exercise 5

For the softplus g(x)=ln(1+ex)g(x) = \ln(1 + e^{x}):

  1. Compute g(x)g''(x) and show that gg is concave up everywhere on the real line.
  2. Use the rewrite g(x)=x+ln(1+ex)g(x) = x + \ln(1 + e^{-x}) from the worked example to verify directly that g(x)x0g(x) - x \to 0 as xx \to \infty.
  3. Find every xx at which g(x)=1/2g'(x) = 1/2, in closed form. Compute gg at that point.
Exercise 6

A drug’s bloodstream concentration is modelled by

C(t)=C0teλt,t0,λ>0,C(t) = C_{0} \, t \, e^{-\lambda t}, \qquad t \geq 0, \quad \lambda > 0,

the same delay-then-decay family that appeared as a problem in Lesson 5AM.

  1. Find C(t)C'(t) and locate the time at which the concentration peaks.
  2. Express the peak concentration in closed form in terms of C0C_{0}, λ\lambda, and ee.
  3. Show that the peak time equals the time constant of the underlying decay eλte^{-\lambda t}. Interpret in one sentence.
Exercise 7

Let f(x)=xxf(x) = x^{x} on x>0x > 0, and let g(x)=(lnx)xg(x) = (\ln x)^{x} on x>1x > 1. Differentiate each by logarithmic differentiation, then locate every critical number of ff and of gg in closed form. State, with reasons drawn from this recitation and Lesson 5PM, whether each critical number is a relative minimum, maximum, or neither.

Exercise 8

Find the nnth derivative of f(x)=(ax+b)ecxf(x) = (a x + b) \, e^{c x} in closed form for constants a,b,ca, b, c and n1n \geq 1. Your formula should also work when c=0c = 0. Verify it by specialising to a=1,b=0,c=1a = 1, b = 0, c = 1 to recover dndxn(xex)=(x+n)ex\dfrac{d^{n}}{dx^{n}}(x \, e^{x}) = (x + n) e^{x}, and to a=0,b=1,c=ka = 0, b = 1, c = k to recover dndxn(ekx)=knekx\dfrac{d^{n}}{dx^{n}}(e^{k x}) = k^{n} e^{k x}.