100% FREE Updated: Mar 2026 Real Analysis Calculus of a Single Variable

Limits, Continuity, and Differentiation

Comprehensive study notes on Limits, Continuity, and Differentiation for CUET PG Mathematics preparation. This chapter covers key concepts, formulas, and examples needed for your exam.

Limits, Continuity, and Differentiation

This chapter establishes the foundational concepts of limits, continuity, and differentiability for functions of a single real variable. Mastery of these topics is crucial for the CUET PG examination, as they form the bedrock for advanced calculus and are frequently tested in various problem-solving contexts.

---

Chapter Contents

| # | Topic |
|---|-------|
| 1 | Limit and Continuity of Functions |
| 2 | Differentiation and its Theorems |

---

We begin with Limit and Continuity of Functions.

Part 1: Limit and Continuity of Functions

We explore the foundational concepts of limits and continuity for real-valued functions of a single variable, which are critical for understanding calculus and real analysis. These principles enable us to analyze function behavior near specific points and over intervals, forming the basis for differentiation and integration.

---

Core Concepts

1. Limit of a Function

We define the limit of a function f(x)f(x) as xx approaches a point cc as the value LL that f(x)f(x) gets arbitrarily close to. This definition does not require f(c)f(c) to be defined or equal to LL.

📖 Limit (Formal ϵδ\epsilon-\delta Definition)

A function f:DRf: D \to \mathbb{R} has a limit LL at a point cc if for every ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that for all xDx \in D satisfying 0<xc<δ0 < |x - c| < \delta, we have f(x)L<ϵ|f(x) - L| < \epsilon. We denote this as limxcf(x)=L\lim_{x \to c} f(x) = L.

Quick Example:
Consider demonstrating limx2(3x1)=5\lim_{x \to 2} (3x - 1) = 5 using the ϵδ\epsilon-\delta definition.

Step 1: Start with f(x)L<ϵ|f(x) - L| < \epsilon.

(3x1)5<ϵ\begin{aligned}|(3x - 1) - 5| & < \epsilon\end{aligned}

Step 2: Simplify the expression.

3x6<ϵ3x2<ϵ\begin{aligned}|3x - 6| & < \epsilon \\
3|x - 2| & < \epsilon\end{aligned}

Step 3: Isolate x2|x - 2|.

x2<ϵ3\begin{aligned}|x - 2| & < \frac{\epsilon}{3}\end{aligned}

Step 4: Choose δ\delta. We choose δ=ϵ3\delta = \frac{\epsilon}{3}. Thus, for any ϵ>0\epsilon > 0, there exists a δ=ϵ3\delta = \frac{\epsilon}{3} such that if 0<x2<δ0 < |x - 2| < \delta, then (3x1)5<ϵ|(3x - 1) - 5| < \epsilon.

Answer: 5\boxed{5}

:::question type="MCQ" question="Given limx3(2x+1)=7\lim_{x \to 3} (2x+1) = 7, which value of δ\delta corresponds to ϵ=0.01\epsilon = 0.01 in the formal definition of a limit?" options=["0.005","0.01","0.02","0.0025"] answer="0.005" hint="Follow the ϵδ\epsilon-\delta procedure: (2x+1)7<ϵ    2x6<ϵ    2x3<ϵ    x3<ϵ/2|(2x+1)-7| < \epsilon \implies |2x-6| < \epsilon \implies 2|x-3| < \epsilon \implies |x-3| < \epsilon/2. Thus δ=ϵ/2\delta = \epsilon/2." solution="Step 1: We begin with the inequality f(x)L<ϵ|f(x) - L| < \epsilon.

(2x+1)7<ϵ\begin{aligned}|(2x+1) - 7| & < \epsilon\end{aligned}

Step 2: Simplify the expression.

2x6<ϵ2x3<ϵ\begin{aligned}|2x - 6| & < \epsilon \\
2|x - 3| & < \epsilon\end{aligned}

Step 3: Isolate x3|x - 3|.

x3<ϵ2\begin{aligned}|x - 3| & < \frac{\epsilon}{2}\end{aligned}

Step 4: From this, we identify δ=ϵ2\delta = \frac{\epsilon}{2}.
Given ϵ=0.01\epsilon = 0.01, we calculate δ\delta.

δ=0.012=0.005\begin{aligned}\delta & = \frac{0.01}{2} = 0.005\end{aligned}

Answer: 0.005\boxed{0.005}"
:::

---

2. Properties of Limits

We utilize several properties to evaluate limits of combined functions, provided the individual limits exist.

📐 Limit Properties

Let limxcf(x)=L\lim_{x \to c} f(x) = L and limxcg(x)=M\lim_{x \to c} g(x) = M.

  • Sum Rule: limxc[f(x)+g(x)]=L+M\lim_{x \to c} [f(x) + g(x)] = L + M

  • Difference Rule: limxc[f(x)g(x)]=LM\lim_{x \to c} [f(x) - g(x)] = L - M

  • Product Rule: limxc[f(x)g(x)]=LM\lim_{x \to c} [f(x) \cdot g(x)] = L \cdot M

  • Quotient Rule: limxc[f(x)g(x)]=LM\lim_{x \to c} \left[\frac{f(x)}{g(x)}\right] = \frac{L}{M}, provided M0M \ne 0.

  • Constant Multiple Rule: limxc[kf(x)]=kL\lim_{x \to c} [k \cdot f(x)] = k \cdot L, for any constant kk.

  • Power Rule: limxc[f(x)]n=Ln\lim_{x \to c} [f(x)]^n = L^n, for any integer nn.

Quick Example:
Evaluate limx2(x2+3x5)\lim_{x \to 2} (x^2 + 3x - 5).

Step 1: Apply the sum/difference and constant multiple rules.

limx2x2+limx2(3x)limx25\begin{aligned}\lim_{x \to 2} x^2 + \lim_{x \to 2} (3x) - \lim_{x \to 2} 5\end{aligned}

Step 2: Evaluate individual limits.

(limx2x)2+3(limx2x)522+3(2)5\begin{aligned}(\lim_{x \to 2} x)^2 + 3(\lim_{x \to 2} x) - 5 \\
2^2 + 3(2) - 5\end{aligned}

Step 3: Calculate the result.

4+65=5\begin{aligned}4 + 6 - 5 & = 5\end{aligned}

Answer: 5\boxed{5}

:::question type="MCQ" question="Given limx1f(x)=4\lim_{x \to 1} f(x) = 4 and limx1g(x)=2\lim_{x \to 1} g(x) = -2, determine limx1[3f(x)g(x)2]\lim_{x \to 1} [3f(x) - g(x)^2]." options=["16","8","10","14"] answer="8" hint="Apply the constant multiple, difference, and power rules for limits." solution="Step 1: Apply the limit properties to the expression.

limx1[3f(x)g(x)2]=3limx1f(x)(limx1g(x))2\begin{aligned}\lim_{x \to 1} [3f(x) - g(x)^2] & = 3 \lim_{x \to 1} f(x) - (\lim_{x \to 1} g(x))^2\end{aligned}

Step 2: Substitute the given limit values.

3(4)(2)2\begin{aligned}3(4) - (-2)^2\end{aligned}

Step 3: Calculate the final value.

124=8\begin{aligned}12 - 4 & = 8\end{aligned}

Answer: 8\boxed{8}"
:::

---

3. One-Sided Limits

We consider the behavior of a function as xx approaches a point from either the left or the right. For a general limit to exist, both one-sided limits must exist and be equal.

📖 One-Sided Limits

  • Left-Hand Limit: limxcf(x)=L\lim_{x \to c^-} f(x) = L if for every ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that for all xx satisfying cδ<x<cc - \delta < x < c, we have f(x)L<ϵ|f(x) - L| < \epsilon.

  • Right-Hand Limit: limxc+f(x)=L\lim_{x \to c^+} f(x) = L if for every ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that for all xx satisfying c<x<c+δc < x < c + \delta, we have f(x)L<ϵ|f(x) - L| < \epsilon.

Existence of a Limit

limxcf(x)=L\lim_{x \to c} f(x) = L if and only if limxcf(x)=L\lim_{x \to c^-} f(x) = L and limxc+f(x)=L\lim_{x \to c^+} f(x) = L.

Quick Example:
Consider the function

f(x)={x+1if x<0x2if x0f(x) = \begin{cases} x+1 & \text{if } x < 0 \\ x^2 & \text{if } x \ge 0 \end{cases}

Evaluate limx0f(x)\lim_{x \to 0} f(x).

Step 1: Evaluate the left-hand limit.
>

limx0f(x)=limx0(x+1)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (x+1)

>
0+1=10 + 1 = 1

Step 2: Evaluate the right-hand limit.
>

limx0+f(x)=limx0+(x2)\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x^2)

>
02=00^2 = 0

Step 3: Compare the one-sided limits. Since limx0f(x)limx0+f(x)\lim_{x \to 0^-} f(x) \ne \lim_{x \to 0^+} f(x), the limit limx0f(x)\lim_{x \to 0} f(x) does not exist.

Answer: The limit does not exist.

:::question type="MCQ" question="For the function

f(x)={2x1if x<23if x=2x21if x>2f(x) = \begin{cases} 2x-1 & \text{if } x < 2 \\ 3 & \text{if } x = 2 \\ x^2-1 & \text{if } x > 2 \end{cases}
find limx2f(x)\lim_{x \to 2} f(x)." options=["3","5","DoesNotExist","2"] answer="3" hint="Evaluate the left-hand limit and the right-hand limit separately at x=2x=2. If they are equal, the limit exists and is that value." solution="Step 1: Evaluate the left-hand limit at x=2x=2.
For x<2x < 2, f(x)=2x1f(x) = 2x-1.
>
limx2f(x)=limx2(2x1)\lim_{x \to 2^-} f(x) = \lim_{x \to 2^-} (2x-1)

>
2(2)1=41=32(2) - 1 = 4 - 1 = 3

Step 2: Evaluate the right-hand limit at x=2x=2.
For x>2x > 2, f(x)=x21f(x) = x^2-1.
>

limx2+f(x)=limx2+(x21)\lim_{x \to 2^+} f(x) = \lim_{x \to 2^+} (x^2-1)

>
221=41=32^2 - 1 = 4 - 1 = 3

Step 3: Compare the one-sided limits.
Since limx2f(x)=3\lim_{x \to 2^-} f(x) = 3 and limx2+f(x)=3\lim_{x \to 2^+} f(x) = 3, the limit exists and is equal to 33. Note that the value f(2)=3f(2)=3 is equal to the limit, but this is a condition for continuity, not for the limit's existence.

The correct option is 3."
:::

---

4. Continuity at a Point

A function is continuous at a point if its limit at that point exists and equals the function's value at that point. This implies the graph of the function has no breaks, jumps, or holes at that specific point.

📖 Continuity at a Point

A function f(x)f(x) is continuous at a point cc if all three of the following conditions are met:

  • f(c)f(c) is defined.

  • limxcf(x)\lim_{x \to c} f(x) exists.

  • limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c).

Quick Example:
Determine if

f(x)={x2+1if x13x1if x>1f(x) = \begin{cases} x^2+1 & \text{if } x \le 1 \\ 3x-1 & \text{if } x > 1 \end{cases}

is continuous at x=1x=1.

Step 1: Check if f(1)f(1) is defined.
For x1x \le 1, f(x)=x2+1f(x) = x^2+1.
>

f(1)=12+1=2f(1) = 1^2 + 1 = 2

f(1)f(1) is defined.

Step 2: Check if limx1f(x)\lim_{x \to 1} f(x) exists.
Left-hand limit:
>

limx1f(x)=limx1(x2+1)=12+1=2\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} (x^2+1) = 1^2+1 = 2

Right-hand limit:
>
limx1+f(x)=limx1+(3x1)=3(1)1=2\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (3x-1) = 3(1)-1 = 2

Since the left-hand limit equals the right-hand limit, limx1f(x)=2\lim_{x \to 1} f(x) = 2. The limit exists.

Step 3: Compare limx1f(x)\lim_{x \to 1} f(x) and f(1)f(1).
>

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

>
f(1)=2f(1) = 2

Since limx1f(x)=f(1)\lim_{x \to 1} f(x) = f(1), the function is continuous at x=1x=1.

Answer: Continuous at x=1x=1.

:::question type="MCQ" question="For what value of kk is the function

f(x)={kx2if x14if x<1f(x) = \begin{cases} kx^2 & \text{if } x \ge 1 \\ 4 & \text{if } x < 1 \end{cases}
continuous at x=1x=1?" options=["1","2","3","4"] answer="4" hint="For continuity at x=1x=1, we must have f(1)=limx1f(x)=limx1+f(x)f(1) = \lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x)." solution="Step 1: For f(x)f(x) to be continuous at x=1x=1, the function value f(1)f(1), the left-hand limit limx1f(x)\lim_{x \to 1^-} f(x), and the right-hand limit limx1+f(x)\lim_{x \to 1^+} f(x) must all be equal.

Step 2: Evaluate f(1)f(1).
Using the first case (x1x \ge 1):
>

f(1)=k(12)=kf(1) = k(1^2) = k

Step 3: Evaluate the left-hand limit.
Using the second case (x<1x < 1):
>

limx1f(x)=limx14=4\lim_{x \to 1^-} f(x) = \lim_{x \to 1^-} 4 = 4

Step 4: Evaluate the right-hand limit.
Using the first case (x1x \ge 1):
>

limx1+f(x)=limx1+(kx2)\lim_{x \to 1^+} f(x) = \lim_{x \to 1^+} (kx^2)

>
k(12)=kk(1^2) = k

Step 5: Set the values equal for continuity.
For continuity, k=4k = 4.
Thus, f(1)=4f(1) = 4, limx1f(x)=4\lim_{x \to 1^-} f(x) = 4, and limx1+f(x)=4\lim_{x \to 1^+} f(x) = 4.

The correct option is 4."
:::

---

5. Continuity on an Interval

We extend the concept of continuity from a single point to an entire interval. This implies the function's graph can be drawn without lifting the pen over that interval.

📖 Continuity on an Interval

  • A function ff is continuous on an open interval (a,b)(a, b) if it is continuous at every point in (a,b)(a, b).

  • A function ff is continuous on a closed interval [a,b][a, b] if it is continuous on (a,b)(a, b), and also

limxa+f(x)=f(a)\lim_{x \to a^+} f(x) = f(a) (continuous from the right at aa)
limxbf(x)=f(b)\lim_{x \to b^-} f(x) = f(b) (continuous from the left at bb)

Quick Example:
Determine the interval(s) on which

f(x)=x+1x2f(x) = \frac{x+1}{x-2}

is continuous.

Step 1: Identify points where the function might be undefined or have issues.
Rational functions are continuous everywhere except where the denominator is zero.

Step 2: Set the denominator to zero and solve for xx.
>

x2=0x-2 = 0

>
x=2x = 2

The function is undefined at x=2x=2.

Step 3: Conclude the intervals of continuity.
The function is continuous on (,2)(-\infty, 2) and (2,)(2, \infty).

Answer:

(,2)(2,)(-\infty, 2) \cup (2, \infty)

:::question type="MCQ" question="Let

f(x)={xif x is rational3xif x is irrationalf(x) = \begin{cases} x & \text{if } x \text{ is rational} \\ 3-x & \text{if } x \text{ is irrational} \end{cases}
On which interval is f(x)f(x) continuous?" options=["No point","All points","Exactly one point","Exactly two points"] answer="Exactly one point" hint="For continuity, f(x)f(x) must equal its limit. For a function like this, continuity can only occur where x=3xx = 3-x." solution="Step 1: For f(x)f(x) to be continuous at a point cc, we must have limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c).
Consider a point cc. If cc is rational, f(c)=cf(c) = c. If cc is irrational, f(c)=3cf(c) = 3-c.

Step 2: For continuity, f(x)f(x) must approach f(c)f(c) as xcx \to c.
If xx is close to cc, f(x)f(x) will take values close to cc (if xx is rational) and values close to 3c3-c (if xx is irrational). For the limit to exist and be equal to f(c)f(c), we must have c=3cc = 3-c.

Step 3: Solve for cc.
>

c=3cc = 3-c

>
2c=32c = 3

>
c=32c = \frac{3}{2}

Step 4: Verify continuity at c=3/2c = 3/2.
At x=3/2x = 3/2:
f(3/2)=3/2f(3/2) = 3/2 (since 3/23/2 is rational).
For any sequence of rational numbers xn3/2x_n \to 3/2, limnf(xn)=limnxn=3/2\lim_{n \to \infty} f(x_n) = \lim_{n \to \infty} x_n = 3/2.
For any sequence of irrational numbers yn3/2y_n \to 3/2, limnf(yn)=limn(3yn)=33/2=3/2\lim_{n \to \infty} f(y_n) = \lim_{n \to \infty} (3-y_n) = 3 - 3/2 = 3/2.
Since both limits are 3/23/2, limx3/2f(x)=3/2\lim_{x \to 3/2} f(x) = 3/2.
As limx3/2f(x)=f(3/2)\lim_{x \to 3/2} f(x) = f(3/2), the function is continuous at x=3/2x=3/2.

