Mathematics | Limits, Continuity and Differentiability

1. Limits –

For a function f(x) the limit of the function at a point x=a is the value the function achieves at a point which is very close to x=a.

Let f(x) be a function defined over some interval containing x=a, except that it
may not be defined at that point.
We say that, L = lim_{x	o a} f(x) if there is a number delta for every number epsilon such that
|f(x)-L| < epsilon whenever 0<|x-a|<delta

The concept of limit is explained graphically in the following image –
Definition of limit graphical
As is clear from the above figure, the limit can be approached from either sides of the number line i.e. the limit can be defined in terms of a number less that a or in terms of a number greater than a. Using this criteria there are two types of limits –
Left Hand Limit – If the limit is defined in terms of a number which is less than a then the limit is said to be the left hand limit. It is denoted as x	o a^- which is equivalent to x=a-h where h>0 and h	o 0.
Right Hand Limit – If the limit is defined in terms of a number which is greater than a then the limit is said to be the right hand limit. It is denoted as x	o a^+ which is equivalent to x=a+h where h>0 and h	o 0.

Existence of Limit – The limit of a function f(x) at x=a exists only when its left hand limit and right hand limit exist and are equal i.e.
lim_{x	o a^-}f(x) = lim_{x	o a^+}f(x)

Some Common Limits –

     egin{align*} &ullet: lim_{x	o 0} frac{sin x}{x} = 1 hspace{0.5cm}& &ullet: lim_{x	o 0} cos x = 1 hspace{0.5cm}& &ullet: lim_{x	o 0} frac{	an x}{x} = 1& \ &ullet: lim_{x	o 0} frac{1-cos x}{x} = 0 hspace{0.5cm}& &ullet: lim_{x	o 0} frac{sin x^circ}{x} = frac{pi}{180} hspace{0.5cm}& &ullet: lim_{x	o a} frac{x^n - a^n}{x-a} = na^{n-1}& \ &ullet: lim_{x	o infty} (1+frac{k}{x})^{mx} = e^{mk} hspace{0.5cm}& &ullet: lim_{x	o 0} (1+x)^frac{1}{x} = e hspace{0.5cm}& &ullet: lim_{x	o 0} frac{(a^x-1)}{x} = ln {a} hspace{0.5cm}& \ &ullet: lim_{x	o 0} frac{e^x-1}{x} = 1 hspace{0.5cm}& &ullet: lim_{x	o 0} frac{ln {(1+x)}}{x} = 1 hspace{0.5cm}& &ullet: lim_{x	o infty} x^frac{1}{x} = 1 hspace{0.5cm}& \ end{align}

