Internal
problem
ID
[4077]
Book
:
Differential
equations,
Shepley
L.
Ross,
1964
Section
:
2.4,
page
55
Problem
number
:
1
Date
solved
:
Friday, April 25, 2025 at 08:57:39 AM
CAS
classification
:
[_rational, [_Abel, `2nd type`, `class B`]]
Time used: 0.179 (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
Summary of solutions found
ode:=5*x*y(x)+4*y(x)^2+1+(x^2+2*x*y(x))*diff(y(x),x) = 0; 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 trying separable trying inverse linear trying homogeneous types: trying Chini differential order: 1; looking for linear symmetries trying exact <- exact successful
Maple step by step
ode=(5*x*y[x]+4*y[x]^2+1)+(x^2+2*x*y[x])*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(5*x*y(x) + (x**2 + 2*x*y(x))*Derivative(y(x), x) + 4*y(x)**2 + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)
Timed Out