Internal
problem
ID
[14935]
Book
:
Ordinary
Differential
Equations.
An
introduction
to
the
fundamentals.
Kenneth
B.
Howell.
second
edition.
CRC
Press.
FL,
USA.
2020
Section
:
Chapter
2.
Integration
and
differential
equations.
Additional
exercises.
page
32
Problem
number
:
2.4
(f)
Date
solved
:
Monday, March 31, 2025 at 01:04:24 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=(x^2+1)*diff(y(x),x) = 1; ic:=y(0) = 3; dsolve([ode,ic],y(x), singsol=all);
ode=(x^2+1)*D[y[x],x]==1; ic={y[0]==3}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((x**2 + 1)*Derivative(y(x), x) - 1,0) ics = {y(0): 3} dsolve(ode,func=y(x),ics=ics)