Skip to main content
K12 LibreTexts

8.1.2: One-Sided Limits

  • Page ID
    14812
  • \( \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}}\)

    One Sided Limits and Continuity

    A one sided limit is exactly what you might expect; the limit of a function as it approaches a specific \(\ x\) value from either the right side or the left side. One sided limits help to deal with the issue of a jump discontinuity and the two sides not matching.

    Is the following piecewise function continuous?

    \(\ f(x)=\left\{\begin{array}{cc}
    -x-2 & x<1 \\
    -3 & x=1 \\
    x^{2}-4 & 1<x
    \end{array}\right.\)


    Evaluating One Sided Limits and Continuity

    A one sided limit can be evaluated either from the left or from the right. Since left and right are not absolute directions, a more precise way of thinking about direction is “from the negative side” or “from the positive side”. The notation for these one sided limits is:

    \(\ \lim _{x \rightarrow a^{-}} f(x), \lim _{x \rightarrow a^{+}} f(x)\)

    The negative in the superscript of \(\ a\) is not an exponent. Instead it indicates from the negative side. Likewise the positive superscript is not an exponent, it just means from the positive side. When evaluating one sided limits, it does not matter what the function is doing at the actual point or what the function is doing on the other side of the number. Your job is to determine what the height of the function should be using only evidence on one side.

    Take the graph below. What are the one sided limits at -5, -1, 3 and 5?

    f-d_25efc7f71856c705b71ad77ea8e388e8a5b9ac202c9f08d9b56eed9a+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png

    Each point should have two limits, one from the left and one from the right.

    \(\ \begin{array}{ll}
    \lim _{x \rightarrow-5^{-}} f(x)&=1 \quad\quad\quad\quad\quad\quad& \lim _{x \rightarrow-5^{+}} f(x)&=2 \\
    \lim _{x \rightarrow-1^{-}} f(x)&=2 & \lim _{x \rightarrow-1^{+}} f(x)&=3 \\
    \lim _{x \rightarrow 3^{-}} f(x)&=3 & \lim _{x \rightarrow 3^{+}} f(x)&=-2 \\
    \lim _{x \rightarrow 5^{-}} f(x)&=-2 & \lim _{x \rightarrow-5^{+}} f(x)&=D N E
    \end{array}\)

    You have defined continuity in the past as the ability to draw a function completely without lifting your pencil off of the paper. You can now define a more rigorous definition of continuity.

    Continuity at a point exists when the left and right sided limits match the function evaluated at that point. In other words, a function is continuous at \(\ a\) if:

    \(\ \lim _{x \rightarrow a^{-}} f(x)=f(a)=\lim _{x \rightarrow a^{+}} f(x)\)

    For an entire function to be continuous, the function must be continuous at every single point in an unbroken domain.


    Examples

    Example 1

    Earlier, you were asked how to confirm the function

    \(\ f(x)=\left\{\begin{array}{cc}
    -x-2 & x<1 \\
    -3 & x=1 \\
    x^{2}-4 & 1<x
    \end{array}\right.\)

    Solution

    is continuous. In order to confirm or deny that the function is continuous, graphical tools are not accurate enough. Sometimes jump discontinuities can be off by such a small amount that the pixels on the display of your calculator will not display a difference. Your calculator will certainly not display removable discontinuities.

    You should note that on the graph, everything to the left of 1 is continuous because it is just a line. Next you should note that everything to the right of 1 is also continuous for the same reason. The only point to check is at \(\ x=1\). To check continuity, explicitly use the definition and evaluate all three parts to see if they are equal.

    • \(\ \lim _{x \rightarrow a^{-}} f(x)=-1-2=-3\)
    • \(\ f(1)=-3\)
    • \(\ \lim _{x \rightarrow 1^{+}} f(x)=1^{2}-4=-3\)

    Therefore, \(\ \lim _{x \rightarrow 1^{-}} f(x)=f(1)=\lim _{x \rightarrow 1^{+}} f(x)\) and the function is continuous at \(\ x=1\) and everywhere else.

    Example 2

    Evaluate the one sided limit at 4 from the negative direction numerically.

    \(\ f(x)=\frac{x^{2}-7 x+12}{x-4}\)

    Solution

    Remember that evaluating numerically means that you should use a table. When creating the table, only use values that are smaller than 4.

    x 3.9 3.99 3.999
    f(x) 0.9 0.99 0.999

    \(\ \lim _{x \rightarrow 4^{-}}\left(\frac{x^{2}-7 x+12}{x-4}\right)=1\)

    Example 3

    Evaluate the following limits.

    1. \(\ \lim _{x \rightarrow 3^{-}}(4 x-3)\)
    2. \(\ \lim _{x \rightarrow 2^{+}}\left(\frac{1}{x-2}\right)\)
    3. \(\ \lim _{x \rightarrow 1^{+}}\left(\frac{x^{2}+2 x-3}{x-1}\right)\)

    Solution

    Most of the time one sided limits are the same as the corresponding two sided limit. The exceptions are when there are jump discontinuities, which normally only happen with piecewise functions, and infinite discontinuities, which normally only happen with rational functions.

    1. \(\ \lim _{x \rightarrow 3^{-}}(4 x-3)=4 \cdot 3-3=12-3=9\)
    2. \(\ \lim _{x \rightarrow 2^{+}}\left(\frac{1}{x-2}\right)=D N E \text { or } \infty\)

      The reason why ∞ is preferable in this case is because the two sides of the limit disagree. One side goes to negative infinity and the other side goes to positive infinity (see the graph below). If you just indicate DNE then you are losing some perfectly good information about the nature of the function.

      f-d_5fabcde927a3ee046197a547f86b53f488a4ce030305ee3f343d8cc3+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png

    3. \(\ \lim _{x \rightarrow 1^{+}}\left(\frac{x^{2}+2 x-3}{x-1}\right)=\lim _{x \rightarrow 1^{+}}\left(\frac{(x-1)(x+3)}{(x-1)}\right)=\lim _{x \rightarrow 1^{+}}(x+3)=1+3=4\)
    Example 4

    Evaluate the following limits.

    1. \(\ \lim _{x \rightarrow 1^{-}}(2 x-1)\)
    2. \(\ \lim _{x \rightarrow-3^{+}}\left(\frac{2}{x+2}\right)\)
    3. \(\ \lim _{x \rightarrow 2^{+}}\left(\frac{x^{3}-8}{x-2}\right)\)

    Solution

    1. \(\ \lim _{x \rightarrow 1^{-}}(2 x-1)=2 \cdot 1-1=2-1=1\)
    2. \(\ \lim _{x \rightarrow-3^{+}}\left(\frac{2}{x+2}\right)=\frac{2}{-3+2}=\frac{2}{-1}=-2\)
    Example 5

    Is the following function continuous?

    \(\ f(x)=\left\{\begin{array}{cc}
    x^{2}-1 & x<-1 \\
    3 & x=-1 \\
    -x+3 & -1<x
    \end{array}\right.\)

    Solution

    Use the definition of continuity.

    • \(\ \lim _{x \rightarrow 1^{-}} f(x)=(-1)^{2}-1=1-1=0\)
    • \(\ f(-1)=3\)
    • \(\ \lim _{x \rightarrow-1^{+}} f(x)=-1+3=2\)

    \(\ \lim _{x \rightarrow a^{-}} f(x) \neq f(a) \neq \lim _{x \rightarrow a^{+}} f(x)\) so this function is discontinuous at \(\ x=−1\). It is continuous everywhere else.


    Review

    Evaluate the following limits.

    1. \(\ \lim _{x \rightarrow 6^{-}}\left(3 x^{2}-4\right)\)
    2. \(\ \lim _{x \rightarrow 0^{-}} \frac{3 x-1}{x}\)
    3. \(\ \lim _{x \rightarrow 0^{+}} \frac{3 x-1}{x}\)
    4. \(\ \lim _{x \rightarrow 0^{+}} \frac{x}{|x|}\)
    5. \(\ \lim _{x \rightarrow 0^{-}} \frac{x}{|x|}\)
    6. \(\ \lim _{x \rightarrow 0^{+}} \frac{\sqrt{x}}{\sqrt{1+\sqrt{x}}-1}\)

    Consider

    \(\ f(x)=\left\{\begin{array}{cc}
    2 x^{2}-1 & x<1 \\
    1 & x=1 \\
    -x+2 & 1<x
    \end{array}\right.\)

    1. What is \(\ \lim _{x \rightarrow 1^{-}} f(x)\)?
    2. What is \(\ \lim _{x \rightarrow 1^{+}} f(x)\)?
    3. Is \(\ f(x)\) continuous at \(\ x=1\)?

    Consider

    \(\ g(x)=\left\{\begin{array}{cl}
    4 x^{2}+2 x-1 & x<-2 \\
    8 & x=-2 \\
    -3 x+5 & -2<x
    \end{array}\right.\)

    1. What is \(\ \lim _{x \rightarrow-2^{-}} g(x)\)?
    2. What is \(\ \lim _{x \rightarrow-2^{+}} g(x)\)?
    3. Is \(\ g(x)\) continuous at \(\ x=-2\)?

    Consider \(\ h(x)\) shown in the graph below.

    f-d_031cecb85590fb2e3a3aeb241794d4077b9776328055fbd6c0ed7fd9+IMAGE_THUMB_POSTCARD_TINY+IMAGE_THUMB_POSTCARD_TINY.png

    1. What is \(\ \lim _{x \rightarrow 0^{-}} h(x)\)?
    2. What is \(\ \lim _{x \rightarrow 0^{+}} h(x)\)?
    3. Is \(\ h(x)\) continuous at \(\ x=0\)?

    Review (Answers)

    To see the Review answers, open this PDF file and look for section 14.6.


    Vocabulary

    Term Definition
    continuity Continuity for a point exists when the left and right sided limits match the function evaluated at that point. For a function to be continuous, the function must be continuous at every single point in an unbroken domain.
    Continuous Continuity for a point exists when the left and right sided limits match the function evaluated at that point. For a function to be continuous, the function must be continuous at every single point in an unbroken domain.
    Jump discontinuities Inverse functions are functions that 'undo' each other. Formally \(\ f(x)\) and \(\ g(x)\) are inverse functions if \(\ f(g(x))=g(f(x))=x\).
    limit A limit is the value that the output of a function approaches as the input of the function approaches a given value.
    Removable discontinuities Removable discontinuities are also known as holes. They occur when factors can be algebraically canceled from rational functions.
    Removable discontinuity Removable discontinuities are also known as holes. They occur when factors can be algebraically canceled from rational functions.
    two-sided limit A two-sided limit is the value that a function approaches from both the left side and the right side.

    Image Attributions

    1. [Figure 1]
      Credit: CK-12 Foundation
      License: CC BY-SA

    This page titled 8.1.2: One-Sided Limits is shared under a CK-12 license and was authored, remixed, and/or curated by CK-12 Foundation via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    CK-12 Foundation
    LICENSED UNDER
    CK-12 Foundation is licensed under CK-12 Curriculum Materials License
    • Was this article helpful?