Let's go on and solve that equation. Now this is using a, standard technique

in solving differential equation and let's just walk through this.

It's really not a complicated thing. So here's the differential equation I

need to solve. Q is a function of time and that's the

function that I'm looking for. R and C and V0 are all constants of

course. Now the initial condition like we said is

that Qt equals 0 is 0. Now to solve this what I need to do is

write this as two different equations. The first one.

I'm going to just write the same equation again but I'm just dividing through by R.

And so this is what we have. this is what's called the in homogeneous

equation. The in homogeneous differential equation.

It has the function, derivatives of the function and the function itself that

we're looking for on the left hand side. And there is some kind of a constant term

here on the right-hand side. Now there's an associated so-called

homogeneous equation to that where the right-hand side is just 0.

Now there's kind of a trick to solving a differential equation like this, which if

you give it some thought really is a logical thing.

And the first time through may seem a bit puzzling to you.

But what you have to do is following. The first thing you do is find any

particular solution to equation one. So I just have to find A function Q that

will solve this equation. And then what I'm going to do, well let's

do that here. So if I were to say okay let's assume

that Q particular is just going to be a constant.

Because then I know that dQ dt will be 0 and I can ignore the first term.

And so I'll say okay, I'll just in the second term, I have 1 over RC Q

particular is V0 over R. So a solution to the inhomogeneous

equation, the original equation is QP is CV0.

So I just need to find any old solution. Now what I need to do is go back to the

homogeneous equation and find the general solution to that equation.

Now that easier because I don't have a terminal on the right hand side.

And so the solution to that is going to be that exponential function.

Source at e to the minus t over RC. Now I know when I take the derivative of

this I get a minus 1 over RC times the same thing and if I plug that in the

minus 1 over RC. And the plus 1 over RC will cancel out

and this equation will be satisfied. Now I can also multiply by some constant

A because that would be carried along in both terms and I need to put that in.

This is so called integration constant. So here is the general solution.

Now if you, this is going too fast and you didn't follow it, just take a minute

now and plug this in to this equation and then prove that that equation really does

add up to 0. Now what you do, here is the trick is the

solution of this full equation here, up here is going to be the particular

solution that you found plus the general solution.

So here it is. So here's the particular solution, here's

the general solution and that's it. So now there's one thing left to do.

A, the so called integration constant is has to be determined and the way we find

that is we use the initial condition and the initial condition is that q, this

function q at time 0 has to be 0. So if I take and I say okay , I'll plug t

equals 0 in here. So let me write that down.