12.1 problem 1

Internal problem ID [14576]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 4. Higher Order Equations. Exercises 4.4, page 163
Problem number: 1.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _missing_x]]

\[ \boxed {y^{\prime \prime }+4 y=1} \]

Solution by Maple

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

dsolve(diff(y(t),t$2)+4*y(t)=1,y(t), singsol=all)
 

\[ y \left (t \right ) = \frac {1}{4}+\sin \left (2 t \right ) c_{2} +\cos \left (2 t \right ) c_{1} \]

Solution by Mathematica

Time used: 0.012 (sec). Leaf size: 23

DSolve[y''[t]+4*y[t]==1,y[t],t,IncludeSingularSolutions -> True]
 

\[ y(t)\to c_1 \cos (2 t)+c_2 \sin (2 t)+\frac {1}{4} \]