1.31 problem Problem 45

Internal problem ID [10794]

Book: Differential equations and the calculus of variations by L. ElSGOLTS. MIR PUBLISHERS, MOSCOW, Third printing 1977.
Section: Chapter 1, First-Order Differential Equations. Problems page 88
Problem number: Problem 45.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_linear, `class A`]]

\[ \boxed {x^{\prime }+5 x-10 t -2=0} \] With initial conditions \begin {align*} [x \left (1\right ) = 2] \end {align*}

Solution by Maple

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

dsolve([diff(x(t),t)+5*x(t)=10*t+2,x(1) = 2],x(t), singsol=all)
 

\[ x \left (t \right ) = 2 t \]

Solution by Mathematica

Time used: 0.051 (sec). Leaf size: 8

DSolve[{x'[t]+5*x[t]==10*t+2,{x[1]==2}},x[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to 2 t \\ \end{align*}