Internal
problem
ID
[18683]
Book
:
Introductory
Course
On
Differential
Equations
by
Daniel
A
Murray.
Longmans
Green
and
Co.
NY.
1924
Section
:
Chapter
II.
Equations
of
the
first
order
and
of
the
first
degree.
Exercises
at
page
28
Problem
number
:
Ex.
2
Date
solved
:
Thursday, March 13, 2025 at 12:37:28 PM
CAS
classification
:
[[_1st_order, `_with_symmetry_[F(x),G(y)]`]]
ode:=1+y(x)^2 = (arctan(y(x))-x)*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=1+y[x]^2==(ArcTan[y[x]]-x)*D[y[x],x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-(-x + atan(y(x)))*Derivative(y(x), x) + y(x)**2 + 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)