4.3 problem 3

4.3.1 Maple step by step solution

Internal problem ID [960]
Internal file name [OUTPUT/960_Sunday_June_05_2022_01_55_22_AM_80577424/index.tex]

Book: Elementary differential equations with boundary value problems. William F. Trench. Brooks/Cole 2001
Section: Chapter 2, First order equations. Existence and Uniqueness of Solutions of Nonlinear Equations. Section 2.3 Page 60
Problem number: 3.
ODE order: 1.
ODE degree: 1.

The type(s) of ODE detected by this program : "unknown"

Maple gives the following as the ode type

[`y=_G(x,y')`]

Unable to solve or complete the solution.

\[ \boxed {y^{\prime }-\tan \left (y x \right )=0} \] Unable to determine ODE type.

4.3.1 Maple step by step solution

\[ \begin {array}{lll} & {} & \textrm {Let's solve}\hspace {3pt} \\ {} & {} & y^{\prime }-\tan \left (y x \right )=0 \\ \bullet & {} & \textrm {Highest derivative means the order of the ODE is}\hspace {3pt} 1 \\ {} & {} & y^{\prime } \\ \bullet & {} & \textrm {Solve for the highest derivative}\hspace {3pt} \\ {} & {} & y^{\prime }=\tan \left (y x \right ) \end {array} \]

Maple trace

`Methods for first order ODEs: 
--- Trying classification methods --- 
trying a quadrature 
trying 1st order linear 
trying Bernoulli 
trying separable 
trying inverse linear 
trying homogeneous types: 
trying Chini 
differential order: 1; looking for linear symmetries 
trying exact 
Looking for potential symmetries 
trying inverse_Riccati 
trying an equivalence to an Abel ODE 
differential order: 1; trying a linearization to 2nd order 
--- trying a change of variables {x -> y(x), y(x) -> x} 
differential order: 1; trying a linearization to 2nd order 
trying 1st order ODE linearizable_by_differentiation 
--- Trying Lie symmetry methods, 1st order --- 
`, `-> Computing symmetries using: way = 3 
`, `-> Computing symmetries using: way = 4 
`, `-> Computing symmetries using: way = 5 
trying symmetry patterns for 1st order ODEs 
-> trying a symmetry pattern of the form [F(x)*G(y), 0] 
-> trying a symmetry pattern of the form [0, F(x)*G(y)] 
-> trying symmetry patterns of the forms [F(x),G(y)] and [G(y),F(x)] 
-> trying a symmetry pattern of the form [F(x),G(x)] 
-> trying a symmetry pattern of the form [F(y),G(y)] 
-> trying a symmetry pattern of the form [F(x)+G(y), 0] 
-> trying a symmetry pattern of the form [0, F(x)+G(y)] 
-> trying a symmetry pattern of the form [F(x),G(x)*y+H(x)] 
-> trying a symmetry pattern of conformal type 
<- found 1 conformal symmetry. Proceeding with integration step 
1st order, trying the canonical coordinates of the invariance group 
<- 1st order, canonical coordinates successful`
 

Solution by Maple

Time used: 0.046 (sec). Leaf size: 44

dsolve(diff(y(x),x)=tan(x*y(x)),y(x), singsol=all)
 

\[ y \left (x \right ) = -i \operatorname {RootOf}\left (-\operatorname {erf}\left (\frac {\left (-x +\textit {\_Z} \right ) \sqrt {2}}{2}\right ) \sqrt {\pi }-\sqrt {\pi }\, \operatorname {erf}\left (\frac {\sqrt {2}\, \left (x +\textit {\_Z} \right )}{2}\right )+\sqrt {2}\, c_{1} \right ) \]

Solution by Mathematica

Time used: 0.311 (sec). Leaf size: 69

DSolve[y'[x]==Tan[x*y[x]],y[x],x,IncludeSingularSolutions -> True]
 

\[ \text {Solve}\left [\frac {1}{2} \sqrt {\frac {\pi }{2}} e^{\frac {x^2}{2}} \left (\text {erfi}\left (\frac {y(x)-i x}{\sqrt {2}}\right )+\text {erfi}\left (\frac {y(x)+i x}{\sqrt {2}}\right )\right )=c_1 e^{\frac {x^2}{2}},y(x)\right ] \]