Today I had to take the indefinite integral $\int x^3 \sqrt{x^2-1} \, dx$
My steps:
- $x=\sec\theta$, $dx=\sec\theta\tan\theta\, d\theta$
- $\displaystyle \int \sec^3\theta \sqrt{\sec^2\theta - 1} \, \sec\theta\tan\theta\, d\theta$
- ${\displaystyle \int \sec^3\theta \sqrt{\tan^2\theta}\sec\theta\tan\theta d\theta}$
- ${\displaystyle \int \sec^3\theta \tan\theta \cdot \sec\theta \tan\theta d\theta}$
- ${\displaystyle \int \sec^4\theta \cdot \tan^2\theta d\theta}$
- ${\displaystyle \int \sec^2\theta \sec^2\theta\tan^2\theta d\theta}$
- $u=\tan\theta$, $du= \sec^2\theta d\theta$
- ${\displaystyle \int u^2(u^2 + 1)}$
- ${\displaystyle \int u^4 + u^2}$
- ${\displaystyle = \frac{1}{5}u^5 + \frac{1}{3}u^3 + C}$
here is where I'm even more shaky:
- ${\displaystyle \frac{1}{5}\tan^5 + \frac{1}{3}\tan^3 + C}$
- since $\tan= \sin/\cos$, $\tan$ also $= \sec/\csc$, and if $\sec\theta=x$, per the substitution, couldn't $\tan$ also be written $x/(1/x)=x^2$, right?
- I replaced all $\tan$s in the final answer with $x^2$, leaving a final answer of ${\displaystyle \frac{1}{5}x^{10}+\frac{1}{3}x^6+C}$
You are good except for your last step; $\tan(\theta)$ is not $x^2$, and in particular $\csc$ is not $1/\sec$.
One way to identify what $\tan(\theta)$ is in terms of $x$ is to consider the triangle that justifies the substitution $x=\sec(\theta)$ in the first place. This has a leg of $\sqrt{x^2-1}$, which means the hypotenuse is $x$ and the other leg is $1$. By choosing $u=\sec(\theta)$ you make $\theta$ adjacent to the leg of length $1$ and opposite the leg of length $\sqrt{x^2-1}$. Thus $\tan(\theta)=\sqrt{x^2-1}$. Alternately you could have figured that out by simply using the identity $\sec^2(\theta)=\tan^2(\theta)+1$.