# Circuit with capacitor and two resistors - total current - charge - differential equation [closed]

Consider the circuit below consisting out of a capacitor C and two identical resistors R. For $t<0$ the switch is open and the capacitor is uncharged. At $t=0$ switch is shut and the circuit is connected to the voltage source with constant voltage U. a) What's the total current in the circuit immediately after the switch is shut? What's the charge of the capacitor and the total current after a very long time?

b) Determine for $t>0$ the total current in the circuit and the charge of the capacitor as a function of time by setting up a suitable differential equation and solving it.

I'm practicing for my exam in physics and I have always weak concerning even the easiest circuits and I found this one in my textbook.

Here are my thoughts so far:

a) I suppose that in this type of circuit the current and the voltage are in phase, meaning that immediately after the switch is shut the current should be $I=0$?

But I don't seem to find an approach getting expressions for the current and the charge after a very long time. Can't I just assume that the capacitor will be fully charged, meaning $Q=C\cdot U$? About the current: Since at every part of the circuit there should be a different current, meaning at $R$ the current should be $I_R=\frac{U}{R}$ and I was thinking that since $Q=C\cdot U$ and the time derivative of $Q$ is $I$ and since $U$ is constant, does that mean that the current is $0$? Seems kind of unlikely.

b) I'm kind of lost here. I'm supposed to set up a differential equation which then would give me a function with which I can find $Q$ and $I$ at certain points?

I would appreciate any help. I seriously need to get better with circuits.

## closed as off-topic by fibonatic, Kyle Kanos, Qmechanic♦Jun 21 '15 at 18:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Homework-like questions should ask about a specific physics concept and show some effort to work through the problem. We want our questions to be useful to the broader community, and to future users. See our meta site for more guidance on how to edit your question to make it better" – fibonatic, Kyle Kanos, Qmechanic
If this question can be reworded to fit the rules in the help center, please edit the question.

I suppose that in this type of circuit the current and the voltage are in phase,

This question is asking for a transient solution, not an ac steady-state solution. So we can't really talk about the phase of the voltage or the current.

meaning that immediately after the switch is shut the current should be I=0?

This conclusion is incorrect.

Can't I just assume that the capacitor will be fully charged

No. It's explicitly stated in the problem, "For t<0 the switch is open and the capacitor is uncharged". The charge on a capacitor can not change instantaneously (when current is finite), so the charge on the capacitor is also 0 in the instant after the switch is closed.

A corollary that will help you solve this is that the voltage waveform across a capacitor is continuous.

I don't seem to find an approach getting expressions for the current and the charge after a very long time

The usual way to find the steady state dc response is to analyze the circuit in the dc regime, treating all capacitors as open circuits and all inductors as short circuits.

since U is constant, does that mean that the current is 0? Seems kind of unlikely.

No it's not unlikely. If the capacitor continued to accumulate charge after a long time, it's voltage would be increasing without bound, which would cause problems.

I'm supposed to set up a differential equation which then would give me a function with which I can find Q and I at certain points?

$$I_c = C\frac{\mathrm{d}V}{\mathrm{d}t}$$,
writing $I$ in terms of other quantities you know (like the source voltage, the capacitor voltage, and the resistor values).