Internal
problem
ID
[18483]
Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929)
Section
:
Chapter
IV.
Methods
of
solution:
First
order
equations.
section
31.
Problems
at
page
85
Problem
number
:
3
Date
solved
:
Monday, March 31, 2025 at 05:36:29 PM
CAS
classification
:
[_Bernoulli]
Time used: 0.165 (sec)
Solve
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
In canonical form a linear first order is
Comparing the above to the given ode shows that
The integrating factor
The ode becomes
Integrating gives
Dividing throughout by the integrating factor
The substitution
Solving for
Which simplifies to
Summary of solutions found
Time used: 0.151 (sec)
Solve
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
The result of integrating gives
And
Now a modified ODE is ontained from the original ODE, which is exact and can be solved. 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
Therefore
Where
But since
Solving for
Which simplifies to
Summary of solutions found
ode:=diff(y(x),x)+y(x)/x = sin(x)/y(x)^3; dsolve(ode,y(x), 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[y[x],x]+y[x]/x==Sin[x]/y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - sin(x)/y(x)**3 + y(x)/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)