8.12 problem 2(d)

Internal problem ID [6260]

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. Problems for Review and Discovery. Page 53
Problem number: 2(d).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {y^{\prime } \csc \left (x \right )-\csc \left (y\right )=0} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{2}\right ) = 1\right ] \end {align*}

Solution by Maple

Time used: 0.125 (sec). Leaf size: 10

dsolve([csc(x)*diff(y(x),x)=csc(y(x)),y(1/2*Pi) = 1],y(x), singsol=all)
 

\[ y \left (x \right ) = \arccos \left (\cos \left (x \right )+\cos \left (1\right )\right ) \]

Solution by Mathematica

Time used: 0.398 (sec). Leaf size: 11

DSolve[{Csc[x]*y'[x]==Csc[y[x]],{y[Pi/2]==1}},y[x],x,IncludeSingularSolutions -> True]
 

\[ y(x)\to \arccos (\cos (x)+\cos (1)) \]