Internal
problem
ID
[18523]
Book
:
Elementary
Differential
Equations.
By
Thornton
C.
Fry.
D
Van
Nostrand.
NY.
First
Edition
(1929)
Section
:
Chapter
VII.
Linear
equations
of
order
higher
than
the
first.
section
63.
Problems
at
page
196
Problem
number
:
3
Date
solved
:
Monday, March 31, 2025 at 05:41:11 PM
CAS
classification
:
[[_3rd_order, _linear, _nonhomogeneous]]
Time used: 0.539 (sec)
The characteristic equation is
The roots of the above equation are
Therefore the homogeneous solution is
The fundamental set of solutions for the homogeneous solution are the following
This is higher order nonhomogeneous ODE. Let the solution be
Where
Now the particular solution to the given ODE is found
Let the particular solution be
Where
Where
Substituting the fundamental set of solutions
The determinant simplifies to
Now we determine
Now we are ready to evaluate each
Now that all the
Hence
Therefore the particular solution is
Which simplifies to
Therefore the general solution is
ode:=diff(diff(diff(y(x),x),x),x)-diff(diff(y(x),x),x)+diff(y(x),x)-y(x) = cos(x); dsolve(ode,y(x), singsol=all);
Maple trace
Methods for third order ODEs: --- Trying classification methods --- trying a quadrature trying high order exact linear fully integrable trying differential order: 3; linear nonhomogeneous with symmetry [0,1] trying high order linear exact nonhomogeneous trying differential order: 3; missing the dependent variable checking if the LODE has constant coefficients <- constant coefficients successful
Maple step by step
ode=D[y[x],{x,3}]-D[y[x],{x,2}]+D[y[x],x]-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) + Derivative(y(x), x) - Derivative(y(x), (x, 2)) + Derivative(y(x), (x, 3)),0) ics = {} dsolve(ode,func=y(x),ics=ics)