Internal
problem
ID
[18427]
Book
:
Elementary
Differential
Equations.
By
R.L.E.
Schwarzenberger.
Chapman
and
Hall.
London.
First
Edition
(1969)
Section
:
Chapter
3.
Solutions
of
first-order
equations.
Exercises
at
page
47
Problem
number
:
2
(v)
Date
solved
:
Monday, March 31, 2025 at 05:28:08 PM
CAS
classification
:
[_quadrature]
Solve
With initial conditions
This is non linear first order ODE. In canonical form it is written as
The
And the point
The
And the point
Time used: 0.129 (sec)
Solve
With initial conditions
Integrating gives
The following diagram is the phase line diagram. It classifies each of the above equilibrium points as stable or not stable or semi-stable.
Solving for the constant of integration from initial conditions, the solution becomes
Solving for
Which simplifies to
Summary of solutions found
Time used: 0.116 (sec)
Solve
With initial conditions
In canonical form, the ODE is
This is a Bernoulli ODE.
The standard Bernoulli ODE has the form
Comparing this to (1) shows that
The first step is to divide the above equation by
The next step is use the substitution
This method is now applied to the ODE at hand. Comparing the ODE (1) With (2) Shows that
Dividing both sides of ODE (1) by
Let
Taking derivative of equation (5) w.r.t
Substituting equations (5) and (6) into equation (4) gives
The above now is a linear ODE in
Since the ode has the form
The substitution
Solving for the constant of integration from initial conditions, the solution becomes
Solving for
Which simplifies to
Summary of solutions found
Time used: 0.078 (sec)
Solve
With initial conditions
To solve an ode of the form
We assume there exists a function
Hence
But since
If the above condition is satisfied, then the original ode is called exact. We still need to determine
Therefore
Comparing (1A) and (2A) shows that
The next step is to determine if the ODE is is exact or not. The ODE is exact when the following condition is satisfied
Using result found above gives
And
Since
Since
Since
The result of integrating gives
And
So now a modified ODE is obtained from the original ODE which will be exact and can be solved using the standard method. The modified ODE is
The following equations are now set up to solve for the function
Integrating (1) w.r.t.
Where
But equation (2) says that
Solving equation (5) for
Integrating the above w.r.t
Where
But since
Solving for the constant of integration from initial conditions, the solution becomes
Solving for
Which simplifies to
Summary of solutions found
Time used: 0.083 (sec)
Solve
With initial conditions
Let
Solving for
This has the form
Where
Taking derivative of (*) w.r.t.
Comparing the form
Hence (2) becomes
The singular solution is found by setting
No valid singular solutions found.
The general solution is found when
This ODE is now solved for
Since the ode has the form
Substituing the above solution for
Solving for the constant of integration from initial conditions gives
Which simplifies to
The solution
was found not to satisfy the ode or the IC. Hence it is removed.
Summary of solutions found
ode:=diff(x(t),t) = 2*x(t)^(1/2); ic:=x(0) = 1; dsolve([ode,ic],x(t), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli <- Bernoulli successful
Maple step by step
ode=D[x[t],t]==2*Sqrt[x[t]]; ic={x[0]==1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-2*sqrt(x(t)) + Derivative(x(t), t),0) ics = {x(0): 1} dsolve(ode,func=x(t),ics=ics)
NotImplementedError : Initial conditions produced too many solutions for constants