Internal
problem
ID
[194]
Book
:
Elementary
Differential
Equations.
By
C.
Henry
Edwards,
David
E.
Penney
and
David
Calvis.
6th
edition.
2008
Section
:
Chapter
1.
First
order
differential
equations.
Review
problems
at
page
98
Problem
number
:
16
Date
solved
:
Tuesday, March 04, 2025 at 10:59:58 AM
CAS
classification
:
[[_homogeneous, `class C`], _Riccati]
ode:=diff(y(x),x) = x^2-2*x*y(x)+y(x)^2; dsolve(ode,y(x), singsol=all);
ode=D[y[x],x]==x^2-2*x*y[x]+y[x]^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 + 2*x*y(x) - y(x)**2 + Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)