Exercise 5.5 · Q15: if
Find of the function given by
Taking log on both sides (),
Differentiating both sides w.r.t. ,
Want the reason behind every step, the basics and the checks?
The exponential is awkward to differentiate implicitly, but its logarithm is simply . Because is always positive, is positive too, so we may take logs of both sides: . Implicit differentiation then gives a linear equation for .
- Given
- , with a differentiable function of .
- To find
- , and where the formula holds.
- Plan
- (1) See which points can lie on the curve. (2) Take logs. (3) Differentiate both sides. (4) Clear fractions and collect. (5) Solve, and find where the formula fails. (6) Confirm by a route without logs.
Basics you need
for every real , and (Section 5.4). Basics: exponentials and logarithms
For : (Theorem 5 with the chain rule). Basics: derivative rules
Differentiate both sides with respect to , then solve for (Section 5.3.2). Basics: solving for dy/dx
Solution
Which points can lie on the curve?
The right side is positive for all . So on the curve
and are both non-zero and have the same sign. The curve has a piece with (for example , since ) and a piece with (for example , since ).
This tells us the logarithm of always exists on the curve, even on the negative piece, where neither nor exists. It also tells us , which we use when we divide later.for every real (range of the exponential function, Section 5.4). Basics: exponentials and logarithmsTake logarithms of both sides
Both sides are positive, so
The log undoes the exponential: . We keep as the log of one positive number. On the positive piece one may write it as (that is what most solutions do), but on the negative piece that split is not allowed; keeping works on both pieces.(Section 5.4). Lesson: logarithmic differentiationDifferentiate both sides with respect to
Left: with , the product rule gives , so
Right: . Hence
is a composite: outer , inner . Its derivative is times the derivative of , and is a product of and , both depending on .Chain rule (Theorem 4, Section 5.3.1); product rule (Section 5.3). Lesson: implicit differentiationClear the fraction and collect the terms
Multiply both sides by (non-zero):
Collect:
Moving to the left and to the right; then take out the common factors on the left and on the right.Rearranging a linear equation; factorising. Basics: solving for dy/dxSolve for , and find where it fails
valid where . We know on the curve, so the only problem is . On the curve, means . The function has , so it is decreasing and has at most one zero; . So the only point of the curve with is
There Step 4 reads , which no number can satisfy: the curve has a vertical tangent at (see the figure).
The formula holds at every point of the curve except . Turning it upside down, is at , which is what a vertical tangent means. At the formula gives : a horizontal tangent. On the positive piece , and are positive, so has the sign of : falls for and rises for (Theorem 1 of Chapter 6 again), which makes the lowest point of that piece.A function with negative derivative is decreasing (Theorem 1, Section 6.3, in the later Chapter 6); division needs a non-zero divisor. Basics: slope at a pointA second route, without logs
Differentiate directly. Left: product rule, . Right: chain rule with inner function :
Replace by (they are equal on the curve):
which is exactly the equation of Step 4. So both routes give the same .
This confirms the answer, and shows what the logs did: they turned into before differentiating, instead of replacing it by afterwards.(Theorem 5 with the chain rule). Basics: exponentials and logarithms
at every point of the curve except , where the tangent is vertical. (Textbook answer: , the same.)
At , solving numerically gives (check: and ). The formula gives
Solving for at and dividing the change by gives .
On the negative piece at there are two points: with slope , and with slope . The difference quotients give the same two values.
- Writing without noticing that it needs ; on the negative piece use .
- Forgetting the inner derivative of in the direct route.
- Dropping from the product rule: .
- Not stating where the formula fails: , which happens only at .
- Logs turn into "something", which simplifies implicit differentiation.
- Before taking logs, check positivity: here automatically.
- Where the coefficient of vanishes, look for a vertical tangent.
Every fact used, and where it comes from
| Fact | Used in | Source |
|---|---|---|
| ; | Steps 1, 2 | Section 5.4 |
| Logarithmic differentiation (positive quantities only) | Step 2 | Section 5.5 (Lesson: logarithmic differentiation) |
| ; | Steps 3, 6 | Theorem 5, Section 5.4 |
| Product rule; chain rule | Steps 3, 6 | Section 5.3; Theorem 4, Section 5.3.1 |
| Implicit differentiation | Steps 3–6 | Section 5.3.2 (Lesson: implicit differentiation) |
| Negative derivative means decreasing | Step 5 | Theorem 1, Section 6.3, Chapter 6 (a later chapter; not proved in Chapter 5) |
Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →