4.27.38 by(x)+y(x)2tan(x)y(x)=0

ODE
by(x)+y(x)2tan(x)y(x)=0 ODE Classification

[[_2nd_order, _with_linear_symmetries]]

Book solution method
TO DO

Mathematica
cpu = 0.0913941 (sec), leaf count = 54

{{y(x)sec(x)(c1eb1x+c2eb1x2b1)}}

Maple
cpu = 0.065 (sec), leaf count = 34

{y(x)=1cos(x)(_C1sinh(b1x)+_C2cosh(b1x))} Mathematica raw input

DSolve[b*y[x] - 2*Tan[x]*y'[x] + y''[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> (C[1]/E^(Sqrt[-1 - b]*x) + (E^(Sqrt[-1 - b]*x)*C[2])/(2*Sqrt[-1 - b]))
*Sec[x]}}

Maple raw input

dsolve(diff(diff(y(x),x),x)-2*diff(y(x),x)*tan(x)+b*y(x) = 0, y(x),'implicit')

Maple raw output

y(x) = (_C1*sinh((-b-1)^(1/2)*x)+_C2*cosh((-b-1)^(1/2)*x))/cos(x)