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

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 x=1 unless the two pieces meet. Adjust c until the jump closes.
  • With the pieces meeting, is there any x where the graph has a break?

Predict

f(x)=x2+1 for x<1 and c+2x for x≥1. What value of c makes f continuous at 1?

Name it

What continuity means

f is continuous at a when

limx→a⁡f(x)=f(a)

which packs in three requirements: f(a) 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 f(a) is missing or different (the hole in x2−9x−3);
  • an infinite one: a vertical asymptote.

Polynomials, ex, sin⁡ and cos⁡ are continuous everywhere; rational functions and ln⁡ 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 (i=Cdv/dt) or infinite voltage (v=Ldi/dt). So at a switching instant, vC(0+)=vC(0−) and iL(0+)=iL(0−). Other quantities, like a resistor's current, can jump.

The intermediate value theorem

If f is continuous on [a,b] and N is any value between f(a) and f(b), then f(c)=N for some c in [a,b].

In particular, if f(a) and f(b) have opposite signs, f 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: 1/x changes sign between −1 and 1 but is never zero.

Worked example

Is f(x)=x2−4x−2 continuous at 2? Can it be fixed?

Show the solution
  1. Check f(2). f(2) is undefined (0/0), so f isn't continuous at 2.
  2. Find the limit. For x≠2, f(x)=x+2, so limx→2⁡f=4
  3. Fix it. The discontinuity is removable: defining f(2)=4 makes f continuous, and then it's just the line x+2.

Answer no, but the discontinuity is removable: defining f(2)=4 fixes it.

Worked example

Show that x3+x−3=0 has a root between 1 and 2, and narrow it down.

Show the solution
  1. Check the ends. f is a continuous polynomial, with f(1)=−1<0,f(2)=7>0 so by the intermediate value theorem there's a root in (1,2).
  2. Bisect at 1.5. f(1.5)=1.875>0 so the root is in (1,1.5).
  3. Bisect at 1.25. f(1.25)=0.203>0 so it's in (1,1.25).
  4. Bisect at 1.125. f(1.125)=−0.451<0 so it's in (1.125,1.25).

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
  1. The current can't jump. An inductor's current is continuous: a jump would take infinite voltage (v=Ldi/dt) and change its stored energy instantly.
  2. Voltage across the resistor. Just after the switch the current is still 2 A, now through the resistor: v=2A×10Ω=20V
  3. 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

f(x)=x2+1 for x<2 and c+2x for x≥2. What value of c makes f continuous?

Check

f(x)=x2−32x−3 has a removable discontinuity at 3. What value of f(3) removes it?

Check

A 10 µF capacitor sits at 4 V. At t=0 a switch connects it through 1 kΩ to 12 V. What is the capacitor's voltage at t=0+?

Check

How many roots does x3+1x−1 have between 0 and 2? (It's increasing everywhere, since 3x2+1>0.)

Check

f(−1)=−1 and f(1)=1 for f(x)=1/x. Why doesn't the intermediate value theorem promise a root in [−1,1]?

Check

f(x)=x3+x−5 is continuous, so the intermediate value theorem applies.

(a)

What is f(1)?

(b)

What is f(2)? (Opposite signs mean a root lies between 1 and 2.)

(c)

Bisect once: check f(1.5) and keep the half with a sign change. What is the midpoint of the new bracket?

Check

f(x)=ax+b for x<1 and f(x)=x2+k for x≥1. Find the k that makes f continuous.

Step 1

What is the limit from the left at x=1?

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 can't the voltage across a capacitor change instantly, and why does that matter when you analyze a switching circuit?

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.