A5 · Lesson 6 · Continuity
Why a capacitor's voltage can't jump
Flip a switch and the current through a resistor can change instantly, but the voltage across a capacitor can't: moving charge onto its plates takes time. In math terms, the capacitor's voltage is a continuous function of time, and that one fact sets the starting point of every transient calculation in C2. Continuity also guarantees something useful: a continuous signal that starts below a threshold and ends above it must cross it somewhere, which is exactly what makes bisection work.
- The function jumps at unless the two pieces meet. Adjust until the jump closes.
- With the pieces meeting, is there any where the graph has a break?
Predict
for and for . What value of makes continuous at 1?
. From the left, ; from the right, the value is . They agree only when . Each piece being continuous isn't enough: the pieces have to meet where they join.
Name it
What continuity means
is continuous at when
which packs in three requirements: is defined, the limit exists, and they're equal. A function continuous at every point of an interval can be drawn there without lifting the pen.
Kinds of discontinuity:
- a jump: the one-sided limits differ (a step function);
- a removable one: the limit exists but is missing or different (the hole in );
- an infinite one: a vertical asymptote.
Polynomials, , and are continuous everywhere; rational functions and and wherever they're defined. Sums, products, quotients (with a nonzero bottom) and compositions of continuous functions are continuous.
Continuity in circuits
A capacitor's voltage and an inductor's current are continuous in time, because changing them instantly would take infinite current () or infinite voltage (). So at a switching instant, and . Other quantities, like a resistor's current, can jump.
The intermediate value theorem
If is continuous on and is any value between and , then for some in .
In particular, if and have opposite signs, has a root between them. That's the guarantee behind bisection (A4): halving keeps the sign change, and continuity promises a root inside. Without continuity it fails: changes sign between −1 and 1 but is never zero.
Worked example
Is continuous at 2? Can it be fixed?
Show the solution
- Check . is undefined (0/0), so isn't continuous at 2.
- Find the limit. For , , so
- Fix it. The discontinuity is removable: defining makes continuous, and then it's just the line .
Answer no, but the discontinuity is removable: defining fixes it.
Worked example
Show that has a root between 1 and 2, and narrow it down.
Show the solution
- Check the ends. is a continuous polynomial, with so by the intermediate value theorem there's a root in .
- Bisect at 1.5. so the root is in .
- Bisect at 1.25. so it's in .
- Bisect at 1.125. so it's in .
Answer there's a root between 1 and 2, at about 1.213.
Worked example
An inductor carrying 2 A is suddenly switched so its current must flow through a 10 Ω resistor. What voltage appears across the resistor just after the switch?
Show the solution
- The current can't jump. An inductor's current is continuous: a jump would take infinite voltage () and change its stored energy instantly.
- Voltage across the resistor. Just after the switch the current is still 2 A, now through the resistor:
- Why it matters. That voltage can be far larger than anything in the circuit before the switch. With a bigger resistor, or an open switch, it would be bigger still, which is why inductive loads need a path for their current when they're switched off.
Answer 20 V appears across the resistor just after the switch.
Check
for and for . What value of makes continuous?
Check
has a removable discontinuity at 3. What value of removes it?
Check
A 10 µF capacitor sits at 4 V. At a switch connects it through 1 kΩ to 12 V. What is the capacitor's voltage at ?
Check
How many roots does have between 0 and 2? (It's increasing everywhere, since .)
Check
and for . Why doesn't the intermediate value theorem promise a root in ?
Check
is continuous, so the intermediate value theorem applies.
(a)
What is ?
(b)
What is ? (Opposite signs mean a root lies between 1 and 2.)
(c)
Bisect once: check and keep the half with a sign change. What is the midpoint of the new bracket?
Check
for and for . Find the that makes continuous.
Step 1
What is the limit from the left at ?
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
The value at 1 is . What must be?
Explain why
Why can't the voltage across a capacitor change instantly, and why does that matter when you analyze a switching circuit?
A capacitor's current is , so an instant jump in voltage would need an infinite rate of change and so infinite current, which no real circuit can supply. The voltage is therefore a continuous function of time. When a switch operates at , that means the capacitor's voltage just after is the same as just before, , which gives the starting condition for working out what happens next. Quantities like a resistor's current are free to jump.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.