Differential Equations and RQC

In summary: TFMIn summary, the circuit consists of a voltage source, resistor, and capacitor in series. The charge, Q, in the capacitor can be expressed by the equation RQ' + Q/C = V, which can be obtained by using the Kirchoff voltage equation. To find an expression for Q(t), the differential equation can be manipulated to get lnQ = t/(VC-RC), which can then be integrated to obtain the solution.
  • #1
TFM
1,026
0

Homework Statement



A circuit consists of a voltage source, voltage V , a resistor, resistance R, and a capacitor,
capacitance C, in series.

(a) Show that the charge, Q, in the capacitor satisfies the equation RQ' + Q/C = V .

Homework Equations



[tex] R\frac{dQ}{dV} + \frac{Q}{C} = V [/tex]

The Attempt at a Solution



I'm not quite sure what to do for this Question. In this Part you have to show how charge satisfies the given equation. Could anyone help show how to start this question, what it actually is asking you to do?

TFM
 
Physics news on Phys.org
  • #2
Hi TFM,

TFM said:

Homework Statement



A circuit consists of a voltage source, voltage V , a resistor, resistance R, and a capacitor,
capacitance C, in series.

(a) Show that the charge, Q, in the capacitor satisfies the equation RQ' + Q/C = V .

Homework Equations



[tex] R\frac{dQ}{dV} + \frac{Q}{C} = V [/tex]

The Attempt at a Solution



I'm not quite sure what to do for this Question. In this Part you have to show how charge satisfies the given equation. Could anyone help show how to start this question, what it actually is asking you to do?

TFM

To start these types of questions you almost always use a Kirchoff voltage equation (or Kirchoff loop equation). What do you get when you write the loop equation for this circuit? Do you see how it reduces to the given equation?
 
  • #3
So using Kirchoff,

Current in = Current Out

Sum of Voltage = Total Voltage

So, if you calculate the voltage, following from my attached diagram:

[tex] V_{input} = V_{Resister} + V_{Capacitor} [/tex]

[tex] V_{resister} = IR [/tex]

[tex] V_{Capacitor} = \frac{Q}{C} [/tex]

Inserting into Voltage equation above

[tex] V_{input} = IR + \frac{Q}{C} [/tex]

but the equation doesn't have IR,

known equations featuring I:

Q=It - Time not in question
V=IR - would take ypu back to V

Not sure the above equations help, though?

TFM
 

Attachments

  • RC Circuit.bmp
    101.9 KB · Views: 404
  • #4
I wonder if I have got my derivative correct. The next part of the question is to find an expression for Q(t)

Does this mean that RQ' + Q/C = V

should go to:

[tex] R\frac{dQ}{dt} + \frac{Q}{C} = V [/tex]

which would be

Q = It, I = Q/t

so:

[tex] V_{input} = IR + \frac{Q}{C} [/tex]

[tex] V_{input} = \frac{Q}{t}R + \frac{Q}{C} [/tex]

Although this can't be quite right because i have Q/t, not dQ/dt

?

TFM
 
  • #5
instead of using Q/t for current, you should be using dQ/dt. This gives you the differential equation you're looking for.
 
  • #6
Thanks,

for the next part,

Suppose that R, C and V are constant and that Q is initially zero. Find an expression for Q(t). Sketch the solution.

[tex] V = R\frac{dQ}{dt} + \frac{Q}{C} [/tex]

R,C,V = Const.
Q(t=0) = 0

I have

[tex] Vdt = R + \frac{Q}{C} dQ [/tex]

Which I get as

[tex] Vt = RQ + \frac{Q^2}{2C} + D[/tex]

where d = integration constant

so inserting values

V(0) = R(0) + [tex]\frac{0^2}{2C} + D[/tex]

D = 0

does this look right?

TFM
 
  • #7
I don't think you manipulated your differential equation correctly. Think about this rationally: as the capacitor continues to store energy of separated charge, it will eventually reach a limit to how much energy it can store. This means that Q(t) should start at zero (uncharged capacitor) and asymptotically approach a fixed value. What sort of functions behave this way?

