Take the following circuit that shows a system which can be used to both charge and discharge a capacitor through a resistor . If the capacitor is fully charged and then the switch is flicked so that the connection is to the B lead, the capacitor will discharge. The equation to charge the capacitor is derived on this page. Here we will look at how to derive the discharging of a capacitor equation;

Only focussing on the right hand side of this circuit (with the B terminal connected to the capacitor and using Kirchhoff’s 1st law), we can write;

(1)

where

is the voltage across the capacitor

is the current flowing from the capacitor and through resistor

A discharging capacitor has charge flowing from the plate in which it has excess electrons to the plate where it has an absence of electrons. As such, as the capacitor discharges it loses its charge over time. The current therefore decreases over time because there is less charge being able to flow around the circuit. Therefore the current flow decreases over time. Since , we can write;

(2)

Since, by definition ;

(3)

Substituting equations and into gives;

Rearranging to give ;

In order to integrate and remove the ‘rate of change of time’, so exact values for charge at a particular time frame can be given;

Putting the equation into this form tells us to integrate the equation. If the capacitor is to be charged from a start time of , where it has full charge ( where ), to another point in time where it will contain some (lesser) charge we can write;

This equation becomes;

Using log rules whereby , this becomes;

Taking the exponential of both sides gives;

Rearranging for q gives;

where

is the charge at some time , often written as and so;

Dividing by C gives;

Since and

where

is the p.d. at time

is the maximum p.d. which would be at time

A graphical representation of this equation would give;

where voltage would be on the y-axis and time on the x-axis.

This goes against what we should expect – we should see that the voltage decreases as it is discharge.

When fully charged, the capacitor should hold a maximum p.d, this should decrease but the rate in which it decreases should also decrease (the gradient get shallower) because their are fewer electrons exerting the electrostatic force on the charges to move around the circuit. The following graph should be what we expect;

Where the voltage decreases such that at time .

So what is wrong with the derivation above?

It is something to with this section right at the start;

If you look at the circuit diagram, if this capacitor were to be charged the electron flow around the left hand side of the circuit would be anticlockwise. This would result in electrons being deposited on the lower side of the capacitor and therefore an absence of electron on the top plate (positive charge);

So this is the circuit we have before discharge takes place.

If the switch were flicked such that the B terminal were connected to the capacitor instead of the A terminal, the capacitor would discharge (as we saw previously) around the right hand side of the circuit.

The electrons would then flow back through the resistor (in the opposite direction they took to when they were charging.

The electron flow has reverse.

With this in mind the equation

needs to change to;

That negative changes the whole equation, so lets substitute it back in and re-derive the discharging of a capacitor equation;

(1)

The discharging capacitor has charge flowing from the plate in which it has excess electrons to the plate where it has an absence of electrons. As such, as the capacitor discharges it loses its charge over time. The current therefore decreases over time because there is less charge being able to flow around the circuit. Therefore the current flow decreases over time. Since , additionally, the current should be negative and so we can write;

(2)

Since, by definition ;

(3)

Substituting equations and into gives;

Rearranging to give ;

In order to integrate and remove the ‘rate of change of time’, so exact values for charge at a particular time frame can be given;

Putting the equation into this form tells us to integrate the equation. If the capacitor is to be charged from a start time of , where it has full charge ( where ), to another point in time where it will contain some (lesser) charge we can write;

This equation becomes;

Using log rules whereby , this becomes;

Taking the exponential of both sides gives;

Rearranging for q gives;

where

is the charge at some time , often written as and so;

Dividing by C gives;

Since and

where

is the p.d. at time

is the maximum p.d. which would be at time

Thinking back to the original step where;

When charging the capacitor, and

Therefore and so

Since ,

Since ;

Lastly, since ;

where

is the initial current, at the start of the process of discharging the capacitor.