Thursday, August 14, 2025

When you teach a person, actually two people learn - here i am delving into calculus to show the light to my son...

1. The Problem

We have:

limx2x24x2\lim_{x \to 2} \frac{x^2 - 4}{x - 2}

If we try direct substitution (x=2x = 2):

(2)2422=440=00\frac{(2)^2 - 4}{2 - 2} = \frac{4 - 4}{0} = \frac{0}{0}

This is an indeterminate form — so the limit is not obvious.


Why it’s a Removable Discontinuity

The numerator x24x^2 - 4 factors:

x24=(x2)(x+2)x^2 - 4 = (x - 2)(x + 2)

So:

x24x2=(x2)(x+2)x2\frac{x^2 - 4}{x - 2} = \frac{(x - 2)(x + 2)}{x - 2}

For x2x \neq 2, the (x2)(x - 2) cancels:

x24x2=x+2\frac{x^2 - 4}{x - 2} = x + 2

The function behaves exactly like y=x+2y = x + 2 everywhere except at x=2x = 2.

At x=2x = 2, the original expression was undefined (division by zero), so there’s a hole in the graph — that’s the removable discontinuity.


Finding the Limit

Now that it’s simplified:

limx2x24x2=limx2(x+2)\lim_{x \to 2} \frac{x^2 - 4}{x - 2} = \lim_{x \to 2} (x + 2)






=2+2=4
= 2 + 2 = 4

So:

The limit is 4\boxed{\text{The limit is } 4}

If we define f(2)=4f(2) = 4, the discontinuity disappears and the function becomes continuous.


Visualizing

If you graph y=x24x2y = \frac{x^2 - 4}{x - 2}:

  • It looks like a straight line y=x+2y = x + 2

  • Except there’s an open circle at (2,4)(2, 4)
    That hole is the removable discontinuity.

Here's a visual representation of f(x).

The left top (the first one) shows the f(x) plotted.



Now let’s walk through L’Hôpital’s Theorem for limits clearly and step-by-step.


The Problem L’Hôpital Solves

Sometimes, when evaluating a limit, direct substitution gives an indeterminate form like:

  • 00\frac{0}{0}

  • \frac{\infty}{\infty}

These forms mean you can’t just plug in the value — but the limit might still exist.

Example:

limx2x24x2\lim_{x \to 2} \frac{x^2 - 4}{x - 2}

Direct substitution → 0/00/0.


Statement of L’Hôpital’s Rule

If:

  1. limxaf(x)=0\lim_{x \to a} f(x) = 0 and limxag(x)=0\lim_{x \to a} g(x) = 0
    OR
    limxaf(x)=±\lim_{x \to a} f(x) = \pm\infty and limxag(x)=±\lim_{x \to a} g(x) = \pm\infty

  2. ff and gg are differentiable near aa (except possibly at aa)

  3. g(x)0g'(x) \neq 0 near aa

Then:

limxaf(x)g(x)=limxaf(x)g(x)\lim_{x \to a} \frac{f(x)}{g(x)} = \lim_{x \to a} \frac{f'(x)}{g'(x)}

provided the limit on the right exists or is ±\pm\infty.


How It Works (Example)

Example:

limx2x24x2\lim_{x \to 2} \frac{x^2 - 4}{x - 2}

Direct substitution → 0/00/0.

Step 1: Differentiate numerator and denominator separately:

f(x)=2x,g(x)=1f'(x) = 2x, \quad g'(x) = 1

Step 2: Apply L’Hôpital’s Rule:

limx22x1=2(2)=4\lim_{x \to 2} \frac{2x}{1} = 2(2) = 4

Same answer we got earlier by factoring — but L’Hôpital works even when factoring is messy.


Another Example with /\infty/\infty

limx3x2+5x7x24\lim_{x \to \infty} \frac{3x^2 + 5x}{7x^2 - 4}

Direct substitution → /\infty/\infty.

Differentiate top and bottom:

f(x)=6x+5,g(x)=14xf'(x) = 6x + 5,\quad g'(x) = 14x

Now:

