1.33 problem 40

Internal problem ID [14077]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Exercises 1.1, page 10
Problem number: 40.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }=\frac {-2 x -10}{\left (x +2\right ) \left (-4+x \right )}} \]

Solution by Maple

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

dsolve(diff(y(x),x)=(-2*(x+5))/((x+2)*(x-4)),y(x), singsol=all)
 

\[ y \left (x \right ) = -3 \ln \left (x -4\right )+\ln \left (x +2\right )+c_{1} \]

Solution by Mathematica

Time used: 0.005 (sec). Leaf size: 20

DSolve[y'[x]==(-2*(x+5))/((x+2)*(x-4)),y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to -3 \log (4-x)+\log (x+2)+c_1 \]