Internal
problem
ID
[21371]
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
8.
Qualitative
analysis
of
2
by
2
systems
and
nonlinear
second
order
equations.
Excercise
8.5
at
page
184
Problem
number
:
20
Date
solved
:
Thursday, October 02, 2025 at 07:29:51 PM
CAS
classification
:
[[_2nd_order, _missing_x], _Duffing, [_2nd_order, _reducible, _mu_x_y1]]
With initial conditions
ode:=diff(diff(x(t),t),t) = -x(t)+x(t)^3; ic:=[x(0) = 0, D(x)(0) = 1/2]; dsolve([ode,op(ic)],x(t), singsol=all);
ode=D[x[t],{t,2}]==-x[t]+x[t]^3; ic={x[0]==0,Derivative[1][x][0] ==1/2}; DSolve[{ode,ic},x[t],t,IncludeSingularSolutions->True]
{}
from sympy import * t = symbols("t") x = Function("x") ode = Eq(-x(t)**3 + x(t) + Derivative(x(t), (t, 2)),0) ics = {x(0): 0, Subs(Derivative(x(t), t), t, 0): 1/2} dsolve(ode,func=x(t),ics=ics)
Timed Out