limx6x+514x=limx6+5x14=614=37\lim_{x \to \infty} \frac{6x + 5}{14x} = \lim_{x \to \infty} \frac{6 + \frac{5}{x}}{14} = \frac{6}{14} = \frac{3}{7}

Notes and Common Mistakes

  • Only use when you get 0/00/0 or /\infty/\infty
    (For other indeterminate forms like 00 \cdot \infty, 11^\infty, \infty - \infty, you may first need algebraic manipulation.)

  • Apply the rule repeatedly if the first derivative still gives 0/00/0 or /\infty/\infty.

  • Remember: Differentiate top and bottom separately, never use the quotient rule here.


2. The Problem

Alright — let’s go step-by-step for

limx0sinxx\lim_{x \to 0} \frac{\sin x}{x}

Direct Substitution Check

If x=0x = 0,

sin(0)0=00\frac{\sin(0)}{0} = \frac{0}{0}

That’s an indeterminate form — so we need another method.

\lim_{x \to 0} \frac{\sin x}{x} = 1

Using L’Hôpital’s Rule

We have 0/00/0 form. Differentiate top and bottom:

limx0cosx1=cos0=1

Final Answer:

                                                                        1

Visualization


See the plot at left column second from top.

3 . The problem

limx01x\lim_{x \to 0} \frac{1}{x}


First observation

If x=0x = 0, the expression is undefined because we can’t divide by zero.
So we check left-hand limit (LHL) and right-hand limit (RHL) separately.


Right-hand limit ( x0+x \to 0^+ )

Take xx as small positive numbers:

xx 1/x1/x
0.1 10
0.01 100
0.001 1000

As x0+x \to 0^+, 1/x+1/x \to +\infty.


Left-hand limit ( x0x \to 0^- )

Take xx as small negative numbers:

xx 1/x1/x
-0.1 -10
-0.01 -100
-0.001 -1000

As x0x \to 0^-, 1/x1/x \to -\infty.


Conclusion

The two one-sided limits are not equal:

limx0+1x=+\lim_{x \to 0^+} \frac{1}{x} = +\infty limx01x=\lim_{x \to 0^-} \frac{1}{x} = -\infty

Since they differ, the two-sided limit does not exist.


📌 Important: This is an example of an infinite discontinuity.

This is the third graph in the image attached earlier.

4. The problem - Jump Discontinuity