The sort of functions that behave this way have a differential equation that looks like dU/U = K dt where U is any function and K is a constant. Get your equation into a form like that and integrate both sides.
 
  • #8
Does this look right. So far I have:

[tex] V = R\frac{dQ}{dt} + \frac{Q}{C} [/tex]

[tex] \frac{V}{Q} = \frac{R}{Q}\frac{dQ}{dt} + \frac{1}{C} [/tex]

[tex] \frac{V}{Q} - \frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

Factorise out:

[tex] \frac{1}{Q}(V - R)\frac{dQ}{dt} = \frac{1}{C} [/tex]

[tex] \frac{1}{Q}\frac{dQ}{dt} = \frac{V - R}{C} [/tex]

[tex] \frac{1}{Q} dQ = \frac{V - R}{C}dt [/tex]

integrate gives:

[tex] lnQ = \frac{V - R}{C}t [/tex]

does this look better?

Edit: No it doesn't

[tex] \frac{1}{Q}(V - R)\frac{dQ}{dt} = \frac{1}{C} [/tex]

[tex] \frac{1}{Q}\frac{dQ}{dt} = \frac{1}{VC - RC} [/tex]

[tex] \frac{1}{Q} dQ = \frac{1}{VC - RC}dt [/tex]

Integrates to:

[tex] lnQ = \frac{t}{VC - RC} [/tex]

Does this look right now

TFM
 
Last edited:
  • #9
TFM said:
Does this look right. So far I have:

[tex] V = R\frac{dQ}{dt} + \frac{Q}{C} [/tex]

[tex] \frac{V}{Q} = \frac{R}{Q}\frac{dQ}{dt} + \frac{1}{C} [/tex]

[tex] \frac{V}{Q} - \frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

Factorise out:

[tex] \frac{1}{Q}(V - R)\frac{dQ}{dt} = \frac{1}{C} [/tex]

This line is not correct. You have factored out a dQ/dt, but the first term did not have that in it.


Also, remember that after you get the integrals set up, these are definite integrals and so you have to worry about the limits.
 
  • #10
Should it be then:

[tex] \frac{v}{Q}-\frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

[tex] \frac{1}{Q}(V - R \frac{dQ}{dt}) = \frac{1}{C} [/tex]

[tex] \frac{1}{Q} = \frac{1}{C(V - R\frac{dQ}{dt})} [/tex]

[tex] \frac{1}{Q} = \frac{1}{CV - CR\frac{dQ}{dt}} [/tex]

This doesn't look right though...?

TFM
 
  • #11
TFM said:
Should it be then:

[tex] \frac{v}{Q}-\frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

[tex] \frac{1}{Q}(V - R \frac{dQ}{dt}) = \frac{1}{C} [/tex]

[tex] \frac{1}{Q} = \frac{1}{C(V - R\frac{dQ}{dt})} [/tex]

[tex] \frac{1}{Q} = \frac{1}{CV - CR\frac{dQ}{dt}} [/tex]

This doesn't look right though...?

TFM

