Internal
problem
ID
[18580]
Book
:
A
book
of
problems
in
ordinary
differential
equations.
M.L.
KRASNOV,
A.L.
KISELYOV,
G.I.
MARKARENKO.
MIR,
MOSCOW.
1983
Section
:
Chapter
3.
Section
24.2.
Solving
the
Cauchy
problem
for
linear
differential
equation
with
constant
coefficients.
Exercises
page
249
Problem
number
:
840
Date
solved
:
Thursday, October 02, 2025 at 03:15:05 PM
CAS
classification
:
[[_2nd_order, _missing_x]]
Using Laplace method With initial conditions
ode:=diff(diff(x(t),t),t)-diff(x(t),t) = 1; ic:=[x(0) = -1, D(x)(0) = -1]; dsolve([ode,op(ic)],x(t),method='laplace');
ode=D[x[t],{t,2}]-D[x[t],t]==1; ic={x[0]==-1,Derivative[1][x][0 ]==-1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-Derivative(x(t), t) + Derivative(x(t), (t, 2)) - 1,0) ics = {x(0): -1, Subs(Derivative(x(t), t), t, 0): -1} dsolve(ode,func=x(t),ics=ics)