Question: Undefined versus Infinite result

All:

Sometimes when I integrate through an infinite discontinuity Maple outputs "undefined" as in the simple case: int(1/x,x=-1..1);

and with some I get "Infinity", as in the case: int(sec(x)^2,x=0..Pi);

What is the nuance in play here?  Is it with the math or with Maple?

Phil

Please Wait...