The last question for today.
\(\displaystyle \int_{0}^{\frac{\pi }{4}}\frac{1}{cos^{4}(x)}+\frac{1}{cos^{2}(x)}=\int_{0}^{\frac{\pi }{4}}\frac{tan^{2}(x)}{cos^{2}(x)}\)
If I note u=tan^2(x) => tan(x)=sqrt(u) I get \(\displaystyle \int_{0}^{\frac{\pi }{4}}\frac{u}{cos^{2}(x)}\cdot \frac{cos^{2}(x)}{2\sqrt{u}}du=\frac{1}{2}\cdot \frac{u^{\frac{1}{2}}}{\frac{1}{2}}=\frac{1}{2}\cdot 2\cdot 1=1\)
On the other hand, if I note u=tan(x) I get u^3/3 and when I replace with pi/4 and 0 I get 1/3 ( the right answer)
Why the results are different ? What's the difference between these notations?
\(\displaystyle \int_{0}^{\frac{\pi }{4}}\frac{1}{cos^{4}(x)}+\frac{1}{cos^{2}(x)}=\int_{0}^{\frac{\pi }{4}}\frac{tan^{2}(x)}{cos^{2}(x)}\)
If I note u=tan^2(x) => tan(x)=sqrt(u) I get \(\displaystyle \int_{0}^{\frac{\pi }{4}}\frac{u}{cos^{2}(x)}\cdot \frac{cos^{2}(x)}{2\sqrt{u}}du=\frac{1}{2}\cdot \frac{u^{\frac{1}{2}}}{\frac{1}{2}}=\frac{1}{2}\cdot 2\cdot 1=1\)
On the other hand, if I note u=tan(x) I get u^3/3 and when I replace with pi/4 and 0 I get 1/3 ( the right answer)
Why the results are different ? What's the difference between these notations?