Integral displays infinity (mistake ?)

f := sec(x)^2;
Int(f, x = 0 .. 5*Pi*(1/4)) = int(f, x = 0 .. 5*Pi*(1/4))

I enter the above in Mape 12 Student Edition, and the answer is infinity, but it's obviously 1.

How can I get Maple to display the obvious ?

Axel Vogt's picture

singularity

if you would use common notations, then your f = 1/(cos(x)^2),
so at Pi/2 ... hence you should not write down the integral

what are 'comon notations'

what are 'comon notations' ?

can you show me the code that results ina carrorect answer whic is 2.

Axel Vogt's picture

©¿©

plot(1/(cos(x)^2), x=0 .. 5*Pi*(1/4), y= 0..6);

not bounded

You are probably thinking the answer is 1 because the antiderivative is tan(x), and

tan(5*Pi/4)-tan(0)=1.

But the integrand f(x)=sec(x)^2 is neither bounded nor continuous over the interval, so the fundamental theorem of calculus does not apply.

 

ok. i tried the upper bound

ok. i tried the upper bound of pi/4 and that resulted in 2. so... thanks guys...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
}