f(x)={1x<02x0

Visualization:

A step function shows a sudden jump — perfect for illustrating discontinuity.

The topmost in the right column of the image attached earlier


4. The Problem

The limit of

limx0sin(1x)\lim_{x \to 0} \sin\left(\frac{1}{x}\right)

is a classic example of a limit that does not exist.


Why it doesn’t exist

As x0x \to 0,

  • 1x+\frac{1}{x} \to +\infty when x0+x \to 0^+

  • 1x\frac{1}{x} \to -\infty when x0x \to 0^-

The sine function sin(t)\sin(t) oscillates between -1 and +1 infinitely often as t±t \to \pm \infty.

So near x=0x=0, sin(1x)\sin\left(\frac{1}{x}\right) oscillates wildly — no single number is approached.


Formal reasoning

We can try to take the right-hand limit:

Pick sequences:

xn=12πnsin(1xn)=sin(2πn)=0x_n = \frac{1}{2\pi n} \quad \Rightarrow \quad \sin\left(\frac{1}{x_n}\right) = \sin(2\pi n) = 0

and

yn=12πn+π/2sin(1yn)=sin(2πn+π2)=1y_n = \frac{1}{2\pi n + \pi/2} \quad \Rightarrow \quad \sin\left(\frac{1}{y_n}\right) = \sin\left(2\pi n + \frac{\pi}{2}\right) = 1

Both xn0x_n \to 0 and yn0y_n \to 0, but the function values approach different limits (0 and 1).
Hence, the limit does not exist.

5. The problem

Alright, let’s check if your function is continuous at x=1x = 1.

Given:

f(x)={x21if x<12if x=13xif x>1f(x) = \begin{cases} x^2 - 1 & \text{if } x < 1 \\ 2 & \text{if } x = 1 \\ 3 - x & \text{if } x > 1 \end{cases}

Step 1 – Left-hand limit (as x1x \to 1^-)

For x<1x < 1, f(x)=x21f(x) = x^2 - 1

limx1f(x)=121=0\lim_{x \to 1^-} f(x) = 1^2 - 1 = 0

Step 2 – Right-hand limit (as x1+x \to 1^+)

For x>1x > 1, f(x)=3xf(x) = 3 - x

limx1+f(x)=31=2\lim_{x \to 1^+} f(x) = 3 - 1 = 2

Step 3 – Compare limits

  • Left-hand limit = 0

  • Right-hand limit = 2
    Since 020 \neq 2, the limit at x=1x = 1 does not exist.


Step 4 – Conclusion

Continuity at x=1x = 1 requires:

limx1f(x)=f(1)\lim_{x \to 1} f(x) = f(1)

But here:

  • The two one-sided limits are not equal

  • So the function has a jump discontinuity at x=1x = 1

Final Answer:Not continuous at x=1x = 1.

Visualization

The bottom of the left column shows the graphical output of the function


6. The Problem

Let’s check step-by-step whether

f(x)={xsin(1x),x00,x=0f(x) = \begin{cases} x \sin\left(\frac{1}{x}\right), & x \neq 0 \\ 0, & x = 0 \end{cases}

is continuous at x=0x = 0.


Step 1: Continuity definition at a point

A function ff is continuous at x=0x = 0 if:

limx0f(x)=f(0)\lim_{x \to 0} f(x) = f(0)

That means:

  1. f(0)f(0) exists ✅

  2. The limit limx0f(x)\lim_{x \to 0} f(x) exists

  3. They are equal


Step 2: Check f(0)f(0)

From the definition:

f(0)=0f(0) = 0

Step 3: Find limx0f(x)\lim_{x \to 0} f(x)

When x0x \neq 0:

f(x)=xsin(1x)f(x) = x \sin\left(\frac{1}{x}\right)

We know that:

1sin(1x)1-1 \leq \sin\left(\frac{1}{x}\right) \leq 1

Multiplying through by xx (near x=0x=0):

xxsin(1x)x- |x| \leq x \sin\left(\frac{1}{x}\right) \leq |x|

Step 4: Apply the Squeeze Theorem

As x0x \to 0:

x0andx0- |x| \to 0 \quad \text{and} \quad |x| \to 0

So:

limx0xsin(1x)=0\lim_{x \to 0} x \sin\left(\frac{1}{x}\right) = 0

Step 5: Compare with f(0)f(0)

We have:

limx0f(x)=0=f(0)\lim_{x \to 0} f(x) = 0 = f(0)

Therefore, f(x)f(x) is continuous at x=0x = 0.

Visualisation



The squeeze theorem

The Squeeze Theorem (also called the Sandwich Theorem or Pinching Theorem) is a method in calculus for finding the limit of a function by “trapping” it between two simpler functions whose limits are known and equal.


Definition

If for all xx near aa (except possibly at aa itself), we have

g(x)f(x)h(x)g(x) \leq f(x) \leq h(x)

and

limxag(x)=Landlimxah(x)=L\lim_{x \to a} g(x) = L \quad \text{and} \quad \lim_{x \to a} h(x) = L

then

limxaf(x)=L\lim_{x \to a} f(x) = L

Intuition

Think of it like this:
If you trap f(x)f(x) between g(x)g(x) and h(x)h(x), and both of those are “squeezing” toward the same value LL as xx approaches aa, then f(x)f(x) must be squeezed to LL as well.


Example

Let’s prove:

limx0xsin(1x)=0\lim_{x \to 0} x \sin\left(\frac{1}{x}\right) = 0

We know:

1sin(1x)1-1 \leq \sin\left(\frac{1}{x}\right) \leq 1

Multiply all sides by x|x|:

xxsin(1x)x-|x| \leq x \sin\left(\frac{1}{x}\right) \leq |x|

As x0x \to 0:

limx0x=0andlimx0x=0\lim_{x \to 0} -|x| = 0 \quad\text{and}\quad \lim_{x \to 0} |x| = 0

By the Squeeze Theorem:

limx0xsin(1x)=0

No comments:

Post a Comment