Currently, the output for inputs involving sec
or the other reciprocal trig functions seem to return expressions in terms of reciprocals, e.g.:
expand(integrate(6*sec(2*y)^7*tan(2*y)^3, y));
> 1/(3*cos(2*y)^9)\-3/(7*cos(2*y)^7)
Is there any way to have this returned in terms of sec(2*y)
instead? I checked the documentation for display and the documentation for trigonometric functions but didn't see anything that seemed to address this.