84.16.2 problem 8.11

Internal problem ID [22182]
Book : Schaums outline series. Differential Equations By Richard Bronson. 1973. McGraw-Hill Inc. ISBN 0-07-008009-7
Section : Chapter 8. Linear first-order differential equations. Supplementary problems
Problem number : 8.11
Date solved : Thursday, October 02, 2025 at 08:33:39 PM
CAS classification : [[_linear, `class A`]]

\begin{align*} y^{\prime }-7 y&=14 x \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 15
ode:=diff(y(x),x)-7*y(x) = 14*x; 
dsolve(ode,y(x), singsol=all);
 
\[ y = -2 x -\frac {2}{7}+{\mathrm e}^{7 x} c_1 \]
Mathematica. Time used: 0.03 (sec). Leaf size: 20
ode=D[y[x],x]-7*y[x]==14*x; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to -2 x+c_1 e^{7 x}-\frac {2}{7} \end{align*}
Sympy. Time used: 0.072 (sec). Leaf size: 15
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-14*x - 7*y(x) + Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = C_{1} e^{7 x} - 2 x - \frac {2}{7} \]