77.1.115 problem 141 (c) (page 205)

Internal problem ID [18005]
Book : V.V. Stepanov, A course of differential equations (in Russian), GIFML. Moscow (1958)
Section : All content
Problem number : 141 (c) (page 205)
Date solved : Tuesday, January 28, 2025 at 11:19:45 AM
CAS classification : [[_2nd_order, _missing_x]]

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

Solution by Maple

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

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

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) \]