Internal
problem
ID
[10464]
Book
:
Second
order
enumerated
odes
Section
:
section
2
Problem
number
:
41
Date
solved
:
Tuesday, September 30, 2025 at 07:27:43 PM
CAS
classification
:
[[_Riccati, _special]]
ode:=diff(y(x),x) = x-y(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==x-y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x + y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list