# Video: Solving a First-Order Separable Differential Equation with an Initial Condition

Let π¦β² = 1/2 π¦ be the differential equation that approximately models the growth of the number of people infected with a certain disease. At time π‘ = 0 years, there are 30 people infected. Approximately, how many infected people will there be after 4 years?

05:19

### Video Transcript

Let π¦ prime equals a half π¦ be the differential equation that approximately models the growth of the number of people infected with a certain disease. At time π‘ equals zero years, there are 30 people infected. Approximately, how many infected people will there be after four years?

So weβve been given the differential equation π¦ prime equals a half π¦ to model the spread of this particular disease. Now, another way to write this would be as dπ¦ by dπ‘ equals a half π¦. The rate of change of π¦ with respect to time equals one-half π¦. And if we express the differential equation in this way, then weβll perhaps see more easily that it is in fact a separable differential equation. Now, whilst dπ¦ by dπ‘ is not a fraction, we do treat it a little like one. And so it is equivalent to say that one over π¦ dπ¦ is equal to a half dπ‘. And so weβve separated the variables. We have all the π¦βs on the left-hand side and all the terms involving π‘ on the right-hand side.

Weβre then going to integrate both sides of this equation. Integrating the left-hand side, we recall that the integral of one ever π¦ with respect to π¦ is equal to the natural logarithm of the absolute value of π¦. And we can include a constant of integration, π one. On the right-hand side, the integral of a constant with respect to π‘, in this case a half, is a half π‘. And we can include a second constant of integration, π two. Now, in fact, by subtracting π one from each side, we can combine our two constants of integration into a single constant of integration, which weβll call π. And we have that the natural logarithm of the absolute value of π¦ is equal to a half π‘ plus π.

Now, remember here that π¦ represents the number of people infected with this disease. And therefore, by definition, π¦ must be greater than or equal to zero. Therefore, the absolute value of π¦ is just π¦ itself. And so we can remove these absolute value signs, giving that the natural logarithm of π¦ is equal to a half π‘ plus π. The next step in solving this equation to give π¦ in terms of π‘ is to take π to the power of each side, knowing that this will cancel out the natural logarithm on the left-hand side. When we do so, we get π¦ is equal to π to the power of a half π‘ plus π.

Next, we simplify the right-hand side using one of our laws of exponents, which tells us that π₯ to the power of π multiplied by π₯ to the power of π is equal to the π₯ to the power of π plus π. So, using this rule in reverse, we can say that, on the right-hand side, we have π to the power of π multiplied by π to the power of a half π‘. Now, π, remember, was a constant. And so π to the power of π is just a different constant, which we can call π΄. And so we have the general solution to this differential equation. π¦ is equal to π΄ multiplied by π to the power of one-half π‘ for some constant π΄.

Weβre asked to determine how many infected people there will be after four years. So thatβs the value of π¦ when π‘ equals four. But in order to do this, we first need to determine the value of the constant π΄. We can do this by considering the other information weβre given in the question, which is an initial condition. We know that, at time π‘ equals zero, there are 30 people infected. So when π‘ equals zero, π¦ equals 30.

Substituting 30 for π¦ and zero for π‘ gives 30 equals π΄ multiplied by π to the power of a half multiplied by zero. Now, a half multiplied by zero is just zero. And π to the power of zero is one. So we have 30 is equal to π΄ multiplied by one, which simplifies to 30 equals π΄. We have therefore found the value of this constant. The particular solution to this differential equation then is π¦ equals 30π to the power of one-half π‘.

Finally, we need to substitute π‘ equals four to determine the number of infected people after four years. Doing so gives π¦ equals 30π to the power of four over two. Thatβs two. So we have π¦ equals 30π squared. Now, weβre using a continuous function here to model a discrete variable. The number of people must be an integer value. So we could evaluate 30π squared. But weβd then need to round this answer to the nearest integer. We can say then that the number of infected people after four years will be an integer or whole number close to this value of 30π squared.

So in this question, we separated the variables in our differential equation, integrated both sides to find an expression for π¦ in terms of π‘. We then used the initial condition to find the value of our constant π΄ and, finally, substituted π‘ equals four to determine approximately how many infected people there will be after four years. And we found that this number will be a whole number close to 30π squared.