1.25 problem 25

Internal problem ID [5738]

Book: Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section: Chapter 1. First order differential equations. Section 1.1 Separable equations problems. page 7
Problem number: 25.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {x^{\prime }=-t +1} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 12

dsolve(diff(x(t),t)+t=1,x(t), singsol=all)
 

\[ x \left (t \right ) = -\frac {1}{2} t^{2}+t +c_{1} \]

Solution by Mathematica

Time used: 0.002 (sec). Leaf size: 16

DSolve[x'[t]+t==1,x[t],t,IncludeSingularSolutions -> True]
 

\[ x(t)\to -\frac {t^2}{2}+t+c_1 \]