Internal
problem
ID
[13633]
Book
:
AN
INTRODUCTION
TO
ORDINARY
DIFFERENTIAL
EQUATIONS
by
JAMES
C.
ROBINSON.
Cambridge
University
Press
2004
Section
:
Chapter
5,
Trivial
differential
equations.
Exercises
page
33
Problem
number
:
5.4
(iv)
Date
solved
:
Wednesday, March 05, 2025 at 10:05:40 PM
CAS
classification
:
[_quadrature]
With initial conditions
ode:=x*diff(V(x),x) = x^2+1; ic:=V(1) = 1; dsolve([ode,ic],V(x), singsol=all);
ode=x*D[ V[x],x]==1+x^2; ic={V[1]==1}; DSolve[{ode,ic},V[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") V = Function("V") ode = Eq(-x**2 + x*Derivative(V(x), x) - 1,0) ics = {V(1): 1} dsolve(ode,func=V(x),ics=ics)