Internal
problem
ID
[21125]
Book
:
A
Textbook
on
Ordinary
Differential
Equations
by
Shair
Ahmad
and
Antonio
Ambrosetti.
Second
edition.
ISBN
978-3-319-16407-6.
Springer
2015
Section
:
Chapter
1.
First
order
linear
differential
equations.
Excercise
1.5
at
page
13
Problem
number
:
8(a)
Date
solved
:
Thursday, October 02, 2025 at 07:09:25 PM
CAS
classification
:
[_separable]
With initial conditions
ode:=diff(x(t),t)+1/(t^2-1)*x(t) = 0; ic:=[x(-2) = 1]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],t]+1/(t^2-1)*x[t]==0; ic={x[-2]==1}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
from sympy import * t = symbols("t") x = Function("x") ode = Eq(Derivative(x(t), t) + x(t)/(t**2 - 1),0) ics = {x(0): 1/2} dsolve(ode,func=x(t),ics=ics)