1.25 problem 25

Internal problem ID [4985]

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]

Solve \begin {gather*} \boxed {x^{\prime }+t -1=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

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

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

\begin{align*} x(t)\to -\frac {t^2}{2}+t+c_1 \\ \end{align*}