For any other point c3/2c \ne 3/2, the values cc and 3c3-c are distinct. As xcx \to c, f(x)f(x) will oscillate between values near cc and values near 3c3-c, preventing the limit from existing. Thus, f(x)f(x) is continuous at exactly one point.

The correct option is Exactly one point."
:::

---

6. Types of Discontinuities

Discontinuities categorize how a function fails to be continuous at a point. Understanding these types helps in analyzing function behavior.

📖 Types of Discontinuities

Let f(x)f(x) be a function and cc be a point.

  • Removable Discontinuity: limxcf(x)\lim_{x \to c} f(x) exists, but limxcf(x)f(c)\lim_{x \to c} f(x) \ne f(c) (either f(c)f(c) is undefined or f(c)f(c) has a different value). This can be "removed" by redefining f(c)f(c).

  • Jump Discontinuity: limxcf(x)\lim_{x \to c^-} f(x) and limxc+f(x)\lim_{x \to c^+} f(x) both exist, but they are not equal.

  • Essential (or Infinite) Discontinuity: At least one of the one-sided limits is ±\pm \infty.

  • Oscillatory Discontinuity: The limit does not exist due to the function oscillating indefinitely, such as sin(1/x)\sin(1/x) at x=0x=0.

Quick Example:
Classify the discontinuity of

f(x)=x24x2f(x) = \frac{x^2-4}{x-2}

at x=2x=2.

Step 1: Check f(2)f(2).

f(2)=22422=00f(2) = \frac{2^2-4}{2-2} = \frac{0}{0}

, which is undefined.

Step 2: Evaluate the limit as x2x \to 2.
>

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

>
limx2(x+2)=2+2=4\lim_{x \to 2} (x+2) = 2+2 = 4

The limit exists and is 44.

Step 3: Classify.
Since the limit exists but f(2)f(2) is undefined, this is a removable discontinuity.

Answer: Removable discontinuity.