I would suggest starting with the beginning equation and getting everything out of the denominator (even though later you'll get things in the denominator again).

Once you have that, the goal is to completely separate the equation so that q does not appear on one side of the equation, and t does not appear on the other. (This is where you'll have a fraction again.) At that point you can integrate each side separately. Do you get the answer?
 
  • #12
So starting with:

[tex] \frac{v}{Q}-\frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

Multiply out the Q

[tex] V - R \frac{dQ}{dQ}=\frac{Q}{C} [/tex]t

Multiply by C

[tex] VC - RC \frac{dQ}{dt} = Q [/tex]

split the derivative:

[tex] VC - RC dQ = Q dt [/tex]

put the Q on the other side by dividing through by Q

[tex] \frac{VC - RC dQ}{Q} = dt [/tex]

Does this look better?

TFM
 
  • #13
TFM said:
So starting with:

[tex] \frac{v}{Q}-\frac{R}{Q}\frac{dQ}{dt} = \frac{1}{C} [/tex]

Multiply out the Q

[tex] V - R \frac{dQ}{dQ}=\frac{Q}{C} [/tex]t

Multiply by C

[tex] VC - RC \frac{dQ}{dt} = Q [/tex]

This is correct up to here.

split the derivative:

[tex] VC - RC dQ = Q dt [/tex]

The first term is missing a factor of dt.

Once you correct that, then move all terms with dt to one side, all terms with dq to the other, and factor out the differentials until you get:

(stuff) dt = (other stuff) dq

At that point you should be able to separate the variables.
 
  • #14
So:

[tex] VC - RC \frac{dQ}{dt} = Q [/tex]

[tex] VCdt - RC \fracdQ = Qdt [/tex]

[tex] -RC dQ = Qdt - VCdt [/tex]

[tex] -RC dQ = (Q - VC)dt [/tex]

[tex] \frac{-RC}{Q - VC} dQ = dt [/tex]

Does this look okay now?
 
  • #15
TFM said:
So:

[tex] VC - RC \frac{dQ}{dt} = Q [/tex]

[tex] VCdt - RC \fracdQ = Qdt [/tex]

[tex] -RC dQ = Qdt - VCdt [/tex]

[tex] -RC dQ = (Q - VC)dt [/tex]

[tex] \frac{-RC}{Q - VC} dQ = dt [/tex]

Does this look okay now?

That looks right to me.
 
  • #16
So:

[tex] \frac{-RC}{Q - VC} dQ = dt [/tex]

The right side will just go to t + C:

[tex] \frac{-RC}{Q - VC} dQ = t + C [/tex]

[tex] \frac{-RC}{Q} + \frac{RC}{VC} dQ [/tex]

[tex] \frac{-RC}{Q} + \frac{R}{V} dQ [/tex]

So does this go to:

[tex] \frac{-RC}{ln(Q)} + \frac{RQ}{V} = t + C[/tex]

?

TFM
 
  • #17
TFM said:
So:

[tex] \frac{-RC}{Q - VC} dQ = dt [/tex]

The right side will just go to t + C:

I would set limits on the t integral:

[tex]
\int_0^t dt
[/tex]

That way the constant is evaluated.

Or if you want to be a bit more general, you could use

[tex]\int_{t_0}^{t} dt[/tex]

but I don't think that is probably necessary here.

[tex] \frac{-RC}{Q - VC} dQ = t + C [/tex]

This is okay, but your next line is not the thing to do. Just go ahead and integrate the left side.


[tex] \frac{-RC}{Q} + \frac{RC}{VC} dQ [/tex]

[tex] \frac{-RC}{Q} + \frac{R}{V} dQ [/tex]

So does this go to:

[tex] \frac{-RC}{ln(Q)} + \frac{RQ}{V} = t + C[/tex]

?

TFM
 
  • #18
Okay

[tex] \frac{-RC}{Q - VC} dQ = \int^t_0 dt [/tex]

So

[tex] \frac{-RC}{Q - VC} dQ = t [/tex]

But is the integral for the left:

[tex] \frac{-RC}{ln(Q - VC)} = t [/tex]

?
 
  • #19
TFM said:
Okay

[tex] \frac{-RC}{Q - VC} dQ = \int^t_0 dt [/tex]

So

[tex] \frac{-RC}{Q - VC} dQ = t [/tex]

But is the integral for the left:

[tex] \frac{-RC}{ln(Q - VC)} = t [/tex]

?

No, the ln function goes in the numerator. Also, remember that you have to evaluate the limits of the integral.
 
  • #20
Okay, so:

[tex] \int^Q_0 \frac{-RC}{Q - VC} dQ = t [/tex]

[tex] \frac{ln(Q - VC)}{-RC} = t [/tex]

?

TFM
 
  • #21
TFM said:
Okay, so:

[tex] \int^Q_0 \frac{-RC}{Q - VC} dQ = t [/tex]

[tex] \frac{ln(Q - VC)}{-RC} = t [/tex]

?

TFM

The (-RC) was correct in the numerator. (In fact, I would just go ahead and move the (-RC) to the right side denominator so it's not in the integral.)

You've evaluated the upper limit, but you still have to subtract off the value of the function at the lower limit.
 
  • #22
So:

[tex] [ln(Q - VC)]^Q_0 -RC = t [/tex]

[tex] [ln(Q - VC) - Ln(0 - VC)]-RC = t [/tex]

[tex] [ln(Q - VC) - Ln(-VC)]-RC = t [/tex]

Is this better?

TFM
 
  • #23
TFM said:
So:

[tex] [ln(Q - VC)]^Q_0 -RC = t [/tex]

[tex] [ln(Q - VC) - Ln(0 - VC)]-RC = t [/tex]

[tex] [ln(Q - VC) - Ln(-VC)]-RC = t [/tex]

Is this better?

TFM

No, the factor of (-RC) is still not in the right place. That's why I suggested to move it to the right side denominator. (If you do leave it to the left, it will be multiplyig the entire left side.)

So go back a few posts ago; after I suggested moving that factor, you would have had (after integrating the left side):

[tex]
[ln(Q - VC)]^Q_0 = \frac{t}{-RC}
[/tex]

(This replaces the first line in your last post.) Then evaluating the limits like you did above would give:

[tex]
[ln(Q - VC) - Ln(-VC)] = -\frac{t}{RC}
[/tex]

Now use what you know about logarithms to combine the two ln functions, and solve for Q.
 
  • #24
Okay, so:

[tex] \frac{-RC}{Q - VC} dQ = t [/tex]

divide both sides by -RC

[tex] \frac{1}{Q - VC} dQ = -\frac{t}{RC} [/tex]

[tex] [ln(Q - VC) - Ln(0 - VC)] = -\frac{t}{RC} [/tex]

This is the same as:

[tex] ln \left(ln frac/{Q - VC}{-VC}\right) = -\frac{t}{RC} [/tex]

Take exponentials of both sides

[tex] \frac{Q - VC}{-VC} = e^{-\frac{t}{RC}} [/tex]

[tex] Q - VC = -VCe^{-\frac{t}{RC}} [/tex]

[tex] Q = VC - VCe^{-\frac{t}{RC}} [/tex]

Is this correct now?

TFM
 
  • #25
TFM said:
Okay, so:

[tex] \frac{-RC}{Q - VC} dQ = t [/tex]

divide both sides by -RC

[tex] \frac{1}{Q - VC} dQ = -\frac{t}{RC} [/tex]

[tex] [ln(Q - VC) - Ln(0 - VC)] = -\frac{t}{RC} [/tex]

This is the same as:

[tex] ln \left(ln frac/{Q - VC}{-VC}\right) = -\frac{t}{RC} [/tex]

Take exponentials of both sides

[tex] \frac{Q - VC}{-VC} = e^{-\frac{t}{RC}} [/tex]

[tex] Q - VC = -VCe^{-\frac{t}{RC}} [/tex]

[tex] Q = VC - VCe^{-\frac{t}{RC}} [/tex]

Is this correct now?

TFM

That looks right to me. There's some more manipulation and defining you can do to get it into the standard textbook form, but I would think that what you have is what they are probably looking for.
 
  • #26
alphysicist said:
That looks right to me. There's some more manipulation and defining you can do to get it into the standard textbook form, but I would think that what you have is what they are probably looking for.

I suppose you could factorise down to:

[tex] Q = VC(1 - e^{-\frac{t}{RC}}) [/tex]

Thanks

The next part of the question then goes on to ask:

Suppose instead that V = V0 for t < T and V = 0 for t > T, where V0 is constant and Q is again initially zero. Find the new expression for Q(t), both for t < T and t > T.
(Hint: both solutions must match at t = T.)

I assume that T is another time piece and not Temperature

Would solving this be similar to the previous part?

TFM
 
  • #27
TFM said:
I suppose you could factorise down to:

[tex] Q = VC(1 - e^{-\frac{t}{RC}}) [/tex]

Thanks

The next part of the question then goes on to ask:

Suppose instead that V = V0 for t < T and V = 0 for t > T, where V0 is constant and Q is again initially zero. Find the new expression for Q(t), both for t < T and t > T.
(Hint: both solutions must match at t = T.)

I assume that T is another time piece and not Temperature

Would solving this be similar to the previous part?

It's a similar process. You already have the expression for up to time T. On repeating the process for times later than T, one big difference is that the lower limits on both integrals will not be zero. And of course you will want to think about what that does to your differential equation that you get from the Kirchoof loop equation.
 
  • #28
So for the t > T one, it is just

[tex] Q = VC(1 - e^{-\frac{t}{RC}}) [/tex]

And for t < T, we start of with

[tex] V = R\frac{dQ}{dt} + \frac{Q}{C} [/tex]

go as far as:

[tex] \int \frac{1}{Q - VC} dQ = \int -\frac{dt}{RC} [/tex]

and just change the limits?

TFM
 
  • #29
TFM said:
So for the t > T one, it is just

[tex] Q = VC(1 - e^{-\frac{t}{RC}}) [/tex]

Well, that's the one for t<T (and they want you to set [itex]V\to V_0[/itex]).


And for t < T, we start of with

[tex] V = R\frac{dQ}{dt} + \frac{Q}{C} [/tex]

For the later times (t > T), the differential equation will be different in two ways. Draw the circuit and use the loop rule; what is the new diff. eqn?
 
  • #30
So the first one, where t < T

[tex] Q = V_0C(1 - e^{-\frac{t}{RC}}) [/tex]

For the second, the Voltage is 0, so are we using the voltage stored in the Capacitor, or should the equation just be 0?

TFM
 

Attachments

  • RC Circuit 2.bmp
    173.3 KB · Views: 459
  • #31
TFM said:
So the first one, where t < T

[tex] Q = V_0C(1 - e^{-\frac{t}{RC}}) [/tex]

For the second, the Voltage is 0, so are we using the voltage stored in the Capacitor, or should the equation just be 0?

TFM

I cannot view the attachment yet, but if I'm reading it correctly, this will be essentially a discharging circuit. So since the capacitor already has charge on it, it will have a voltage.

As long as the capacitor has a charge, it will have a potential difference across it, and as long as the resistor has a current, it will have a potential difference across it. So the terms in the differential equation (which are just the volts across each part of the circuit) are not all zero until I=0 and Q=0.

So the first change for this differential equation (relative to the original one) is that V=0. There is one more; what would it be, and so what would the final diff. eq. be?
 
  • #32
So will the equation be:

[tex] V_0 = R\frac{dQ}{dt} + V_{cap} [/tex]

?

TFM
 
  • #33
TFM said:
So will the equation be:

[tex] V_0 = R\frac{dQ}{dt} + V_{cap} [/tex]

?

TFM

You know that V0=0 here. What formula gives you the voltage across the capacitor? Also, be careful with your signs.
 
  • #34
So

[tex] 0 = R\frac{dQ}{dt} + V_{cap} [/tex]

[tex] V_{cap} = \frac{Q}{C} [/tex]

So:

[tex] -\frac{Q}{C} = R\frac{dQ}{dt} + V_{cap} [/tex]

?

TFM
 
  • #35
TFM said:
So

[tex] 0 = R\frac{dQ}{dt} + V_{cap} [/tex]

[tex] V_{cap} = \frac{Q}{C} [/tex]

So:

[tex] -\frac{Q}{C} = R\frac{dQ}{dt} + V_{cap} [/tex]

(You meant to eliminate the Vcap in this last equation right, since you replaced is with Q/C?)

The signs are not right. In first equation you have:

[tex]
0 = R \frac{dQ}{dt} + V_{\rm cap}
[/tex]

This comes from Kirchoff's loop rule. How did you choose the signs of both of those to be positive?
 

Similar threads

  • Introductory Physics Homework Help
Replies
3
Views
809
  • Introductory Physics Homework Help
Replies
4
Views
2K
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
777
  • Introductory Physics Homework Help
Replies
3
Views
2K
  • Introductory Physics Homework Help
Replies
23
Views
342
  • Introductory Physics Homework Help
Replies
3
Views
561
  • Introductory Physics Homework Help
Replies
1
Views
726
  • Introductory Physics Homework Help
Replies
11
Views
2K
  • Introductory Physics Homework Help
Replies
8
Views
1K
Back
Top