Internal
problem
ID
[14228]
Book
:
An
elementary
treatise
on
differential
equations
by
Abraham
Cohen.
DC
heath
publishers.
1906
Section
:
Chapter
VII,
Linear
differential
equations
with
constant
coefficients.
Article
50.
Method
of
undetermined
coefficients.
Page
107
Problem
number
:
Ex
9
Date
solved
:
Thursday, October 02, 2025 at 09:26:55 AM
CAS
classification
:
[[_high_order, _linear, _nonhomogeneous]]
ode:=diff(diff(diff(diff(y(x),x),x),x),x)+2*diff(diff(y(x),x),x)+y(x) = cos(x); dsolve(ode,y(x), singsol=all);
ode=D[y[x],{x,4}]+2*D[y[x],{x,2}]+y[x]==Cos[x]; ic={}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(y(x) - cos(x) + 2*Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 4)),0) ics = {} dsolve(ode,func=y(x),ics=ics)