:::question type="MCQ" question="Which of the following functions is discontinuous at every point of R\mathbb{R}?" options=["

f(x)={1,if x is rational 1,if x is irrational f(x)=\begin{cases}1, & \text{if } x \text{ is rational } \\ -1, & \text{if } x \text{ is irrational }\end{cases}
","
f(x)={x,if x is rational 0,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ 0, & \text{if } x \text{ is irrational }\end{cases}
","
f(x)={x,if x is rational 2x,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ 2x, & \text{if } x \text{ is irrational }\end{cases}
","
f(x)={x,if x is rational x,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ -x, & \text{if } x \text{ is irrational }\end{cases}
"] answer="
f(x)={1,if x is rational 1,if x is irrational f(x)=\begin{cases}1, & \text{if } x \text{ is rational } \\ -1, & \text{if } x \text{ is irrational }\end{cases}
" hint="A function is discontinuous at every point if, for any point cc, the limit limxcf(x)\lim_{x \to c} f(x) does not exist, or if it exists, it is not equal to f(c)f(c), and this must hold for all cRc \in \mathbb{R}." solution="We analyze each option:

Option 1:

f(x)={1,if x is rational 1,if x is irrational f(x)=\begin{cases}1, & \text{if } x \text{ is rational } \\ -1, & \text{if } x \text{ is irrational }\end{cases}

(Dirichlet function variant)
For any point cRc \in \mathbb{R}, any open interval around cc contains both rational and irrational numbers. Thus, f(x)f(x) will take values 11 and 1-1 arbitrarily close to cc. The limit limxcf(x)\lim_{x \to c} f(x) does not exist for any cc. Therefore, this function is discontinuous at every point.

Option 2:

f(x)={x,if x is rational 0,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ 0, & \text{if } x \text{ is irrational }\end{cases}

This function is continuous only at x=0x=0. If c=0c=0, f(0)=0f(0)=0. As x0x \to 0, x0x \to 0 (for rational xx) and 000 \to 0 (for irrational xx). So limx0f(x)=0=f(0)\lim_{x \to 0} f(x) = 0 = f(0). At any other point c0c \ne 0, the limit does not exist because f(x)f(x) oscillates between values near cc and 00.

Option 3:

f(x)={x,if x is rational 2x,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ 2x, & \text{if } x \text{ is irrational }\end{cases}

This function is continuous only at x=0x=0. For continuity at cc, we need c=2cc = 2c, which implies c=0c=0. At x=0x=0, f(0)=0f(0)=0, and limx0f(x)=0\lim_{x \to 0} f(x) = 0.

Option 4:

f(x)={x,if x is rational x,if x is irrational f(x)=\begin{cases}x, & \text{if } x \text{ is rational } \\ -x, & \text{if } x \text{ is irrational }\end{cases}

This function is continuous only at x=0x=0. For continuity at cc, we need c=cc = -c, which implies 2c=02c=0, so c=0c=0. At x=0x=0, f(0)=0f(0)=0, and limx0f(x)=0\lim_{x \to 0} f(x) = 0.

Therefore, only the first function is discontinuous at every point of R\mathbb{R}.

The correct option is

f(x)={1,if x is rational 1,if x is irrational f(x)=\begin{cases}1, & \text{if } x \text{ is rational } \\ -1, & \text{if } x \text{ is irrational }\end{cases}
"
:::

---

---

7. Properties of Continuous Functions

Continuous functions exhibit useful properties when combined, preserving continuity under various operations.

📐 Properties of Continuous Functions

Let ff and gg be functions continuous at a point cc, and kk be a constant.

  • Sum/Difference: f±gf \pm g is continuous at cc.

  • Product: fgf \cdot g is continuous at cc.

  • Quotient: f/gf/g is continuous at cc, provided g(c)0g(c) \ne 0.

  • Constant Multiple: kfk \cdot f is continuous at cc.

  • Composition: If gg is continuous at cc and ff is continuous at g(c)g(c), then the composite function (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)) is continuous at cc.

Quick Example:
Given f(x)=x2f(x) = x^2 and g(x)=sinxg(x) = \sin x. Determine if (fg)(x)(f \circ g)(x) is continuous on R\mathbb{R}.

Step 1: Check continuity of the inner function g(x)g(x).
The sine function g(x)=sinxg(x) = \sin x is continuous on R\mathbb{R}.

Step 2: Check continuity of the outer function f(y)f(y).
The function f(y)=y2f(y) = y^2 (where y=g(x)y=g(x)) is a polynomial, which is continuous on R\mathbb{R}.

Step 3: Apply the composition rule.
Since g(x)g(x) is continuous on R\mathbb{R} and f(y)f(y) is continuous on R\mathbb{R} (and thus at every value g(x)g(x) takes), their composition (fg)(x)=f(g(x))=(sinx)2(f \circ g)(x) = f(g(x)) = (\sin x)^2 is continuous on R\mathbb{R}.

Answer: (fg)(x)(f \circ g)(x) is continuous on R\mathbb{R}.

:::question type="MCQ" question="Let f(x)=xf(x) = |x| and g(x)=x24g(x) = x^2 - 4. Which of the following statements is true about the continuity of h(x)=(fg)(x)h(x) = (f \circ g)(x)?" options=["h(x)h(x) is continuous on R\mathbb{R}","h(x)h(x) is continuous only on (,2)(2,)(-\infty, -2) \cup (2, \infty)","h(x)h(x) is continuous only on [2,2][-2, 2]","h(x)h(x) is discontinuous at x=±2x=\pm 2"] answer="h(x)h(x) is continuous on R\mathbb{R}" hint="Consider the continuity of f(x)f(x) and g(x)g(x) individually, then apply the composition rule. The absolute value function is continuous everywhere." solution="Step 1: Analyze the continuity of the inner function g(x)g(x).
g(x)=x24g(x) = x^2 - 4 is a polynomial function. Polynomials are continuous on all of R\mathbb{R}.

Step 2: Analyze the continuity of the outer function f(y)f(y).
f(y)=yf(y) = |y| is the absolute value function. The absolute value function is continuous on all of R\mathbb{R}.

Step 3: Apply the composition rule.
Since g(x)g(x) is continuous on R\mathbb{R} and f(y)f(y) is continuous on R\mathbb{R} (and therefore continuous at g(x)g(x) for all xx), their composition h(x)=(fg)(x)=x24h(x) = (f \circ g)(x) = |x^2 - 4| is continuous on all of R\mathbb{R}. Even though g(x)g(x) changes sign at x=±2x=\pm 2, f(y)=yf(y)=|y| is continuous at y=0y=0, which is g(±2)g(\pm 2).

The correct option is h(x)h(x) is continuous on R\mathbb{R}."
:::

---

8. Intermediate Value Theorem (IVT)

The IVT is a fundamental theorem for continuous functions on closed intervals, guaranteeing that the function takes on every value between its values at the endpoints.

📐 Intermediate Value Theorem

If ff is a continuous function on the closed interval [a,b][a, b], and kk is any number between f(a)f(a) and f(b)f(b) (i.e., f(a)<k<f(b)f(a) < k < f(b) or f(b)<k<f(a)f(b) < k < f(a)), then there exists at least one number cc in the open interval (a,b)(a, b) such that f(c)=kf(c) = k.

Application: Root Finding

If f(a)f(a) and f(b)f(b) have opposite signs (i.e., f(a)f(b)<0f(a)f(b) < 0), then by IVT, there must be at least one root c(a,b)c \in (a, b) such that f(c)=0f(c) = 0.

Quick Example:
Show that f(x)=x34x+1f(x) = x^3 - 4x + 1 has a root in the interval [0,1][0, 1].

Step 1: Check if f(x)f(x) is continuous on [0,1][0, 1].
f(x)f(x) is a polynomial, so it is continuous everywhere, including on [0,1][0, 1].

Step 2: Evaluate f(x)f(x) at the endpoints.

f(0)=034(0)+1=1f(0) = 0^3 - 4(0) + 1 = 1

f(1)=134(1)+1=14+1=2f(1) = 1^3 - 4(1) + 1 = 1 - 4 + 1 = -2

Step 3: Apply the IVT.
Since f(0)=1>0f(0) = 1 > 0 and f(1)=2<0f(1) = -2 < 0, and ff is continuous on [0,1][0, 1], by the IVT, there must exist a c(0,1)c \in (0, 1) such that f(c)=0f(c) = 0.

Answer: A root exists in [0,1][0, 1].

:::question type="MCQ" question="Let f:[0,1]Rf: [0, 1] \to \mathbb{R} be a continuous function such that f(0)=5f(0)=5 and f(1)=10f(1)=10. Which of the following statements is guaranteed by the Intermediate Value Theorem?" options=["There exists c(0,1)c \in (0, 1) such that f(c)=12f(c)=12","There exists c(0,1)c \in (0, 1) such that f(c)=7f(c)=7","For all c(0,1)c \in (0, 1), 5<f(c)<105 < f(c) < 10","There exists c(0,1)c \in (0, 1) such that f(c)=0f(c)=0"] answer="There exists c(0,1)c \in (0, 1) such that f(c)=7f(c)=7" hint="The IVT guarantees that f(x)f(x) takes on every value between f(a)f(a) and f(b)f(b)." solution="Step 1: Recall the Intermediate Value Theorem.
If ff is continuous on [a,b][a, b], and kk is any number between f(a)f(a) and f(b)f(b), then there exists c(a,b)c \in (a, b) such that f(c)=kf(c) = k.

Step 2: Apply the theorem to the given function.
Here a=0a=0, b=1b=1, f(a)=f(0)=5f(a)=f(0)=5, and f(b)=f(1)=10f(b)=f(1)=10.
The theorem states that for any kk such that 5<k<105 < k < 10, there exists a c(0,1)c \in (0, 1) with f(c)=kf(c)=k.

Step 3: Evaluate the options.
* "There exists c(0,1)c \in (0, 1) such that f(c)=12f(c)=12": 1212 is not between 55 and 1010. Not guaranteed.
* "There exists c(0,1)c \in (0, 1) such that f(c)=7f(c)=7": 77 is between 55 and 1010. This is guaranteed by IVT.
"For all c(0,1)c \in (0, 1), 5<f(c)<105 < f(c) < 10": This is not guaranteed. The function could go outside this range and come back, or simply not attain all values. For example, f(x)=5+5xf(x) = 5+5x would satisfy this, but f(x)=5+20x(1x)f(x) = 5+20x(1-x) might go above 10. IVT only guarantees existence for values between* endpoints, not that all values are within.
* "There exists c(0,1)c \in (0, 1) such that f(c)=0f(c)=0": 00 is not between 55 and 1010. Not guaranteed.

The correct option is There exists c(0,1)c \in (0, 1) such that f(c)=7f(c)=7."
:::

---

9. Extreme Value Theorem (EVT)

The EVT states that a continuous function on a closed, bounded interval must attain both a maximum and a minimum value within that interval.

📐 Extreme Value Theorem

If ff is a continuous function on a closed and bounded interval [a,b][a, b], then ff attains an absolute maximum value MM and an absolute minimum value mm on [a,b][a, b]. That is, there exist numbers x1,x2[a,b]x_1, x_2 \in [a, b] such that f(x1)=mf(x_1) = m, f(x2)=Mf(x_2) = M, and mf(x)Mm \le f(x) \le M for all x[a,b]x \in [a, b].

Image of a Closed Interval

Combined with the IVT, the EVT implies that the image of a closed interval [a,b][a, b] under a continuous function ff is also a closed interval, specifically [m,M][m, M], where mm is the minimum value and MM is the maximum value of ff on [a,b][a, b]. This can also be a singleton set if ff is a constant function.

Quick Example:
Consider f(x)=x2f(x) = x^2 on the interval [1,2][-1, 2]. Find the maximum and minimum values.

Step 1: Check continuity and interval type.
f(x)=x2f(x) = x^2 is continuous on [1,2][-1, 2], which is a closed and bounded interval. Thus, EVT applies.

Step 2: Find critical points in the interval.
f(x)=2xf'(x) = 2x. Setting f(x)=0f'(x)=0 gives x=0x=0. x=0x=0 is in [1,2][-1, 2].

Step 3: Evaluate f(x)f(x) at critical points and endpoints.

f(1)=(1)2=1f(-1) = (-1)^2 = 1

f(0)=02=0f(0) = 0^2 = 0

f(2)=22=4f(2) = 2^2 = 4

Step 4: Identify minimum and maximum.
The minimum value is 00 (at x=0x=0). The maximum value is 44 (at x=2x=2).

Answer: Minimum value is 00, maximum value is 44.

:::question type="MCQ" question="The image of a closed interval under a continuous function is:" options=["Closed interval","Either closed interval or open interval","Open interval","Closed interval or a singleton"] answer="Closed interval or a singleton" hint="Consider the implications of the Extreme Value Theorem and the Intermediate Value Theorem for continuous functions on compact sets. A singleton set is a degenerate closed interval." solution="Step 1: Recall the Extreme Value Theorem (EVT).
If ff is continuous on a closed interval [a,b][a, b], then ff attains an absolute maximum value MM and an absolute minimum value mm on [a,b][a, b].

Step 2: Recall the Intermediate Value Theorem (IVT).
If ff is continuous on [a,b][a, b], it takes on every value between f(a)f(a) and f(b)f(b).

Step 3: Combine EVT and IVT.
The EVT guarantees that ff attains mm and MM. The IVT then guarantees that ff takes on every value between mm and MM. Therefore, the image f([a,b])f([a, b]) is the closed interval [m,M][m, M].

Step 4: Consider edge cases.
If ff is a constant function on [a,b][a, b], say f(x)=kf(x) = k for all x[a,b]x \in [a, b], then its minimum m=km=k and maximum M=kM=k. In this case, the image is [k,k][k, k], which is a singleton set {k}\{k\}. A singleton set can be considered a degenerate closed interval.

Therefore, the image of a closed interval under a continuous function is a closed interval or a singleton.

The correct option is Closed interval or a singleton."
:::

---

Advanced Concepts

1. Uniform Continuity

Uniform continuity is a stronger condition than pointwise continuity, concerning the relationship between ϵ\epsilon and δ\delta. For a uniformly continuous function, a single δ\delta works for all points in the domain, given an ϵ\epsilon.

📖 Uniform Continuity

A function f:DRf: D \to \mathbb{R} is uniformly continuous on a set DD if for every ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that for all x,yDx, y \in D satisfying xy<δ|x - y| < \delta, we have f(x)f(y)<ϵ|f(x) - f(y)| < \epsilon.

Uniform vs. Pointwise Continuity
    • Pointwise Continuity: δ\delta depends on both ϵ\epsilon and the point cc.
    • Uniform Continuity: δ\delta depends only on ϵ\epsilon, not on the choice of xx or yy.
A function continuous on a closed and bounded interval (compact set) is always uniformly continuous on that interval (Heine-Cantor Theorem).

Quick Example:
Show that f(x)=2x+1f(x) = 2x+1 is uniformly continuous on R\mathbb{R}.

Step 1: Start with f(x)f(y)<ϵ|f(x) - f(y)| < \epsilon.

(2x+1)(2y+1)<ϵ|(2x+1) - (2y+1)| < \epsilon

Step 2: Simplify the expression.

2x2y<ϵ|2x - 2y| < \epsilon

2xy<ϵ2|x - y| < \epsilon

Step 3: Isolate xy|x - y|.

xy<ϵ2|x - y| < \frac{\epsilon}{2}

Step 4: Choose δ\delta. We choose δ=ϵ2\delta = \frac{\epsilon}{2}.
Since δ\delta depends only on ϵ\epsilon (and not on xx or yy), f(x)=2x+1f(x) = 2x+1 is uniformly continuous on R\mathbb{R}.

Answer: Uniformly continuous.

:::question type="MCQ" question="The set on which f(x)=x2f(x) = x^2 is uniformly continuous is:" options=["[1,1][-1,1]","(1,1)(-1,1)","R\mathbb{R}","Nowhere"] answer="[1,1][-1,1],(1,1)(-1,1)" type="MSQ" hint="A continuous function on a compact set is uniformly continuous. For non-compact sets, consider the definition. f(x)=x2f(x)=x^2 is not uniformly continuous on R\mathbb{R} because its slope is unbounded." solution="We analyze each option:

Step 1: Recall the Heine-Cantor Theorem.
A function that is continuous on a closed and bounded interval (a compact set) is uniformly continuous on that interval.

Step 2: Analyze f(x)=x2f(x) = x^2.
This function is continuous on all of R\mathbb{R}.

Step 3: Evaluate the options based on the definition or theorems.
* [1,1][-1,1]: This is a closed and bounded interval (compact set). Since f(x)=x2f(x)=x^2 is continuous on [1,1][-1,1], it is uniformly continuous on [1,1][-1,1] by the Heine-Cantor Theorem.
* (1,1)(-1,1): This is an open and bounded interval. While not compact, f(x)=x2f(x)=x^2 is uniformly continuous on any bounded interval. To show this, for any ϵ>0\epsilon > 0, we need to find δ\delta.

f(x)f(y)=x2y2=(xy)(x+y)=xyx+y\begin{aligned} |f(x) - f(y)| & = |x^2 - y^2| \\
& = |(x-y)(x+y)| \\
& = |x-y||x+y|\end{aligned}

If x,y(1,1)x, y \in (-1, 1), then x<1|x| < 1 and y<1|y| < 1, so x+yx+y<1+1=2|x+y| \le |x| + |y| < 1 + 1 = 2.
Thus, f(x)f(y)<xy2|f(x) - f(y)| < |x-y| \cdot 2. If we choose δ=ϵ/2\delta = \epsilon/2, then for xy<δ|x-y|<\delta, we have f(x)f(y)<(ϵ/2)2=ϵ|f(x)-f(y)| < (\epsilon/2) \cdot 2 = \epsilon. So, f(x)=x2f(x)=x^2 is uniformly continuous on (1,1)(-1,1).
R\mathbb{R}: This is an unbounded interval. For f(x)=x2f(x)=x^2 on R\mathbb{R}, it is not* uniformly continuous. Consider ϵ=1\epsilon = 1. We need to find δ>0\delta > 0 such that if xy<δ|x-y| < \delta, then x2y2<1|x^2-y^2| < 1.
Let xn=nx_n = n and yn=n+δ2y_n = n + \frac{\delta}{2}. Then xnyn=δ2<δ|x_n - y_n| = \frac{\delta}{2} < \delta.
But
f(xn)f(yn)=n2(n+δ2)2=n2(n2+nδ+δ24)=nδδ24=nδ+δ24\begin{aligned} |f(x_n) - f(y_n)| & = \left|n^2 - \left(n + \frac{\delta}{2}\right)^2\right| \\
& = \left|n^2 - \left(n^2 + n\delta + \frac{\delta^2}{4}\right)\right| \\
& = \left|-n\delta - \frac{\delta^2}{4}\right| \\
& = n\delta + \frac{\delta^2}{4}\end{aligned}

As nn \to \infty, nδ+δ24n\delta + \frac{\delta^2}{4} grows unboundedly, so it will eventually exceed 11. Thus, no single δ\delta works for all x,yRx,y \in \mathbb{R}. Hence, f(x)=x2f(x)=x^2 is not uniformly continuous on R\mathbb{R}.
* Nowhere: This is incorrect as it is uniformly continuous on bounded intervals.

Therefore, f(x)=x2f(x)=x^2 is uniformly continuous on [1,1][-1,1] and (1,1)(-1,1).

The correct options are [1,1][-1,1],(1,1)(-1,1)."
:::

---

2. Limits at Infinity and Infinite Limits

We examine function behavior as the input grows unboundedly or as the function's output grows unboundedly.

📖 Limits at Infinity and Infinite Limits

  • Limit at Infinity: limxf(x)=L\lim_{x \to \infty} f(x) = L if for every ϵ>0\epsilon > 0, there exists N>0N > 0 such that for all x>Nx > N, we have f(x)L<ϵ|f(x) - L| < \epsilon. Similarly for limxf(x)=L\lim_{x \to -\infty} f(x) = L.

  • Infinite Limit: limxcf(x)=\lim_{x \to c} f(x) = \infty if for every M>0M > 0, there exists δ>0\delta > 0 such that for all xx satisfying 0<xc<δ0 < |x - c| < \delta, we have f(x)>Mf(x) > M. Similarly for limxcf(x)=\lim_{x \to c} f(x) = -\infty.

Quick Example:
Evaluate limx2x2+3x1x24x+5\lim_{x \to \infty} \frac{2x^2 + 3x - 1}{x^2 - 4x + 5}.

Step 1: Divide the numerator and denominator by the highest power of xx in the denominator, which is x2x^2.
>

limx2x2x2+3xx21x2x2x24xx2+5x2\lim_{x \to \infty} \frac{\frac{2x^2}{x^2} + \frac{3x}{x^2} - \frac{1}{x^2}}{\frac{x^2}{x^2} - \frac{4x}{x^2} + \frac{5}{x^2}}

Step 2: Simplify the expression.
>

limx2+3x1x214x+5x2\lim_{x \to \infty} \frac{2 + \frac{3}{x} - \frac{1}{x^2}}{1 - \frac{4}{x} + \frac{5}{x^2}}

Step 3: Apply limit properties. As xx \to \infty, terms like kxn\frac{k}{x^n} approach 00.
>

2+0010+0=21=2\frac{2 + 0 - 0}{1 - 0 + 0} = \frac{2}{1} = 2

Answer: 22.

:::question type="MCQ" question="Evaluate limxx2+1x\lim_{x \to -\infty} \frac{\sqrt{x^2+1}}{x}." options=["11","1-1","0","DoesNotExist"] answer="-1" hint="For limits at infinity involving square roots, factor out x2x^2 from under the root. Remember that x2=x\sqrt{x^2}=|x|, and for xx \to -\infty, x=x|x| = -x." solution="Step 1: Factor x2x^2 out from under the square root in the numerator.
>

limxx2(1+1x2)x\lim_{x \to -\infty} \frac{\sqrt{x^2(1 + \frac{1}{x^2})}}{x}

Step 2: Use the property x2=x\sqrt{x^2} = |x|.
>

limxx1+1x2x\lim_{x \to -\infty} \frac{|x|\sqrt{1 + \frac{1}{x^2}}}{x}

Step 3: Since xx \to -\infty, xx is negative, so x=x|x| = -x.
>

limxx1+1x2x\lim_{x \to -\infty} \frac{-x\sqrt{1 + \frac{1}{x^2}}}{x}

Step 4: Cancel xx.
>

limx1+1x2\lim_{x \to -\infty} -\sqrt{1 + \frac{1}{x^2}}

Step 5: Evaluate the limit. As xx \to -\infty, 1x20\frac{1}{x^2} \to 0.
>

1+0=1=1-\sqrt{1 + 0} = -\sqrt{1} = -1

Answer: \boxed{-1}"
:::

---

3. Squeeze Theorem

The Squeeze Theorem (also known as the Sandwich Theorem) is useful for finding the limit of a function that is "squeezed" between two other functions whose limits are known and equal.

📐 Squeeze Theorem

If g(x)f(x)h(x)g(x) \le f(x) \le h(x) for all xx in some open interval containing cc (except possibly at cc itself), and if limxcg(x)=L\lim_{x \to c} g(x) = L and limxch(x)=L\lim_{x \to c} h(x) = L, then limxcf(x)=L\lim_{x \to c} f(x) = L.

Quick Example:
Evaluate limx0x2sin(1x)\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right).

Step 1: Establish bounds for the oscillating part.
We know that 1sin(1x)1-1 \le \sin\left(\frac{1}{x}\right) \le 1 for x0x \ne 0.

Step 2: Multiply by x2x^2. Since x20x^2 \ge 0, the inequalities are preserved.
>

x2x2sin(1x)x2-x^2 \le x^2 \sin\left(\frac{1}{x}\right) \le x^2

Step 3: Evaluate the limits of the bounding functions as x0x \to 0.
>

limx0(x2)=0\lim_{x \to 0} (-x^2) = 0

>
limx0(x2)=0\lim_{x \to 0} (x^2) = 0

Step 4: Apply the Squeeze Theorem.
Since x2sin(1x)x^2 \sin\left(\frac{1}{x}\right) is squeezed between x2-x^2 and x2x^2, and both bounding functions approach 00 as x0x \to 0, we conclude that limx0x2sin(1x)=0\lim_{x \to 0} x^2 \sin\left(\frac{1}{x}\right) = 0.

Answer: 00.

:::question type="MCQ" question="Evaluate limxcosxx\lim_{x \to \infty} \frac{\cos x}{x}." options=["11","0","DoesNotExist","\infty"] answer="0" hint="Use the bounds of the cosine function and apply the Squeeze Theorem for limits at infinity." solution="Step 1: Establish bounds for the numerator.
We know that for all real xx, 1cosx1-1 \le \cos x \le 1.

Step 2: Divide the inequality by xx. Since we are considering xx \to \infty, xx is positive, so the inequalities are preserved.
>

1xcosxx1x-\frac{1}{x} \le \frac{\cos x}{x} \le \frac{1}{x}

Step 3: Evaluate the limits of the bounding functions as xx \to \infty.
>

limx(1x)=0\lim_{x \to \infty} \left(-\frac{1}{x}\right) = 0

>
limx(1x)=0\lim_{x \to \infty} \left(\frac{1}{x}\right) = 0

Step 4: Apply the Squeeze Theorem.
Since cosxx\frac{\cos x}{x} is squeezed between 1x-\frac{1}{x} and 1x\frac{1}{x}, and both bounding functions approach 00 as xx \to \infty, we conclude that limxcosxx=0\lim_{x \to \infty} \frac{\cos x}{x} = 0.

Answer: \boxed{0}"
:::

---

4. L'Hôpital's Rule

L'Hôpital's Rule is a technique for evaluating limits of indeterminate forms, specifically 00\frac{0}{0} or \frac{\infty}{\infty}. It involves taking the derivatives of the numerator and denominator.

📐 L'Hôpital's Rule

If limxcf(x)g(x)\lim_{x \to c} \frac{f(x)}{g(x)} is of the form 00\frac{0}{0} or \frac{\infty}{\infty}, and if limxcf(x)g(x)\lim_{x \to c} \frac{f'(x)}{g'(x)} exists (or is ±\pm \infty), then

limxcf(x)g(x)=limxcf(x)g(x)\lim_{x \to c} \frac{f(x)}{g(x)} = \lim_{x \to c} \frac{f'(x)}{g'(x)}

This rule also applies to one-sided limits and limits as x±x \to \pm \infty.

Quick Example:
Evaluate limx0sinxx\lim_{x \to 0} \frac{\sin x}{x}.

Step 1: Check the indeterminate form.
As x0x \to 0, sinx0\sin x \to 0 and x0x \to 0. This is of the form 00\frac{0}{0}.

Step 2: Apply L'Hôpital's Rule: take derivatives of the numerator and denominator.
f(x)=sinx    f(x)=cosxf(x) = \sin x \implies f'(x) = \cos x
g(x)=x    g(x)=1g(x) = x \implies g'(x) = 1

>

limx0cosx1\lim_{x \to 0} \frac{\cos x}{1}

Step 3: Evaluate the new limit.
>

cos01=11=1\frac{\cos 0}{1} = \frac{1}{1} = 1

Answer: 11.

:::question type="MCQ" question="Evaluate limx1lnxx1\lim_{x \to 1} \frac{\ln x}{x-1}." options=["00","11","ee","DoesNotExist"] answer="1" hint="Check if the limit is an indeterminate form. If it is, apply L'Hôpital's Rule by differentiating the numerator and denominator." solution="Step 1: Check the indeterminate form.
As x1x \to 1, lnxln1=0\ln x \to \ln 1 = 0.
As x1x \to 1, x111=0x-1 \to 1-1 = 0.
The limit is of the indeterminate form 00\frac{0}{0}.

Step 2: Apply L'Hôpital's Rule.
Let f(x)=lnxf(x) = \ln x and g(x)=x1g(x) = x-1.
Then f(x)=1xf'(x) = \frac{1}{x} and g(x)=1g'(x) = 1.

>

limx1f(x)g(x)=limx11x1\lim_{x \to 1} \frac{f'(x)}{g'(x)} = \lim_{x \to 1} \frac{\frac{1}{x}}{1}

Step 3: Evaluate the new limit.
>

limx11x=11=1\lim_{x \to 1} \frac{1}{x} = \frac{1}{1} = 1

Answer: \boxed{1}"
:::

---

Problem-Solving Strategies

💡 CUET PG Strategy: Piecewise Functions

When dealing with piecewise functions, always check continuity at the 'break points' by evaluating one-sided limits and the function value. For intervals, assume continuity unless a specific point of discontinuity (like a zero in the denominator) is identified. For parameters (e.g., kk), equate the one-sided limits and the function value to solve for the parameter.

💡 CUET PG Strategy: Indeterminate Forms

For limits of indeterminate form 00\frac{0}{0} or \frac{\infty}{\infty}:

  • Factorization/Rationalization: Try simplifying the expression by factoring or rationalizing the numerator/denominator. This is often faster than L'Hôpital's rule.

  • L'Hôpital's Rule: If factorization is not obvious, apply L'Hôpital's Rule by differentiating the numerator and denominator separately. Ensure the form is indeed indeterminate before applying.

💡 CUET PG Strategy: IVT and EVT
    • IVT: Primarily used to prove the existence of roots or specific values within an interval. Look for questions asking "show there exists" or "has a root." Remember the function must be continuous on a closed interval.
    • EVT: Guarantees absolute maximum/minimum for continuous functions on closed and bounded intervals. Also implies the image of a closed interval is a closed interval (or singleton).

---

Common Mistakes

⚠️ Watch Out: Misapplication of L'Hôpital's Rule

❌ Applying L'Hôpital's Rule when the limit is not an indeterminate form (00\frac{0}{0} or \frac{\infty}{\infty}).
✅ Always check the form of the limit before applying L'Hôpital's Rule. For example, limx0cosxx\lim_{x \to 0} \frac{\cos x}{x} is 10\frac{1}{0}, which is not an indeterminate form suitable for L'Hôpital's rule (it's an infinite limit).

⚠️ Watch Out: Uniform Continuity vs. Pointwise Continuity

❌ Assuming that continuity on an open interval implies uniform continuity.
✅ Uniform continuity is a stronger condition. A function continuous on an open interval might not be uniformly continuous (e.g., f(x)=1/xf(x) = 1/x on (0,1)(0,1)). However, continuity on a closed and bounded interval does imply uniform continuity.

⚠️ Watch Out: Conditions for IVT/EVT

❌ Forgetting that IVT and EVT require the function to be continuous on a closed interval.
✅ If the interval is open or the function is discontinuous, these theorems may not hold. For example, f(x)=1/xf(x) = 1/x on [1,1][-1, 1] (discontinuous at 0) does not satisfy EVT (no maximum/minimum).

---

Practice Questions

:::question type="MCQ" question="Let

f(x)={sin(ax)x,x<0x+b,x0f(x) = \begin{cases} \frac{\sin(ax)}{x}, & x < 0 \\ x+b, & x \ge 0 \end{cases}
For f(x)f(x) to be continuous at x=0x=0, what must be the values of aa and bb?" options=["a=ba=b","Values of aa and bb can be any real numbers","There is no such aa and bb","a=ba=b and a0a \ne 0"] answer="a=ba=b" hint="For continuity at x=0x=0, the left-hand limit, right-hand limit, and f(0)f(0) must all be equal. Use the standard limit limx0sin(kx)x=k\lim_{x \to 0} \frac{\sin(kx)}{x} = k." solution="Step 1: For f(x)f(x) to be continuous at x=0x=0, we must have limx0f(x)=limx0+f(x)=f(0)\lim_{x \to 0^-} f(x) = \lim_{x \to 0^+} f(x) = f(0).

Step 2: Evaluate the left-hand limit.

limx0f(x)=limx0sin(ax)x\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} \frac{\sin(ax)}{x}

Using the standard limit limx0sin(kx)x=k\lim_{x \to 0} \frac{\sin(kx)}{x} = k, we have:
limx0sin(ax)x=a\lim_{x \to 0^-} \frac{\sin(ax)}{x} = a

Step 3: Evaluate the right-hand limit.

limx0+f(x)=limx0+(x+b)\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} (x+b)

0+b=b0+b = b

Step 4: Evaluate f(0)f(0).
Using the second case (x0x \ge 0):

f(0)=0+b=bf(0) = 0+b = b

Step 5: Equate the results for continuity.
For continuity, a=ba = b. There is no restriction that a0a \ne 0. If a=0a=0, then b=0b=0, and f(x)=0f(x)=0 for all xx, which is continuous.

The correct option is a=ba=b."
:::

:::question type="NAT" question="If f(x)=x21x1f(x) = \frac{x^2-1}{x-1} for x1x \ne 1, what value must f(1)f(1) be defined as to make f(x)f(x) continuous at x=1x=1?" answer="2" hint="For removable discontinuity, f(1)f(1) must be equal to limx1f(x)\lim_{x \to 1} f(x)." solution="Step 1: For f(x)f(x) to be continuous at x=1x=1, we must define f(1)f(1) such that f(1)=limx1f(x)f(1) = \lim_{x \to 1} f(x).

Step 2: Evaluate the limit limx1f(x)\lim_{x \to 1} f(x).

limx1x21x1\lim_{x \to 1} \frac{x^2-1}{x-1}

This is of the form 00\frac{0}{0}. We can factor the numerator.
limx1(x1)(x+1)x1\lim_{x \to 1} \frac{(x-1)(x+1)}{x-1}

For x1x \ne 1, we can cancel (x1)(x-1).
limx1(x+1)\lim_{x \to 1} (x+1)

1+1=21+1 = 2

Step 3: Define f(1)f(1) to be this limit.
Therefore, f(1)f(1) must be 22 for the function to be continuous at x=1x=1.

The answer is 2."
:::

:::question type="MCQ" question="Let f(x)=1x2f(x) = \frac{1}{x-2}. Which of the following statements is true about its uniform continuity?" options=["Uniformly continuous on (2,)(2, \infty)","Uniformly continuous on [3,5][3, 5]","Uniformly continuous on (0,3)(0, 3)","Uniformly continuous on R{2}\mathbb{R} \setminus \{2\}"] answer="Uniformly continuous on [3,5][3, 5]" hint="Recall that a continuous function on a closed and bounded interval is uniformly continuous. Check other intervals for unboundedness of the derivative or the function itself." solution="Step 1: Analyze the continuity of f(x)=1x2f(x) = \frac{1}{x-2}.
This function is continuous on its domain, which is R{2}\mathbb{R} \setminus \{2\}.

Step 2: Evaluate each option for uniform continuity.
* Uniformly continuous on (2,)(2, \infty): This interval is unbounded. Consider xn=2+1nx_n = 2 + \frac{1}{n} and yn=2+1n+1y_n = 2 + \frac{1}{n+1}. xnyn|x_n - y_n| can be made arbitrarily small. However, f(xn)=nf(x_n) = n and f(yn)=n+1f(y_n) = n+1. The difference f(xn)f(yn)=1|f(x_n) - f(y_n)| = 1, which does not go to 0. Alternatively, the derivative f(x)=1(x2)2f'(x) = -\frac{1}{(x-2)^2} is unbounded as x2+x \to 2^+. Thus, it is not uniformly continuous on (2,)(2, \infty).
* Uniformly continuous on [3,5][3, 5]: This is a closed and bounded interval (a compact set). Since f(x)=1x2f(x) = \frac{1}{x-2} is continuous on [3,5][3, 5] (as 2[3,5]2 \notin [3, 5]), by the Heine-Cantor Theorem, f(x)f(x) is uniformly continuous on [3,5][3, 5].
* Uniformly continuous on (0,3)(0, 3): This interval contains x=2x=2, where the function is discontinuous. A function cannot be uniformly continuous on an interval where it is not even continuous.
* Uniformly continuous on R{2}\mathbb{R} \setminus \{2\}: This is an unbounded interval and also contains points where the derivative is unbounded (near x=2x=2). It is not uniformly continuous.

The correct option is Uniformly continuous on [3,5][3, 5]."
:::

:::question type="MCQ" question="Let

f(x)={(1)r,if 1r+1x<1r, r=1,2,3,0,if x=01,if x=1f(x) = \begin{cases} (-1)^r, & \text{if } \frac{1}{r+1} \le x < \frac{1}{r}, \ r=1,2,3,\dots \\ 0, & \text{if } x = 0 \\ 1, & \text{if } x = 1 \end{cases}
Which of the following statements is correct?" options=["f(x)f(x) is continuous on [0,1][0,1]","f(x)f(x) is continuous at x=1/2x=1/2","f(x)f(x) is discontinuous at x=1/2x=1/2","f(x)f(x) is continuous on (1/2,1)(1/2,1)"] answer="f(x)f(x) is continuous at x=1/2x=1/2" type="MSQ" hint="Analyze the definition of the function across different intervals. The intervals are of the form [1/(r+1),1/r)[1/(r+1), 1/r). For r=1r=1, x[1/2,1)x \in [1/2, 1). For r=2r=2, x[1/3,1/2)x \in [1/3, 1/2). For r=3r=3, x[1/4,1/3)x \in [1/4, 1/3)." solution="We analyze the function f(x)f(x) and its continuity.

The definition partitions the interval (0,1)(0, 1) into disjoint intervals:
For r=1r=1, x[1/2,1)x \in [1/2, 1), f(x)=(1)1=1f(x) = (-1)^1 = -1.
For r=2r=2, x[1/3,1/2)x \in [1/3, 1/2), f(x)=(1)2=1f(x) = (-1)^2 = 1.
For r=3r=3, x[1/4,1/3)x \in [1/4, 1/3), f(x)=(1)3=1f(x) = (-1)^3 = -1.
And so on.

Option 1: f(x)f(x) is continuous on [0,1][0,1]
This is false. Consider x=1/2x=1/2.
limx(1/2)f(x)=limx(1/2)(1)2=1\lim_{x \to (1/2)^-} f(x) = \lim_{x \to (1/2)^-} (-1)^2 = 1 (from r=2r=2 interval)
limx(1/2)+f(x)=limx(1/2)+(1)1=1\lim_{x \to (1/2)^+} f(x) = \lim_{x \to (1/2)^+} (-1)^1 = -1 (from r=1r=1 interval)
Since the one-sided limits are not equal, f(x)f(x) is discontinuous at x=1/2x=1/2.
Also, as x0+x \to 0^+, f(x)f(x) oscillates between 11 and 1-1 (e.g., f(1/2k)=1f(1/2k) = 1 and f(1/(2k+1))=1f(1/(2k+1)) = -1). So limx0+f(x)\lim_{x \to 0^+} f(x) does not exist, and f(x)f(x) is not continuous at x=0x=0.
Therefore, f(x)f(x) is not continuous on [0,1][0,1].

Option 2: f(x)f(x) is continuous at x=1/2x=1/2
This is false, as shown above. The left-hand limit is 11 and the right-hand limit is 1-1.

Option 3: f(x)f(x) is discontinuous at x=1/2x=1/2
This is true, as shown above.

Option 4: f(x)f(x) is continuous on (1/2,1)(1/2,1)
For x(1/2,1)x \in (1/2, 1), xx falls into the interval [1/2,1)[1/2, 1) (for r=1r=1). In this interval, f(x)=(1)1=1f(x) = (-1)^1 = -1.
The function is a constant 1-1 on the open interval (1/2,1)(1/2, 1). Constant functions are continuous.
Therefore, f(x)f(x) is continuous on (1/2,1)(1/2,1).

The correct options are f(x)f(x) is discontinuous at x=1/2x=1/2, f(x)f(x) is continuous on (1/2,1)(1/2,1)."
:::

:::question type="MCQ" question="Let f:[a,b](a,b)f: [a, b] \to (a, b) be a continuous function. Which of the following statements is true?" options=["ff can be surjective","The range of ff is an open interval","The range of ff is a closed interval","The range of ff is a singleton set"] answer="The range of ff is a closed interval" hint="Apply the Extreme Value Theorem and the Intermediate Value Theorem. The image of a closed interval under a continuous function is always a closed interval (possibly a singleton). Consider if it can be surjective onto an open interval." solution="Step 1: Apply the Extreme Value Theorem (EVT).
Since ff is a continuous function on a closed and bounded interval [a,b][a, b], the EVT guarantees that ff attains an absolute maximum value MM and an absolute minimum value mm on [a,b][a, b].

Step 2: Apply the Intermediate Value Theorem (IVT).
Since ff is continuous on [a,b][a, b], and it attains all values between mm and MM, the image of ff on [a,b][a, b] is the closed interval [m,M][m, M].
So, the range of ff is [m,M][m, M].

Step 3: Analyze the given codomain (a,b)(a, b).
The range of ff is [m,M][m, M]. We are given that f:[a,b](a,b)f: [a, b] \to (a, b), which means m,M(a,b)m, M \in (a, b).
So, a<mM<ba < m \le M < b.
Since the range is [m,M][m, M], it is a closed interval.

Step 4: Consider the options.
"ff can be surjective": For ff to be surjective onto (a,b)(a,b), its range must be (a,b)(a,b). However, the range of ff is [m,M][m,M], which is a closed interval. A closed interval cannot be equal to an open interval. Specifically, [m,M][m,M] must contain its endpoints mm and MM. If ff were surjective onto (a,b)(a,b), it would need to attain values arbitrarily close to aa and bb, but not aa or bb themselves. But by EVT, it must attain a min mm and a max MM, and these must be within* (a,b)(a,b). If ff were surjective onto (a,b)(a,b), then mm would have to be aa and MM would have to be bb, which contradicts m,M(a,b)m,M \in (a,b). Hence ff cannot be surjective.
* "The range of ff is an open interval": This contradicts the conclusion from EVT and IVT that the range is a closed interval [m,M][m,M].
* "The range of ff is a closed interval": This is consistent with EVT and IVT.
"The range of ff is a singleton set": This is a special case of a closed interval (e.g., if f(x)=cf(x)=c for all xx). If f(x)f(x) is a constant function, its range is a singleton, which is a closed interval. However, the question asks what is true. The range is always* a closed interval (which includes the singleton case).

The most accurate and general statement is that the range of ff is a closed interval.

The correct option is The range of ff is a closed interval."
:::

---

Summary

Key Formulas & Takeaways

| # | Formula/Concept | Expression |
|---|----------------|------------|
| 1 | Limit Definition | For every ϵ>0\epsilon > 0, there exists δ>0\delta > 0 such that 0<xc<δ    f(x)L<ϵ0 < |x - c| < \delta \implies |f(x) - L| < \epsilon. |
| 2 | Continuity at cc | f(c)f(c) defined, limxcf(x)\lim_{x \to c} f(x) exists, and limxcf(x)=f(c)\lim_{x \to c} f(x) = f(c). |
| 3 | IVT | If ff is continuous on [a,b][a, b] and kk is between f(a)f(a) and f(b)f(b), then c(a,b)\exists c \in (a, b) s.t. f(c)=kf(c) = k. |
| 4 | EVT | If ff is continuous on [a,b][a, b], then ff attains absolute max (MM) and min (mm) on [a,b][a, b]. |
| 5 | Image of Closed Interval | For continuous ff on [a,b][a,b], f([a,b])f([a,b]) is a closed interval [m,M][m, M] (or a singleton). |
| 6 | Uniform Continuity | For every ϵ>0\epsilon > 0, there exists δ>0\delta > 0 such that for all x,yDx, y \in D, xy<δ    f(x)f(y)<ϵ|x - y| < \delta \implies |f(x) - f(y)| < \epsilon. (δ\delta depends only on ϵ\epsilon). |
| 7 | L'Hôpital's Rule | If limf(x)g(x)\lim \frac{f(x)}{g(x)} is 00\frac{0}{0} or \frac{\infty}{\infty}, then limf(x)g(x)=limf(x)g(x)\lim \frac{f(x)}{g(x)} = \lim \frac{f'(x)}{g'(x)}. |
| 8 | Squeeze Theorem | If g(x)f(x)h(x)g(x) \le f(x) \le h(x) and limg(x)=L=limh(x)\lim g(x) = L = \lim h(x), then limf(x)=L\lim f(x) = L. |

---

What's Next?

💡 Continue Learning

This topic connects to:

    • Differentiation: Limits are fundamental to the definition of the derivative. Continuity is a necessary (but not sufficient) condition for differentiability.

    • Integration: Continuous functions are Riemann integrable, and the Fundamental Theorem of Calculus links differentiation and integration.

    • Topology (Metric Spaces): Generalizes the concepts of limit and continuity to abstract spaces, where the ϵδ\epsilon-\delta definitions find their natural extension.

---

---

💡 Next Up

Proceeding to Differentiation and its Theorems.

---

Part 2: Differentiation and its Theorems

Differentiation forms a foundational pillar of calculus, enabling us to quantify rates of change and analyze the local behavior of functions. We explore the rigorous definition of differentiability, fundamental rules, and critical theorems such as Rolle's, Lagrange's, and Cauchy's Mean Value Theorems, which are indispensable for understanding function properties and solving advanced problems in real analysis.

---

Core Concepts

1. Definition of Differentiability

A function f:(a,b)Rf: (a,b) \to \mathbb{R} is differentiable at a point c(a,b)c \in (a,b) if the limit of the difference quotient exists. This limit, if it exists, is denoted by f(c)f'(c).

📖 Differentiability at a Point

A function ff is differentiable at x=cx=c if the limit

limh0f(c+h)f(c)h\lim_{h \to 0} \frac{f(c+h) - f(c)}{h}

exists finitely. This limit is the derivative of ff at cc, denoted f(c)f'(c).

For the limit to exist, the left-hand derivative (LHD) and the right-hand derivative (RHD) must be equal.

📐 Left-Hand and Right-Hand Derivatives
LHD=limh0f(c+h)f(c)hRHD=limh0+f(c+h)f(c)h\begin{aligned}LHD & = \lim_{h \to 0^-} \frac{f(c+h) - f(c)}{h} \\ RHD & = \lim_{h \to 0^+} \frac{f(c+h) - f(c)}{h}\end{aligned}
A function ff is differentiable at cc if and only if LHD=RHDLHD = RHD.

Relationship with Continuity: If a function is differentiable at a point, it must be continuous at that point. However, the converse is not true; continuity does not guarantee differentiability.

Differentiability Implies Continuity

If ff is differentiable at cc, then ff is continuous at cc.
Proof Sketch: As h0h \to 0, we have:

f(c+h)f(c)=f(c+h)f(c)hhlimh0(f(c+h)f(c))=limh0(f(c+h)f(c)hh)=(limh0f(c+h)f(c)h)(limh0h)=f(c)0=0\begin{aligned}f(c+h) - f(c) & = \frac{f(c+h) - f(c)}{h} \cdot h \\
\lim_{h \to 0} (f(c+h) - f(c)) & = \lim_{h \to 0} \left( \frac{f(c+h) - f(c)}{h} \cdot h \right) \\
& = \left( \lim_{h \to 0} \frac{f(c+h) - f(c)}{h} \right) \cdot \left( \lim_{h \to 0} h \right) \\
& = f'(c) \cdot 0 \\
& = 0\end{aligned}

This implies limh0f(c+h)=f(c)\lim_{h \to 0} f(c+h) = f(c), which is the definition of continuity at cc.

Quick Example: Determine if f(x)=xf(x) = |x| is differentiable at x=0x=0.

Step 1: Calculate the Left-Hand Derivative (LHD) at x=0x=0.

LHD=limh0f(0+h)f(0)h=limh0h0h=limh0hh=1\begin{aligned}LHD & = \lim_{h \to 0^-} \frac{f(0+h) - f(0)}{h} \\
& = \lim_{h \to 0^-} \frac{|h| - |0|}{h} \\
& = \lim_{h \to 0^-} \frac{-h}{h} \\
& = -1\end{aligned}

Step 2: Calculate the Right-Hand Derivative (RHD) at x=0x=0.

RHD=limh0+f(0+h)f(0)h=limh0+h0h=limh0+hh=1\begin{aligned}RHD & = \lim_{h \to 0^+} \frac{f(0+h) - f(0)}{h} \\
& = \lim_{h \to 0^+} \frac{|h| - |0|}{h} \\
& = \lim_{h \to 0^+} \frac{h}{h} \\
& = 1\end{aligned}

Step 3: Compare LHD and RHD.
Since LHDRHDLHD \neq RHD (11-1 \neq 1), f(x)=xf(x) = |x| is not differentiable at x=0x=0.

:::question type="MCQ" question="Let f(x)={x2sin(1/x)if x00if x=0f(x) = \begin{cases} x^2 \sin(1/x) & \text{if } x \neq 0 \\ 0 & \text{if } x = 0 \end{cases}. Which of the following statements is true about f(x)f(x) at x=0x=0?" options=["f(x)f(x) is continuous but not differentiable at x=0x=0.","f(x)f(x) is differentiable but not continuous at x=0x=0.","f(x)f(x) is both continuous and differentiable at x=0x=0.","f(x)f(x) is neither continuous nor differentiable at x=0x=0."] answer="f(x)f(x) is both continuous and differentiable at x=0x=0." hint="First check continuity, then differentiability using the definition of the derivative." solution="Step 1: Check Continuity at x=0x=0.
We need to check if limx0f(x)=f(0)\lim_{x \to 0} f(x) = f(0).
We have f(0)=0f(0) = 0.
Consider the limit:

limx0x2sin(1/x)\lim_{x \to 0} x^2 \sin(1/x)

Since 1sin(1/x)1-1 \le \sin(1/x) \le 1, we have x2x2sin(1/x)x2-x^2 \le x^2 \sin(1/x) \le x^2.
As x0x \to 0, x20x^2 \to 0. By the Squeeze Theorem, limx0x2sin(1/x)=0\lim_{x \to 0} x^2 \sin(1/x) = 0.
Since limx0f(x)=f(0)\lim_{x \to 0} f(x) = f(0), f(x)f(x) is continuous at x=0x=0.

Step 2: Check Differentiability at x=0x=0.
We use the definition of the derivative:

f(0)=limh0f(0+h)f(0)h=limh0h2sin(1/h)0h=limh0hsin(1/h)\begin{aligned}f'(0) & = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h} \\
& = \lim_{h \to 0} \frac{h^2 \sin(1/h) - 0}{h} \\
& = \lim_{h \to 0} h \sin(1/h)\end{aligned}

Again, by the Squeeze Theorem, since hhsin(1/h)h-|h| \le h \sin(1/h) \le |h| and limh0h=0\lim_{h \to 0} |h| = 0, we have limh0hsin(1/h)=0\lim_{h \to 0} h \sin(1/h) = 0.
Since the limit exists, f(x)f(x) is differentiable at x=0x=0, and f(0)=0f'(0)=0.
Therefore, f(x)f(x) is both continuous and differentiable at x=0x=0.
Answer: f(x) is both continuous and differentiable at x=0\boxed{\text{f(x) is both continuous and differentiable at } x=0}
"
:::

---

2. Rules of Differentiation

We recall the fundamental rules for differentiating combinations of functions. These rules are crucial for computing derivatives efficiently.

📐 Basic Differentiation Rules

Let ff and gg be differentiable functions and cc be a constant.

1. Constant Rule: ddx(c)=02. Power Rule: ddx(xn)=nxn1for any real n.3. Constant Multiple Rule: ddx(cf(x))=cf(x)4. Sum/Difference Rule: ddx(f(x)±g(x))=f(x)±g(x)5. Product Rule: ddx(f(x)g(x))=f(x)g(x)+f(x)g(x)6. Quotient Rule: ddx(f(x)g(x))=f(x)g(x)f(x)g(x)[g(x)]2,provided g(x)0.\begin{aligned}\text{1. Constant Rule: } & \frac{d}{dx}(c) = 0 \\
\text{2. Power Rule: } & \frac{d}{dx}(x^n) = nx^{n-1} \quad \text{for any real } n. \\
\text{3. Constant Multiple Rule: } & \frac{d}{dx}(cf(x)) = c f'(x) \\
\text{4. Sum/Difference Rule: } & \frac{d}{dx}(f(x) \pm g(x)) = f'(x) \pm g'(x) \\
\text{5. Product Rule: } & \frac{d}{dx}(f(x)g(x)) = f'(x)g(x) + f(x)g'(x) \\
\text{6. Quotient Rule: } & \frac{d}{dx}\left(\frac{f(x)}{g(x)}\right) = \frac{f'(x)g(x) - f(x)g'(x)}{[g(x)]^2}, \quad \text{provided } g(x) \neq 0.\end{aligned}

📐 Chain Rule

If y=f(u)y = f(u) and u=g(x)u = g(x) are both differentiable functions, then the composite function y=f(g(x))y = f(g(x)) is differentiable, and its derivative is given by:

dydx=dydududx=f(g(x))g(x)\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} = f'(g(x)) \cdot g'(x)

When to use: For differentiating composite functions (a function of a function).

Quick Example: Differentiate y=sin(ex2)y = \sin(e^{x^2}).

Step 1: Identify the composite functions.
Let y=sin(u)y = \sin(u), where u=evu = e^v, and v=x2v = x^2.

Step 2: Differentiate each layer.

dydu=cos(u)dudv=evdvdx=2x\begin{aligned}\frac{dy}{du} & = \cos(u) \\
\frac{du}{dv} & = e^v \\
\frac{dv}{dx} & = 2x\end{aligned}

Step 3: Apply the Chain Rule: dydx=dydududvdvdx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dv} \cdot \frac{dv}{dx}.

dydx=cos(u)ev2x=cos(ex2)ex22x=2xex2cos(ex2)\begin{aligned}\frac{dy}{dx} & = \cos(u) \cdot e^v \cdot 2x \\
& = \cos(e^{x^2}) \cdot e^{x^2} \cdot 2x \\
& = 2xe^{x^2}\cos(e^{x^2})\end{aligned}

Answer: 2xex2cos(ex2)\boxed{2xe^{x^2}\cos(e^{x^2})}

:::question type="MCQ" question="If y=ln(secx+tanx)y = \ln(\sec x + \tan x), find dydx\frac{dy}{dx}." options=["secx\sec x","tanx\tan x","sinx\sin x","cosx\cos x"] answer="secx\sec x" hint="Use the chain rule and the derivatives of lnu\ln u, secx\sec x, and tanx\tan x." solution="Step 1: Apply the Chain Rule.
Let u=secx+tanxu = \sec x + \tan x. Then y=lnuy = \ln u.

dydx=ddu(lnu)dudx=1uddx(secx+tanx)\begin{aligned}\frac{dy}{dx} & = \frac{d}{du}(\ln u) \cdot \frac{du}{dx} \\
& = \frac{1}{u} \cdot \frac{d}{dx}(\sec x + \tan x)\end{aligned}

Step 2: Differentiate uu with respect to xx.
Recall that ddx(secx)=secxtanx\frac{d}{dx}(\sec x) = \sec x \tan x and ddx(tanx)=sec2x\frac{d}{dx}(\tan x) = \sec^2 x.

dudx=secxtanx+sec2x\frac{du}{dx} = \sec x \tan x + \sec^2 x

Step 3: Substitute back into the chain rule expression.

dydx=1secx+tanx(secxtanx+sec2x)=secx(tanx+secx)secx+tanx\begin{aligned}\frac{dy}{dx} & = \frac{1}{\sec x + \tan x} \cdot (\sec x \tan x + \sec^2 x) \\
& = \frac{\sec x (\tan x + \sec x)}{\sec x + \tan x}\end{aligned}

Step 4: Simplify the expression.

dydx=secx\frac{dy}{dx} = \sec x

Answer: secx\boxed{\sec x}
"
:::

---

3. Differentiability of Absolute Value and Piecewise Functions

Functions involving absolute values or defined piecewise often exhibit points where differentiability fails, typically at "corners" or "cusps." These points occur where the argument of the absolute value function changes sign or where the definition of the piecewise function switches.

We must examine the LHD and RHD at such critical points to determine differentiability. For a sum of absolute value functions, the critical points are where any of the terms inside the absolute value become zero.

Quick Example: For f(x)=x+x1f(x) = |x| + |x-1|, find the points where f(x)f(x) is not differentiable.

Step 1: Identify critical points.
The critical points are x=0x=0 (from x|x|) and x=1x=1 (from x1|x-1|).

Step 2: Define f(x)f(x) piecewise for different intervals.
* For x<0x < 0: f(x)=x+((x1))=xx+1=2x+1f(x) = -x + (-(x-1)) = -x - x + 1 = -2x + 1
* For 0x<10 \le x < 1: f(x)=x+((x1))=xx+1=1f(x) = x + (-(x-1)) = x - x + 1 = 1
* For x1x \ge 1: f(x)=x+(x1)=2x1f(x) = x + (x-1) = 2x - 1

So,

f(x)={2x+1if x<01if 0x<12x1if x1f(x) = \begin{cases} -2x + 1 & \text{if } x < 0 \\ 1 & \text{if } 0 \le x < 1 \\ 2x - 1 & \text{if } x \ge 1 \end{cases}

Step 3: Calculate derivatives for each segment.

f(x)={2if x<00if 0<x<12if x>1f'(x) = \begin{cases} -2 & \text{if } x < 0 \\ 0 & \text{if } 0 < x < 1 \\ 2 & \text{if } x > 1 \end{cases}

Step 4: Check differentiability at critical points x=0x=0 and x=1x=1.

At x=0x=0:

LHD=limx0f(x)=2LHD = \lim_{x \to 0^-} f'(x) = -2

RHD=limx0+f(x)=0RHD = \lim_{x \to 0^+} f'(x) = 0

Since LHDRHDLHD \neq RHD, f(x)f(x) is not differentiable at x=0x=0.

At x=1x=1:

LHD=limx1f(x)=0LHD = \lim_{x \to 1^-} f'(x) = 0

RHD=limx1+f(x)=2RHD = \lim_{x \to 1^+} f'(x) = 2

Since LHDRHDLHD \neq RHD, f(x)f(x) is not differentiable at x=1x=1.

Answer: f(x)f(x) is not differentiable at x=0x=0 and x=1x=1.

:::question type="MCQ" question="Let f(x)=x+x1+x+1f(x) = |x| + |x-1| + |x+1| be a function defined on R\mathbb{R}. Then f(x)f'(x) is:" options=["differentiable for all xRx \in \mathbb{R}","differentiable for all xRx \in \mathbb{R} other than x=1,0,1x = -1, 0, 1","differentiable only for x=1,0,1x = -1, 0, 1","not differentiable at any real point"] answer="differentiable for all xRx \in \mathbb{R} other than x=1,0,1x = -1, 0, 1" hint="Identify the critical points where the arguments of the absolute value functions become zero. Analyze the function's piecewise definition around these points." solution="Step 1: Identify critical points.
The critical points are where the terms inside the absolute values become zero: x=0x=0, x=1x=1, and x=1x=-1. These are the potential points of non-differentiability.

Step 2: Define f(x)f(x) piecewise.
* For x<1x < -1: f(x)=x+((x1))+((x+1))=xx+1x1=3xf(x) = -x + (-(x-1)) + (-(x+1)) = -x - x + 1 - x - 1 = -3x
* For 1x<0-1 \le x < 0: f(x)=x+((x1))+(x+1)=xx+1+x+1=x+2f(x) = -x + (-(x-1)) + (x+1) = -x - x + 1 + x + 1 = -x + 2
* For 0x<10 \le x < 1: f(x)=x+((x1))+(x+1)=xx+1+x+1=x+2f(x) = x + (-(x-1)) + (x+1) = x - x + 1 + x + 1 = x + 2
* For x1x \ge 1: f(x)=x+(x1)+(x+1)=3xf(x) = x + (x-1) + (x+1) = 3x

So,

f(x)={3xif x<1x+2if 1x<0x+2if 0x<13xif x1f(x) = \begin{cases} -3x & \text{if } x < -1 \\ -x + 2 & \text{if } -1 \le x < 0 \\ x + 2 & \text{if } 0 \le x < 1 \\ 3x & \text{if } x \ge 1 \end{cases}

Step 3: Calculate derivatives for each segment.

f(x)={3if x<11if 1<x<01if 0<x<13if x>1f'(x) = \begin{cases} -3 & \text{if } x < -1 \\ -1 & \text{if } -1 < x < 0 \\ 1 & \text{if } 0 < x < 1 \\ 3 & \text{if } x > 1 \end{cases}

Step 4: Check differentiability at critical points x=1,0,1x=-1, 0, 1.
* At x=1x=-1: LHD=3LHD = -3, RHD=1RHD = -1. Since LHDRHDLHD \neq RHD, f(x)f(x) is not differentiable at x=1x=-1.
* At x=0x=0: LHD=1LHD = -1, RHD=1RHD = 1. Since LHDRHDLHD \neq RHD, f(x)f(x) is not differentiable at x=0x=0.
* At x=1x=1: LHD=1LHD = 1, RHD=3RHD = 3. Since LHDRHDLHD \neq RHD, f(x)f(x) is not differentiable at x=1x=1.

For all other points (i.e., xR{1,0,1}x \in \mathbb{R} \setminus \{-1, 0, 1\}), the derivative exists and is constant in the respective intervals.
Therefore, f(x)f(x) is differentiable for all xRx \in \mathbb{R} other than x=1,0,1x = -1, 0, 1."
:::

---

4. Rolle's Theorem

Rolle's Theorem provides a condition for the existence of a point where the derivative of a function is zero. It is a special case of the Mean Value Theorem.

📖 Rolle's Theorem

Let f:[a,b]Rf:[a,b] \to \mathbb{R} be a function such that:

  • ff is continuous on the closed interval [a,b][a,b].

  • ff is differentiable on the open interval (a,b)(a,b).

  • f(a)=f(b)f(a) = f(b).

Then there exists at least one point c(a,b)c \in (a,b) such that f(c)=0f'(c) = 0.

Geometric Interpretation: If a continuous and differentiable curve starts and ends at the same height, there must be at least one point between the endpoints where the tangent line is horizontal.

⚠️ Common Mistake: Conditions for Rolle's Theorem

❌ Assuming Rolle's Theorem applies without verifying all three conditions (continuity, differentiability, f(a)=f(b)f(a)=f(b)).
✅ Always explicitly check all three conditions before applying the theorem. Failure of any one condition means the conclusion (f(c)=0f'(c)=0) is not guaranteed, though it might still hold by chance.

Quick Example: Verify Rolle's Theorem for f(x)=x24x+3f(x) = x^2 - 4x + 3 on the interval [1,3][1, 3] and find the value of cc.

Step 1: Check continuity.
f(x)f(x) is a polynomial, hence continuous on [1,3][1, 3].

Step 2: Check differentiability.
f(x)f(x) is a polynomial, hence differentiable on (1,3)(1, 3). f(x)=2x4f'(x) = 2x - 4.

Step 3: Check f(a)=f(b)f(a) = f(b).

f(1)=(1)24(1)+3=14+3=0f(1) = (1)^2 - 4(1) + 3 = 1 - 4 + 3 = 0

f(3)=(3)24(3)+3=912+3=0f(3) = (3)^2 - 4(3) + 3 = 9 - 12 + 3 = 0

Since f(1)=f(3)=0f(1) = f(3) = 0, all conditions are satisfied.

Step 4: Find c(1,3)c \in (1, 3) such that f(c)=0f'(c) = 0.

f(c)=2c4=0f'(c) = 2c - 4 = 0

2c=42c = 4

c=2c = 2

The value c=2c=2 lies in the interval (1,3)(1, 3).

Answer: Rolle's Theorem applies, and c=2c=2.

:::question type="MCQ" question="Which of the following functions satisfies Rolle's theorem on the given interval?" options=["f(x)=xf(x) = |x| in [1,1][-1, 1]","f(x)=1xf(x) = \frac{1}{x} in [1,1][-1, 1]","f(x)=sinxf(x) = \sin x in [0,2π][0, 2\pi]","f(x)=x2f(x) = x^2 in [1,0][-1, 0]"] answer="f(x)=sinxf(x) = \sin x in [0,2π][0, 2\pi]" hint="Check all three conditions (continuity, differentiability, f(a)=f(b)f(a)=f(b)) for each option." solution="Let's check each option:

Option 1: f(x)=xf(x) = |x| in [1,1][-1, 1]

  • Continuous on [1,1][-1, 1]: Yes.

  • Differentiable on (1,1)(-1, 1): No, f(x)f(x) is not differentiable at x=0(1,1)x=0 \in (-1, 1).

  • Since differentiability fails, Rolle's Theorem is not applicable.

    Option 2: f(x)=1xf(x) = \frac{1}{x} in [1,1][-1, 1]

  • Continuous on [1,1][-1, 1]: No, f(x)f(x) is not defined at x=0[1,1]x=0 \in [-1, 1], hence not continuous.

  • Since continuity fails, Rolle's Theorem is not applicable.

    Option 3: f(x)=sinxf(x) = \sin x in [0,2π][0, 2\pi]

  • Continuous on [0,2π][0, 2\pi]: Yes, sinx\sin x is continuous everywhere.

  • Differentiable on (0,2π)(0, 2\pi): Yes, sinx\sin x is differentiable everywhere (f(x)=cosxf'(x) = \cos x).

  • f(0)=sin(0)=0f(0) = \sin(0) = 0. f(2π)=sin(2π)=0f(2\pi) = \sin(2\pi) = 0. So, f(0)=f(2π)f(0) = f(2\pi).

  • All conditions are satisfied. Thus, Rolle's Theorem is applicable for f(x)=sinxf(x) = \sin x in [0,2π][0, 2\pi].

    Option 4: f(x)=x2f(x) = x^2 in [1,0][-1, 0]

  • Continuous on [1,0][-1, 0]: Yes.

  • Differentiable on (1,0)(-1, 0): Yes.

  • f(1)=(1)2=1f(-1) = (-1)^2 = 1. f(0)=(0)2=0f(0) = (0)^2 = 0. Since f(1)f(0)f(-1) \neq f(0), the third condition fails.

  • Rolle's Theorem is not applicable.

    The only function that satisfies Rolle's Theorem is f(x)=sinxf(x) = \sin x in [0,2π][0, 2\pi]."
    :::

    :::question type="MCQ" question="If f(x)f(x) satisfies the conditions of Rolle's theorem in [1,2][1, 2] and f(x)f(x) is continuous in [1,2][1, 2], then 12f(x)dx\int_1^2 f'(x) dx is equal to" options=["1.41.4","2.02.0","3.13.1","00"] answer="00" hint="Recall the Fundamental Theorem of Calculus and the third condition of Rolle's Theorem." solution="Step 1: Apply the Fundamental Theorem of Calculus.
    The definite integral of a derivative f(x)f'(x) from aa to bb is given by:

    abf(x)dx=f(b)f(a)\int_a^b f'(x) dx = f(b) - f(a)

    For the given problem, a=1a=1 and b=2b=2.
    12f(x)dx=f(2)f(1)\int_1^2 f'(x) dx = f(2) - f(1)

    Step 2: Apply Rolle's Theorem conditions.
    The problem states that f(x)f(x) satisfies the conditions of Rolle's theorem in [1,2][1, 2].
    One of the conditions for Rolle's Theorem is f(a)=f(b)f(a) = f(b).
    Therefore, f(1)=f(2)f(1) = f(2).

    Step 3: Substitute the condition into the integral result.
    Since f(1)=f(2)f(1) = f(2), we have:

    12f(x)dx=f(2)f(1)=0\int_1^2 f'(x) dx = f(2) - f(1) = 0

    The value of the integral is 00."
    :::

    ---

    5. Lagrange's Mean Value Theorem (LMVT)

    Lagrange's Mean Value Theorem generalizes Rolle's Theorem by relaxing the condition f(a)=f(b)f(a)=f(b).

    📖 Lagrange's Mean Value Theorem

    Let f:[a,b]Rf:[a,b] \to \mathbb{R} be a function such that:

    • ff is continuous on the closed interval [a,b][a,b].

    • ff is differentiable on the open interval (a,b)(a,b).

    Then there exists at least one point c(a,b)c \in (a,b) such that

    f(c)=f(b)f(a)baf'(c) = \frac{f(b) - f(a)}{b - a}

    Geometric Interpretation: There is at least one point cc in the interval (a,b)(a,b) where the tangent line to the curve y=f(x)y=f(x) is parallel to the secant line connecting the points (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)).

    Relationship to Rolle's Theorem: If f(a)=f(b)f(a) = f(b), then f(b)f(a)ba=0ba=0\frac{f(b) - f(a)}{b - a} = \frac{0}{b-a} = 0, which implies f(c)=0f'(c) = 0. Thus, Rolle's Theorem is a special case of LMVT.

    Quick Example: Verify LMVT for f(x)=x35x23xf(x) = x^3 - 5x^2 - 3x on the interval [1,3][1, 3] and find the value of cc.

    Step 1: Check continuity.
    f(x)f(x) is a polynomial, hence continuous on [1,3][1, 3].

    Step 2: Check differentiability.
    f(x)f(x) is a polynomial, hence differentiable on (1,3)(1, 3). f(x)=3x210x3f'(x) = 3x^2 - 10x - 3.

    Step 3: Calculate f(a)f(a), f(b)f(b), and f(b)f(a)ba\frac{f(b) - f(a)}{b - a}.

    f(1)=(1)35(1)23(1)=153=7f(1) = (1)^3 - 5(1)^2 - 3(1) = 1 - 5 - 3 = -7

    f(3)=(3)35(3)23(3)=27459=27f(3) = (3)^3 - 5(3)^2 - 3(3) = 27 - 45 - 9 = -27

    f(3)f(1)31=27(7)2=202=10\frac{f(3) - f(1)}{3 - 1} = \frac{-27 - (-7)}{2} = \frac{-20}{2} = -10

    Step 4: Find c(1,3)c \in (1, 3) such that f(c)=10f'(c) = -10.

    3c210c3=103c^2 - 10c - 3 = -10

    3c210c+7=03c^2 - 10c + 7 = 0

    We solve the quadratic equation for cc:
    c=(10)±(10)24(3)(7)2(3)c = \frac{-(-10) \pm \sqrt{(-10)^2 - 4(3)(7)}}{2(3)}

    c=10±100846c = \frac{10 \pm \sqrt{100 - 84}}{6}

    c=10±166c = \frac{10 \pm \sqrt{16}}{6}

    c=10±46c = \frac{10 \pm 4}{6}

    Two possible values for cc:
    c1=10+46=146=73c_1 = \frac{10 + 4}{6} = \frac{14}{6} = \frac{7}{3}

    c2=1046=66=1c_2 = \frac{10 - 4}{6} = \frac{6}{6} = 1

    Only c1=73c_1 = \frac{7}{3} lies in the open interval (1,3)(1, 3) (since 1<73<31 < \frac{7}{3} < 3).

    Answer: LMVT applies, and c=73c = \frac{7}{3}.

    :::question type="MCQ" question="For f(x)=x22x+1f(x) = x^2 - 2x + 1 on the interval [0,3][0, 3], find the value of cc that satisfies the Lagrange's Mean Value Theorem." options=["11","1.51.5","22","2.52.5"] answer="1.51.5" hint="Verify continuity and differentiability, then set f(c)f'(c) equal to the slope of the secant line." solution="Step 1: Check conditions.
    f(x)=x22x+1f(x) = x^2 - 2x + 1 is a polynomial, so it is continuous on [0,3][0, 3] and differentiable on (0,3)(0, 3).

    Step 2: Calculate f(a)f(a), f(b)f(b), and the slope of the secant line.
    a=0,b=3a=0, b=3.

    f(0)=(0)22(0)+1=1f(0) = (0)^2 - 2(0) + 1 = 1

    f(3)=(3)22(3)+1=96+1=4f(3) = (3)^2 - 2(3) + 1 = 9 - 6 + 1 = 4

    Slope of the secant line:
    f(b)f(a)ba=f(3)f(0)30=413=33=1\frac{f(b) - f(a)}{b - a} = \frac{f(3) - f(0)}{3 - 0} = \frac{4 - 1}{3} = \frac{3}{3} = 1

    Step 3: Find f(x)f'(x) and set f(c)f'(c) equal to the slope.

    f(x)=2x2f'(x) = 2x - 2

    f(c)=2c2f'(c) = 2c - 2

    Set f(c)=1f'(c) = 1:
    2c2=12c - 2 = 1

    2c=32c = 3

    c=32=1.5c = \frac{3}{2} = 1.5

    The value c=1.5c=1.5 lies in the interval (0,3)(0, 3).
    "
    :::

    ---

    6. Cauchy's Mean Value Theorem (CMVT)

    Cauchy's Mean Value Theorem (also known as the Extended Mean Value Theorem) is a generalization of LMVT involving two functions.

    📖 Cauchy's Mean Value Theorem

    Let f,g:[a,b]Rf, g:[a,b] \to \mathbb{R} be two functions such that:

    • Both ff and gg are continuous on the closed interval [a,b][a,b].

    • Both ff and gg are differentiable on the open interval (a,b)(a,b).

    • g(x)0g'(x) \neq 0 for all x(a,b)x \in (a,b).

    Then there exists at least one point c(a,b)c \in (a,b) such that

    f(c)g(c)=f(b)f(a)g(b)g(a)\frac{f'(c)}{g'(c)} = \frac{f(b) - f(a)}{g(b) - g(a)}

    Relationship to LMVT: If g(x)=xg(x) = x, then g(x)=1g'(x) = 1 (which is never zero), and the theorem reduces to LMVT: f(c)1=f(b)f(a)ba\frac{f'(c)}{1} = \frac{f(b) - f(a)}{b - a}.

    Quick Example: Verify CMVT for f(x)=x2f(x) = x^2 and g(x)=x3g(x) = x^3 on the interval [1,2][1, 2] and find cc.

    Step 1: Check continuity and differentiability.
    Both f(x)=x2f(x) = x^2 and g(x)=x3g(x) = x^3 are polynomials, hence continuous on [1,2][1, 2] and differentiable on (1,2)(1, 2).

    Step 2: Check g(x)0g'(x) \neq 0 on (1,2)(1, 2).

    g(x)=3x2g'(x) = 3x^2

    For x(1,2)x \in (1, 2), 3x2>03x^2 > 0, so g(x)0g'(x) \neq 0. All conditions are satisfied.

    Step 3: Calculate f(a),f(b),g(a),g(b)f(a), f(b), g(a), g(b).

    f(1)=12=1,f(2)=22=4f(1) = 1^2 = 1, \quad f(2) = 2^2 = 4

    g(1)=13=1,g(2)=23=8g(1) = 1^3 = 1, \quad g(2) = 2^3 = 8

    f(b)f(a)g(b)g(a)=f(2)f(1)g(2)g(1)=4181=37\frac{f(b) - f(a)}{g(b) - g(a)} = \frac{f(2) - f(1)}{g(2) - g(1)} = \frac{4 - 1}{8 - 1} = \frac{3}{7}

    Step 4: Calculate f(x)f'(x) and g(x)g'(x).

    f(x)=2xf'(x) = 2x

    g(x)=3x2g'(x) = 3x^2

    Step 5: Find c(1,2)c \in (1, 2) such that f(c)g(c)=37\frac{f'(c)}{g'(c)} = \frac{3}{7}.

    2c3c2=37\frac{2c}{3c^2} = \frac{3}{7}

    23c=37\frac{2}{3c} = \frac{3}{7}

    14=9c14 = 9c

    c=149c = \frac{14}{9}

    The value c=149c = \frac{14}{9} lies in the interval (1,2)(1, 2) (since 1<1491.55<21 < \frac{14}{9} \approx 1.55 < 2).

    Answer: CMVT applies, and c=149c = \frac{14}{9}.

    :::question type="MCQ" question="Given f(x)=sinxf(x) = \sin x and g(x)=cosxg(x) = \cos x on the interval [0,π/2][0, \pi/2], find the value of cc that satisfies Cauchy's Mean Value Theorem." options=["π/6\pi/6","π/4\pi/4","π/3\pi/3","π/2\pi/2"] answer="π/4\pi/4" hint="Check conditions, then equate the ratio of derivatives to the ratio of function differences." solution="Step 1: Check conditions.
    Both f(x)=sinxf(x) = \sin x and g(x)=cosxg(x) = \cos x are continuous on [0,π/2][0, \pi/2] and differentiable on (0,π/2)(0, \pi/2).

    g(x)=sinxg'(x) = -\sin x

    On (0,π/2)(0, \pi/2), sinx>0\sin x > 0, so g(x)0g'(x) \neq 0. All conditions are met.

    Step 2: Calculate f(a),f(b),g(a),g(b)f(a), f(b), g(a), g(b).
    a=0,b=π/2a=0, b=\pi/2.

    f(0)=sin(0)=0,f(π/2)=sin(π/2)=1f(0) = \sin(0) = 0, \quad f(\pi/2) = \sin(\pi/2) = 1

    g(0)=cos(0)=1,g(π/2)=cos(π/2)=0g(0) = \cos(0) = 1, \quad g(\pi/2) = \cos(\pi/2) = 0

    f(b)f(a)g(b)g(a)=f(π/2)f(0)g(π/2)g(0)=1001=11=1\frac{f(b) - f(a)}{g(b) - g(a)} = \frac{f(\pi/2) - f(0)}{g(\pi/2) - g(0)} = \frac{1 - 0}{0 - 1} = \frac{1}{-1} = -1

    Step 3: Calculate f(x)f'(x) and g(x)g'(x).

    f(x)=cosxf'(x) = \cos x

    g(x)=sinxg'(x) = -\sin x

    Step 4: Find c(0,π/2)c \in (0, \pi/2) such that f(c)g(c)=1\frac{f'(c)}{g'(c)} = -1.

    coscsinc=1\frac{\cos c}{-\sin c} = -1

    cotc=1-\cot c = -1

    cotc=1\cot c = 1

    For c(0,π/2)c \in (0, \pi/2), cotc=1\cot c = 1 implies c=π/4c = \pi/4.
    The value c=π/4c = \pi/4 lies in the interval (0,π/2)(0, \pi/2).
    "
    :::

    ---

    ---

    Advanced Applications

    7. Differentiability from Lipschitz-like Conditions

    A function satisfying a specific Lipschitz-like condition can reveal important properties about its differentiability. Consider a condition of the form f(x)f(y)Kxyn|f(x)-f(y)| \leq K|x-y|^n.

    Lipschitz-like Condition and Differentiability

    If a function f:RRf: \mathbb{R} \to \mathbb{R} satisfies the condition f(x)f(y)Mxyn|f(x)-f(y)| \leq M|x-y|^n for some constant M>0M > 0 and n>1n > 1, then ff is a constant function.
    Reasoning: For any point x0x_0, we consider the definition of the derivative:

    f(x0)=limxx0f(x)f(x0)xx0|f'(x_0)| = \left|\lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0}\right|

    From the given condition, we have:
    f(x)f(x0)xx0Mxx0n1\left|\frac{f(x) - f(x_0)}{x - x_0}\right| \leq M|x - x_0|^{n-1}

    As xx0x \to x_0, since n>1n > 1, n1>0n-1 > 0, so xx0n10|x - x_0|^{n-1} \to 0.
    Therefore, f(x0)=0f'(x_0) = 0 for all x0Rx_0 \in \mathbb{R}. A function whose derivative is zero everywhere must be a constant function.

    Quick Example: Let f(x)f(x) be a real-valued function such that f(x)f(y)(xy)3|f(x)-f(y)| \leq (x-y)^3 for all x,yRx,y \in \mathbb{R}. Show that f(x)f(x) is a constant function.

    Step 1: Consider the definition of the derivative at an arbitrary point x0x_0.
    >

    f(x0)=limxx0f(x)f(x0)xx0f'(x_0) = \lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0}

    Step 2: Apply the given condition to the difference quotient.
    >

    f(x)f(x0)xx0xx03xx0=xx02\left|\frac{f(x) - f(x_0)}{x - x_0}\right| \leq \frac{|x - x_0|^3}{|x - x_0|} = |x - x_0|^2

    Step 3: Evaluate the limit as xx0x \to x_0.
    >

    limxx0f(x)f(x0)xx0limxx0xx02\lim_{x \to x_0} \left|\frac{f(x) - f(x_0)}{x - x_0}\right| \leq \lim_{x \to x_0} |x - x_0|^2

    >
    f(x0)0|f'(x_0)| \leq 0

    Since absolute values are non-negative, this implies f(x0)=0|f'(x_0)| = 0, so f(x0)=0f'(x_0) = 0.

    Step 4: Conclude the nature of the function.
    Since f(x)=0f'(x) = 0 for all xRx \in \mathbb{R}, f(x)f(x) must be a constant function.

    Answer: f(x)f(x) is a constant function.

    :::question type="MCQ" question="Let f(x)f(x) be a real valued function defined for all xRx \in \mathbb{R}, such that f(x)f(y)(xy)2x,yR|f(x)-f(y)| \leq (x-y)^2 \forall x,y \in \mathbb{R}. Then" options=["f(x)f(x) is nowhere differentiable","f(x)f(x) is a constant function","f(x)f(x) is strictly increasing function in the interval [0,1][0,1]","f(x)f(x) is strictly increasing function for all xRx \in \mathbb{R}"] answer="f(x)f(x) is a constant function" hint="Use the definition of the derivative and the given inequality to show that f(x)=0f'(x) = 0 everywhere." solution="Step 1: Consider the derivative at an arbitrary point x0x_0.
    The derivative of ff at x0x_0 is given by:
    >

    f(x0)=limxx0f(x)f(x0)xx0f'(x_0) = \lim_{x \to x_0} \frac{f(x) - f(x_0)}{x - x_0}

    Step 2: Use the given inequality.
    We are given f(x)f(y)(xy)2|f(x)-f(y)| \leq (x-y)^2. Let y=x0y=x_0.
    >

    f(x)f(x0)(xx0)2|f(x)-f(x_0)| \leq (x-x_0)^2

    For xx0x \neq x_0, we can divide by xx0|x-x_0|:
    >
    f(x)f(x0)xx0(xx0)2xx0=xx0\left|\frac{f(x)-f(x_0)}{x-x_0}\right| \leq \frac{(x-x_0)^2}{|x-x_0|} = |x-x_0|

    Step 3: Take the limit as xx0x \to x_0.
    >

    limxx0f(x)f(x0)xx0limxx0xx0\lim_{x \to x_0} \left|\frac{f(x)-f(x_0)}{x-x_0}\right| \leq \lim_{x \to x_0} |x-x_0|

    >
    f(x0)0|f'(x_0)| \leq 0

    Since f(x0)|f'(x_0)| must be non-negative, the only possibility is f(x0)=0|f'(x_0)| = 0, which implies f(x0)=0f'(x_0) = 0.

    Step 4: Conclude the nature of f(x)f(x).
    Since f(x)=0f'(x) = 0 for all xRx \in \mathbb{R}, the function f(x)f(x) must be a constant function.
    Answer: \boxed{f(x) \text{ is a constant function}}
    "
    :::

    ---

    8. Monotonicity and Extrema

    The first and second derivatives are powerful tools for analyzing the behavior of functions, including their monotonicity (increasing or decreasing) and identifying local extrema (maxima and minima).

    📖 Monotonicity

    Let ff be differentiable on an interval (a,b)(a,b).
    ff is increasing on (a,b)(a,b) if f(x)>0f'(x) > 0 for all x(a,b)x \in (a,b).
    ff is decreasing on (a,b)(a,b) if f(x)<0f'(x) < 0 for all x(a,b)x \in (a,b).
    * ff is constant on (a,b)(a,b) if f(x)=0f'(x) = 0 for all x(a,b)x \in (a,b).

    📖 Local Extrema

    A function ff has a local maximum at cc if f(c)f(x)f(c) \ge f(x) for all xx in some open interval containing cc.
    A function ff has a local minimum at cc if f(c)f(x)f(c) \le f(x) for all xx in some open interval containing cc.
    Points where f(x)=0f'(x)=0 or f(x)f'(x) is undefined are called critical points. Local extrema can only occur at critical points.

    📐 First Derivative Test

    Let cc be a critical point of ff.
    If f(x)f'(x) changes from positive to negative at cc, then ff has a local maximum at cc.
    If f(x)f'(x) changes from negative to positive at cc, then ff has a local minimum at cc.
    * If f(x)f'(x) does not change sign at cc, then ff has neither a local maximum nor a local minimum at cc.

    📐 Second Derivative Test

    Let cc be a critical point of ff where f(c)=0f'(c)=0, and assume f(c)f''(c) exists.
    If f(c)>0f''(c) > 0, then ff has a local minimum at cc.
    If f(c)<0f''(c) < 0, then ff has a local maximum at cc.
    * If f(c)=0f''(c) = 0, the test is inconclusive. We must use the First Derivative Test or higher derivatives.

    Quick Example: Find the intervals of increase/decrease and local extrema for f(x)=x33x2+2f(x) = x^3 - 3x^2 + 2.

    Step 1: Find the first derivative and critical points.
    >

    f(x)=3x26x=3x(x2)f'(x) = 3x^2 - 6x = 3x(x - 2)

    Set f(x)=0f'(x) = 0 to find critical points: 3x(x2)=0    x=03x(x-2) = 0 \implies x=0 or x=2x=2.

    Step 2: Determine intervals of increase/decrease using a sign chart for f(x)f'(x).
    * For x<0x < 0: Choose x=1x=-1, f(1)=3(1)(12)=(3)(3)=9>0f'(-1) = 3(-1)(-1-2) = (-3)(-3) = 9 > 0. (ff is increasing)
    * For 0<x<20 < x < 2: Choose x=1x=1, f(1)=3(1)(12)=(3)(1)=3<0f'(1) = 3(1)(1-2) = (3)(-1) = -3 < 0. (ff is decreasing)
    * For x>2x > 2: Choose x=3x=3, f(3)=3(3)(32)=(9)(1)=9>0f'(3) = 3(3)(3-2) = (9)(1) = 9 > 0. (ff is increasing)

    Step 3: Identify local extrema using the First Derivative Test.
    * At x=0x=0, f(x)f'(x) changes from positive to negative. Local maximum at x=0x=0.
    f(0)=(0)33(0)2+2=2f(0) = (0)^3 - 3(0)^2 + 2 = 2. Local maximum is (0,2)(0, 2).
    * At x=2x=2, f(x)f'(x) changes from negative to positive. Local minimum at x=2x=2.
    f(2)=(2)33(2)2+2=812+2=2f(2) = (2)^3 - 3(2)^2 + 2 = 8 - 12 + 2 = -2. Local minimum is (2,2)(2, -2).

    Answer:
    * Increasing on (,0)(2,)(-\infty, 0) \cup (2, \infty).
    * Decreasing on (0,2)(0, 2).
    * Local maximum at (0,2)(0, 2).
    * Local minimum at (2,2)(2, -2).

    :::question type="NAT" question="Find the local maximum value of the function f(x)=x36x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1." answer="5" hint="Find critical points using the first derivative, then use the first or second derivative test to classify them." solution="Step 1: Find the first derivative.
    >

    f(x)=ddx(x36x2+9x+1)=3x212x+9f'(x) = \frac{d}{dx}(x^3 - 6x^2 + 9x + 1) = 3x^2 - 12x + 9

    Step 2: Find critical points by setting f(x)=0f'(x) = 0.
    >

    3x212x+9=03x^2 - 12x + 9 = 0

    Divide by 3:
    >
    x24x+3=0x^2 - 4x + 3 = 0

    Factor the quadratic:
    >
    (x1)(x3)=0(x-1)(x-3) = 0

    Critical points are x=1x=1 and x=3x=3.

    Step 3: Use the Second Derivative Test to classify critical points.
    Find the second derivative:
    >

    f(x)=ddx(3x212x+9)=6x12f''(x) = \frac{d}{dx}(3x^2 - 12x + 9) = 6x - 12

    Evaluate f(x)f''(x) at each critical point:
    * At x=1x=1:
    >
    f(1)=6(1)12=6f''(1) = 6(1) - 12 = -6

    Since f(1)<0f''(1) < 0, there is a local maximum at x=1x=1.
    * At x=3x=3:
    >
    f(3)=6(3)12=1812=6f''(3) = 6(3) - 12 = 18 - 12 = 6

    Since f(3)>0f''(3) > 0, there is a local minimum at x=3x=3.

    Step 4: Calculate the local maximum value.
    The local maximum occurs at x=1x=1.
    >

    f(1)=(1)36(1)2+9(1)+1=16+9+1=5f(1) = (1)^3 - 6(1)^2 + 9(1) + 1 = 1 - 6 + 9 + 1 = 5

    Answer: \boxed{5}
    "
    :::

    ---

    9. Concavity and Inflection Points

    The second derivative also describes the concavity of a function's graph and helps identify inflection points.

    📖 Concavity

    Let ff be twice differentiable on an interval (a,b)(a,b).
    ff is concave up (or convex) on (a,b)(a,b) if f(x)>0f''(x) > 0 for all x(a,b)x \in (a,b).
    ff is concave down (or concave) on (a,b)(a,b) if f(x)<0f''(x) < 0 for all x(a,b)x \in (a,b).

    📖 Inflection Point

    An inflection point is a point on the graph of a function where the concavity changes (from concave up to concave down, or vice versa). Inflection points typically occur where f(x)=0f''(x) = 0 or f(x)f''(x) is undefined, provided f(x)f''(x) changes sign at that point.

    Quick Example: Find the intervals of concavity and inflection points for f(x)=x44x3f(x) = x^4 - 4x^3.

    Step 1: Find the first and second derivatives.
    >

    f(x)=4x312x2f'(x) = 4x^3 - 12x^2

    >
    f(x)=12x224x=12x(x2)f''(x) = 12x^2 - 24x = 12x(x - 2)

    Step 2: Find potential inflection points by setting f(x)=0f''(x) = 0.
    12x(x2)=0    x=012x(x-2) = 0 \implies x=0 or x=2x=2.

    Step 3: Determine intervals of concavity using a sign chart for f(x)f''(x).
    * For x<0x < 0: Choose x=1x=-1, f(1)=12(1)(12)=(12)(3)=36>0f''(-1) = 12(-1)(-1-2) = (-12)(-3) = 36 > 0. (Concave up)
    * For 0<x<20 < x < 2: Choose x=1x=1, f(1)=12(1)(12)=(12)(1)=12<0f''(1) = 12(1)(1-2) = (12)(-1) = -12 < 0. (Concave down)
    * For x>2x > 2: Choose x=3x=3, f(3)=12(3)(32)=(36)(1)=36>0f''(3) = 12(3)(3-2) = (36)(1) = 36 > 0. (Concave up)

    Step 4: Identify inflection points.
    * At x=0x=0, f(x)f''(x) changes from positive to negative. Inflection point at x=0x=0.
    f(0)=(0)44(0)3=0f(0) = (0)^4 - 4(0)^3 = 0. Point is (0,0)(0, 0).
    * At x=2x=2, f(x)f''(x) changes from negative to positive. Inflection point at x=2x=2.
    f(2)=(2)44(2)3=164(8)=1632=16f(2) = (2)^4 - 4(2)^3 = 16 - 4(8) = 16 - 32 = -16. Point is (2,16)(2, -16).

    Answer:
    * Concave up on (,0)(2,)(-\infty, 0) \cup (2, \infty).
    * Concave down on (0,2)(0, 2).
    * Inflection points at (0,0)(0, 0) and (2,16)(2, -16).

    :::question type="MCQ" question="For the function f(x)=x46x2f(x) = x^4 - 6x^2, identify the intervals where the function is concave down." options=["(,1)(1,)(-\infty, -1) \cup (1, \infty)","(1,1)(-1, 1)","(,0)(0,)(-\infty, 0) \cup (0, \infty)","(,2)(2,)(-\infty, -2) \cup (2, \infty)"] answer="(1,1)(-1, 1)" hint="Compute the second derivative and find where it is negative." solution="Step 1: Compute the first derivative.
    >

    f(x)=4x312xf'(x) = 4x^3 - 12x

    Step 2: Compute the second derivative.
    >

    f(x)=12x212f''(x) = 12x^2 - 12

    Step 3: Find points where f(x)=0f''(x) = 0 or is undefined.
    >

    12x212=012x^2 - 12 = 0

    >
    12(x21)=012(x^2 - 1) = 0

    >
    x21=0x^2 - 1 = 0

    >
    (x1)(x+1)=0(x-1)(x+1) = 0

    So, x=1x=1 and x=1x=-1 are potential inflection points.

    Step 4: Determine the sign of f(x)f''(x) in intervals defined by these points.
    * For x<1x < -1: Choose x=2x=-2. f(2)=12(2)212=12(4)12=4812=36>0f''(-2) = 12(-2)^2 - 12 = 12(4) - 12 = 48 - 12 = 36 > 0. (Concave up)
    * For 1<x<1-1 < x < 1: Choose x=0x=0. f(0)=12(0)212=12<0f''(0) = 12(0)^2 - 12 = -12 < 0. (Concave down)
    * For x>1x > 1: Choose x=2x=2. f(2)=12(2)212=12(4)12=4812=36>0f''(2) = 12(2)^2 - 12 = 12(4) - 12 = 48 - 12 = 36 > 0. (Concave up)

    Step 5: Identify intervals of concavity.
    The function is concave down when f(x)<0f''(x) < 0. This occurs on the interval (1,1)(-1, 1).
    Answer: \boxed{(-1, 1)}
    "
    :::

    ---

    Problem-Solving Strategies

    💡 Rolle's/LMVT Applicability

    Always begin by verifying the conditions (continuity, differentiability, and f(a)=f(b)f(a)=f(b) for Rolle's) before attempting to find cc. Disproving any condition is often quicker than attempting to solve for cc.

    💡 Differentiability of Piecewise Functions

    When dealing with piecewise functions or absolute value functions, the points where the function definition changes are critical.

    • Check continuity first: If a function is not continuous at a point, it cannot be differentiable there.

    • Calculate LHD and RHD: If continuous, explicitly calculate the left-hand and right-hand derivatives at the critical points using the limit definition. Do not simply differentiate each piece and compare, unless the derivatives are themselves continuous (which is often true for elementary functions but not guaranteed at the join points).

    💡 Composite Function Differentiability

    For f(g(x))f(g(x)), differentiability requires both ff and gg to be differentiable in their respective domains. Pay attention to the domain of the inner function g(x)g(x) and the domain of the outer function f(u)f(u) where u=g(x)u=g(x). For example, u\sqrt{u} is not differentiable at u=0u=0.

    ---

    Common Mistakes

    ⚠️ Confusing Continuity and Differentiability

    ❌ Assuming that if a function is continuous, it must be differentiable.
    ✅ Differentiability implies continuity, but continuity does not imply differentiability (e.g., f(x)=xf(x)=|x| at x=0x=0). Always check differentiability separately.

    ⚠️ Ignoring Endpoints for Differentiability

    ❌ For LMVT/Rolle's, differentiating on the closed interval [a,b][a,b].
    ✅ The theorems require differentiability on the open interval (a,b)(a,b). Differentiability at endpoints is not required by the theorems.

    ⚠️ Misapplying L'Hôpital's Rule

    ❌ Applying L'Hôpital's Rule when the limit is not of indeterminate form (0/00/0 or /\infty/\infty).
    ✅ L'Hôpital's Rule is a powerful tool but only applicable to specific indeterminate forms. Always verify the form of the limit before applying.

    ---

    Practice Questions

    :::question type="MCQ" question="Let f(x)=x2/3f(x) = x^{2/3} on the interval [1,1][-1, 1]. Which of the following statements is true?" options=["Rolle's Theorem is applicable to f(x)f(x) on [1,1][-1, 1].","Lagrange's Mean Value Theorem is applicable to f(x)f(x) on [1,1][-1, 1].","f(x)f(x) is continuous but not differentiable on (1,1)(-1, 1).","There exists c(1,1)c \in (-1, 1) such that f(c)=0f'(c) = 0."] answer="f(x)f(x) is continuous but not differentiable on (1,1)(-1, 1)." hint="Check the conditions for continuity and differentiability, especially at x=0x=0." solution="Step 1: Check continuity.
    f(x)=x2/3=(x2)1/3f(x) = x^{2/3} = (x^2)^{1/3} is a power function. It is continuous for all real xx. So, it is continuous on [1,1][-1, 1].

    Step 2: Check differentiability.
    >

    f(x)=23x2/31=23x1/3=23x3f'(x) = \frac{2}{3}x^{2/3 - 1} = \frac{2}{3}x^{-1/3} = \frac{2}{3\sqrt[3]{x}}

    This derivative is defined for all x0x \neq 0. At x=0x=0, f(x)f'(x) is undefined (the denominator becomes zero).
    Since 0(1,1)0 \in (-1, 1), f(x)f(x) is not differentiable on (1,1)(-1, 1).

    Step 3: Evaluate applicability of theorems.
    * Rolle's Theorem: Requires differentiability on (1,1)(-1, 1), which fails at x=0x=0. Also, f(1)=(1)2/3=1f(-1) = (-1)^{2/3} = 1 and f(1)=(1)2/3=1f(1) = (1)^{2/3} = 1, so f(a)=f(b)f(a)=f(b) condition is met. However, differentiability fails. So, Rolle's Theorem is not applicable.
    * Lagrange's Mean Value Theorem: Requires differentiability on (1,1)(-1, 1), which fails at x=0x=0. So, LMVT is not applicable.

    Step 4: Evaluate the last option.
    If LMVT is not applicable, there is no guarantee for such a cc. Indeed, f(c)=23c3f'(c) = \frac{2}{3\sqrt[3]{c}} can never be 00.

    Thus, f(x)f(x) is continuous but not differentiable on (1,1)(-1, 1) is the true statement.
    Answer: \boxed{f(x) \text{ is continuous but not differentiable on } (-1, 1)}
    "
    :::

    :::question type="NAT" question="If f(x)=x2+sinxf(x) = \frac{x}{2} + \sin x, find the value of c(0,π)c \in (0, \pi) that satisfies Lagrange's Mean Value Theorem." answer="1.5708" hint="First, ensure the conditions for LMVT are met. Then, calculate f(0)f(0), f(π)f(\pi), and f(x)f'(x). Set f(c)f'(c) equal to f(π)f(0)π0\frac{f(\pi) - f(0)}{\pi - 0} and solve for cc in radians." solution="Step 1: Check LMVT conditions.
    f(x)=x2+sinxf(x) = \frac{x}{2} + \sin x is continuous on [0,π][0, \pi] and differentiable on (0,π)(0, \pi) (since x/2x/2 and sinx\sin x are continuous and differentiable everywhere).

    Step 2: Calculate f(0)f(0) and f(π)f(\pi).
    >

    f(0)=02+sin(0)=0+0=0f(0) = \frac{0}{2} + \sin(0) = 0 + 0 = 0

    >
    f(π)=π2+sin(π)=π2+0=π2f(\pi) = \frac{\pi}{2} + \sin(\pi) = \frac{\pi}{2} + 0 = \frac{\pi}{2}

    Step 3: Calculate the slope of the secant line.
    >

    f(π)f(0)π0=π/20π=π/2π=12\frac{f(\pi) - f(0)}{\pi - 0} = \frac{\pi/2 - 0}{\pi} = \frac{\pi/2}{\pi} = \frac{1}{2}

    Step 4: Find f(x)f'(x).
    >

    f(x)=ddx(x2+sinx)=12+cosxf'(x) = \frac{d}{dx}\left(\frac{x}{2} + \sin x\right) = \frac{1}{2} + \cos x

    Step 5: Set f(c)f'(c) equal to the slope and solve for cc.
    >

    12+cosc=12\frac{1}{2} + \cos c = \frac{1}{2}

    >
    cosc=0\cos c = 0

    For c(0,π)c \in (0, \pi), the only value for which cosc=0\cos c = 0 is c=π2c = \frac{\pi}{2}.
    In decimal form, c1.570796...c \approx 1.570796...
    Rounding to 4 decimal places, c=1.5708c = 1.5708.
    Answer: \boxed{1.5708}
    "
    :::

    :::question type="MCQ" question="Let f(x)={x3if x1ax+bif x>1f(x) = \begin{cases} x^3 & \text{if } x \le 1 \\ ax+b & \text{if } x > 1 \end{cases}. If f(x)f(x) is differentiable at x=1x=1, what are the values of aa and bb?" options=["a=3,b=2a=3, b=-2","a=1,b=0a=1, b=0","a=3,b=1a=3, b=1","a=1,b=2a=-1, b=2"] answer="a=3,b=2a=3, b=-2" hint="For differentiability, the function must first be continuous. Use continuity and equality of LHD/RHD to form equations for aa and bb." solution="Step 1: For f(x)f(x) to be differentiable at x=1x=1, it must first be continuous at x=1x=1.
    Continuity at x=1x=1 requires limx1f(x)=limx1+f(x)=f(1)\lim_{x \to 1^-} f(x) = \lim_{x \to 1^+} f(x) = f(1).
    >

    limx1x3=13=1\lim_{x \to 1^-} x^3 = 1^3 = 1

    >
    limx1+(ax+b)=a(1)+b=a+b\lim_{x \to 1^+} (ax+b) = a(1)+b = a+b

    >
    f(1)=13=1f(1) = 1^3 = 1

    So, for continuity:
    >
    a+b=1()a+b = 1 \quad (*)

    Step 2: For f(x)f(x) to be differentiable at x=1x=1, LHD must equal RHD.
    First, find the derivative of each piece:
    >

    f(x)={3x2if x<1aif x>1f'(x) = \begin{cases} 3x^2 & \text{if } x < 1 \\ a & \text{if } x > 1 \end{cases}

    Calculate LHD at x=1x=1:
    >
    LHD=limx1f(x)=limx13x2=3(1)2=3LHD = \lim_{x \to 1^-} f'(x) = \lim_{x \to 1^-} 3x^2 = 3(1)^2 = 3

    Calculate RHD at x=1x=1:
    >
    RHD=limx1+f(x)=limx1+a=aRHD = \lim_{x \to 1^+} f'(x) = \lim_{x \to 1^+} a = a

    For differentiability, LHD=RHDLHD = RHD:
    >
    a=3a = 3

    Step 3: Substitute a=3a=3 into equation ()(*) to find bb.
    >

    3+b=13+b = 1

    >
    b=13b = 1 - 3

    >
    b=2b = -2

    Thus, a=3a=3 and b=2b=-2.
    Answer: \boxed{a=3, b=-2}
    "
    :::

    :::question type="MSQ" question="Let f(x)=(x1)(x2)(x3)f(x) = (x-1)(x-2)(x-3). On which of the following intervals does Rolle's Theorem apply to f(x)f(x)?" options=["[1,2][1, 2]","[2,3][2, 3]","[1,3][1, 3]","[0,1][0, 1]"] answer="[1,2][1, 2],[2,3][2, 3],[1,3][1, 3]" hint="Rolle's Theorem requires continuity on [a,b][a,b], differentiability on (a,b)(a,b), and f(a)=f(b)f(a)=f(b). Since f(x)f(x) is a polynomial, it is always continuous and differentiable. Focus on the f(a)=f(b)f(a)=f(b) condition." solution="Step 1: Check conditions for Rolle's Theorem.
    The function f(x)=(x1)(x2)(x3)f(x) = (x-1)(x-2)(x-3) is a polynomial.

  • It is continuous on any closed interval [a,b][a,b].

  • It is differentiable on any open interval (a,b)(a,b).

  • Therefore, we only need to check the third condition: f(a)=f(b)f(a) = f(b).

    Step 2: Evaluate f(x)f(x) at the endpoints of each given interval.

    * For [1,2][1, 2]:
    >

    f(1)=(11)(12)(13)=0(1)(2)=0f(1) = (1-1)(1-2)(1-3) = 0 \cdot (-1) \cdot (-2) = 0

    >
    f(2)=(21)(22)(23)=10(1)=0f(2) = (2-1)(2-2)(2-3) = 1 \cdot 0 \cdot (-1) = 0

    Since f(1)=f(2)=0f(1) = f(2) = 0, Rolle's Theorem applies to [1,2][1, 2].

    * For [2,3][2, 3]:
    >

    f(2)=(21)(22)(23)=10(1)=0f(2) = (2-1)(2-2)(2-3) = 1 \cdot 0 \cdot (-1) = 0

    >
    f(3)=(31)(32)(33)=210=0f(3) = (3-1)(3-2)(3-3) = 2 \cdot 1 \cdot 0 = 0

    Since f(2)=f(3)=0f(2) = f(3) = 0, Rolle's Theorem applies to [2,3][2, 3].

    * For [1,3][1, 3]:
    >

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

    >
    f(3)=0f(3) = 0

    Since f(1)=f(3)=0f(1) = f(3) = 0, Rolle's Theorem applies to [1,3][1, 3].

    * For [0,1][0, 1]:
    >

    f(0)=(01)(02)(03)=(1)(2)(3)=6f(0) = (0-1)(0-2)(0-3) = (-1)(-2)(-3) = -6

    >
    f(1)=0f(1) = 0

    Since f(0)f(1)f(0) \neq f(1), Rolle's Theorem does not apply to [0,1][0, 1].

    Thus, Rolle's Theorem applies to the intervals [1,2][1, 2], [2,3][2, 3], and [1,3][1, 3].
    Answer: \boxed{[1, 2], [2, 3], [1, 3]}
    "
    :::

    ---

    Summary

    Key Formulas & Takeaways

    | No. | Formula/Concept | Expression |
    |---|----------------|------------|
    | 1 | Definition of Derivative | f(c)=limh0f(c+h)f(c)hf'(c) = \lim_{h \to 0} \frac{f(c+h) - f(c)}{h} |
    | 2 | Chain Rule | dydx=dydududx\frac{dy}{dx} = \frac{dy}{du} \cdot \frac{du}{dx} |
    | 3 | Differentiability     \implies Continuity | If ff is differentiable at cc, then ff is continuous at cc. |
    | 4 | Rolle's Theorem | If f(a)=f(b)f(a)=f(b), ff cont. on [a,b][a,b], diff. on (a,b)(a,b), then c(a,b)\exists c \in (a,b) s.t. f(c)=0f'(c)=0. |
    | 5 | Lagrange's MVT | If ff cont. on [a,b][a,b], diff. on (a,b)(a,b), then c(a,b)\exists c \in (a,b) s.t. f(c)=f(b)f(a)baf'(c) = \frac{f(b)-f(a)}{b-a}. |
    | 6 | Cauchy's MVT | If f,gf,g cont. on [a,b][a,b], diff. on (a,b)(a,b), g(x)0g'(x) \neq 0, then c(a,b)\exists c \in (a,b) s.t. f(c)g(c)=f(b)f(a)g(b)g(a)\frac{f'(c)}{g'(c)} = \frac{f(b)-f(a)}{g(b)-g(a)}. |
    | 7 | Monotonicity | f(x)>0    f'(x) > 0 \implies increasing; f(x)<0    f'(x) < 0 \implies decreasing. |
    | 8 | Local Extrema (2nd Deriv. Test) | f(c)=0,f(c)>0    f'(c)=0, f''(c)>0 \implies local min; f(c)=0,f(c)<0    f'(c)=0, f''(c)<0 \implies local max. |
    | 9 | Concavity | f(x)>0    f''(x) > 0 \implies concave up; f(x)<0    f''(x) < 0 \implies concave down. |

    ---

    What's Next?

    💡 Continue Learning

    This topic connects to:

      • Limits and Continuity: A prerequisite for understanding differentiability. Many problems involve checking continuity before differentiability.

      • Applications of Derivatives: Optimization problems, curve sketching, related rates, and Taylor series expansions heavily rely on the concepts of differentiation.

      • Integral Calculus: The Fundamental Theorem of Calculus establishes a direct link between differentiation and integration, where derivatives are the inverse operation of integrals.

      • Multivariable Calculus: The concepts of partial derivatives and total differentials extend the ideas of differentiation to functions of multiple variables.

    Chapter Summary

    Limits, Continuity, and Differentiation — Key Points

    • Limit Definitions & Properties: A thorough understanding of the ϵδ\epsilon-\delta definition for limits and the algebraic properties of limits is crucial for evaluating complex expressions.

    • Continuity Criteria: Functions are continuous if limxaf(x)=f(a)\lim_{x \to a} f(x) = f(a). Key theorems like the Intermediate Value Theorem (IVT) and Extreme Value Theorem (EVT) apply to continuous functions on closed intervals.

    • Differentiability and Continuity: Differentiability at a point implies continuity at that point, but the converse is not true (e.g., x|x| at x=0x=0).

    • Differentiation Techniques: Proficiency in applying standard differentiation rules, including the product rule, quotient rule, chain rule, and implicit differentiation, is fundamental.

    • Mean Value Theorems (MVT): Rolle's Theorem, Lagrange's MVT, and Cauchy's MVT provide critical insights into the behavior of differentiable functions over intervals, relating the derivative to the function's values.

    • L'Hôpital's Rule: Essential for evaluating limits of indeterminate forms 00\frac{0}{0} and \frac{\infty}{\infty}, and for transforming other indeterminate forms into these standard types.

    • Applications of Derivatives: Derivatives are vital for determining a function's monotonicity (increasing/decreasing intervals) and locating local extrema (maxima/minima).

    Chapter Review Questions

    :::question type="MCQ" question="For what value of kk is the function f(x)={x24x2x2kx=2f(x) = \begin{cases} \frac{x^2-4}{x-2} & x \ne 2 \\ k & x=2 \end{cases} continuous at x=2x=2?" options=["1","2","3","4"] answer="4" hint="For continuity at a point, the limit of the function as x approaches that point must be equal to the function's value at that point." solution="For f(x)f(x) to be continuous at x=2x=2, we must have limx2f(x)=f(2)\lim_{x \to 2} f(x) = f(2).
    Given f(2)=kf(2) = k.
    Now, we evaluate the limit:

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

    Since x2x \ne 2, we can cancel (x2)(x-2):
    limx2(x+2)=2+2=4\lim_{x \to 2} (x+2) = 2+2 = 4

    For continuity, kk must be equal to the limit. Thus, k=4k=4.
    Answer: \boxed{4}
    "
    :::

    :::question type="MCQ" question="Let f(x)=xxf(x) = x|x|. Which of the following statements about f(x)f(x) is true at x=0x=0?" options=["f(x)f(x) is continuous but not differentiable." "f(x)f(x) is differentiable but not continuous." "f(x)f(x) is neither continuous nor differentiable." "f(x)f(x) is both continuous and differentiable."] answer="f(x)f(x) is both continuous and differentiable." hint="Evaluate the limit definition of the derivative at x=0x=0. Remember that f(x)f(x) can be written as a piecewise function." solution="The function f(x)=xxf(x) = x|x| can be written as:

    f(x)={x2x0x2x<0f(x) = \begin{cases} x^2 & x \ge 0 \\ -x^2 & x < 0 \end{cases}

    Continuity at x=0x=0:
    limx0+f(x)=limx0+x2=0\lim_{x \to 0^+} f(x) = \lim_{x \to 0^+} x^2 = 0
    limx0f(x)=limx0(x2)=0\lim_{x \to 0^-} f(x) = \lim_{x \to 0^-} (-x^2) = 0
    f(0)=02=0f(0) = 0^2 = 0
    Since limx0f(x)=f(0)=0\lim_{x \to 0} f(x) = f(0) = 0, f(x)f(x) is continuous at x=0x=0.

    Differentiability at x=0x=0:
    We use the definition of the derivative: f(0)=limh0f(0+h)f(0)hf'(0) = \lim_{h \to 0} \frac{f(0+h) - f(0)}{h}.

    f(0)=limh0hh0h=limh0hf'(0) = \lim_{h \to 0} \frac{h|h| - 0}{h} = \lim_{h \to 0} |h|

    As h0h \to 0, h0|h| \to 0.
    So, f(0)=0f'(0) = 0.
    Since the limit exists, f(x)f(x) is differentiable at x=0x=0.
    Therefore, f(x)f(x) is both continuous and differentiable at x=0x=0.
    Answer: \boxed{f(x) \text{ is both continuous and differentiable.}}
    "
    :::

    :::question type="NAT" question="If f(x)=x22xf(x) = x^2 - 2x on the interval [0,2][0, 2], find the value of c(0,2)c \in (0, 2) for which f(c)=0f'(c) = 0. (Apply Rolle's Theorem)" answer="1" hint="Rolle's Theorem states that if a function is continuous on [a,b][a,b], differentiable on (a,b)(a,b), and f(a)=f(b)f(a)=f(b), then there exists at least one c(a,b)c \in (a,b) such that f(c)=0f'(c)=0. First, verify the conditions, then find f(x)f'(x) and set it to zero." solution="First, verify the conditions for Rolle's Theorem:

  • f(x)=x22xf(x) = x^2 - 2x is a polynomial, so it is continuous on [0,2][0, 2] and differentiable on (0,2)(0, 2).

  • Check f(a)f(a) and f(b)f(b):

  • f(0)=022(0)=0f(0) = 0^2 - 2(0) = 0
    f(2)=222(2)=44=0f(2) = 2^2 - 2(2) = 4 - 4 = 0
    Since f(0)=f(2)f(0) = f(2), Rolle's Theorem applies.

    Now, find f(x)f'(x) and set it to zero:
    f(x)=ddx(x22x)=2x2f'(x) = \frac{d}{dx}(x^2 - 2x) = 2x - 2
    Set f(c)=0f'(c) = 0:
    2c2=0    2c=2    c=12c - 2 = 0 \implies 2c = 2 \implies c = 1.
    The value c=1c=1 lies in the interval (0,2)(0, 2).
    Answer: \boxed{1}
    "
    :::

    What's Next?

    💡 Continue Your CUET PG Journey

    Having mastered the fundamentals of limits, continuity, and differentiation, you are now well-equipped to delve into more advanced concepts in Real Analysis. The understanding gained here forms the bedrock for Applications of Derivatives (optimization, curve sketching), Indefinite and Definite Integrals (Riemann sums, Fundamental Theorem of Calculus), and the study of Sequences and Series of Functions, including Uniform Convergence. These subsequent chapters will build directly upon the analytical tools developed in this chapter, deepening your comprehension of calculus and its theoretical underpinnings.

    🎯 Key Points to Remember

    • Master the core concepts in Limits, Continuity, and Differentiation before moving to advanced topics
    • Practice with previous year questions to understand exam patterns
    • Review short notes regularly for quick revision before exams

    Related Topics in Real Analysis

    More Resources

    Why Choose MastersUp?

    🎯

    AI-Powered Plans

    Personalized study schedules based on your exam date and learning pace

    📚

    15,000+ Questions

    Verified questions with detailed solutions from past papers

    📊

    Smart Analytics

    Track your progress with subject-wise performance insights

    🔖

    Bookmark & Revise

    Save important questions for quick revision before exams

    Start Your Free Preparation →

    No credit card required • Free forever for basic features