Internal
problem
ID
[15128]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
8.
Review
exercises
for
part
of
part
II.
page
143
Problem
number
:
49
Date
solved
:
Thursday, March 13, 2025 at 05:47:15 AM
CAS
classification
:
[_exact, _rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`], [_Abel, `2nd type`, `class A`]]
ode:=x*(-2*y(x)+1)+(y(x)-x^2)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=x*(1-2*y[x])+(y[x]-x^2)*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(x*(1 - 2*y(x)) + (-x**2 + y(x))*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)