Internal
problem
ID
[13790]
Book
:
Differential
equations
and
the
calculus
of
variations
by
L.
ElSGOLTS.
MIR
PUBLISHERS,
MOSCOW,
Third
printing
1977.
Section
:
Chapter
1,
First-Order
Differential
Equations.
Problems
page
88
Problem
number
:
Problem
30
Date
solved
:
Wednesday, March 05, 2025 at 10:16:39 PM
CAS
classification
:
[[_Riccati, _special]]
With initial conditions
ode:=diff(y(x),x) = x+y(x)^2; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==x+y[x]^2; ic={y[0]==0}; 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): 0} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list