Internal
problem
ID
[3471]
Book
:
Mathematical
methods
for
physics
and
engineering,
Riley,
Hobson,
Bence,
second
edition,
2002
Section
:
Chapter
14,
First
order
ordinary
differential
equations.
14.4
Exercises,
page
490
Problem
number
:
Problem
14.17
Date
solved
:
Tuesday, March 04, 2025 at 04:41:21 PM
CAS
classification
:
[[_homogeneous, `class G`], _exact, _rational, [_Abel, `2nd type`, `class B`]]
With initial conditions
ode:=x*(1-2*x^2*y(x))*diff(y(x),x)+y(x) = 3*x^2*y(x)^2; ic:=y(1) = 1/2; dsolve([ode,ic],y(x), singsol=all);
ode=x*(1-2*x^2*y[x])*D[y[x],x] +y[x] == 3*x^2*y[x]^2; ic=y[1]==1/2; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-3*x**2*y(x)**2 + x*(-2*x**2*y(x) + 1)*Derivative(y(x), x) + y(x),0) ics = {y(1): 1/2} dsolve(ode,func=y(x),ics=ics)