A2 · Lesson 10 · Exponentials and logarithms
How long until the capacitor reaches 3.3 V?
A capacitor charging toward 5 V follows . Asking "what's the voltage at time ?" is easy: put in. Engineers usually ask the reverse: when does it reach 3.3 V, the threshold where a logic input flips? That's undoing an exponential, and the tool for it is the natural logarithm. Every timing circuit, from a reset delay to a 555 oscillator, is designed with it.
Play
- The two curves are and . The dashed line is .
- Move . The dot on is at , and its partner on is at . How are the two dots placed relative to the dashed line?
- What is for between 0 and 1?
Predict
and undo each other. What is ?
- The natural log asks "what power of gives this?", and the answer for is 7. That's why their graphs are mirror images in the line : swapping input and output is exactly what an inverse does.
Name it
The number
is the base that makes exponential growth simplest. It's the limit of compounding more and more often:
( gives 2.594, gives 2.717.) Its special property, which calculus (A5) shows, is that grows at a rate equal to its own value. That's why every RC and RL circuit, every radioactive decay and every population with a fixed growth rate is written with .
The natural logarithm
is the inverse of :
It obeys the same rules as :
Values worth knowing: , , , . Numbers below 1 have negative logs, and isn't defined for .
Any other base converts through :
so .
Solving for time
To solve : divide by , take of both sides, divide by :
For a capacitor charging toward with time constant , the time to reach is
A 555 timer charges its capacitor from to toward . The remaining gap goes from to , a factor of 2, so the time is .
Worked example
Solve .
Show the solution
- Divide by 3.
- Take ln of both sides. So .
- Check.
- Exact form. Note that , so exactly.
Answer , about 1.386.
Worked example
A capacitor charges toward 5 V with = 10 ms. When does it reach 3.3 V?
Show the solution
- Use the charging formula, solved for time.
- Sanity check. After one time constant (10 ms) a capacitor is at 63% of the way, 3.16 V, just short of 3.3 V. So a little over 10 ms is right.
Answer it reaches 3.3 V after 10.8 ms.
Worked example
A thermistor follows , with = 10 kΩ at = 298.15 K and = 3950 K. What temperature makes it read 5 kΩ?
Show the solution
- Take the natural log. Divide by and take the natural log of both sides:
- Solve for 1/T.
- Put in the numbers. With : per kelvin.
- Invert. or 41.5 °C.
- Check the direction. The resistance halved, so the part warmed up: this kind of thermistor loses resistance as it heats.
Answer it reads 5 kΩ at 314.6 K, or 41.5 °C.
Check
Solve for .
Check
What is ?
Check
A capacitor charges toward 5 V with = 22 ms. How many milliseconds until it reaches 2 V?
Check
A 555 timer charges its capacitor from a third to two-thirds of the supply, through 4.7 kΩ into 2.2 nF. How long does that take?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Simplify , writing ln(x) for .
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
What is ?
Check
A thermistor follows with = 10 kΩ at = 298.15 K and = 3435 K. It reads 30 kΩ.
(a)
What is ?
(b)
What is the temperature, in kelvin?
Write units the way you normally would: 1.5 K and 1500 mK are the same answer.
(c)
What is that in degrees Celsius?
Check
A capacitor charges as . Derive when it reaches .
Step 1
Rearrange so the exponential is alone:
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
Take the natural log and solve for .
Step 3
Rewrite it without the minus sign, as .
Explain why
Why are the graphs of and mirror images of each other in the line ?
They're inverse functions: if , then . So every point on the graph of has a partner on the graph of , with the coordinates swapped. Swapping the coordinates of a point reflects it in the line , so the whole curve reflects into the other.
Practice
Keep practicing
12 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.