Internal
problem
ID
[2229]
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.4.
Variation
of
Parameters
for
Higher
Order
Equations.
Page
503
Problem
number
:
section
9.4,
problem
23
Date
solved
:
Tuesday, March 04, 2025 at 01:52:06 PM
CAS
classification
:
[[_3rd_order, _with_linear_symmetries]]
With initial conditions
ode:=x^3*diff(diff(diff(y(x),x),x),x)-5*x^2*diff(diff(y(x),x),x)+14*x*diff(y(x),x)-18*y(x) = x^3; ic:=y(1) = 0, D(y)(1) = 1, (D@@2)(y)(1) = 7; dsolve([ode,ic],y(x), singsol=all);
ode=x^3*D[y[x],{x,3}]-5*x^2*D[y[x],{x,2}]+14*x*D[y[x],x]-18*y[x]==x^3; ic={y[1]==0,Derivative[1][y][1]==1,Derivative[2][y][1]==7}; DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") y = Function("y") ode = Eq(x**3*Derivative(y(x), (x, 3)) - x**3 - 5*x**2*Derivative(y(x), (x, 2)) + 14*x*Derivative(y(x), x) - 18*y(x),0) ics = {y(1): 0, Subs(Derivative(y(x), x), x, 1): 1, Subs(Derivative(y(x), (x, 2)), x, 1): 7} dsolve(ode,func=y(x),ics=ics)