Internal
problem
ID
[9783]
Book
:
Elementary
differential
equations.
By
Earl
D.
Rainville,
Phillip
E.
Bedient.
Macmilliam
Publishing
Co.
NY.
6th
edition.
1981.
Section
:
CHAPTER
16.
Nonlinear
equations.
Section
101.
Independent
variable
missing.
EXERCISES
Page
324
Problem
number
:
10
Date
solved
:
Tuesday, September 30, 2025 at 06:41:11 PM
CAS
classification
:
[[_2nd_order, _missing_y]]
With initial conditions
ode:=x*diff(diff(y(x),x),x)+diff(y(x),x)+x = 0; ic:=[y(2) = -1, D(y)(2) = -1/2]; dsolve([ode,op(ic)],y(x), singsol=all);
ode=x*D[y[x],{x,2}]+D[y[x],x]+x==0; ic={y[2]==-1,Derivative[1][y][2]==-1/2}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x*Derivative(y(x), (x, 2)) + x + Derivative(y(x), x),0) ics = {y(2): -1, Subs(Derivative(y(x), x), x, 2): -1/2} dsolve(ode,func=y(x),ics=ics)