\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}
\begin{document}

\parindent=0pt

QUESTION

Find $\ds\int\frac{\sec^2x}{1+\tan x}\,dx$.

\bigskip

ANSWER

$\ds\int\frac{\sec^2x}{1+\tan x}\,dx=\ln|1+\tan x|+C\\ \{u=\tan
x,du=\sec^2xdx;$ therefore $\ds
I=\int\frac{1}{2}du(u^6)=\frac{u^7}{2(7)}+c$\}




\end{document}
