A210 of 29
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A2 · Lesson 10 · Exponentials and logarithms

How long until the capacitor reaches 3.3 V?

A capacitor charging toward 5 V follows v=5(1−e−t/τ). Asking "what's the voltage at time t?" is easy: put t 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 ex and ln⁡x. The dashed line is y=x.
  • Move a. The dot on ex is at (a,ea), and its partner on ln⁡x is at (ea,a). How are the two dots placed relative to the dashed line?
  • What is ln⁡x for x between 0 and 1?

Predict

ex and ln⁡x undo each other. What is ln⁡(e7)?

Name it

The number e

e=2.71828… is the base that makes exponential growth simplest. It's the limit of compounding more and more often:

(1+1n)n→eas n→∞

(n=10 gives 2.594, n=1000 gives 2.717.) Its special property, which calculus (A5) shows, is that ex 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 e.

The natural logarithm

ln⁡x is the inverse of ex:

eln⁡x=x(x>0)ln⁡(ex)=x

It obeys the same rules as log10⁡:

ln⁡(ab)=ln⁡a+ln⁡bln⁡ab=ln⁡a−ln⁡bln⁡(an)=nln⁡a

Values worth knowing: ln⁡1=0, ln⁡e=1, ln⁡2=0.693, ln⁡10=2.303. Numbers below 1 have negative logs, and ln⁡x isn't defined for x≤0.

Any other base converts through ln⁡:

logb⁡x=ln⁡xln⁡b

so log2⁡1000=6.908/0.693=9.97.

Solving for time

To solve Aekt=B: divide by A, take ln⁡ of both sides, divide by k:

t=1kln⁡BA

For a capacitor charging toward V with time constant τ, the time to reach v is

v=V(1−e−t/τ)⇒t=τln⁡VV−v

A 555 timer charges its capacitor from 13V to 23V toward V. The remaining gap goes from 23V to 13V, a factor of 2, so the time is τln⁡2=0.693RC.

Worked example

Solve 3e2t=48.

Show the solution
  1. Divide by 3. e2t=16
  2. Take ln of both sides. 2t=ln⁡16=2.773 So t=1.386.
  3. Check. 3e2.773=3×16.0=48
  4. Exact form. Note that ln⁡16=4ln⁡2, so t=2ln⁡2 exactly.

Answer t=2ln⁡2, about 1.386.

Worked example

A capacitor charges toward 5 V with τ = 10 ms. When does it reach 3.3 V?

Show the solution
  1. Use the charging formula, solved for time. t=τln⁡VV−v=10ms×ln⁡55−3.3=10ms×ln⁡2.941=10.8ms
  2. 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 R=R0eB(1/T−1/T0), with R0 = 10 kΩ at T0 = 298.15 K and B = 3950 K. What temperature makes it read 5 kΩ?

Show the solution
  1. Take the natural log. Divide by R0 and take the natural log of both sides: ln⁡RR0=B(1T−1T0)
  2. Solve for 1/T. 1T=1T0+ln⁡(R/R0)B
  3. Put in the numbers. With ln⁡0.5=−0.6931: 1T=0.003354−0.0001755=0.003179 per kelvin.
  4. Invert. T=314.6K or 41.5 °C.
  5. 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 3e0.5t=75 for t.

Check

What is log3⁡50?

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 ln⁡(e3x2), writing ln(x) for ln⁡x.

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 eln⁡3+ln⁡5?

Check

A thermistor follows R=R0eB(1/T−1/T0) with R0 = 10 kΩ at T0 = 298.15 K and B = 3435 K. It reads 30 kΩ.

(a)

What is ln⁡(R/R0)?

(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 v(t)=V(1−e−t/τ). Derive when it reaches v.

Step 1

Rearrange so the exponential is alone: e−t/τ=?

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°.

Explain why

Why are the graphs of ex and ln⁡x mirror images of each other in the line y=x?

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.