L’Hospital Rule –
If the given limit lim_{x	o a} frac{f(x)}{g(x)} is of the form frac{0}{0} or frac{infty}{infty} i.e. both f(x) and g(x) are 0 or both f(x) and g(x) are infty, then the limit can be solved by L’Hospital Rule.
If the limit is of the form described above, then the L’Hospital Rule says that –
lim_{x	o a}frac{f(x)}{g(x)} = lim_{x	o a}frac{f^prime(x)}{g^prime(x)}
where f^prime(x) and g^prime(x) obtained by differentiating f(x) and g(x).
If after differentitating, the form still exists, then the rule can be applied continuously until the form is changed.

  • Example 1 – Evaluate lim_{x	o 0} frac{xcos{(x)}-sin{(x)}}{x^2sin{(x)}}
  • Solution – The limit is of the form frac{0}{0}, Using L’Hospital Rule and differentiating numerator and denominator

    =:lim_{x	o 0} frac{cos{(x)}-xsin{(x)}-cos{(x)}}{x^2cos{(x)} + 2xsin{(x)}}

    =:lim_{x	o 0} frac{-sin{(x)}}{xcos{(x)} + 2sin{(x)}}

    =:lim_{x	o 0} frac{frac{-sin{(x)}}{x}}{cos{(x)} + frac{2sin{(x)}}{x}}

    =:frac{-1}{1 + 2*1}


  • Example 2 – Evaluate lim_{x	o 0}frac{a^{mx}-b^{nx}}{sin {kx}}
  • Solution – On multiplying and dividing by kx and re-writing the limit we get –
    =:lim_{x	o 0}frac{(a^{mx}-1) - (b^{nx}-1)}{kx}.frac{kx}{sin {kx}}

    =:frac{1}{k}lim_{x	o 0}(frac{((a^m)^{x}-1)}{x} - frac{((b^n)^{x}-1)}{x}).lim_{x	o 0}frac{kx}{sin {kx}}

    =:frac{1}{k}(ln {a^m} -ln {b^n}).1

    =:frac{1}{k}ln {frac{a^m}{b^n}

  • 2. Continuity –

    A function is said to be continuous over a range if it’s graph is a single unbroken curve.
    A real valued function f(x) is said to be continuous at a point x=x_circ in the domain if –
    lim_{x	o x_circ} f(x) exists and is equal to f(x_circ).
    If a function f(x) is continuous at x=x_circ then-
    lim_{x	o x_circ ^+} f(x) = lim_{x	o x_circ ^-} f(x) = lim_{x	o x_circ} f(x)
    Functions that are not continuous are said to be discontinuous.

    • Example 1 – For what value of lambda is the function defined by

           [  f(x)=left { egin{tabular}{ll} lambda(x^2-2),&:if:xleq0 \ 4x+1,& otherwise\ end{tabular} ]

      continuous at x=0?

    • Solution – For the function to be continuous the left hand limit, right hand limit and the value of the function at that point must be equal.
      Value of function at x=0
      f(0) = lambda * (0-2) = -2lambda
      Right hand limit-
      =:lim_{x	o 0^+} 4x+1

      RHL equals value of function at 0-
      -2lambda = 1
      lambda = frac{-1}{2}

    • Example 2 – Find all points of discontinuity of the function fdefined by –
    • Solution – The possible points of discontinuity are x=0,1 since the sign of the modulus changes at these points.
      For continuity at x=0,
      =lim_{x	o 0^-} |x|-|x-1|

      =lim_{x	o 0^-} -x-(-(x-1))

      =lim_{x	o 0^-} -x+x-1

      = -1
      =lim_{x	o 0^+} |x|-|x-1|

      =lim_{x	o 0^+} x-(-(x-1))

      =lim_{x	o 0^+} x+x-1

      = -1
      Value of f(x) at x=0,
      f(0) = 0-|0-1| = -1
      Since LHL = RHL = f(0), the function is continuous at x=0

      For continuity at x=1,
      =lim_{x	o 1^-} |x|-|x-1|

      =lim_{x	o 1^-} x-(-(x-1))

      =lim_{x	o 1^-} x+x-1

      = 1
      =lim_{x	o 1^+} |x|-|x-1|

      =lim_{x	o 1^+} x-(x-1)

      =lim_{x	o 1^+} x-x+1

      = 1
      Value of f(x) at x=1,
      f(0) = 1-|1-1| = 1
      Since LHL = RHL = f(1), the function is continuous at x=1
      So, there is no point of discontinuity.

    3. Differentiability –

    The derivative of a real valued function f(x) wrt x is the function f^prime(x) and is defined as –
    lim_{h	o 0} frac{f(x+h)-f(x)}{h}

    A function is said to be differentiable if the derivative of the function exists at all points of its domain. For checking the differentiability of a function at point x=c,
    lim_{h	o 0} frac{f(c+h)-f(c)}{h} must exist.

    If a function is differentiable at a point, then it is also continuous at that point.
    Note – If a function is continuous at a point does not imply that the function is also differentiable at that point. For example, f(x) = |x| is continuous at x=0 but it is not differentiable at that point.

    GATE CS Corner Questions

    Practicing the following questions will help you test your knowledge. All questions have been asked in GATE in previous years or in GATE Mock Tests. It is highly recommended that you practice them.

    1. GATE CS 2013, Question 22
    2. GATE CS 2010, Question 5
    3. GATE CS 2008, Question 1
    4. GATE CS 2007, Question 1
    5. GATE CS 2015 Set-1, Question 14
    6. GATE CS 2015 Set-3, Question 19
    7. GATE CS 2016 Set-1, Question 13
    8. GATE CS 1998, Question 4


    Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

This article is attributed to GeeksforGeeks.org

leave a comment



load comments

Subscribe to Our Newsletter