Skip to content

Capacitors

Find the current through a capacitor from a piecewise-linear voltage, and its voltage from a current pulse, using i = C dv/dt and v = v(0) + (1/C)∫i dt, and find the stored energy ½Cv².

It opens on

A 2 µF capacitor's voltage ramps from 0 to 10 V in 2 ms, then holds. Is the current during the ramp constant, growing or zero, and during the hold?

Why it matters

The capacitor is the first element whose current depends on how fast its voltage changes, not on the voltage itself. Every transient and AC problem uses these two relations, and exams give a ramp or a pulse and ask for the other waveform.

Good to know first

  • Ohm's law
  • slope of a straight line
  • area under a constant

Step by step

  1. Current from voltage

    Use i = C dv/dt on a piecewise-linear voltage to find the current in each interval, and find the charge and energy stored.

    For C = 2 µF the ramp rises 10 V in 2 ms, a slope of 5 V/ms = 5000 V/s. So i = 2 µF × 5000 V/s = 10 mA, constant through the ramp.

    i = 2 µF × 5000 V/s = 10 mA

    A common mix-up

    A capacitor at 10 V must carry current because it has a voltage.

    In fact: The current is C times the slope, so a steady 10 V means zero current.

  2. Voltage from current

    Use v(t) = v(t₀) + (1/C)∫i dt on a piecewise-constant current, and find the energy at each end of each interval.

    Start with v(0) = 1 V. From 0 to 3 ms the current is 4 mA, an area of 4 mA × 3 ms = 12 µC, so v(3 ms) = 1 + 12 µC / 2 µF = 7 V.

    v(3 ms) = 1 + 12/2 = 7 V

    A common mix-up

    The voltage is the current times C or divided by C at each instant.

    In fact: It is the accumulated area, so it also depends on where it started.

  3. Why the voltage cannot jump

    Explain that capacitor voltage is continuous while the current may jump, and find the values just after switching, long after, and the energy balance of a charging RC circuit.

    Just after, vC = 0 still, so all 10 V is across R and i(0⁺) = 10 V / 1 kΩ = 10 mA. The current jumped from 0, and the uncharged capacitor acts like a short at that instant.

    i(0⁺) = 10 mA

    A common mix-up

    The capacitor voltage can change instantly with the source.

    In fact: Only the current can jump; the voltage follows the slow charging of the charge on the plates.

Try it

A 4 µF capacitor's voltage ramps from 0 to 6 V in 3 ms. Find the current and the charge at the end.Answer

8 mA and 24 µC

Hint: Slope 2000 V/s

A 5 µF capacitor starts at 2 V and carries 3 mA for 2 ms. Find the final voltage.Answer

3.2 V, since 2 + (3 mA × 2 ms)/5 µF

Hint: Area 6 µC

A 6 V source in series with 2 kΩ charges a 1 µF capacitor from rest. Find i(0⁺), the final voltage, the energy stored and the energy delivered by the source.Answer

3 mA, 6 V, 18 µJ and 36 µJ

Hint: Q = Cv

From 4 ms to 5 ms the voltage falls from 10 V to 0. What is the current?Answer

−20 mA, since the slope is −10 V/ms = −10,000 V/s; negative means the capacitor is discharging

What is v at 1 ms?Answer

3 V, since 1 + (4 mA × 1 ms)/2 µF

Capacitors

30 minutes every month. No card.