Internal
problem
ID
[15575]
Book
:
DIFFERENTIAL
and
INTEGRAL
CALCULUS.
VOL
I.
by
N.
PISKUNOV.
MIR
PUBLISHERS,
Moscow
1969.
Section
:
Chapter
8.
Differential
equations.
Exercises
page
595
Problem
number
:
194
Date
solved
:
Thursday, October 02, 2025 at 10:20:18 AM
CAS
classification
:
[[_Riccati, _special]]
With initial conditions
ode:=diff(y(x),x) = x+y(x)^2; ic:=[y(0) = 1]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=D[y[x],x]==y[x]^2+x; ic={y[0]==1}; 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 = {y(0): 1} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list