2.1 HW 1
2.1.1 Problems listing
PDF
-
-
PDF (letter size)
-
-
PDF (legal size)
2.1.2 Problem 1
Determine the order of the differential equation a) , b)
Solution
For (a), the order is one. Since highest derivative is of order one. For (b) the order is second.
Since highest derivative is of order two.
2.1.3 Problem 2
Verify for is a solution to
Solution
The verification is done by substituting the solution into the ODE, if the result is
an identity (both sides of the equation are the same), then it is verified, otherwise it
is not. Since solution is then and and . Substituting these into the ODE gives
Which is an identity. Hence is a solution to the ODE.
2.1.4 Problem 3
Determine whether the differential equation is linear or nonlinear a) , b)
Solution
ODE (a) is not linear, due to presence of the term while ODE (b) is linear, since all derivative
terms of the dependent variable and the dependent variable are linear.
2.1.5 Problem 4
Prove (show) that the initial-value problem , has a unique solution using the existence and
uniqueness theorem
Solution
Writing the ODE as
Shows that is continuous everywhere, since and function are continuous everywhere. And
Which is also continuous everywhere. This shows there exists an interval which must contain
where the initial value ODE given above has a solution and the solution is unique for all in
.
2.1.6 Problem 5
Let . a) Determine all equilibrium solutions. b) Determine the region in the xy-plane where the
solutions are increasing, and where the solutions are decreasing.
Solution
2.1.6.1 Part a
The equilibrium solutions are given by solution to which gives .
2.1.6.2 Part b
The equilibrium solutions divide the solution domain into three regions. One is and one is where
and one where .
When , we see that is always positive. Hence is positive, which means the solution is
increasing.
When , then and also . Hence the product is positive, This means for , the slope is positive and
the solution is increasing.
For , the term is negative and the term is positive. Hence the product is negative. This means
the slope is negative and the solution is decreasing. Therefore
To verify this, the following is a plot of the solution curves. It shows the 3 regions which agrees
with the above result.
Figure 2.1:Solution curves
2.1.7 Problem 6
Solve the following differential equations a) . b)
Solution
2.1.7.1 Part a
This is separable ODE, it can be written as Integrating gives To find , we notice that, by
definition . This shows that is the antiderivative. Hence the above becomes Taking the
exponential of both sides gives Where the sign is absorbed by the constant . Hence
2.1.7.2 Part b
The ODE is
This is now separable. Integrating gives or
Applying initial conditions to the above gives
Hence . Therefore the general solution (1) becomes
2.1.8 Problem 7
Solve the following differential equations a) , b)
Solution
2.1.8.1 Part a
This is a linear ODE in . It is of the form , where . Hence the integrating factor is or .
Multiplying both sides by this integrating factor make the LHS complete differential
giving
The above is the general solution.
2.1.8.2 Part b
Writing the ODE as Show this is a linear ODE in . It is of the form , where . Hence the
integrating factor is or . Multiplying both sides by this integrating factor make the
LHS complete differential giving Integrating gives
Integration by parts. . Let , therefore
Hence (1) becomes Where is constant of integration. Therefore
2.1.9 Problem 8
A container initially containing L of water in which there is g of salt dissolved. A
solution containing g/L of salt is pumped into the container at a rate of L/min, and the
well-stilled mixture runs out at a rate of L/min. How much salt is in the tank after
min?
Solution
Figure 2.2:Showing tank flow
Let be mass of salt (in grams) in tank at time . Let be the volume of water (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 Substituting the above in (1) gives The solution to above
ODE gives the mass of salt in tank at time . This is linear ODE. The integrating factor is .
Multiplying both sides of the above ODE by this integrating factor gives Integrating gives
Hence
At , we are given that (g). Hence the above becomes
Therefore (1) becomes
At , the above gives
2.1.10 Problem 9
Consider the RC circuit (See page 65 in the text) which has and . If the capacitor is uncharged
initially, determine the current in the circuit for
Solution
The equation for RC circuit is given by equation 1.7.16 in the text book as Where is the charge
on the plates of the capacitor We are told that at . Using the numerical values given, the above
ODE becomes
This is linear ODE in . The integrating factor is . Multiplying both sides by this integrating
factor gives Integrating
Hence Using initial conditions shows that or . Hence
Hence the current in the circuit is
2.1.11 Problem 10
Solve the initial-value problem
Solution
Let us first check if a solution exists, and unique. . This is continuos for all except when . And .
This is also continuos for all except when . Since initial conditions satisfies , then there is an
interval that includes where a solution exists and is unique for all in this interval. Now we can
solve the ODE.
Let . Hence . Therefore . The given ODE can be written as In terms of the new dependent
variable , the above becomes
The above ODE is separable. Therefore Integrating gives We notice that . Therefore which is the
integrand. This shows that is the anti derivative of the integral of the LHS above. Therefore the
above becomes
Let be new constant. The above becomes
Solving for gives
Since , then there are two general solutions
Initial conditions are now used to find a particular soluton. For
Hence one solution is And for
There is no solution for in this equation since sqrt of a real number must be positive (principal
root). Hence the only particular solution is the first one which is The above verifies
the existence and uniqueness theorem, as only one solution is found which includes
.
2.1.12 Problem 11
Solve the given differential equation
Solution
In canonical form the ODE is We see that this is Bernoulli ODE of the form where .
Dividing both sides by gives Let . Then . Or . Substituting this in the above ODE gives
This is now linear in . The integrating factor is . Multiplying both sides by this integrating factor
gives Integrating
But . Therefore the final solution is
2.1.13 Problem 12
Determine whether the given differential equation is exact Solution
Writing the ODE as Where
Therefore
Since then the ode is exact.
2.1.14 Problem 13
Solve the given differential equation
Solution
The first step is to determine if the ODE is exact or not. Writing the ODE as Therefore
Since , then the ODE is exact. This implies there exists potential function such that its
differential is
This implies . Comparing (1,2) shows that
Integrating (3) w.r.t. gives Where acts as the integration constant, but since depends on both ,
it becomes an arbitrary function of instead. The above becomes
Taking derivative w.r.t. of the above gives
Comparing (6) and (4) shows that
Therefore where is arbitrary constant. Substituting back in (5) gives But since is a constant
function, say then the above becomes Where the constants are combined to one constant . The
above is the solution to the ODE. It can be left in implicit form as the above, or we can solve for
explicitly. Solving for gives Hence
2.1.15 Problem 14
Determine an integrating factor for the given differential equation and hence find the general
solution
Solution
Writing the ODE as Where
Therefore
Since then the ode is not exact. Applying theorem 1.9.11 part(1).
Since this depends on only, then there exists an integrating factor that depends on only which
makes the ODE exact. The integrating factor is therefore
Multiplying the given ODE (1) by this integrating factor gives
Where now
Let us first verify the above is indeed exact.
This shows it is exact as expected. Hence now we need to find by solving the following two
equations
Integrating (3) w.r.t. gives Where acts as the integration constant, but since depends on both ,
it becomes an arbitrary function of instead. The above becomes
Taking derivative w.r.t. of the above gives
Comparing (6) and (4) shows that
Therefore where is arbitrary constant. Substituting back in (5) gives But since is a constant
function, say then the above becomes Where the constants are combined to one constant .
Solving for gives
Where
2.1.16 Marks per problem
Figure 2.3:marks