Internal
problem
ID
[8743]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
33
Date
solved
:
Friday, April 25, 2025 at 05:02:00 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.036 (sec)
Solve
With initial conditions
Integrating gives
Solving for the constant of integration from initial conditions, the solution becomes
Solving for
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.057 (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
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
| |
Solution plot | Slope field |
Summary of solutions found
Time used: 0.065 (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
Integrating gives
Singular solutions are found by solving
for
Substituing the above solution for
Solving for the constant of integration from initial conditions, the solution becomes
Which simplifies to
| |
Solution plot | Slope field |
Summary of solutions found
ode:=diff(y(t),t) = 1/(1-y(t)); ic:=y(0) = 2; dsolve([ode,ic],y(t), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature trying 1st order linear trying Bernoulli trying separable <- separable successful
Maple step by step
ode=D[y[t],t]==1/(1-y[t]); ic=y[0]==2; DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") y = Function("y") ode = Eq(Derivative(y(t), t) - 1/(1 - y(t)),0) ics = {y(0): 2} dsolve(ode,func=y(t),ics=ics)