80.8.2 problem 2

Internal problem ID [18581]
Book : Elementary Differential Equations. By Thornton C. Fry. D Van Nostrand. NY. First Edition (1929)
Section : Chapter VII. Linear equations of order higher than the first. section 56. Problems at page 163
Problem number : 2
Date solved : Tuesday, January 28, 2025 at 12:02:52 PM
CAS classification : [[_2nd_order, _missing_x]]

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

Solution by Maple

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

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

Solution by Mathematica

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

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