Internal
problem
ID
[2219]
Book
:
Elementary
differential
equations
with
boundary
value
problems.
William
F.
Trench.
Brooks/Cole
2001
Section
:
Chapter
9
Introduction
to
Linear
Higher
Order
Equations.
Section
9.3.
Undetermined
Coefficients
for
Higher
Order
Equations.
Page
495
Problem
number
:
section
9.3,
problem
72
Date
solved
:
Tuesday, March 04, 2025 at 01:51:55 PM
CAS
classification
:
[[_high_order, _linear, _nonhomogeneous]]
With initial conditions
ode:=diff(diff(diff(diff(y(x),x),x),x),x)+2*diff(diff(diff(y(x),x),x),x)+2*diff(diff(y(x),x),x)+2*diff(y(x),x)+y(x) = exp(-x)*(20-12*x); ic:=y(0) = 3, D(y)(0) = -4, (D@@2)(y)(0) = 7, (D@@3)(y)(0) = -22; dsolve([ode,ic],y(x), singsol=all);
ode=D[y[x],{x,4}]+2*D[y[x],{x,3}]+2*D[y[x],{x,2}]+2*D[y[x],x]+1*y[x]==Exp[-x]*(20-12*x); ic={y[0]==3,Derivative[1][y][0] ==-4,Derivative[2][y][0] ==7,Derivative[3][y][0]==-22}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq((12*x - 20)*exp(-x) + y(x) + 2*Derivative(y(x), x) + 2*Derivative(y(x), (x, 2)) + 2*Derivative(y(x), (x, 3)) + Derivative(y(x), (x, 4)),0) ics = {y(0): 3, Subs(Derivative(y(x), x), x, 0): -4, Subs(Derivative(y(x), (x, 2)), x, 0): 7, Subs(Derivative(y(x), (x, 3)), x, 0): -22} dsolve(ode,func=y(x),ics=ics)