18.1.25 problem Problem 14.30 (a)

Internal problem ID [3481]
Book : Mathematical methods for physics and engineering, Riley, Hobson, Bence, second edition, 2002
Section : Chapter 14, First order ordinary differential equations. 14.4 Exercises, page 490
Problem number : Problem 14.30 (a)
Date solved : Monday, January 27, 2025 at 07:38:43 AM
CAS classification : [[_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]

\begin{align*} \left (2 \sin \left (y\right )-x \right ) y^{\prime }&=\tan \left (y\right ) \end{align*}

With initial conditions

\begin{align*} y \left (0\right )&=0 \end{align*}

Solution by Maple

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

dsolve([(2*sin(y(x))-x)*diff(y(x),x)=tan(y(x)),y(0) = 0],y(x), singsol=all)
 
\[ y \left (x \right ) = 0 \]

Solution by Mathematica

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

DSolve[{(2*Sin[y[x]]-x)*D[y[x],x]==Tan[y[x]],y[0]==0},y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to 0 \]