Finding current and charge in a RC circuit.

Click For Summary

Homework Help Overview

The discussion revolves around finding the current and charge in an RC circuit connected to a direct current battery. The original poster expresses uncertainty about the problem's placement within the forum, noting its resemblance to differential equations.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss applying Kirchhoff's law to set up a differential equation relating current and charge. The original poster questions whether to solve an indefinite integral or to integrate from zero to an arbitrary time due to the lack of initial conditions. Others suggest assuming zero charge at the moment the circuit is closed and provide initial conditions for solving the equation.

Discussion Status

Some participants have offered guidance on setting initial conditions and have engaged in solving the differential equation. There is an ongoing exploration of the integration process and the correctness of derived equations, with some participants confirming the validity of the results presented.

Contextual Notes

The original poster notes the absence of initial conditions in the problem statement, which raises questions about how to proceed with the integration. Additionally, there are mentions of LaTeX formatting issues that have caused confusion in presenting equations.

U.Renko
Messages
56
Reaction score
1

Homework Statement


A resistor with resistance R and a capacitor with capacitance C are connected in series to a direct current battery ε.
find the current and charge on the circuit as function of time.

it looks more like a review of differential equations, so I'm not really sure if I should post here or in the calculus forum...feel free to move it if you think it's better.

Homework Equations



potential at resistor: V_r = Ri

potential at capacitor:V_c = \frac{q}{C}

The Attempt at a Solution



Applying one of the Kirchhoff's law:
\epsilon - Ri - \frac{q}{C} = 0
\epsilon = Ri +\frac{q}{C}
since i = \frac{dq}{dt} we can rewrite the equation as

\frac{\epsilon}{R} = \frac{dq}{dt} + \frac{q}{RC} and solve with an integration factor e^{\frac{t}{RC}}
so we have:
\frac{\epsilon}{R} e^{\frac{t}{RC}} = \frac{d}{dt}(q e^{\frac{t}{RC}})
and then:

\int \frac{\epsilon}{R} e^{\frac{t}{RC}} dt = q e^{\frac{t}{RC}}


here I'm kinda stuck:
because the problem did not give any initial conditions, should I just solve an indefinite integral or integrate from zero to an arbitrary t??

also: q e^{\frac{t}{RC}} comes from integrating \int_{a}^{b} \frac{d}{dt}(q e^{\frac{t}{RC}})dt and applying the fundamental theorem of calculus.
However, don't I need the values a and b to properly use it?
 
Physics news on Phys.org
The resistor and capacitor are connected in series to a battery. You can count the time from the instant when you close the circuit. At that instant you can assume zero charge on the capacitor, if it is not stated otherwise.

The differential equation for q is correct,

\frac{\epsilon}{R} = \frac{dq}{dt} + \frac{q}{RC}

Solve for q(t) with the initial condition q(0)=0. ehild
 
  • Like
Likes   Reactions: 1 person
hmm let's see:

\int_{0}^{t} \frac{\epsilon}{R}e^{\frac{t}{RC}}dt = qe^{\frac{t}{RC}
solving the left hand side by substitution gives:
C\epsilon\left(e^{\frac{t}{RC} -1 \right) = qe^{\frac{t}{RC}
and so:

q(t)= e^{\frac{-t}{RC}C\epsilon\left(e^{\frac{t}{RC} -1 \right)

q(t)= C\epsilon\left(1-e^{\frac{-t}{RC} \right)
and
i(t) = \frac{\epsilon}{R}e^{\frac{-t}{RC}

is that correct?
 
Last edited:
U.Renko said:
hmm let's see:

$$\int_{0}^{t} \frac {\epsilon}{R} e^{\frac{t}{RC}}dt = q e^{\frac{t}{RC}}$$
solving the left hand side by substitution gives:
$$C\epsilon \left (e^{\frac{t}{RC}} -1 \right) = qe^{\frac{t}{RC}}$$
and so:

$$q(t)= e^{\frac{-t}{RC}}C\epsilon \left (e^{\frac{t}{RC}} -1 \right)$$

$$q(t)= C \epsilon \left(1-e^{\frac{-t}{RC}} \right)$$
and
$$i(t) = \frac {\epsilon}{R}e^{\frac {-t}{RC}}$$

is that correct?

Made some corrections. Are these the equations you meant?
 
  • Like
Likes   Reactions: 1 person
And if so, then yes, you are correct.
 
yes, that is what I meant.

I honestly don't know where I messed up with the LaTeX though...
 
U.Renko said:
yes, that is what I meant.

I honestly don't know where I messed up with the LaTeX though...

Just missed a few brackets here and there. That's enough to break it though haha
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
19
Views
5K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K