50.1.5 problem 1(e)

Internal problem ID [7777]
Book : Differential Equations: Theory, Technique, and Practice by George Simmons, Steven Krantz. McGraw-Hill NY. 2007. 1st Edition.
Section : Chapter 1. What is a differential equation. Section 1.2 THE NATURE OF SOLUTIONS. Page 9
Problem number : 1(e)
Date solved : Monday, January 27, 2025 at 03:21:46 PM
CAS classification : [[_2nd_order, _missing_x]]

\begin{align*} y^{\prime \prime }+4 y&=0 \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x$2)+4*y(x)=0,y(x), singsol=all)
 
\[ y = c_{1} \sin \left (2 x \right )+c_{2} \cos \left (2 x \right ) \]

Solution by Mathematica

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

DSolve[D[y[x],{x,2}]+4*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to c_1 \cos (2 x)+c_2 \sin (2 x) \]