Internal
problem
ID
[15036]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
6.
Simplifying
through
simplifiction.
Additional
exercises.
page
114
Problem
number
:
6.2
Date
solved
:
Thursday, March 13, 2025 at 05:30:51 AM
CAS
classification
:
[[_homogeneous, `class C`], _Riccati]
With initial conditions
ode:=diff(y(x),x) = 1+(y(x)-x)^2; ic:=y(0) = 1/4; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],x]==1+(y[x]-x)^2; ic={y[0]==1/4}; 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) - 1,0) ics = {y(0): 1/4} dsolve(ode,func=y(x),ics=ics)