Internal
problem
ID
[1290]
Book
:
Elementary
differential
equations
and
boundary
value
problems,
10th
ed.,
Boyce
and
DiPrima
Section
:
Chapter
3,
Second
order
linear
equations,
3.3
Complex
Roots
of
the
Characteristic
Equation
,
page
164
Problem
number
:
24
Date
solved
:
Tuesday, March 04, 2025 at 12:28:05 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
With initial conditions
ode:=5*diff(diff(u(x),x),x)+2*diff(u(x),x)+7*u(x) = 0; ic:=u(0) = 2, D(u)(0) = 1; dsolve([ode,ic],u(x), singsol=all);
ode=5*D[u[x],{x,2}]+2*D[u[x],x]+7*u[x]==0; ic={u[0]==2,Derivative[1][u][0]==1}; DSolve[{ode,ic},u[x],x,IncludeSingularSolutions->True]
from sympy import * x = symbols("x") u = Function("u") ode = Eq(7*u(x) + 2*Derivative(u(x), x) + 5*Derivative(u(x), (x, 2)),0) ics = {u(0): 2, Subs(Derivative(u(x), x), x, 0): 1} dsolve(ode,func=u(x),ics=ics)