Internal
problem
ID
[16402]
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, October 02, 2025 at 01:28:32 PM
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,op(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)