(1) A function $f:[a,b]\to\mathbb{R}$ is said to be Riemann integrable on $[a,b]$ . . .
(2) A function $f:(a,b)\to\mathbb{R}$ is said to be Riemann integrable on $(a,b)$ . . .
Suppose a book started the exposition like (1) and other started like (2). My question is: Has every theorem that is valid for first definition, a analogue for the second?
I think most of the books (at least my calculus books and analysis books) uses closed intervals, but I started to study Lebesgue Integral and in the first chapter of book the author presents a review about Riemann integral and considers functions defined on open intervals.
Maybe it's trivial, but I would like know if there is a reason for choose to work with open intervals instead of closed intervals.
Thanks.