Ok I see now. tan2(x) = sec2(x? - 1 so the the two are identical except for a constant that gets rolled into C.
\(\displaystyle u = tan(x) \implies \dfrac{du}{dx} = sec^2(x) \implies du = sec^2(x)\ dx \implies \displaystyle \int sec^2(x) * tan(x)\ dx = \int u\ du =\)\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle \int \sec^{2} x (u) dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\)
\(\displaystyle \int u(du)\)
\(\displaystyle \int (\tan x)(du)\) You can't integrate tan(x) against du. Variable needs to be consistent.
\(\displaystyle \rightarrow \ln(\sec) + C\)
\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\) - exact match. No need for manipulation.
\(\displaystyle \int u^{2} du\)
\(\displaystyle \rightarrow \dfrac{u^{3}}{3} + C\)
\(\displaystyle \rightarrow \dfrac{\tan ^{3} x}{3} + C\)
As has now been explained several times, either way works if you do it correctly. But you have not done it correctly above.OR we could do it this way (This flows much better):
\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\) - exact match. No need for manipulation.
\(\displaystyle \int u^{2} du\)
\(\displaystyle \rightarrow \dfrac{u^{3}}{3} + C\)
\(\displaystyle \rightarrow \dfrac{\tan ^{3} x}{3} + C\)Maybe this is right.
HOWEVER, if we made \(\displaystyle u = \sec x\)
\(\displaystyle du = \sec x \tan x \) etc.. and went that route, then, shouldn't it come up with the same answer?![]()
.OR we could do it this way (This flows much better):
\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\) - exact match. No need for manipulation.
\(\displaystyle \int u^{2} du\)......................... Incorrect - how did you come to this line from above?!!
\(\displaystyle \rightarrow \dfrac{u^{3}}{3} + C\)
\(\displaystyle \rightarrow \dfrac{\tan ^{3} x}{3} + C\)Maybe this is right.
HOWEVER, if we made \(\displaystyle u = \sec x\)
\(\displaystyle du = \sec x \tan x \) etc.. and went that route, then, shouldn't it come up with the same answer?![]()
.\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\) - exact match. No need for manipulation.
\(\displaystyle \int u du\)
\(\displaystyle \rightarrow \ln \sec x + C\) ............... Incorrect ...... how did you get that from line above??!!
\(\displaystyle \int u du\) = \(\displaystyle \displaystyle{\frac{1}{2}u^2 + C \ = \ \frac{1}{2}tan^2(x) + C}\)
![]()
Jason\(\displaystyle \int \sec^{2} x \tan x dx\)
\(\displaystyle u = \tan x\)
\(\displaystyle du = \sec^{2} x dx\) - exact match. No need for manipulation.
\(\displaystyle \int u du\)
\(\displaystyle \rightarrow \ln \sec x + C\)![]()
Jason
The whole point of u-substitution is to reduce a complicated integral to a simple one.
You integrate the simple one USING the substitution and get an ANSWER in u.
Then you substitute back from u to x.
\(\displaystyle \displaystyle \int u\ du = \dfrac{u^2}{2} + C.\) I KNOW you know that.
Integration is done now.
Just substitute back. In this case u = tan(x) so the answer is \(\displaystyle \dfrac{tan^2(x)}{2} + C.\)
You are making what is very simple hard by not first finding the integral in terms of u and then converting to x in a separate step.
What can be hard about u-substitution is finding the correct substitution in the first place. You want to find u = g(x) such that
\(\displaystyle f(x)\ dx = h(u)\ du,\) where it is easy to integrate h(u) du.
I see what's going on, but isn't the integral of \(\displaystyle \tan = \ln|sec|\)?? How does that play in this?