7.1.1 problem 1

Internal problem ID [1]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.2. Problems at page 17
Problem number : 1
Date solved : Friday, February 07, 2025 at 08:11:43 AM
CAS classification : [_quadrature]

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

With initial conditions

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

Solution by Maple

Time used: 0.008 (sec). Leaf size: 10

dsolve([diff(y(x),x)=2*x+1,y(0) = 3],y(x), singsol=all)
 
\[ y = x^{2}+x +3 \]

Solution by Mathematica

Time used: 0.053 (sec). Leaf size: 11

DSolve[{D[y[x],x]==2*x+1,{y[0]==3}},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x^2+x+3 \]