thumb|200px|An improper Riemann integral of the first kind, where the region in the plane implied by the integral is infinite in extent horizontally. The area of such a region, which the integral represents, may be finite (as here) or infinite.
thumb|200px|An improper Riemann integral of the second kind, where the implied region is infinite vertically. The region may have either finite (as here) or infinite area.
In mathematical analysis, an improper integral is an extension of the notion of a definite integral to cases that violate the usual assumptions for that kind of integral. In the context of Riemann integrals (or, equivalently, Darboux integrals), this typically involves unboundedness, either of the set over which the integral is taken or of the integrand (the function being integrated), or both. It may also involve bounded but not closed sets or bounded but not continuous functions. While an improper integral is typically written symbolically just like a standard definite integral, it actually represents a limit of a definite integral or a sum of such limits; thus improper integrals are said to converge or diverge.
