Internal
problem
ID
[18423]
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
(i)
Date
solved
:
Monday, March 31, 2025 at 05:27:57 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.103 (sec)
Solve
With initial conditions
Since the ode has the form
And the solution is immediately written as
Singular solutions are found by solving
for
The following diagram is the phase line diagram. It classifies each of the above equilibrium points as stable or not stable or semi-stable.
| |
Solution plot | Slope field |
Summary of solutions found
ode:=diff(x(t),t) = x(t)^2-3*x(t)+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 trying separable <- separable successful
Maple step by step
ode=D[x[t],t]==x[t]^2-3*x[t]+2; ic={x[0]==1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-x(t)**2 + 3*x(t) + Derivative(x(t), t) - 2,0) ics = {x(0): 1} dsolve(ode,func=x(t),ics=ics)
ValueError : Couldnt solve for initial conditions