Skip to main content
Mathematics LibreTexts

7.2: Integrals

  • Page ID
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    Suppose \(a<b\) and \(f:[a, b] \rightarrow \mathbb{R}\) is bounded. We say \(f\) is

    \[\underline{\int_{a}^{b}} f=\overline{\int_{a}^{b}} f.\]

    If \(f\) is integrable, we call the common value of the upper and lower integrals the integral of \(f\) over \([a, b],\) denoted

    \[\int_{a}^{b} f.\]

    That is, if \(f\) is integrable on \([a, b]\),

    \[\int_{a}^{b} f=\underline{\int_{a}^{b}} f=\overline{\int_{a}^{b}} f.\]

    Example \(\PageIndex{1}\)

    Define \(f:[0,1] \rightarrow \mathbb{R}\) by

    \[f(x)=\left\{\begin{array}{ll}{1,} & {\text { if } x \in \mathbb{Q},} \\ {0,} & {\text { if } x \notin \mathbb{Q}.}\end{array}\right.\]

    For any partition \(P=\left\{x_{0}, x_{1}, \ldots, x_{n}\right\},\) we have

    \[L(f, P)=\sum_{i=1}^{n} 0\left(x_{i}-x_{i-1}\right)=0\]


    \[U(f, P)=\sum_{i=1}^{n}\left(x_{i}-x_{i-1}\right)=x_{n}-x_{0}=1.\]


    \[\underline{\int_{0}^{1}} f=0\]


    \[\overline{\int_{0}^{1}} f=1.\]

    Hence \(f\) is not integrable on \([0,1]\).

    Example \(\PageIndex{2}\)

    Define \(f:[0,1] \rightarrow \mathbb{R}\) by

    \[f(x)=\left\{\begin{array}{ll}{\frac{1}{q},} & {\text { if } x \text { is rational and } x=\frac{p}{q},} \\ {0,} & {\text { if } x \text { is irrational, }}\end{array}\right.\]

    where \(p\) and \(q\) are taken to be relatively prime integers with \(q>0,\) and we take \(q=1\) when \(x=0 .\) Show that \(f\) is integrable on \([0,1]\) and

    \[\int_{0}^{1} f=0.\]

    Exercise \(\PageIndex{3}\)

    Let \(f:[0,1] \rightarrow \mathbb{R}\) be defined by \(f(x)=x\) and, for \(n \in \mathbb{Z}^{+},\) let \(P=\left\{x_{0}, x_{1}, \ldots, x_{n}\right\}\) be the partition of \([0,1]\) with

    \[x_{i}=\frac{i}{n}, i=0,1, \ldots, n.\]

    Show that

    \[U(f, P)-L(f, P)=\frac{1}{n},\]

    and hence conclude that \(f\) is integrable on \([0,1] .\) Show that

    \[\int_{0}^{1} f=\frac{1}{2}.\]

    Exercise \(\PageIndex{4}\)

    Define \(f:[1,2] \rightarrow \mathbb{R}\) by

    \[f(x)=\left\{\begin{array}{ll}{x,} & {\text { if } x \in \mathbb{Q},} \\ {0,} & {\text { if } x \notin \mathbb{Q}.}\end{array}\right.\]

    Show that \(f\) is not integrable on \([1,2]\).

    Exercise \(\PageIndex{5}\)

    Suppose \(f\) is integrable on \([a, b],\) and, for some real number \(m\) and \(M, m \leq f(x) \leq M\) for all \(x \in[a, b] .\) Show that

    \[m(b-a) \leq \int_{a}^{b} f \leq M(b-a).\]

    7.2.1 Notation and Terminology

    The definition of the integral described in this section is due to Darboux. One may show it to be equivalent to the integral defined by Riemann. Hence functions that are integrable in the sense of this discussion are referred to as Riemann integrable functions and we call the integral the Riemann integral. This is in distinction to the Lebesgue integral, part of a more general theory of integration.

    We sometimes refer to this integral as the definite integral, as opposed to an indefinite integral, the latter being a name given to an antiderivative (a function whose derivative is equal to a given function).

    If \(f\) is integrable on \([a, b],\) then we will also denote

    \[\int_{a}^{b} f\]


    \[\int_{a}^{b} f(x) d x.\]

    The variable \(x\) in the latter is a "dummy" variable; we may just as well write

    \[\int_{a}^{b} f(t) d t\]


    \[\int_{a}^{b} f(s) d s.\]

    For example, if \(f:[0,1] \rightarrow \mathbb{R}\) is defined by \(f(x)=x^{2},\) then

    \[\int_{0}^{1} f=\int_{0}^{1} x^{2} d x=\int_{0}^{1} t^{2} d t.\]

    This page titled 7.2: Integrals is shared under a CC BY-NC-SA 1.0 license and was authored, remixed, and/or curated by Dan Sloughter via source content that was edited to the style and standards of the LibreTexts platform.