49.1.2 problem 1 (b)

Internal problem ID [7581]
Book : An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section : Chapter 1.3 Introduction– Linear equations of First Order. Page 38
Problem number : 1 (b)
Date solved : Monday, January 27, 2025 at 03:06:34 PM
CAS classification : [[_2nd_order, _quadrature]]

\begin{align*} y^{\prime \prime }&=x +2 \end{align*}

Solution by Maple

Time used: 0.001 (sec). Leaf size: 17

dsolve(diff(y(x),x$2)=2+x,y(x), singsol=all)
 
\[ y = \frac {1}{6} x^{3}+x^{2}+c_{1} x +c_{2} \]

Solution by Mathematica

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

DSolve[D[y[x],{x,2}]==2+x,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to \frac {x^3}{6}+x^2+c_2 x+c_1 \]