Internal
problem
ID
[39]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Section
1.3.
Problems
at
page
27
Problem
number
:
23
Date
solved
:
Saturday, March 29, 2025 at 04:27:06 PM
CAS
classification
:
[_Riccati]
With initial conditions
ode:=diff(y(x),x) = x^2+y(x)^2-1; ic:=y(0) = 0; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==x^2+y[x]^2-1; ic={y[0]==0}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - y(x)**2 + Derivative(y(x), x) + 1,0) ics = {y(0): 0} dsolve(ode,func=y(x),ics=ics)
TypeError : bad operand type for unary -: list