Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to calculate


Doing $x = 2\tan(\theta)$, $dx = 2\sec^2(\theta)~d\theta$, $-\pi/2 < 0 < \pi/2$ I have:


which is


now I got stuck ... any clues what's the next substitution to do? I'm sorry for the formatting. Could someone please help me with the formatting?

share|cite|improve this question
up vote 7 down vote accepted

You have not chosen an efficient way to proceed. However, let us continue along that path.

Note that $\tan^2\theta=\sec^2\theta-1$. So you want $$\int 8(\sec^2\theta -1)\sec\theta\tan\theta\,d\theta.$$ Let $u=\sec\theta$.

Remark: My favourite substitution for this problem and close relatives is a variant of the one used by Ayman Hourieh. Let $x^2+4=u^2$. Then $2x\,dx=2u\,du$, and $x^2=u^2-4$. So $$\int \frac{x^3}{\sqrt{x^2+4}}\,dx=\int \frac{(u^2-4)u}{u}\,du=\int (u^2-4)\,du.$$

share|cite|improve this answer

Let $u = x^2 + 4$, $du = 2x\,dx$:

\begin{align*} I &= \frac{1}{2} \int \frac{u - 4}{\sqrt{u}}du \end{align*}

Should be easy to take it from there.

share|cite|improve this answer
if I tried with the x = 2*tan(0)? – cybertextron Sep 16 '12 at 21:58
@philippe You mean $2\tan(x)$? First, it's advisable to use a different variable when doing variable substitution. Second, I think you'll end up doing another substitution similar to mine if you insist on switching to $2\tan(x)$ first. – Ayman Hourieh Sep 16 '12 at 22:02

HINT: $\tan^2\theta=\sec^2\theta-1$, and $d(\sec\theta)=\sec\theta\tan\theta~d\theta$.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.