Internal
problem
ID
[8727]
Book
:
Own
collection
of
miscellaneous
problems
Section
:
section
1.0
Problem
number
:
15
Date
solved
:
Sunday, March 30, 2025 at 01:25:10 PM
CAS
classification
:
[_quadrature]
Time used: 0.029 (sec)
Solve
Since the ode has the form
Summary of solutions found
Time used: 0.045 (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
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
Summary of solutions found
ode:=diff(y(x),x) = 1/x; dsolve(ode,y(x), singsol=all);
Maple trace
Methods for first order ODEs: --- Trying classification methods --- trying a quadrature <- quadrature successful
Maple step by step
ode=D[y[x],x] == 1/x; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(Derivative(y(x), x) - 1/x,0) ics = {} dsolve(ode,func=y(x),ics=ics)