I'd like to compute an integral that depends on a parameter, but I'd like to exclude an interval from the computation. For concreteness, say I want to compute
Integrate[f[x,z],{x,-a,a}]
but I would like to specify that z is a complex number not in the real interval [-a,a]. Any thoughts? If I let the integral run, I get a conditional expression that I think is correct, but I'd like to specify the exclusion ahead of time if possible.
Thanks!
z<-a || a<zis the way to express this ifzis real. Do you only want to exclude this interval for reals, but not for anyzvalue whereIm[z] != 0? – Szabolcs Feb 14 '14 at 16:12