Part 1: Evaluation of Limits Example 1: Factorization Method
Question: Evaluate lim x → 2 x 3 − 8 x − 2 \lim_{x \to 2} \frac{x^3-8}{x-2} lim x → 2 x − 2 x 3 − 8 .
Solution:
Step 1: Identify the Indeterminate Form
Direct substitution gives 2 3 − 8 2 − 2 = 0 0 \frac{2^3-8}{2-2} = \frac{0}{0} 2 − 2 2 3 − 8 = 0 0 .
Step 2: Factor the Expression
Using the difference of cubes formula, a 3 − b 3 = ( a − b ) ( a 2 + a b + b 2 ) a^3 - b^3 = (a-b)(a^2+ab+b^2) a 3 − b 3 = ( a − b ) ( a 2 + ab + b 2 ) , we get:
x 3 − 8 = ( x − 2 ) ( x 2 + 2 x + 4 ) x^3 - 8 = (x-2)(x^2 + 2x + 4) x 3 − 8 = ( x − 2 ) ( x 2 + 2 x + 4 ) .
Step 3: Simplify and Evaluate
lim x → 2 ( x − 2 ) ( x 2 + 2 x + 4 ) x − 2 = lim x → 2 ( x 2 + 2 x + 4 ) = 2 2 + 2 ( 2 ) + 4 = 12 \lim_{x \to 2} \frac{(x-2)(x^2+2x+4)}{x-2} = \lim_{x \to 2} (x^2+2x+4) = 2^2 + 2(2) + 4 = 12 lim x → 2 x − 2 ( x − 2 ) ( x 2 + 2 x + 4 ) = lim x → 2 ( x 2 + 2 x + 4 ) = 2 2 + 2 ( 2 ) + 4 = 12 .
Answer: 12.
Example 2: Rationalization Method
Question: Evaluate lim x → 0 1 + x − 1 x \lim_{x \to 0} \frac{\sqrt{1+x}-1}{x} lim x → 0 x 1 + x − 1 .
Solution:
This is a 0 0 \frac{0}{0} 0 0 form. Multiply the numerator and denominator by the conjugate, 1 + x + 1 \sqrt{1+x}+1 1 + x + 1 .
lim x → 0 ( 1 + x − 1 ) ( 1 + x + 1 ) x ( 1 + x + 1 ) = lim x → 0 ( 1 + x ) − 1 x ( 1 + x + 1 ) = lim x → 0 x x ( 1 + x + 1 ) \lim_{x \to 0} \frac{(\sqrt{1+x}-1)(\sqrt{1+x}+1)}{x(\sqrt{1+x}+1)} = \lim_{x \to 0} \frac{(1+x)-1}{x(\sqrt{1+x}+1)} = \lim_{x \to 0} \frac{x}{x(\sqrt{1+x}+1)} lim x → 0 x ( 1 + x + 1 ) ( 1 + x − 1 ) ( 1 + x + 1 ) = lim x → 0 x ( 1 + x + 1 ) ( 1 + x ) − 1 = lim x → 0 x ( 1 + x + 1 ) x .
Cancel x x x and substitute: lim x → 0 1 1 + x + 1 = 1 1 + 1 = 1 2 \lim_{x \to 0} \frac{1}{\sqrt{1+x}+1} = \frac{1}{\sqrt{1}+1} = \frac{1}{2} lim x → 0 1 + x + 1 1 = 1 + 1 1 = 2 1 .
Answer: 1/2.
Example 3: L'Hôpital's Rule
Question: Evaluate lim x → 0 e 2 x − 1 x \lim_{x \to 0} \frac{e^{2x}-1}{x} lim x → 0 x e 2 x − 1 .
Solution:
This is a 0 0 \frac{0}{0} 0 0 form. Applying L'Hôpital's Rule, we differentiate the numerator and denominator:
lim x → 0 d d x ( e 2 x − 1 ) d d x ( x ) = lim x → 0 2 e 2 x 1 = 2 e 0 = 2 \lim_{x \to 0} \frac{\frac{d}{dx}(e^{2x}-1)}{\frac{d}{dx}(x)} = \lim_{x \to 0} \frac{2e^{2x}}{1} = 2e^0 = 2 lim x → 0 d x d ( x ) d x d ( e 2 x − 1 ) = lim x → 0 1 2 e 2 x = 2 e 0 = 2 .
Answer: 2.
Example 4: Repeated L'Hôpital's Rule
Question: Evaluate lim x → 0 e x − x − 1 x 2 \lim_{x \to 0} \frac{e^x - x - 1}{x^2} lim x → 0 x 2 e x − x − 1 .
Solution:
This is a 0 0 \frac{0}{0} 0 0 form. Applying the rule once gives lim x → 0 e x − 1 2 x \lim_{x \to 0} \frac{e^x - 1}{2x} lim x → 0 2 x e x − 1 . This is still 0 0 \frac{0}{0} 0 0 . Applying the rule again gives lim x → 0 e x 2 = 1 2 \lim_{x \to 0} \frac{e^x}{2} = \frac{1}{2} lim x → 0 2 e x = 2 1 .
Answer: 1/2.
Example 5: Algebraic Manipulation
Question: Evaluate the limit: lim x → 0 e x − e sin x x − sin x \lim_{x \to 0} \frac{e^x - e^{\sin x}}{x - \sin x} lim x → 0 x − s i n x e x − e s i n x
Solution:
Factor out e sin x e^{\sin x} e s i n x from the numerator: L = lim x → 0 e sin x ( e x − sin x − 1 ) x − sin x L = \lim_{x \to 0} \frac{e^{\sin x}(e^{x - \sin x} - 1)}{x - \sin x} L = lim x → 0 x − s i n x e s i n x ( e x − s i n x − 1 ) .
This splits into two limits: L = ( lim x → 0 e sin x ) ⋅ ( lim x → 0 e x − sin x − 1 x − sin x ) L = ( \lim_{x \to 0} e^{\sin x} ) \cdot ( \lim_{x \to 0} \frac{e^{x - \sin x} - 1}{x - \sin x} ) L = ( lim x → 0 e s i n x ) ⋅ ( lim x → 0 x − s i n x e x − s i n x − 1 ) .
Let u = x − sin x u = x - \sin x u = x − sin x . As x → 0 x \to 0 x → 0 , u → 0 u \to 0 u → 0 . The second limit becomes lim u → 0 e u − 1 u = 1 \lim_{u \to 0} \frac{e^u-1}{u} = 1 lim u → 0 u e u − 1 = 1 .
The first limit is e sin 0 = 1 e^{\sin 0} = 1 e s i n 0 = 1 . So, L = 1 ⋅ 1 = 1 L = 1 \cdot 1 = 1 L = 1 ⋅ 1 = 1 .
Answer: 1.
Question: Evaluate lim x → 0 ( 1 + 2 x ) 1 / x \lim_{x \to 0} (1+2x)^{1/x} lim x → 0 ( 1 + 2 x ) 1/ x .
Solution:
This is a 1 ∞ 1^{\infty} 1 ∞ form. The limit can be found using the formula e lim x → c g ( x ) [ f ( x ) − 1 ] e^{\lim_{x \to c} g(x)[f(x)-1]} e l i m x → c g ( x ) [ f ( x ) − 1 ] .
The limit is e lim x → 0 1 x [ ( 1 + 2 x ) − 1 ] = e lim x → 0 2 x x = e 2 e^{\lim_{x \to 0} \frac{1}{x}[(1+2x)-1]} = e^{\lim_{x \to 0} \frac{2x}{x}} = e^2 e l i m x → 0 x 1 [( 1 + 2 x ) − 1 ] = e l i m x → 0 x 2 x = e 2 .
Answer: e 2 e^2 e 2 .
Example 7: Series Expansions
Question: Evaluate lim x → 0 x − sin x x 3 \lim_{x \to 0} \frac{x - \sin x}{x^3} lim x → 0 x 3 x − s i n x .
Solution:
We replace sin x \sin x sin x with its series expansion x − x 3 3 ! + O ( x 5 ) x - \frac{x^3}{3!} + O(x^5) x − 3 ! x 3 + O ( x 5 ) .
The limit becomes lim x → 0 x − ( x − x 3 / 6 + . . . ) x 3 = lim x → 0 x 3 / 6 x 3 = 1 6 \lim_{x \to 0} \frac{x - (x - x^3/6 + ...)}{x^3} = \lim_{x \to 0} \frac{x^3/6}{x^3} = \frac{1}{6} lim x → 0 x 3 x − ( x − x 3 /6 + ... ) = lim x → 0 x 3 x 3 /6 = 6 1 .
Answer: 1/6.
Example 8: Squeeze Theorem
Question: Evaluate lim x → 0 x 2 cos ( 1 / x ) \lim_{x \to 0} x^2 \cos(1/x) lim x → 0 x 2 cos ( 1/ x ) .
Solution:
We know that − 1 ≤ cos ( 1 / x ) ≤ 1 -1 \le \cos(1/x) \le 1 − 1 ≤ cos ( 1/ x ) ≤ 1 . Multiplying by x 2 x^2 x 2 gives − x 2 ≤ x 2 cos ( 1 / x ) ≤ x 2 -x^2 \le x^2\cos(1/x) \le x^2 − x 2 ≤ x 2 cos ( 1/ x ) ≤ x 2 .
Since lim x → 0 − x 2 = 0 \lim_{x \to 0} -x^2 = 0 lim x → 0 − x 2 = 0 and lim x → 0 x 2 = 0 \lim_{x \to 0} x^2 = 0 lim x → 0 x 2 = 0 , by the Squeeze Theorem, the limit is 0.
Answer: 0.
Example 9: Limit at Infinity
Question: Evaluate lim x → ∞ 3 x 2 − x − 2 5 x 2 + 4 x + 1 \lim_{x \to \infty} \frac{3x^2-x-2}{5x^2+4x+1} lim x → ∞ 5 x 2 + 4 x + 1 3 x 2 − x − 2 .
Solution:
Divide the numerator and denominator by the highest power of x, which is x 2 x^2 x 2 .
lim x → ∞ 3 − 1 / x − 2 / x 2 5 + 4 / x + 1 / x 2 = 3 − 0 − 0 5 + 0 − 0 = 3 5 \lim_{x \to \infty} \frac{3-1/x-2/x^2}{5+4/x+1/x^2} = \frac{3-0-0}{5+0-0} = \frac{3}{5} lim x → ∞ 5 + 4/ x + 1/ x 2 3 − 1/ x − 2/ x 2 = 5 + 0 − 0 3 − 0 − 0 = 5 3 .
Answer: 3/5.
Example 10: Using Leibniz Rule and L'Hôpital's Rule
Question: Evaluate: lim x → 0 1 x [ ∫ 0 x ( 1 + sin ( 2 t ) ) 1 / t d t ] \lim_{x \to 0} \frac{1}{x} [\int_{0}^{x} (1+\sin(2t))^{1/t} dt ] lim x → 0 x 1 [ ∫ 0 x ( 1 + sin ( 2 t ) ) 1/ t d t ]
Solution:
This is a 0 0 \frac{0}{0} 0 0 form. We use L'Hôpital's Rule and Leibniz rule. The limit becomes lim x → 0 d d x ∫ 0 x ( 1 + sin ( 2 t ) ) 1 / t d t 1 \lim_{x \to 0} \frac{\frac{d}{dx}\int_{0}^{x} (1+\sin(2t))^{1/t} dt}{1} lim x → 0 1 d x d ∫ 0 x ( 1 + s i n ( 2 t ) ) 1/ t d t .
This simplifies to lim x → 0 ( 1 + sin ( 2 x ) ) 1 / x \lim_{x \to 0} (1+\sin(2x))^{1/x} lim x → 0 ( 1 + sin ( 2 x ) ) 1/ x , which is a 1 ∞ 1^\infty 1 ∞ form.
L = e lim x → 0 1 x ( sin ( 2 x ) ) = e lim x → 0 2 sin ( 2 x ) 2 x = e 2 L = e^{\lim_{x \to 0} \frac{1}{x}(\sin(2x))} = e^{\lim_{x \to 0} 2 \frac{\sin(2x)}{2x}} = e^2 L = e l i m x → 0 x 1 ( s i n ( 2 x )) = e l i m x → 0 2 2 x s i n ( 2 x ) = e 2 .
Answer: e 2 e^2 e 2 .
Example 11: Logarithms and L'Hôpital's Rule
Question: Evaluate: lim x → 0 ( a x + b x + c x 3 ) 1 / x \lim_{x \to 0} (\frac{a^x+b^x+c^x}{3})^{1/x} lim x → 0 ( 3 a x + b x + c x ) 1/ x where a , b , c > 0 a, b, c > 0 a , b , c > 0 .
Solution:
This is a 1 ∞ 1^\infty 1 ∞ form. Let L L L be the limit and take the natural log: ln L = lim x → 0 1 x ln ( a x + b x + c x 3 ) \ln L = \lim_{x \to 0} \frac{1}{x} \ln(\frac{a^x+b^x+c^x}{3}) ln L = lim x → 0 x 1 ln ( 3 a x + b x + c x ) .
This is a 0 / 0 0/0 0/0 form. Apply L'Hôpital's Rule:
ln L = lim x → 0 d / d x ( ln ( a x + b x + c x ) − ln 3 ) d / d x ( x ) = lim x → 0 a x ln a + b x ln b + c x ln c a x + b x + c x \ln L = \lim_{x \to 0} \frac{d/dx(\ln(a^x+b^x+c^x) - \ln 3)}{d/dx(x)} = \lim_{x \to 0} \frac{a^x\ln a + b^x\ln b + c^x\ln c}{a^x+b^x+c^x} ln L = lim x → 0 d / d x ( x ) d / d x ( l n ( a x + b x + c x ) − l n 3 ) = lim x → 0 a x + b x + c x a x l n a + b x l n b + c x l n c .
Substitute x = 0 x=0 x = 0 : ln L = ln a + ln b + ln c 3 = ln ( a b c ) 3 = ln ( ( a b c ) 1 / 3 ) \ln L = \frac{\ln a + \ln b + \ln c}{3} = \frac{\ln(abc)}{3} = \ln((abc)^{1/3}) ln L = 3 l n a + l n b + l n c = 3 l n ( ab c ) = ln (( ab c ) 1/3 ) .
Thus, L = ( a b c ) 1 / 3 L = (abc)^{1/3} L = ( ab c ) 1/3 .
Answer: ( a b c ) 1 / 3 (abc)^{1/3} ( ab c ) 1/3 .
Part 2: Continuity and Discontinuity Example 12: Finding Parameters for Continuity
Question: Find 'k' for which f ( x ) = { k x + 1 , x ≤ 5 3 x − 5 , x > 5 f(x) = \begin{cases} kx+1, & x \le 5 \\ 3x-5, & x > 5 \end{cases} f ( x ) = { k x + 1 , 3 x − 5 , x ≤ 5 x > 5 is continuous at x = 5 x=5 x = 5 .
Solution:
For continuity, LHL = RHL at x = 5 x=5 x = 5 .
LHL = lim x → 5 − ( k x + 1 ) = 5 k + 1 \lim_{x \to 5^-} (kx+1) = 5k+1 lim x → 5 − ( k x + 1 ) = 5 k + 1 .
RHL = lim x → 5 + ( 3 x − 5 ) = 10 \lim_{x \to 5^+} (3x-5) = 10 lim x → 5 + ( 3 x − 5 ) = 10 .
Equating them: 5 k + 1 = 10 ⟹ 5 k = 9 ⟹ k = 9 / 5 5k+1 = 10 \implies 5k=9 \implies k=9/5 5 k + 1 = 10 ⟹ 5 k = 9 ⟹ k = 9/5 .
Answer: k = 9/5.
Example 13: Finding Parameters for Continuity (Piecewise)
Question: Find the values of a a a and b b b such that the function given by f ( x ) = { 5 , if x ≤ 2 a x + b , if 2 < x < 10 21 , if x ≥ 10 f(x) = \begin{cases} 5, & \text{if } x \leq 2 \\ ax+b, & \text{if } 2 < x < 10 \\ 21, & \text{if } x \geq 10 \end{cases} f ( x ) = ⎩ ⎨ ⎧ 5 , a x + b , 21 , if x ≤ 2 if 2 < x < 10 if x ≥ 10 is a continuous function.
Solution:
For continuity, limits must match at x = 2 x=2 x = 2 and x = 10 x=10 x = 10 .
At x = 2 x=2 x = 2 : lim x → 2 − 5 = lim x → 2 + ( a x + b ) ⟹ 5 = 2 a + b \lim_{x \to 2^-} 5 = \lim_{x \to 2^+} (ax+b) \implies 5 = 2a+b lim x → 2 − 5 = lim x → 2 + ( a x + b ) ⟹ 5 = 2 a + b . (1)
At x = 10 x=10 x = 10 : lim x → 10 − ( a x + b ) = lim x → 10 + 21 ⟹ 10 a + b = 21 \lim_{x \to 10^-} (ax+b) = \lim_{x \to 10^+} 21 \implies 10a+b=21 lim x → 1 0 − ( a x + b ) = lim x → 1 0 + 21 ⟹ 10 a + b = 21 . (2)
Subtracting (1) from (2): 8 a = 16 ⟹ a = 2 8a = 16 \implies a=2 8 a = 16 ⟹ a = 2 .
Substituting into (1): 2 ( 2 ) + b = 5 ⟹ b = 1 2(2)+b=5 \implies b=1 2 ( 2 ) + b = 5 ⟹ b = 1 .
Answer: a=2 and b=1.
Example 14: Removable Discontinuity
Question: Discuss the continuity of f ( x ) = x 2 − 4 x − 2 f(x)=\frac{x^2-4}{x-2} f ( x ) = x − 2 x 2 − 4 at x = 2 x=2 x = 2 .
Solution:
The function is not defined at x=2. However, lim x → 2 ( x − 2 ) ( x + 2 ) x − 2 = 4 \lim_{x \to 2} \frac{(x-2)(x+2)}{x-2} = 4 lim x → 2 x − 2 ( x − 2 ) ( x + 2 ) = 4 . Since the limit exists but the function is not defined at the point, this is a removable discontinuity. It can be made continuous by defining f ( 2 ) = 4 f(2)=4 f ( 2 ) = 4 .
Answer: Removable discontinuity at x=2.
Example 15: Jump Discontinuity
Question: Find the points of discontinuity for the function f ( x ) = [ x ] f(x) = [x] f ( x ) = [ x ] (Greatest Integer Function).
Solution:
At any integer 'n', LHL = lim x → n − [ x ] = n − 1 \lim_{x \to n^-} [x] = n-1 lim x → n − [ x ] = n − 1 and RHL = lim x → n + [ x ] = n \lim_{x \to n^+} [x] = n lim x → n + [ x ] = n . Since LHL \n e \n
e \n e RHL, the function has a jump discontinuity at every integer.
Answer: Jump discontinuity at every integer.
Example 16: Sum of Continuous Functions
Question: Discuss the continuity of f ( x ) = ∣ x ∣ + ∣ x − 1 ∣ f(x)=|x|+|x-1| f ( x ) = ∣ x ∣ + ∣ x − 1∣ at x=0 and x=1.
Solution:
The function ∣ x ∣ |x| ∣ x ∣ is continuous everywhere. The function ∣ x − 1 ∣ |x-1| ∣ x − 1∣ is also continuous everywhere. The sum of two continuous functions is always continuous. Therefore, f ( x ) f(x) f ( x ) is continuous everywhere, including at x=0 and x=1.
Answer: Continuous everywhere.
Part 3: Differentiability Example 17: Checking Differentiability of Modulus Function
Question: Check the differentiability of the function f ( x ) = ∣ x − 2 ∣ f(x) = |x-2| f ( x ) = ∣ x − 2∣ at x = 2 x=2 x = 2 .
Solution:
LHD = lim h → 0 − ∣ ( 2 + h ) − 2 ∣ − 0 h = lim h → 0 − ∣ h ∣ h = − 1 \lim_{h \to 0^-} \frac{|(2+h)-2|-0}{h} = \lim_{h \to 0^-} \frac{|h|}{h} = -1 lim h → 0 − h ∣ ( 2 + h ) − 2∣ − 0 = lim h → 0 − h ∣ h ∣ = − 1 .
RHD = lim h → 0 + ∣ h ∣ h = 1 \lim_{h \to 0^+} \frac{|h|}{h} = 1 lim h → 0 + h ∣ h ∣ = 1 .
Since LHD \n e \n
e \n e RHD, the function is not differentiable at x=2.
Answer: Not differentiable at x=2.
Example 18: Finding Parameters for Differentiability
Question: If f ( x ) = { x 2 + 1 , x ≤ 1 a x + b , x > 1 f(x) = \begin{cases} x^2+1, & x \le 1 \\ ax+b, & x > 1 \end{cases} f ( x ) = { x 2 + 1 , a x + b , x ≤ 1 x > 1 is differentiable at x = 1 x=1 x = 1 , find a and b.
Solution:
Continuity: 1 2 + 1 = a ( 1 ) + b ⟹ a + b = 2 1^2+1=a(1)+b \implies a+b=2 1 2 + 1 = a ( 1 ) + b ⟹ a + b = 2 .
Differentiability: LHD = RHD. The derivative of x 2 + 1 x^2+1 x 2 + 1 is 2 x 2x 2 x . The derivative of a x + b ax+b a x + b is a a a . At x=1, LHD=2(1)=2 and RHD=a. So, a = 2 a=2 a = 2 .
From a + b = 2 a+b=2 a + b = 2 , we get 2 + b = 2 ⟹ b = 0 2+b=2 \implies b=0 2 + b = 2 ⟹ b = 0 .
Answer: a=2, b=0.
Example 19: Differentiability of Piecewise Modulus Function
Question: Check the differentiability of the function f ( x ) = ∣ x ∣ + ∣ x − 1 ∣ f(x) = |x| + |x-1| f ( x ) = ∣ x ∣ + ∣ x − 1∣ at x = 0 x=0 x = 0 and x = 1 x=1 x = 1 .
Solution:
Writing f ( x ) f(x) f ( x ) as a piecewise function: f ( x ) = { − 2 x + 1 , x < 0 1 , 0 ≤ x < 1 2 x − 1 , x ≥ 1 f(x) = \begin{cases} -2x+1, & x < 0 \\ 1, & 0 \leq x < 1 \\ 2x-1, & x \geq 1 \end{cases} f ( x ) = ⎩ ⎨ ⎧ − 2 x + 1 , 1 , 2 x − 1 , x < 0 0 ≤ x < 1 x ≥ 1 .
At x = 0 x=0 x = 0 : LHD = d d x ( − 2 x + 1 ) = − 2 \frac{d}{dx}(-2x+1) = -2 d x d ( − 2 x + 1 ) = − 2 . RHD = d d x ( 1 ) = 0 \frac{d}{dx}(1) = 0 d x d ( 1 ) = 0 . Not differentiable.
At x = 1 x=1 x = 1 : LHD = d d x ( 1 ) = 0 \frac{d}{dx}(1) = 0 d x d ( 1 ) = 0 . RHD = d d x ( 2 x − 1 ) = 2 \frac{d}{dx}(2x-1) = 2 d x d ( 2 x − 1 ) = 2 . Not differentiable.
Answer: Not differentiable at x=0 and x=1.
Example 20: Differentiability of a Special Function
Question: Show that f ( x ) = { x 2 sin ( 1 / x ) , x \n e q 0 0 , x = 0 f(x) = \begin{cases} x^2 \sin(1/x), & x \n
eq 0 \\ 0, & x=0 \end{cases} f ( x ) = { x 2 sin ( 1/ x ) , 0 , x \n e q 0 x = 0 is differentiable at x = 0 x=0 x = 0 , but its derivative is not continuous at x = 0 x=0 x = 0 .
Solution:
Differentiability: f ′ ( 0 ) = lim h → 0 h 2 sin ( 1 / h ) − 0 h = lim h → 0 h sin ( 1 / h ) f'(0) = \lim_{h \to 0} \frac{h^2\sin(1/h)-0}{h} = \lim_{h \to 0} h\sin(1/h) f ′ ( 0 ) = lim h → 0 h h 2 s i n ( 1/ h ) − 0 = lim h → 0 h sin ( 1/ h ) . By Squeeze Theorem, this limit is 0. So, f ′ ( 0 ) = 0 f'(0)=0 f ′ ( 0 ) = 0 .
Continuity of derivative: For x \n e q 0 x \n
eq 0 x \n e q 0 , f ′ ( x ) = 2 x sin ( 1 / x ) − cos ( 1 / x ) f'(x) = 2x\sin(1/x) - \cos(1/x) f ′ ( x ) = 2 x sin ( 1/ x ) − cos ( 1/ x ) .
As x → 0 x \to 0 x → 0 , the term 2 x sin ( 1 / x ) → 0 2x\sin(1/x) \to 0 2 x sin ( 1/ x ) → 0 , but lim x → 0 cos ( 1 / x ) \lim_{x \to 0} \cos(1/x) lim x → 0 cos ( 1/ x ) does not exist. Thus lim x → 0 f ′ ( x ) \lim_{x \to 0} f'(x) lim x → 0 f ′ ( x ) does not exist and is not equal to f ′ ( 0 ) f'(0) f ′ ( 0 ) .
Answer: Proven.
Part 4: Techniques of Differentiation Example 21: Derivative from First Principle (Polynomial)
Question: Find the derivative of f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 using the first principle.
Solution:
f ′ ( x ) = lim h → 0 ( x + h ) 3 − x 3 h = lim h → 0 x 3 + 3 x 2 h + 3 x h 2 + h 3 − x 3 h = lim h → 0 ( 3 x 2 + 3 x h + h 2 ) = 3 x 2 f'(x) = \lim_{h \to 0} \frac{(x+h)^3 - x^3}{h} = \lim_{h \to 0} \frac{x^3+3x^2h+3xh^2+h^3 - x^3}{h} = \lim_{h \to 0} (3x^2+3xh+h^2) = 3x^2 f ′ ( x ) = lim h → 0 h ( x + h ) 3 − x 3 = lim h → 0 h x 3 + 3 x 2 h + 3 x h 2 + h 3 − x 3 = lim h → 0 ( 3 x 2 + 3 x h + h 2 ) = 3 x 2 .
Answer: 3 x 2 3x^2 3 x 2 .
Example 22: Derivative from First Principle (Trigonometric)
Question: Find the derivative of f ( x ) = tan x f(x) = \tan x f ( x ) = tan x from the first principle.
Solution:
f ′ ( x ) = lim h → 0 1 h [ sin ( x + h ) cos ( x + h ) − sin x cos x ] = lim h → 0 1 h [ sin ( x + h − x ) cos ( x + h ) cos x ] f'(x) = \lim_{h \to 0} \frac{1}{h} [ \frac{\sin(x+h)}{\cos(x+h)} - \frac{\sin x}{\cos x} ] = \lim_{h \to 0} \frac{1}{h} [ \frac{\sin(x+h-x)}{\cos(x+h)\cos x} ] f ′ ( x ) = lim h → 0 h 1 [ c o s ( x + h ) s i n ( x + h ) − c o s x s i n x ] = lim h → 0 h 1 [ c o s ( x + h ) c o s x s i n ( x + h − x ) ] .
The numerator is sin ( h ) \sin(h) sin ( h ) . So, f ′ ( x ) = lim h → 0 sin ( h ) h ⋅ 1 cos ( x + h ) cos x = 1 ⋅ 1 cos 2 x = sec 2 x f'(x) = \lim_{h \to 0} \frac{\sin(h)}{h} \cdot \frac{1}{\cos(x+h)\cos x} = 1 \cdot \frac{1}{\cos^2 x} = \sec^2 x f ′ ( x ) = lim h → 0 h s i n ( h ) ⋅ c o s ( x + h ) c o s x 1 = 1 ⋅ c o s 2 x 1 = sec 2 x .
Answer: sec 2 x \sec^2 x sec 2 x .
Example 23: Product and Quotient Rules
Question (Product Rule): Find the derivative of f ( x ) = e x tan x f(x) = e^x \tan x f ( x ) = e x tan x .
Solution: f ′ ( x ) = ( e x ) ′ ( tan x ) + ( e x ) ( tan x ) ′ = e x tan x + e x sec 2 x f'(x) = (e^x)'(\tan x) + (e^x)(\tan x)' = e^x\tan x + e^x\sec^2x f ′ ( x ) = ( e x ) ′ ( tan x ) + ( e x ) ( tan x ) ′ = e x tan x + e x sec 2 x .
Question (Quotient Rule): Find the derivative of f ( x ) = sin x x 2 f(x) = \frac{\sin x}{x^2} f ( x ) = x 2 s i n x .
Solution: f ′ ( x ) = ( cos x ) ( x 2 ) − ( sin x ) ( 2 x ) ( x 2 ) 2 = x cos x − 2 sin x x 3 f'(x) = \frac{(\cos x)(x^2) - (\sin x)(2x)}{(x^2)^2} = \frac{x\cos x - 2\sin x}{x^3} f ′ ( x ) = ( x 2 ) 2 ( c o s x ) ( x 2 ) − ( s i n x ) ( 2 x ) = x 3 x c o s x − 2 s i n x .
Example 24: Chain Rule
Question: Find the derivative of y = log ( sin ( x 2 ) ) y = \log(\sin(x^2)) y = log ( sin ( x 2 )) .
Solution:
This requires applying the chain rule multiple times.
d y d x = 1 sin ( x 2 ) ⋅ d d x ( sin ( x 2 ) ) = 1 sin ( x 2 ) ⋅ cos ( x 2 ) ⋅ d d x ( x 2 ) = cot ( x 2 ) ⋅ 2 x = 2 x cot ( x 2 ) \frac{dy}{dx} = \frac{1}{\sin(x^2)} \cdot \frac{d}{dx}(\sin(x^2)) = \frac{1}{\sin(x^2)} \cdot \cos(x^2) \cdot \frac{d}{dx}(x^2) = \cot(x^2) \cdot 2x = 2x\cot(x^2) d x d y = s i n ( x 2 ) 1 ⋅ d x d ( sin ( x 2 )) = s i n ( x 2 ) 1 ⋅ cos ( x 2 ) ⋅ d x d ( x 2 ) = cot ( x 2 ) ⋅ 2 x = 2 x cot ( x 2 ) .
Answer: 2 x cot ( x 2 ) 2x\cot(x^2) 2 x cot ( x 2 ) .
Example 25: Logarithmic Differentiation
Question: Find the derivative of y = x sin x y=x^{\sin x} y = x s i n x .
Solution:
Take logs: ln y = sin x ln x \ln y = \sin x \ln x ln y = sin x ln x . Differentiate implicitly: 1 y d y d x = ( cos x ) ( ln x ) + ( sin x ) ( 1 x ) \frac{1}{y}\frac{dy}{dx} = (\cos x)(\ln x) + (\sin x)(\frac{1}{x}) y 1 d x d y = ( cos x ) ( ln x ) + ( sin x ) ( x 1 ) .
So, d y d x = y [ cos x ln x + sin x x ] = x sin x [ cos x ln x + sin x x ] \frac{dy}{dx} = y[\cos x \ln x + \frac{\sin x}{x}] = x^{\sin x}[\cos x \ln x + \frac{\sin x}{x}] d x d y = y [ cos x ln x + x s i n x ] = x s i n x [ cos x ln x + x s i n x ] .
Answer: x sin x [ cos x ln x + sin x x ] x^{\sin x}[\cos x \ln x + \frac{\sin x}{x}] x s i n x [ cos x ln x + x s i n x ] .
Example 26: Implicit Differentiation
Question: If x 3 + y 3 = 3 a x y x^3+y^3=3axy x 3 + y 3 = 3 a x y , find d y d x \frac{dy}{dx} d x d y .
Solution:
Differentiate each term with respect to x: 3 x 2 + 3 y 2 d y d x = 3 a ( y + x d y d x ) 3x^2 + 3y^2\frac{dy}{dx} = 3a(y + x\frac{dy}{dx}) 3 x 2 + 3 y 2 d x d y = 3 a ( y + x d x d y ) .
Rearranging the terms: ( 3 y 2 − 3 a x ) d y d x = 3 a y − 3 x 2 (3y^2 - 3ax)\frac{dy}{dx} = 3ay - 3x^2 ( 3 y 2 − 3 a x ) d x d y = 3 a y − 3 x 2 .
Solving for d y d x \frac{dy}{dx} d x d y gives d y d x = 3 a y − 3 x 2 3 y 2 − 3 a x = a y − x 2 y 2 − a x \frac{dy}{dx} = \frac{3ay-3x^2}{3y^2-3ax} = \frac{ay-x^2}{y^2-ax} d x d y = 3 y 2 − 3 a x 3 a y − 3 x 2 = y 2 − a x a y − x 2 .
Answer: a y − x 2 y 2 − a x \frac{ay-x^2}{y^2-ax} y 2 − a x a y − x 2 .
Example 27: Parametric Differentiation
Question: If x = a ( t − sin t ) x = a(t-\sin t) x = a ( t − sin t ) and y = a ( 1 − cos t ) y = a(1-\cos t) y = a ( 1 − cos t ) , find d y d x \frac{dy}{dx} d x d y .
Solution:
d x d t = a ( 1 − cos t ) \frac{dx}{dt} = a(1-\cos t) d t d x = a ( 1 − cos t ) and d y d t = a ( sin t ) \frac{dy}{dt} = a(\sin t) d t d y = a ( sin t ) .
Then d y d x = d y / d t d x / d t = a sin t a ( 1 − cos t ) = 2 sin ( t / 2 ) cos ( t / 2 ) 2 sin 2 ( t / 2 ) = cot ( t / 2 ) \frac{dy}{dx} = \frac{dy/dt}{dx/dt} = \frac{a\sin t}{a(1-\cos t)} = \frac{2\sin(t/2)\cos(t/2)}{2\sin^2(t/2)} = \cot(t/2) d x d y = d x / d t d y / d t = a ( 1 − c o s t ) a s i n t = 2 s i n 2 ( t /2 ) 2 s i n ( t /2 ) c o s ( t /2 ) = cot ( t /2 ) .
Answer: cot ( t / 2 ) \cot(t/2) cot ( t /2 ) .
Example 28: Derivative of Inverse Trigonometric Functions
Question: Find the derivative of y = tan − 1 ( 2 x 1 − x 2 ) y = \tan^{-1}(\frac{2x}{1-x^2}) y = tan − 1 ( 1 − x 2 2 x ) .
Solution:
Use the substitution x = tan θ x=\tan\theta x = tan θ . The expression becomes y = tan − 1 ( 2 tan θ 1 − tan 2 θ ) = tan − 1 ( tan ( 2 θ ) ) = 2 θ = 2 tan − 1 x y = \tan^{-1}(\frac{2\tan\theta}{1-\tan^2\theta}) = \tan^{-1}(\tan(2\theta)) = 2\theta = 2\tan^{-1}x y = tan − 1 ( 1 − t a n 2 θ 2 t a n θ ) = tan − 1 ( tan ( 2 θ )) = 2 θ = 2 tan − 1 x . Now, d y d x = 2 1 + x 2 \frac{dy}{dx} = \frac{2}{1+x^2} d x d y = 1 + x 2 2 .
Answer: 2 1 + x 2 \frac{2}{1+x^2} 1 + x 2 2 .
Example 29: Derivative as a function of another derivative
Question: Find the derivative of sin − 1 ( 2 x 1 − x 2 ) \sin^{-1}(2x\sqrt{1-x^2}) sin − 1 ( 2 x 1 − x 2 ) with respect to cos − 1 ( 2 x 2 − 1 ) \cos^{-1}(2x^2-1) cos − 1 ( 2 x 2 − 1 ) .
Solution:
Let u = sin − 1 ( 2 x 1 − x 2 ) u = \sin^{-1}(2x\sqrt{1-x^2}) u = sin − 1 ( 2 x 1 − x 2 ) and v = cos − 1 ( 2 x 2 − 1 ) v = \cos^{-1}(2x^2-1) v = cos − 1 ( 2 x 2 − 1 ) . We need to find d u d v \frac{du}{dv} d v d u .
Let x = sin θ x=\sin\theta x = sin θ . Then u = sin − 1 ( sin 2 θ ) = 2 θ = 2 sin − 1 x u = \sin^{-1}(\sin 2\theta) = 2\theta = 2\sin^{-1}x u = sin − 1 ( sin 2 θ ) = 2 θ = 2 sin − 1 x .
Let x = cos ϕ x=\cos\phi x = cos ϕ . Then v = cos − 1 ( cos 2 ϕ ) = 2 ϕ = 2 cos − 1 x v = \cos^{-1}(\cos 2\phi) = 2\phi = 2\cos^{-1}x v = cos − 1 ( cos 2 ϕ ) = 2 ϕ = 2 cos − 1 x .
We need d ( 2 sin − 1 x ) d ( 2 cos − 1 x ) = d ( sin − 1 x ) d ( cos − 1 x ) = 1 / 1 − x 2 − 1 / 1 − x 2 = − 1 \frac{d(2\sin^{-1}x)}{d(2\cos^{-1}x)} = \frac{d(\sin^{-1}x)}{d(\cos^{-1}x)} = \frac{1/\sqrt{1-x^2}}{-1/\sqrt{1-x^2}} = -1 d ( 2 c o s − 1 x ) d ( 2 s i n − 1 x ) = d ( c o s − 1 x ) d ( s i n − 1 x ) = − 1/ 1 − x 2 1/ 1 − x 2 = − 1 .
Answer: -1.
Example 30: Implicit differentiation and substitution
Question: If x 1 + y + y 1 + x = 0 x\sqrt{1+y} + y\sqrt{1+x} = 0 x 1 + y + y 1 + x = 0 for x \n e q y x \n
eq y x \n e q y , find d y d x \frac{dy}{dx} d x d y .
Solution:
Rearrange and square: x 2 ( 1 + y ) = y 2 ( 1 + x ) x^2(1+y) = y^2(1+x) x 2 ( 1 + y ) = y 2 ( 1 + x ) .
x 2 − y 2 = y 2 x − x 2 y ⟹ ( x − y ) ( x + y ) = − x y ( x − y ) x^2-y^2 = y^2x - x^2y \implies (x-y)(x+y) = -xy(x-y) x 2 − y 2 = y 2 x − x 2 y ⟹ ( x − y ) ( x + y ) = − x y ( x − y ) .
Since x \n e q y x \n
eq y x \n e q y , we have x + y = − x y ⟹ x + y + x y = 0 x+y = -xy \implies x+y+xy=0 x + y = − x y ⟹ x + y + x y = 0 .
Differentiating implicitly: 1 + y ′ + y + x y ′ = 0 ⟹ y ′ ( 1 + x ) = − ( 1 + y ) 1 + y' + y + xy' = 0 \implies y'(1+x) = -(1+y) 1 + y ′ + y + x y ′ = 0 ⟹ y ′ ( 1 + x ) = − ( 1 + y ) .
This gives y ′ = − 1 + y 1 + x y' = -\frac{1+y}{1+x} y ′ = − 1 + x 1 + y . From y ( 1 + x ) = − x y(1+x)=-x y ( 1 + x ) = − x , we get y = − x / ( 1 + x ) y = -x/(1+x) y = − x / ( 1 + x ) . Substituting this in gives y ′ = − 1 ( 1 + x ) 2 y' = -\frac{1}{(1+x)^2} y ′ = − ( 1 + x ) 2 1 .
Answer: − 1 ( 1 + x ) 2 -\frac{1}{(1+x)^2} − ( 1 + x ) 2 1 .
Part 5: Applications of Derivatives & Mean Value Theorems Example 31: Second Derivative
Question: If y = e x sin x y=e^x \sin x y = e x sin x , find d 2 y d x 2 \frac{d^2y}{dx^2} d x 2 d 2 y .
Solution:
First derivative: d y d x = e x sin x + e x cos x = e x ( sin x + cos x ) \frac{dy}{dx} = e^x\sin x + e^x\cos x = e^x(\sin x + \cos x) d x d y = e x sin x + e x cos x = e x ( sin x + cos x ) .
Second derivative: d 2 y d x 2 = e x ( sin x + cos x ) + e x ( cos x − sin x ) = 2 e x cos x \frac{d^2y}{dx^2} = e^x(\sin x + \cos x) + e^x(\cos x - \sin x) = 2e^x\cos x d x 2 d 2 y = e x ( sin x + cos x ) + e x ( cos x − sin x ) = 2 e x cos x .
Answer: 2 e x cos x 2e^x\cos x 2 e x cos x .
Example 32: Rolle's Theorem
Question: Verify Rolle's Theorem for the function f ( x ) = x 2 − 4 x + 3 f(x)=x^2-4x+3 f ( x ) = x 2 − 4 x + 3 on the interval [1,3].
Solution:
f ( x ) f(x) f ( x ) is a polynomial, so it's continuous on [1,3] and differentiable on (1,3).
f ( 1 ) = 0 f(1) = 0 f ( 1 ) = 0 and f ( 3 ) = 0 f(3)=0 f ( 3 ) = 0 . So, f ( 1 ) = f ( 3 ) f(1)=f(3) f ( 1 ) = f ( 3 ) .
All conditions are met. We find c such that f ′ ( c ) = 0 f'(c)=0 f ′ ( c ) = 0 . f ′ ( x ) = 2 x − 4 f'(x)=2x-4 f ′ ( x ) = 2 x − 4 . Setting f ′ ( c ) = 0 f'(c)=0 f ′ ( c ) = 0 gives 2 c − 4 = 0 ⟹ c = 2 2c-4=0 \implies c=2 2 c − 4 = 0 ⟹ c = 2 . Since c = 2 c=2 c = 2 is in (1,3), Rolle's Theorem is verified.
Answer: Verified, c=2.
Example 33: Lagrange's Mean Value Theorem
Question: Verify LMVT for f ( x ) = x 2 f(x)=x^2 f ( x ) = x 2 in the interval [2,4].
Solution:
f ( x ) f(x) f ( x ) is continuous and differentiable. We need c in (2,4) such that f ′ ( c ) = f ( 4 ) − f ( 2 ) 4 − 2 f'(c) = \frac{f(4)-f(2)}{4-2} f ′ ( c ) = 4 − 2 f ( 4 ) − f ( 2 ) .
f ′ ( x ) = 2 x f'(x)=2x f ′ ( x ) = 2 x , so f ′ ( c ) = 2 c f'(c)=2c f ′ ( c ) = 2 c . The slope of the secant is 16 − 4 2 = 6 \frac{16-4}{2}=6 2 16 − 4 = 6 . So, 2 c = 6 ⟹ c = 3 2c=6 \implies c=3 2 c = 6 ⟹ c = 3 . Since c = 3 c=3 c = 3 is in (2,4), LMVT is verified.
Answer: Verified, c=3.
Example 34: Second Parametric Derivative
Question: If x = a ( θ − sin θ ) x=a(\theta - \sin\theta) x = a ( θ − sin θ ) and y = a ( 1 − cos θ ) y=a(1-\cos\theta) y = a ( 1 − cos θ ) , find d 2 y d x 2 \frac{d^2y}{dx^2} d x 2 d 2 y at θ = π / 2 \theta=\pi/2 θ = π /2 .
Solution:
First, d y d x = d y / d θ d x / d θ = a sin θ a ( 1 − cos θ ) = cot ( θ / 2 ) \frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta} = \frac{a\sin\theta}{a(1-\cos\theta)} = \cot(\theta/2) d x d y = d x / d θ d y / d θ = a ( 1 − c o s θ ) a s i n θ = cot ( θ /2 ) .
Now, d 2 y d x 2 = d d θ ( cot ( θ / 2 ) ) ⋅ d θ d x = [ − csc 2 ( θ / 2 ) ⋅ 1 2 ] ⋅ [ 1 a ( 1 − cos θ ) ] \frac{d^2y}{dx^2} = \frac{d}{d\theta}(\cot(\theta/2)) \cdot \frac{d\theta}{dx} = [-\csc^2(\theta/2) \cdot \frac{1}{2}] \cdot [\frac{1}{a(1-\cos\theta)}] d x 2 d 2 y = d θ d ( cot ( θ /2 )) ⋅ d x d θ = [ − csc 2 ( θ /2 ) ⋅ 2 1 ] ⋅ [ a ( 1 − c o s θ ) 1 ] .
At θ = π / 2 \theta=\pi/2 θ = π /2 : d 2 y d x 2 = [ − csc 2 ( π / 4 ) ⋅ 1 2 ] ⋅ [ 1 a ( 1 − 0 ) ] = [ − 2 ⋅ 1 2 ] ⋅ 1 a = − 1 a \frac{d^2y}{dx^2} = [-\csc^2(\pi/4) \cdot \frac{1}{2}] \cdot [\frac{1}{a(1-0)}] = [-2 \cdot \frac{1}{2}] \cdot \frac{1}{a} = -\frac{1}{a} d x 2 d 2 y = [ − csc 2 ( π /4 ) ⋅ 2 1 ] ⋅ [ a ( 1 − 0 ) 1 ] = [ − 2 ⋅ 2 1 ] ⋅ a 1 = − a 1 .
Answer: -1/a.
Example 35: Functional Equations
Question: If f ( x + y ) = f ( x ) f ( y ) f(x+y)=f(x)f(y) f ( x + y ) = f ( x ) f ( y ) , and f ( x ) f(x) f ( x ) is differentiable with f ( 0 ) = 1 , f ′ ( 0 ) = 2 f(0)=1, f'(0)=2 f ( 0 ) = 1 , f ′ ( 0 ) = 2 , find f ′ ( x ) f'(x) f ′ ( x ) .
Solution:
From first principles, f ′ ( x ) = lim h → 0 f ( x + h ) − f ( x ) h = lim h → 0 f ( x ) f ( h ) − f ( x ) h f'(x) = \lim_{h \to 0} \frac{f(x+h)-f(x)}{h} = \lim_{h \to 0} \frac{f(x)f(h)-f(x)}{h} f ′ ( x ) = lim h → 0 h f ( x + h ) − f ( x ) = lim h → 0 h f ( x ) f ( h ) − f ( x ) .
f ′ ( x ) = f ( x ) lim h → 0 f ( h ) − 1 h = f ( x ) lim h → 0 f ( h ) − f ( 0 ) h − 0 f'(x) = f(x) \lim_{h \to 0} \frac{f(h)-1}{h} = f(x) \lim_{h \to 0} \frac{f(h)-f(0)}{h-0} f ′ ( x ) = f ( x ) lim h → 0 h f ( h ) − 1 = f ( x ) lim h → 0 h − 0 f ( h ) − f ( 0 ) .
The limit is the definition of f ′ ( 0 ) f'(0) f ′ ( 0 ) , which is given as 2.
Therefore, f ′ ( x ) = f ( x ) ⋅ 2 = 2 f ( x ) f'(x) = f(x) \cdot 2 = 2f(x) f ′ ( x ) = f ( x ) ⋅ 2 = 2 f ( x ) .
Answer: 2 f ( x ) 2f(x) 2 f ( x ) .