Internal problem ID [879]
Book: Elementary differential equations with boundary value problems. William F. Trench.
Brooks/Cole 2001
Section: Chapter 1, Introduction. Section 1.2 Page 14
Problem number: 4(c).
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_quadrature]
\[ \boxed {y^{\prime }=\tan \left (x \right )} \] With initial conditions \begin {align*} \left [y \left (\frac {\pi }{4}\right ) = 3\right ] \end {align*}
✓ Solution by Maple
Time used: 0.046 (sec). Leaf size: 15
dsolve([diff(y(x),x) = tan(x),y(1/4*Pi) = 3],y(x), singsol=all)
\[ y \left (x \right ) = -\ln \left (\cos \left (x \right )\right )+3-\frac {\ln \left (2\right )}{2} \]
✓ Solution by Mathematica
Time used: 0.012 (sec). Leaf size: 18
DSolve[{y'[x] == Tan[x],y[Pi/4]==3},y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to -\log (\cos (x))+3-\frac {\log (2)}{2} \]