Internal
problem
ID
[934]
Book
:
Differential
equations
and
linear
algebra,
4th
ed.,
Edwards
and
Penney
Section
:
Section
5.2,
Higher-Order
Linear
Differential
Equations.
General
solutions
of
Linear
Equations.
Page
288
Problem
number
:
problem
44
Date
solved
:
Saturday, March 29, 2025 at 10:34:59 PM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
Using reduction of order method given that one solution is
ode:=x^2*diff(diff(y(x),x),x)+x*diff(y(x),x)+(x^2-1/4)*y(x) = 0; dsolve(ode,y(x), singsol=all);
ode=(1-x^2)*D[y[x],{x,2}]-2*x*D[y[x],x]+2*y[x]==0; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**2*Derivative(y(x), (x, 2)) + x*Derivative(y(x), x) + (x**2 - 1/4)*y(x),0) ics = {} dsolve(ode,func=y(x),ics=ics)