Internal
problem
ID
[23263]
Book
:
Ordinary
differential
equations
with
modern
applications.
Ladas,
G.
E.
and
Finizio,
N.
Wadsworth
Publishing.
California.
1978.
ISBN
0-534-00552-7.
QA372.F56
Section
:
Chapter
1.
Elementary
methods.
First
order
differential
equations.
Exercise
at
page
26
Problem
number
:
14
Date
solved
:
Thursday, October 02, 2025 at 09:27:23 PM
CAS
classification
:
[_separable]
ode:=(1+y(x)^2)*cos(x) = 2*(1+sin(x)^2)*y(x)*diff(y(x),x); dsolve(ode,y(x), singsol=all);
ode=(1+y[x]^2)*Cos[x]==(1+Sin[x]^2)*2*y[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((y(x)**2 + 1)*cos(x) - (2*sin(x)**2 + 2)*y(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)