Internal
problem
ID
[6475]
Book
:
Engineering
Mathematics.
By
K.
A.
Stroud.
5th
edition.
Industrial
press
Inc.
NY.
2001
Section
:
Program
24.
First
order
differential
equations.
Further
problems
24.
page
1068
Problem
number
:
46
Date
solved
:
Wednesday, March 05, 2025 at 12:51:27 AM
CAS
classification
:
[_separable]
ode:=x*(1+y(x)^2)-y(x)*(x^2+1)*diff(y(x),x) = 0; dsolve(ode,y(x), singsol=all);
ode=x*(1+y[x]^2)-y[x]*(1+x^2)*D[y[x],x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*(y(x)**2 + 1) - (x**2 + 1)*y(x)*Derivative(y(x), x),0) ics = {} dsolve(ode,func=y(x),ics=ics)