44.2.48 problem 50

Internal problem ID [6980]
Book : A First Course in Differential Equations with Modeling Applications by Dennis G. Zill. 12 ed. Metric version. 2024. Cengage learning.
Section : Chapter 1. Introduction to differential equations. Section 1.2 Initial value problems. Exercises 1.2 at page 19
Problem number : 50
Date solved : Monday, January 27, 2025 at 02:39:39 PM
CAS classification : [[_linear, `class A`]]

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

Solution by Maple

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

dsolve(diff(y(x),x)+2*y(x)=3*x-6,y(x), singsol=all)
 
\[ y = \frac {3 x}{2}-\frac {15}{4}+c_{1} {\mathrm e}^{-2 x} \]

Solution by Mathematica

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

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