Internal
problem
ID
[4153]
Book
:
Theory
and
solutions
of
Ordinary
Differential
equations,
Donald
Greenspan,
1960
Section
:
Chapter
4.
The
general
linear
differential
equation
of
order
n.
Exercises
at
page
63
Problem
number
:
8(b)
Date
solved
:
Sunday, March 30, 2025 at 02:41:06 AM
CAS
classification
:
[[_2nd_order, _with_linear_symmetries]]
ode:=diff(diff(y(x),x),x)+2*diff(y(x),x)-2*y(x) = x^2+1; dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,2}]+2*D[y[x],x]-2*y[x]==1+x^2; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(-x**2 - 2*y(x) + 2*Derivative(y(x), x) + Derivative(y(x), (x, 2)) - 1,0) ics = {} dsolve(ode,func=y(x),ics=ics)