A5 · Lesson 16 · Logarithms and inverses
The slope of ln x is 1/x
A diode's voltage is a logarithm of its current, . A decibel meter reads a logarithm of power. A phase meter reports an arctangent. To know how sensitive any of these is to a small change, you need the derivative of a logarithm or an inverse trig function. They all follow from one idea: the slope of an inverse function is the reciprocal of the original's slope, at the matching point.
- The curves are and its inverse , mirror images in the dashed line .
- The point on is at ; its mirror on is at . Compare the two slopes in the strip.
- How are they related, and why?
Predict
The slope of at is . What is the slope of at ?
. Reflecting a graph in swaps rise and run, so the mirror point's slope is the reciprocal. at mirrors at . In general the slope of is .
Name it
Inverse functions
If , then . Differentiating implicitly, , so
The slope of the inverse is one over the slope of the original, at the mirrored point.
Logarithms
With , , and :
and with the chain rule, . Other exponentials follow from :
Inverse trig functions
The arctangent's derivative is how a phase measurement's sensitivity is found: the phase of an RC low-pass is , so it changes fastest, at per rad/s, right at the corner.
Logarithmic differentiation
For products and powers, take logs first. If , then , and , so . The same trick gives relative sensitivities: for , , so , exactly the rule A1 stated for small changes.
Worked example
How sensitive is a diode's voltage to its current at 1 mA, and at 10 mA? Use with = 25.85 mV.
Show the solution
- Differentiate.
- At 1 mA.
- At 10 mA.
- In relative terms. so a 1% change in current changes the voltage by 0.26 mV, at any current.
- Doubling the current. the familiar "18 mV per octave" of a diode.
Answer is 25.85 Ω at 1 mA and 2.585 Ω at 10 mA.
Worked example
Differentiate and find the slope at .
Show the solution
- Chain rule.
- Evaluate at .
- Check with the inverse rule. , and the slope of at is The reciprocal is 1.
Answer , and the slope at is 1.
Worked example
Differentiate and find its slope at .
Show the solution
- Take logs first. Neither the power rule nor the exponential rule fits, since both the base and the exponent vary:
- Differentiate both sides. so
- Evaluate at .
Answer , and the slope at is 6.77.
Check
Differentiate .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Check
A diode follows with = 25.85 mV. What is at = 0.5 mA?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
What is the slope of at = 2?
Check
What is the slope of at = 0.5?
Check
An RC low-pass ( = 1 kΩ, = 10 nF) has phase . What is at the corner, , in seconds (radians per rad/s)?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Differentiate these at = 0.5.
(a)
(b)
(c)
, by logarithmic differentiation
Check
Derive the derivative of from .
Step 1
Differentiating gives . Write in terms of .
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Solve for .
Step 3
With the chain rule, what is the derivative of ?
Explain why
Why is the slope of an inverse function the reciprocal of the original function's slope?
The graph of an inverse function is the original graph reflected in the line , which swaps every point's coordinates. Swapping the coordinates also swaps rise and run for any small step along the curve, so a slope of becomes at the mirrored point. In symbols, differentiating gives .
Practice
Keep practicing
9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.