Second-Order Circuit Problems
Transcript
…Hey folks This is Doctor Sweeney And what we're gonna be looking at today is we're gonna be gonna be looking at basic circuit problems, utilizing second order differential equations. And so…what you're gonna notice about these circuit problems if you've already looked at spring mass systems is that the differential equations for circuit problems and spring mass systems are very very similar And in fact they utilize almost entirely the same, set of solution methods. The math looks pretty much identical and the only difference really is the interpretation. So when we're interpreting things from circuit problems, we're really looking at like what's happening to the charge over time And when we look at the spring mass systems we're talking about the displacement away from it's like some kind of equilibrium. So in many ways circuit problems are even easier to understand than the spring mass system problems And they are in fact somewhat easier to do as well.
So with that stated let's kinda get started and take a look at the basics of of a circuit and the basics of our variables for the circuit. So we'll start out and we have the current for the circuit We're gonna call that i of t. And then we have q of t is gonna be our charge. And the relationship between the charge and the circuit is gonna end up being this this this issue right here… which is that d q d t or q prime of t is gonna equal I of t. So essentially, if we wanna find q of t and we have the current it's gonna be the integral of I of t d t… Then we have resistance, we have inductance and we have capacitance. And all three of these they're gonna be constants… and they're all gonna be greater than zero The constants that are all greater than zero and that plays a really big role inside of our work too. And then we'll have this idea of the electromagnetic force which is gonna be represented by a
function Oftentimes it's gonna be a function of cosine or cosine function of some sort. and it's gonna be like the equivalent of a forced oscillation when we look at the spring mass systems. So here, here is our circuit…And basically how our circuit is gonna work is is that we'll close the circuit right here Here's closing the circuit and then that allows the charge to run through or the allows the yeah It allows the current to run through the circuit. And the capacitance the resistance and the inductance, they all represent, kind of damping forces on the on the current or on the charge inside of the circuit And the EMF, much like the forced oscillations is gonna supply charge. So it supplies charge into the circuit… If we don't have an EMF and we'll look at this in just a second what we're gonna get is we're gonna get a homogeneous differential equation.
On the other hand if we do have an EMF then our differential equation our baseline differential equation is gonna be l our inductance co times q double prime plus r resistant times q prime plus one over c q and that's gonna end up equaling f of t which is our EMF … So here are our basic equations. We've got that l q double prime plus r q prime plus one over c q equals f of t. And if we kinda just divide through by l we're gonna get a standard form second order
differential equation with constant coefficients. So we get r over l q double prime plus r over l q prime plus one over l c q is gonna equal one over l f of t. And notice again because r l and c are all greater than zero these are positive constants. That's gonna play a big role for us… And that's if we have the EMF. Without the EMF what we get is we get a homogeneous differential equation. And for our purposes we're gonna utilize our methods for solving homogeneous second order
differential equations using constant coefficients. We'll have an initial co charge that's q naught and then our initial current is I of t, which is I I naught or more likely we call that q of t q prime of t, and q prime of zero rather I should say… And so this here or these, these three equations here or this set of equations here, represent our initial value problem for our circuits… We also have a phase mode form for circuits when what we end up having is we end up having
complex solutions to our differential equations or when we have, solutions that are forms of cosine and sine. So if we have a solution in the form let's say for example we have y of t equals e to the a t c one cosine b t plus…c two sine b t. And c one and c two are the the constants that we get from utilizing our initial values. What we can do is we can actually make a change of variable in order to change this into what's called the phase motor form.
So if we take a right triangle and we imagine that we have phi as this angle, the one that is opposite the…opposite the vertical side. And we're gonna have we're gonna call a naught We're gonna equal the square root of c one squared plus c two squared. So it's basically the length of the hypotenuse. When c two is the vertical side and c one is the horizontal… then fee utilizing some trig is gonna end up equal in tan inverse of c two divided by c one… So consequently, what we'll get is that c
one is gonna end up equaling, a naught cosine fee, and c two ends up equaling a naught sign fee And this is exactly the same as what we did with spring mass systems. What we'll do is we'll now substitute back into y of t So we get y of t equals e to the a t times a cosine b t cosine the… plus a naught, sign b t sign phi… and then we're gonna utilize the trig substitution of the trig identity, that cosine of b minus phi or BT minus phi is actually equal to cosine BT cosine phi
…plus…sign BT sign phi. Essentially our difference of angles. And so when we do that what we're gonna get is we're gonna get e to the a t times cosine b t minus b … In this form it actually allows us to understand, the equation a little bit better or inside of a more traditional form where we get oh pardon me and this should be an a naught… A naught is our amplitude So that's the square root of c one squared plus c two squared So that's the amplitude… phi is our phase shift… And…our
period ends up being sine or not sine excuse me our period ends up being two pi over b. And so that tells us quite a lot about what's happening inside of the system. Outside of this E to the AT term which we'll talk about a bit more in-depth in a in a little bit … So now we wanna talk about something called damping And damping is important because damping tells us the extent to which the structure of the circuit is gonna restrict the free flow of the charge So essentially it's gonna tell us whether or not our our charge goes around the circuit once more than once or less than once, on a single charge. And so whenever we're looking at this we're gonna be looking at it in terms of at the homogeneous DE. Which for us is no oscillation excuse me No no EMF. And so our differential equation is gonna be q double prime plus r over l q prime, plus one over l c q equals zero… Because r and l and
l and c are all constant coefficients and in fact are positive coefficients, this actually tells us that we can use our constant coefficients…method for homogeneous differential equations. So what we're gonna do is we're gonna get an auxiliary polynomial of r squared plus r over l r plus one over l c we're gonna set that equal to zero. Using the quadratic we'll end up getting r equals…negative r over l plus or minus the square root of r over l squared… minus four times
one over l c, all divided by two times one. Doing a little bit of algebra we end up getting r equals negative r plus or minus the square root. Of r squared minus four…over four l excuse me, divided by c… all divided by two l… For our purposes of damping and telling us about damping we're gonna concentrate in on this r squared minus four l over c. And the reason why is because it's gonna tell us the kind of roots that we're gonna get in terms of our solutions to differential equations.
So remember we've got three different kinds of roots that we can have We could have repeated roots. We could have distinct real roots or we could have, complex roots And each one has a different set of solutions for the differential equation and they look very different from the standpoint of damping So let's take a look at those. We'll start with the concept that we have an overdamped circuit, and we have an overdamped circuit that actually tells me that that that discriminant there r squared minus four l over c is gonna be greater than zero. So that means that we have two distinct real roots … And our solutions are gonna end up looking like y of t equals c one e to the a r t plus c two e…to the r two t So two different r's right two different real roots We'll call this r one and r two. And so consequently what's gonna end up happening is is that Our charge is basically going to start up here and it's going to decrease towards zero pretty quickly because if you remember a
one or r one and r two they're gonna end up being negative… Right R one and R two are are both negative… On the other hand if we look at something that's called critically damped what we're gonna get is that r squared minus four l over c is gonna equal zero. And this means that we're gonna end up having repeated roots… And when you have repeated roots you're gonna get that y of t equals c one e to the r t plus c two t e to the r t… The T multiplier here inside of the solution actually tells us that we're not gonna get as an extreme a damping or potentially not as extreme a damping as we would get in the case of an overdamped situation or scenario where we have both of those functions pushing the charge towards zero. But it still is moving towards zero So again we're going to get basically…the function is going to you know increase the charge and then taper off towards zero Taper off
towards the equilibrium charge of zero… In the case of the underdamped situation we're gonna get that r squared minus four l over c is less than zero. Right So this is a case in which we get complex roots… And if you remember when we end up with complex roots we're gonna get y of t equals e to the a t, where egg is the real part of the complex solution times c one cosine b at b t… plus c two sine b t… Which is essentially…or not essentially
, is in our phase mode form is gonna be a naught cosine BT minus fee … If you look at this here what we've got is we've got some kind of oscillation. We've got some kind of oscillation but the oscillation is gonna be decreasing because E to the AT is gonna be scrunching it down towards zero because a is gonna end up being kind of negative value So it's gonna look something like this… Along that line it's gonna just kind of oscillate until it gets down to zero Maybe it only does it once Maybe it does it many times It kind of all depends upon the kind of damping that we've got involved. So to kind of review here if we have, two distinct real roots to our auxiliary polynomial, we're going to have an overdamped system If we have repeated roots it's critically damped And if those roots are actually complex, then what we have is an underdamped situation and we're gonna get that oscillation over time.
Let's go in and let's take a look at some examples and work through some of these ideas. Let's suppose that we have a circuit and it has a resistance of thirty ohms an inducted to five hertz and a capacitance of one seventy fifth Farads and no EMF. And then we suppose that q of zero is gonna end up equaling five coulombs , and that q prime of zero is gonna end up equaling three amperes. So what we have here is we have a complete initial value problem. We have r equal to thirty. We have l equal to five. We have c equal to one over seventy five. We have q of zero or q naught equal to five… And q prime of zero which is our I equal to three. So we'll set up our differential equation, and that gives me q double prime plus thirty over five q plus, q prime excuse me plus one over one over seventy five times five q equals zero because we have no EMF. A little bit of algebra gives us the q double prime plus six q prime plus…
fifteen q will then equal zero. Now a couple of things that we can do if we want to figure out our damping without actually going through and solving this differential equation yet we can. And so what we're gonna get we got remember that r squared minus four l over c is gonna end up being our discriminant there. And so that's gonna end up being thirty squared minus four times five divided by one over seventy five and that ends up equaling… negative twelve hundred… So that's negative.
What that tells me because it's negative it tells me that this system is underdamped… So we've got an underdamped system. Now what I can do is if I wanna go in… and I wanna solve this system I can also see that it's underdamped just by looking at the solution. So I go in and I do that I construct my polynomial r squared plus six r plus fifteen set it equal to zero. So I get r equals negative six plus or minus the square root of thirty six minus four times
fifteen…divided by two… And when I solve that what I end up getting is I can end up getting negative six plus or minus the square root…of twenty four all divided by two and that ends up giving me negative three plus or minus…the square root of six… Now what I can do is I could turn that into my solution So that's my r And so that means my solution y of t is gonna end up equaling c one… rather I'll get take e to the a t
So my a is gonna be the negative three So e to the negative three t times c one cosine root six t plus c two sine root six t… And that's in my standard form. Now what if I wanna change to phase mode… Well to change the phase mode what I'm gonna need to do is I'm gonna first need to solve for c one and c two So let's go in and do that… So if we put this into phase mode like I said we're gonna need c one and c two. So c one ends up equaling five and we end up getting c two equals three root six Basically we're just gonna use our initial conditions in order to find those And so consequently, what we're gonna get is that a naught is gonna end up equaling the square root of five squared plus three root six squared… And so that's the square root of twenty five plus fifty … plus fifty…four… which equals the square root of…seventy nine… Our fee is gonna end up equaling tangent
inverse of three root six divided by five. So that ends up equaling… seven thousand five hundred ninety three divided by seven thousand eight hundred and one So there's your phase shift. So when we rewrite this in phase mode what we get is we get that y of t ends up equaling e to the negative three t times root seventy nine… cosine … root six t minus seven thousand five hundred ninety three divided by seven thousand eight
hundred and one… Now by the way, couple things here because that we have the the complex roots here r is complex that tells me that we have an underdamped system. In addition to that, because we have, a solution of this form where we have those trigonometric values inside of our solution that also tells me that my system is also under damped. Let's take a look at the second example. Let's suppose that we have a circuit with no resistance. Inductance of one half Henry's and a capacitance of one half Farads. An equate an EMF with an equation of E of T equal to four cosine two t Coulombs supplies continuous charge to the circuit and then we suppose that q of zero equals eight coulombs and q prime of zero is gonna equal twelve amperes. So now we have r is gonna end up equaling zero. L equals one half… c equals one half… and we have that E of T now my EMF is gonna equal four cosine two t. We also have q of zero equal to eight,
and q prime of zero equal to twelve. What we're gonna do now is we're gonna plug that into our differential equation We're getting q double prime plus zero over one half q prime plus one over one half times one half. Q equals one over one half for cosine two t … So this is then q double prime, plus this zero is out so that we have no resistance or no resistance term there plus four q equals eight cosine two t … In order to determine our damping and also to find the…define the
complimentary part of this equation what we're gonna do is we're gonna solve the homogeneous part we're gonna have q double prime plus four q equal to zero We need to solve that. So our polynomial is gonna be r squared plus four equals zero, and that means that we get r equals plus or minus two y. In addition if we were to go in and solve for the discriminant in that term that we had before r squared minus four l over c what you're gonna see because r is zero we get negative four times one half divided by one half and that ends up equaling negative four. That's what we end up having underneath the underneath that term And so consequently, we could see here that this system is in fact under damped… In fact with no resistance you can imagine that we're gonna get a lot more oscillation of that charge That charge is gonna diminish less quickly, than if we had some kind of resistance on the on the circuit… Now
given the fact that I have a solution of r equals plus or minus two I that actually tells me that q of t…equals, and we're gonna get no e no a e to the a term We're just gonna have, the b term here So it's gonna end up being c one cosine two t plus c two sine two t. Now that we've solved the associated homeogeneous part what we need to do now is we need to find the particular solution that will allow us to solve the non homogeneous differential equation.
So we're gonna need a trial solution. In our trial solution here we're gonna have q p of t as our trial solution It's gonna start out with because of this eight cosine two t it's gonna start out as a a cosine two t plus b sin two t… but since we actually have cosine two t and sin two t as our homogeneous solution we're gonna have to actually modify. So we're gonna modify we're gonna by model by multiplying the whole thing by a t. Then what we'll do is we'll take the second derivative, and we'll plug that in along with the original function into the original differential equation, and then we're gonna solve for a and b When we do that we're gonna end up getting a equals zero and b equals two. So qp… is gonna end up equaling…to sign two t We need to multiply that by a t so it'll actually be two t sine two t. So our differential equation is gonna end up being q of t equals c one cosine two
t plus c two sine two t… Plus two t sign two t… Now what we'll need to do is we're gonna go need to go figure out what c one and c two r. When we do that we end up with c one ends up equaling eight and c two ends up equaling six. So consequently we get q of t is equal to eight cosine two t plus six sine two t. Plus two t sign two t. And that…is the model for a differential equation, in standard form. If we wanna change that to phase mode form what we'll do is we'll figure out first what a naught
is And remember a naught is gonna end up equaling, c one squared plus c two squared So it'll be eight squared plus six squared, which ends up equaling the square root of a hundred which ends up equaling ten. And our fee is gonna end up equaling tangent inverse…of, in this case c two six over eights, which is approximately point six four three five… So what we do now is we're now gonna put that into phase mode form So our new q of t is gonna end up equaling a naught and it's
just gonna be these two parts A naught, which is ten…cosine… two t minus point six four three five. So putting in our phase shift plus two t sign two t… And that … is the phase mode form for our underdamped…circuit system… The final concept that we wanna deal with here is we wanna deal with this idea of a steady state solution and a transient solution. And, basically what the steady state solution is is the limit as t approaches infinity of our differential equation q of t.
And for the most part that's gonna end up giving me q p of t. And we'll take a look at kinda why that's gonna be the case in just a second It has to do with the how it is that we set up the solutions to these particular systems. The transient solution right which is the one that kinda goes away and to the word transient, is gonna be q c of t and it disappears or it becomes negligible as t gets really large. So let's say for example I have q of t and let's say q of t is either the negative three t times cosine, and we'll have it we'll put it in phase mode form… Let's have it be two cosine … square root of six t minus pi over two… plus And let's have this be six…e to the …e to the well let's have it be six cosine…fourteen… Now , if we take the limit as t approaches infinity of q of t… what we end up getting is this part right here this goes to zero.
The sense of equaling zero plus, and then we get really six cosine four t because we're just gonna get oscillations Whatever that value is in terms of the the oscillations it's just gonna be that six cosine four t Because the e to the negative three t is gonna overwhelm the cosine part here inside of our homogeneous part. Okay? And if you look at the structures of these circuits this is this would end up being your q(c) and this ends up being your q(p)… Because… the nature of
these systems especially if we have resistance, is that in the absence of any kind of EMF, we're gonna get the charge going down to zero And if we put it in EMF, then we'll basically get whatever part is a result of that a magnet electromagnetic force putting charge into the system. And so consequently, that's how we can differentiate between what's our steady state and what's our transient. Study state is gonna end up being q(p), the particular solution that we get because we've got an EMF, and our transient solution is gonna be the… the part that has to do with that associated homogeneous differential equation… So that finishes up, finding the solutions to circuits. And I hope you enjoyed it I hope you also noticed that it's a really a lot like working with spring mass systems If you've done any work with spring mass systems the mathematics is virtually identical and the terminology is pretty much the same So if you kinda get one and you
get the other it's just like how they they get interpreted from a physics perspective is different. If you need some work working with undetermined coefficients or solving, differential equations that have constant coefficients, I'll put those links inside of the show notes. If you liked the video go ahead and press like You have any comments or questions go ahead and comment in question And if you like the work that I'm doing and you wanna see more of it or you're just curious about more differential equations linear algebra discreet mathematics any kind of mathematics really go ahead and subscribe to the channel.

Ask anything
We've read this whole study set, so questions about it get the best answers.