3.1 Quizz 1
-
-
PDF (letter size)
-
-
PDF (legal size)
3.1.1 Problem 1
Find the general solution of the following differential equation Solution
Writing the ODE as
Shows it is a linear ode as it has for form where in this case and . The first step is to
determine the integrating factor, which is given by
Multiplying both sides of (1) by this integrating factor gives
But by the product rule. Hence the above becomes
Integrating both sides gives
Where is the constant of integration. What is left is to solve the integral . Using integration by
parts Let , therefore and . Therefore
But . Hence the above becomes
Note that a constant of integration is not needed in (3), since constant of integration
was already added in (2) earlier. Substituting (3) in (2) gives Solving for from the
above (by multiplying both sides of the above equation by ), gives the general solution
Therefore The solution contains one constant of integration as expected since the order of the
ODE is one.
3.1.2 Problem 2
Solve Solution
This ode is separable because it can be written as Where the function depends explicitly on
only and the function depends on only. In the given ODE, and . Hence the ODE can be be
written as
Integrating both sides gives Replacing and into the above gives
The integral on the right side is
Where is the constant of integration. The integral on the left side is solved using partial
fractions. Let
Comparing the numerators shows that Which implies, by comparing coefficients of on each side
that and . This means and . Therefore
Hence the left integral in (1) now can be written as
But . To find , let . Hence . Therefore
Substituting all of this back in (3) gives
Now that both integrals are found, substituting (4) and (2) back in (1) gives
Let , a new constant. Raising both sides to exponential gives
Let a new constant. The above becomes The absolute on the left side can be removed by letting
the new constant absorbs the sign for either positive or negative..
Solving for from the above in order to obtain an explicit solution gives
Hence the solution is The above can be simplified further by dividing numerator and
denominator by which gives Let a new constant. Hence the final general solution becomes
Where is the constant of integration which can be found from initial conditions when
given.
3.1.3 Problem 3
Solve Solution
This is homogeneous ODE. Dividing both the numerator and denominator of the right side by
gives
Let be a new dependent variable. Hence . By the product rule Substituting and replacing by
the above into (1) gives a new ODE in which is now separable
The above ODE is separable. It can be written as
Integrating gives
Where is constant of integration. To evaluate the left integral , let . Hence . Therefore
But is always positive so the absolute sign is not needed. Therefore Substituting the above in (2)
gives Raising both sides to exponential gives
Since exponential function is never negative. Let be a new constant. The above becomes
But . Hence the above becomes Which implies There are two solutions. They are
3.1.4 Problem 4
A tank initially contains L of pure water. A mixture containing of g/L of salt enters the tank at
a rate of L/min, and the well-stirred mixture leaves the tank at the same rate. Find an
expression in terms of for the amount of salt in the tank at any time . Also find the limiting
amount of salt in the tank as
Solution
Figure 3.1:Showing tank flow and initial conditions
Let be mass (amount) of salt (in grams) in the tank at time . Let be the volume of water
(mixture) (in litre) in the tank at time . Using the equilibrium equation for change of mass of salt
Which becomes
But
But we are given that L. Hence Which means the volume of mixture remains constant in the
tank (this is as expected, since rate of flow in is the same as rate of flow out). Substituting the
above in (1) gives the ODE to solve
The solution to above ODE gives the mass of salt in tank at time .
This is linear ODE as it has the form . The integrating factor is . Multiplying both sides of the
above ODE (2) by this integrating factor gives
But by the product rule. Hence the above becomes Integrating both sides gives
Where is the constant of integration. To evaluate, let , then . Hence or . Therefore the above
becomes
Multiplying both sides by gives the general solution as
Initial conditions are now used to find . At , we are given that since there was no salt in the
tank initially. Hence the above becomes at
Therefore (3) becomes the particular solution given by
To answer the final part, as then and the above gives In grams. The above is the limiting mass
(amount) of salt in the tank. For example if grams per liter, then the maximum possible mass of
salt in the tank will be grams. The amount of salt is initially zero in the tank, and increases
exponentially before leveling off at the limit given by grams. The following is a plot that
illustrates this for .
Figure 3.2:Showing limiting value of amount of salt for