Internal
problem
ID
[6446]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Further
problems
24.
page
1068
Problem
number
:
17
Date
solved
:
Wednesday, March 05, 2025 at 12:45:06 AM
CAS
classification
:
[_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`], [_Abel, `2nd type`, `class B`]]
ode:=x-x*y(x)^2 = (x+x^2*y(x))*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=(x-x*y[x]^2)==(x+x^2*y[x])*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x*y(x)**2 + x - (x**2*y(x) + x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)