Why is it, if you take the integral of sec^2(x) from 0 to pi, my calculator returns "infinity" as the answer, but according to the second fundamental theorem of calculus, I got 0 with my own work.
I integrated sec^2(x) to get tan(x), then evaluated at a, and b, and took the difference: tan(pi) - tan(0) = 0
I would love to understand how infinity is an answer that my "math tool" got.
$sec^{2}(x)$ = $\frac{1}{cos^2(x)}$ As $x$ goes from 0 to $\frac{\pi}{2}$ what happends? Well, think about this: $cos(\frac{\pi}{2})=0$. As we approach $\frac{\pi}{2}$ from either side, we have $\frac{1}{cos^2(x)} \rightarrow \infty$. Then, if you think of the integral as measuring the area under the curve, you see why this integral goes to $\infty$.
.