13.5.11 problem 14

Internal problem ID [2357]
Book : Differential equations and their applications, 3rd ed., M. Braun
Section : Section 1.10. Page 80
Problem number : 14
Date solved : Saturday, March 29, 2025 at 11:58:58 PM
CAS classification : [`y=_G(x,y')`]

\begin{align*} y^{\prime }&={\mathrm e}^{-t}+\ln \left (1+y^{2}\right ) \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Maple
ode:=diff(y(t),t) = exp(-t)+ln(1+y(t)^2); 
ic:=y(0) = 0; 
dsolve([ode,ic],y(t), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=D[y[t],t]==Exp[-t]+Log[1+y[t]^2]; 
ic={y[0]==0}; 
DSolve[{ode,ic},y[t],t,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
t = symbols("t") 
y = Function("y") 
ode = Eq(-log(y(t)**2 + 1) + Derivative(y(t), t) - exp(-t),0) 
ics = {y(0): 0} 
dsolve(ode,func=y(t),ics=ics)
 
NotImplementedError : The given ODE -log(y(t)**2 + 1) + Derivative(y(t), t) - exp(-t) cannot be solved by the lie group method