A bit lost on the RC circuit differential equation

Click For Summary

Homework Help Overview

The discussion revolves around solving a first-order linear differential equation related to an RC circuit, specifically the equation R(dq/dt) + (q/C) = v_0, where R is resistance, q is charge, t is time, C is capacitance, and v_0 is the EMF of the power supply.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore the integration process and the importance of including an arbitrary constant in the solution. There are discussions about the initial conditions, specifically the charge on the capacitor at t=0, and how this affects the solution. Some participants question the assumptions regarding the initial charge and the behavior of the circuit over time.

Discussion Status

The discussion is ongoing, with participants providing guidance on the necessity of the arbitrary constant and its role in determining the solution. There are multiple interpretations regarding the initial conditions and the behavior of the circuit, particularly concerning the voltage across the capacitor and its implications for charge buildup.

Contextual Notes

Participants note that the initial charge on the capacitor may be zero, and there is a suggestion to consider the physical implications of the circuit's behavior, including the potential for exponential decay in the charge over time.

planck42
Messages
82
Reaction score
0

Homework Statement


Solve the differential equation R\frac{dq}{dt} + \frac{q}{C} = v_0

R is resistance, q is charge, t is time, C is capacitance, and v_0 is the EMF of the power supply.

Homework Equations


First-order linear differential equation solving method

The Attempt at a Solution


This is a first-order linear differential equation, so let's apply the standard steps to solve it. First, I calculated the integrating factor to be e^{\frac{t}{RC}}. Upon multiplying through by this factor and integrating, I got \frac{dq}{dt}e^{\frac{t}{RC}} + qe^{\frac{t}{RC}} on the left side, and \int{\frac{v_0}{R}e^{\frac{t}{RC}} on the right side. This integrates to v_{0}Ce^{\frac{t}{RC}}, neglecting the arbitrary constant. So qe^{\frac{t}{RC}}=v_{0}Ce^{\frac{t}{RC}}, which simplifies to q=v_{0}C, an unsurprising but disappointing result since I'm trying to find q in terms of time. Perhaps there is something wrong with one of my steps? This has been bugging me for quite some time and I would appreciate a kick in the right direction.
 
Physics news on Phys.org
You can't neglect the arbitrary constant, naturally. Include the arbitrary constant, and they you'll have the right answer.

To find the arbitrary constant, you will need to know q(t) at t=0, and use that to solve.

Does that make sense? The arbitrary constant MUST BE INCLUDED.

I didn't check the rest of your derivation too thoroughly, but it looks right. Try what I said and see if that doesn't give you the right answer.

(To see if it's the right answer, differentiate and see if it works)
 
AUMathTutor said:
You can't neglect the arbitrary constant, naturally. Include the arbitrary constant, and they you'll have the right answer.

To find the arbitrary constant, you will need to know q(t) at t=0, and use that to solve.

Does that make sense? The arbitrary constant MUST BE INCLUDED.

I didn't check the rest of your derivation too thoroughly, but it looks right. Try what I said and see if that doesn't give you the right answer.

(To see if it's the right answer, differentiate and see if it works)

I believe that q_0 is zero since there is no current flowing and therefore no charge on the capacitor.
 
planck42 said:
I believe that q_0 is zero since there is no current flowing and therefore no charge on the capacitor.

The capacitor's q(t) depends on the voltage across the capacitor, not the current. So if v(t=0) across the capacitor is the same as the supply voltage, then there is no current through the series resistor to drop the voltage, and your solution is correct. However, as AU is alluding to, if v(t=0) = 0, then what happens? You will get a charge buildup that has a form involving the exponential.

And BTW, I think you should consider a negative sign in your exponent... The physical sitation of this circuit will have exponential decays in it, not exponential growths...
 
berkeman said:
The capacitor's q(t) depends on the voltage across the capacitor, not the current. So if v(t=0) across the capacitor is the same as the supply voltage, then there is no current through the series resistor to drop the voltage, and your solution is correct. However, as AU is alluding to, if v(t=0) = 0, then what happens? You will get a charge buildup that has a form involving the exponential.

And BTW, I think you should consider a negative sign in your exponent... The physical sitation of this circuit will have exponential decays in it, not exponential growths...

Thank you! I forgot that the capacitor only cares about the potential difference across itself(and its own capacitance).

EDIT: I now understand that it is part of the transient term q_{0}e^{\frac{-t}{RC}}, so that the charge on the capacitor approaches v_{0}C as time increases indefinitely. If v(t=0) is zero, then it appears that the only way for it to be true is if q_{0}=-v_{0}C
 
Last edited:
No, q(0) = 0. Initially, there is no charge on the capacitor because, simply put, no charge has made it there yet.

In the end, in the limit, there will be Q = CV of charge on the capacitor. It will approach this exponentially. Basically, you have

q*exp(t/RC) = CVexp(t/RC) + k
q = CV + k*exp(-t/RC)

Literally all you need to do now is say that when t=0, q=q(0) and solve for k. End of story. Done.
 

Similar threads

Replies
12
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
2K