RL Circuit Differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
10 replies · 11K views
IBY
Messages
106
Reaction score
0

Homework Statement



Basically, I am deriving the following equation:
[tex]I=I_0(1-e^{-\frac{R}{L}t})[/tex]

Homework Equations



1) [tex]L\frac{dI(t)}{dt}+I(t)R=V[/tex]
2) [tex]\frac{V}{R}=I_0[/tex]

The Attempt at a Solution



In relevant equation 1), R was divided both sides, and by using 2), I turned it into:

[tex]\frac{L}{R}\frac{dI(t)}{dt}+I(t)=I_0[/tex]

By solving the homogenous part, I got:

[tex]I(t)=I_0e^{-\frac{R}{L}t}[/tex]

If so, with the non-homogenous part, I got:

[tex]I(t)=I_0+I_0e^{-\frac{R}{L}t}[/tex]

Obviously, something went wrong here because that plus sign is supposed to be a minus. The question is, what is the mistake?
 
Last edited:
Physics news on Phys.org
But at initial condition, isn't [tex]C=I_0[/tex]?

After all, that is the current right when the switch closes in the circuit, causing the current to flow. Because all I am left with after solving the homogenous part is:

[tex]I=Ce^{-\frac{R}{L}t}[/tex]
 
No, the initial condition has to be satisfied by the complete solution, so you have

[tex]I(t) = V/R + Ce^{-\frac{R}{L} t}[/tex]

and you want to solve for C by setting I(0)=0 because the current through an inductor I(t) must be continuous. Note that the current isn't I0 at t=0 because there was no current flowing just prior to the switch closing.
 
Okay, so based on that, [tex]C=I(t)-I_0[/tex]?

Which means, substituting that into: [tex]I(t)=I_0+(I(t)-I_0)e^{-\frac{R}{L}t}[/tex]
 
Last edited:
Uh oh, when I do the math above, I get [tex]I_0=I(t)[/tex]
 
But what is I(0), then? If I(0) is current at initial condition, then that is [tex]I_0[/tex]. That makes C=0.
Okay, I am doing this whole math logic thing really wrong somewhere, and I can't grasp where it is.
 
Oh, if [tex]I(0)=0[/tex] because current doesn't exist at t=0, then [tex]C=-I_0[/tex].
Then [tex]I(t)=I_0-I_0e^{-\frac{R}{L}t}[/tex]
Thanks!
 
D'oh! I have been assuming the graph was a decay all along just because the e was there. I forgot, this RL circuit is one with a battery. :)
 
Last edited: