# Homework Help: Discharge of a capacitor

1. Nov 21, 2011

### Ahmedbasil

1. The problem statement, all variables and given/known data
You have a capacitor, of capacitance C farads, with charge Q coulombs. It is connected in series with a resistor of resistance R ohms. Derive an expression for the potential difference over the capacitor at any time t.

2. Relevant equations and theorems
$$I_{c} = C\frac{dV_{c}}{dt}$$
$$V = IR$$

*Kirchhoff's voltage law

3. The attempt at a solution
Using KVL:

$$V_{c} - I_{c} R = 0$$
$$V_{c} = RC\frac{dV_{c}}{dt}$$
$$\frac{1}{RC} dt = \frac{1}{V_{c}} dV_{c}$$

then:

$$V_{c} (t) = V_{initial} e^{\frac{t}{RC}}$$

where

$$V_{initial} = \frac{Q}{C}$$

3. My concern

as t approaches infinity the potential difference over the capacitor also approaches infinity. This is definitely not right - the capacitor is discharging. Every textbook/website I look at comes up with the equation:

$$V_{c} (t) = V_{initial} e^{\frac{-t}{RC}}$$

For the life of me I cannot figure out what I'm doing wrong. I know what's supposedly wrong with my solution, but I cannot see the mathematical proof of the minus sign on the power of e.

I'd greatly appreciate any help or insight anyone could give.

2. Nov 21, 2011

### Staff: Mentor

It's a current direction issue. dV/dt will be negative for the capacitor, right? (It's discharging, so its voltage is dropping). But the current in your circuit you've defined to be positive flowing out of the capacitor. So you should start with Ic = -C dVc/dt.

3. Nov 21, 2011

### Ahmedbasil

I suppose that dVc/dt doesn't direction into account. Why doesn't it though? At first I considered this, but then I dismissed it, knowing that it's perfectly fine to have a rate of change w.r.t another variable negative. The equation should be:

$$I_{c} = C |\frac{dV_{c}}{dt}|$$

Anyway, thanks very much for your help.

Last edited: Nov 21, 2011
4. Nov 21, 2011

### Staff: Mentor

The defining equation for the capacitor does take direction into account. In the definition, the current direction is defined to be INTO the capacitor, and resulting voltage change is positive. Thus, when the voltage change is NEGATIVE, the current will come OUT of the capacitor.

5. Nov 21, 2011

### Ahmedbasil

Owh, okay, I assumed it is the current OUT of the capacitor. I see :). My bad, and thank you very much.