Chapter 12: Limits and Derivatives Calculus is the key to applying mathematics to explain the course of Nature. - WHITEHEAD 12.1 Introduction Cal

Chapter 12: Limits and Derivatives 1

Calculus is the key to applying mathematics to explain the course of Nature. - WHITEHEAD

12.1 Introduction 1

Calculus is the branch of mathematics that studies how function values change as their domain points change. This chapter introduces:

  • An intuitive idea of the derivative.

  • A basic definition of limits and their algebraic properties.

  • The formal definition of the derivative and its algebraic properties.

  • Derivatives of standard functions.

12.2 Intuitive Idea of Derivatives 1-4

This section explores the concept of instantaneous rate of change using the example of a falling body.

Falling Body Example:A body dropped from a tall cliff covers a distance s=4.9t2s = 4.9 t^2 meters in tt seconds. To find the velocity at t=2t=2 seconds, we calculate the average velocity over progressively smaller time intervals ending at t=2t=2.

Average Velocity Calculation:Average velocity between t1t_1 and t2t_2 is Distance traveledTime interval=s(t2)s(t1)t2t1\frac{\text{Distance traveled}}{\text{Time interval}} = \frac{s(t_2) - s(t_1)}{t_2 - t_1}.

  • Average velocity between t=0t=0 and t=2t=2 seconds:(4.9(2)24.9(0)2) m(20) s=19.62=9.8 m/s\frac{(4.9(2)^2 - 4.9(0)^2) \text{ m}}{(2-0) \text{ s}} = \frac{19.6}{2} = 9.8 \text{ m/s}

  • Average velocity between t=1t=1 and t=2t=2 seconds:(4.9(2)24.9(1)2) m(21) s=19.64.91=14.7 m/s\frac{(4.9(2)^2 - 4.9(1)^2) \text{ m}}{(2-1) \text{ s}} = \frac{19.6 - 4.9}{1} = 14.7 \text{ m/s}

Table 12.1: Distance traveled at various times. 2

tt (s)

ss (m)

0

0

1

4.9

1.5

11.025

1.8

15.876

1.9

17.689

1.95

18.63225

2

19.6

2.05

20.59225

2.1

21.609

2.2

23.716

2.5

30.625

3

44.1

4

78.4

Table 12.2: Average velocity between t1t_1 and t=2t=2 seconds. 2

t1t_1

0

1

1.5

1.8

1.9

1.95

1.99

vv (m/s)

9.8

14.7

17.15

18.62

19.11

19.355

19.551

Table 12.3: Average velocity between t=2t=2 seconds and t2t_2 seconds. 3

t2t_2

4

3

2.5

2.2

2.1

2.05

2.01

vv (m/s)

29.4

24.5

22.05

20.58

20.09

19.845

19.649

Observation: As the time interval shrinks, the average velocity approaches a specific value. This value represents the instantaneous velocity at t=2t=2 seconds, which is between 19.551 m/s19.551 \text{ m/s} and 19.649 m/s19.649 \text{ m/s}. This instantaneous velocity is the derivative of the distance function at t=2t=2.

Graphical Interpretation:

The derivative at a point is the slope of the tangent line to the curve at that point.

Graph showing parabolic distance function s=4.9t² with secant lines illustrating average velocity approaching instantaneous velocity as time intervals decrease.

Fig 12.1: Distance ss vs. Time tt showing secant line slopes approaching tangent slope. 4

12.3 Limits 4-12

The limiting process is crucial for understanding derivatives. A limit describes the value a function approaches as its input approaches a certain value.

  • Definition: If a function f(x)f(x) approaches ll as xx approaches aa, then ll is the limit of f(x)f(x) as xx tends to aa. Symbolically: limxaf(x)=l\lim _{x \rightarrow a} f(x)=l.

  • The limit is concerned with the behavior of the function near a point, not necessarily at the point itself.

Illustrative Examples:

  • limx0x2=0\lim _{x \rightarrow 0} x^2 = 0 (as xx gets close to 0, x2x^2 gets close to 0). 4

  • For g(x)=xg(x)=|x| where x0x \neq 0, limx0g(x)=0\lim _{x \rightarrow 0} g(x)=0. 4

  • For h(x)=x24x2h(x)=\frac{x^2-4}{x-2} where x2x \neq 2, as xx approaches 2, h(x)h(x) approaches 4. limx2h(x)=4\lim _{x \rightarrow 2} h(x)=4. 4

Left-Hand and Right-Hand Limits 5

There are two ways xx can approach aa: from the left (values less than aa) or from the right (values greater than aa).

  • Left-hand limit: The value f(x)f(x) approaches as xx approaches aa from the left. Denoted as limxaf(x)\lim _{x \rightarrow a^{-}} f(x).

  • Right-hand limit: The value f(x)f(x) approaches as xx approaches aa from the right. Denoted as limxa+f(x)\lim _{x \rightarrow a^{+}} f(x).

Condition for Limit Existence:The limit limxaf(x)\lim _{x \rightarrow a} f(x) exists if and only if the left-hand limit and the right-hand limit exist and are equal: limxaf(x)=limxa+f(x)\lim _{x \rightarrow a^{-}} f(x)=\lim _{x \rightarrow a^{+}} f(x) If they are equal, then limxaf(x)\lim _{x \rightarrow a} f(x) is this common value.

Example of Non-Existent Limit:Consider the function: f(x)={1,amp;x02,amp;xgt;0f(x)= \begin{cases} 1, & x \leq 0 \\ 2, & x>0 \end{cases}

  • Left-hand limit at x=0x=0: limx0f(x)=1\lim _{x \rightarrow 0^{-}} f(x)=1

  • Right-hand limit at x=0x=0: limx0+f(x)=2\lim _{x \rightarrow 0^{+}} f(x)=2 Since 121 \neq 2, limx0f(x)\lim _{x \rightarrow 0} f(x) does not exist. 5

A piecewise function with different left and right limits at x equals zero, demonstrating discontinuity. This illustrates how left-hand and right-hand limits can differ at a point.

Fig 12.3: Graph of a piecewise function showing differing left and right limits at x=0x=0. 5

Illustrative Examples:

  • Illustration 1: For f(x)=x+10f(x)=x+10, limx5f(x)=15\lim _{x \rightarrow 5^{-}} f(x)=15 and limx5+f(x)=15\lim _{x \rightarrow 5^{+}} f(x)=15. Thus, limx5f(x)=15\lim _{x \rightarrow 5} f(x)=15. 6

  • Illustration 2: For f(x)=x3f(x)=x^3, limx1f(x)=1\lim _{x \rightarrow 1^{-}} f(x)=1 and limx1+f(x)=1\lim _{x \rightarrow 1^{+}} f(x)=1. Thus, limx1f(x)=1\lim _{x \rightarrow 1} f(x)=1. 7

  • Illustration 3: For f(x)=3xf(x)=3x, limx2f(x)=6\lim _{x \rightarrow 2^{-}} f(x)=6 and limx2+f(x)=6\lim _{x \rightarrow 2^{+}} f(x)=6. Thus, limx2f(x)=6\lim _{x \rightarrow 2} f(x)=6. 7

  • Illustration 4: For f(x)=3f(x)=3 (constant function), limx2f(x)=3\lim _{x \rightarrow 2} f(x)=3. 8

  • Illustration 5: For f(x)=x2+xf(x)=x^2+x, limx1f(x)=2\lim _{x \rightarrow 1^{-}} f(x)=2 and limx1+f(x)=2\lim _{x \rightarrow 1^{+}} f(x)=2. Thus, limx1f(x)=2\lim _{x \rightarrow 1} f(x)=2. 8

  • Illustration 6: For f(x)=sinxf(x)=\sin x, limxπ2sinx=1\lim _{x \rightarrow \frac{\pi}{2}} \sin x=1. 9

  • Illustration 7: For f(x)=x+cosxf(x)=x+\cos x, limx0f(x)=1\lim _{x \rightarrow 0} f(x)=1. 9

  • Illustration 8: For f(x)=1x2f(x)=\frac{1}{x^2} where x>0, as x0x \rightarrow 0, f(x)f(x) becomes arbitrarily large. We write limx0f(x)=+\lim _{x \rightarrow 0} f(x)=+\infty. 10

  • Illustration 9: For f(x)={x2,amp;xlt;00,amp;x=0x+2,amp;xgt;0f(x)=\begin{cases} x-2, & x<0 \\ 0, & x=0 \\ x+2, & x>0 \end{cases}, limx0f(x)=2\lim _{x \rightarrow 0^{-}} f(x)=-2 and limx0+f(x)=2\lim _{x \rightarrow 0^{+}} f(x)=2. The limit does not exist. 10

  • Illustration 10: For f(x)={x+2,amp;x10,amp;x=1f(x)=\begin{cases} x+2, & x \neq 1 \\ 0, & x=1 \end{cases}, limx1f(x)=3\lim _{x \rightarrow 1^{-}} f(x)=3 and limx1+f(x)=3\lim _{x \rightarrow 1^{+}} f(x)=3. Thus, limx1f(x)=3\lim _{x \rightarrow 1} f(x)=3. Note that limx1f(x)f(1)\lim _{x \rightarrow 1} f(x) \neq f(1). 11

12.3.1 Algebra of Limits 12-17

If limxaf(x)\lim _{x \rightarrow a} f(x) and limxag(x)\lim _{x \rightarrow a} g(x) exist, then:

  • Sum Rule: limxa[f(x)+g(x)]=limxaf(x)+limxag(x)\lim _{x \rightarrow a}[f(x)+g(x)]=\lim _{x \rightarrow a} f(x)+\lim _{x \rightarrow a} g(x)

  • Difference Rule: limxa[f(x)g(x)]=limxaf(x)limxag(x)\lim _{x \rightarrow a}[f(x)-g(x)]=\lim _{x \rightarrow a} f(x)-\lim _{x \rightarrow a} g(x)

  • Product Rule: limxa[f(x)g(x)]=limxaf(x)limxag(x)\lim _{x \rightarrow a}[f(x) \cdot g(x)]=\lim _{x \rightarrow a} f(x) \cdot \lim _{x \rightarrow a} g(x)

  • Quotient Rule: limxaf(x)g(x)=limxaf(x)limxag(x)\lim _{x \rightarrow a} \frac{f(x)}{g(x)}=\frac{\lim _{x \rightarrow a} f(x)}{\lim _{x \rightarrow a} g(x)} (provided limxag(x)0\lim _{x \rightarrow a} g(x) \neq 0)

  • Constant Multiple Rule: limxa[λf(x)]=λlimxaf(x)\lim _{x \rightarrow a}[\lambda \cdot f(x)]=\lambda \cdot \lim _{x \rightarrow a} f(x)

12.3.2 Limits of Polynomial and Rational Functions 12-16
  • Polynomial Function: f(x)=a0+a1x+a2x2++anxnf(x) = a_0 + a_1 x + a_2 x^2 + \dots + a_n x^n. For a polynomial function, limxaf(x)=f(a)\lim _{x \rightarrow a} f(x) = f(a). This is because: limxaxn=an\lim _{x \rightarrow a} x^n = a^n and the limit rules for sums and constant multiples.

  • Rational Function: f(x)=g(x)h(x)f(x) = \frac{g(x)}{h(x)}, where g(x)g(x) and h(x)h(x) are polynomials and h(x)0h(x) \neq 0.

    • If h(a)0h(a) \neq 0, then limxaf(x)=g(a)h(a)\lim _{x \rightarrow a} f(x) = \frac{g(a)}{h(a)}.

    • If h(a)=0h(a) = 0 and g(a)0g(a) \neq 0, the limit does not exist (or tends to ±\pm \infty).

    • If h(a)=0h(a) = 0 and g(a)=0g(a) = 0, the limit is of the indeterminate form 00\frac{0}{0}. Algebraic manipulation (factoring and canceling) is often needed.

Example 1: Find the limits: 14

  • (i) limx1[x3x2+1]=1312+1=1\lim _{x \rightarrow 1}\left[x^{3}-x^{2}+1\right] = 1^3 - 1^2 + 1 = 1

  • (ii) limx3[x(x+1)]=3(3+1)=12\lim _{x \rightarrow 3}[x(x+1)] = 3(3+1) = 12

  • (iii) limx1[1+x+x2++x10]=11+11++1=1\lim _{x \rightarrow-1}\left[1+x+x^{2}+\ldots+x^{10}\right] = 1-1+1-1+\dots+1 = 1

Example 2: Find the limits: 14-16

  • (i) limx1[x2+1x+100]=12+11+100=2101\lim _{x \rightarrow 1}\left[\frac{x^{2}+1}{x+100}\right]=\frac{1^2+1}{1+100}=\frac{2}{101}

  • (ii) limx2[x34x2+4xx24]\lim _{x \rightarrow 2}\left[\frac{x^{3}-4 x^{2}+4 x}{x^{2}-4}\right] This is of the form 00\frac{0}{0}. Factorizing: limx2x(x2)2(x+2)(x2)=limx2x(x2)(x+2)=2(0)4=0\lim _{x \rightarrow 2} \frac{x(x-2)^2}{(x+2)(x-2)} = \lim _{x \rightarrow 2} \frac{x(x-2)}{(x+2)} = \frac{2(0)}{4} = 0

  • (iii) limx2[x24x34x2+4x]\lim _{x \rightarrow 2}\left[\frac{x^{2}-4}{x^{3}-4 x^{2}+4 x}\right] This is of the form 00\frac{0}{0}. Factorizing: limx2(x2)(x+2)x(x2)2=limx2x+2x(x2)=40\lim _{x \rightarrow 2} \frac{(x-2)(x+2)}{x(x-2)^2} = \lim _{x \rightarrow 2} \frac{x+2}{x(x-2)} = \frac{4}{0} The limit does not exist.

  • (iv) limx2[x32x2x25x+6]\lim _{x \rightarrow 2}\left[\frac{x^{3}-2 x^{2}}{x^{2}-5 x+6}\right] This is of the form 00\frac{0}{0}. Factorizing: limx2x2(x2)(x2)(x3)=limx2x2x3=2223=41=4\lim _{x \rightarrow 2} \frac{x^2(x-2)}{(x-2)(x-3)} = \lim _{x \rightarrow 2} \frac{x^2}{x-3} = \frac{2^2}{2-3} = \frac{4}{-1} = -4

  • (v) limx1[x2x2x1x33x2+2x]\lim _{x \rightarrow 1}\left[\frac{x-2}{x^{2}-x}-\frac{1}{x^{3}-3 x^{2}+2 x}\right] Combine fractions: x24x+3x(x1)(x2)\frac{x^{2}-4 x+3}{x(x-1)(x-2)} This is of the form 00\frac{0}{0} at x=1x=1. limx1(x1)(x3)x(x1)(x2)=limx1x3x(x2)=131(12)=21=2\lim _{x \rightarrow 1} \frac{(x-1)(x-3)}{x(x-1)(x-2)} = \lim _{x \rightarrow 1} \frac{x-3}{x(x-2)} = \frac{1-3}{1(1-2)} = \frac{-2}{-1} = 2

Important Limit Theorem: For a positive integer nn: limxaxnanxa=nan1\lim _{x \rightarrow a} \frac{x^n - a^n}{x-a} = n a^{n-1} This holds even if nn is any rational number and a>0. 16

Example 3: Evaluate: 17

  • (i) limx1x151x101\lim _{x \rightarrow 1} \frac{x^{15}-1}{x^{10}-1} limx1x151x1x101x1=15(1)1410(1)9=1510=32\lim _{x \rightarrow 1} \frac{\frac{x^{15}-1}{x-1}}{\frac{x^{10}-1}{x-1}} = \frac{15(1)^{14}}{10(1)^9} = \frac{15}{10} = \frac{3}{2}

  • (ii) limx01+x1x\lim _{x \rightarrow 0} \frac{\sqrt{1+x}-1}{x} Let y=1+xy=1+x. As x0x \rightarrow 0, y1y \rightarrow 1. limy1y1/211/2y1=12(1)1/21=12\lim _{y \rightarrow 1} \frac{y^{1/2}-1^{1/2}}{y-1} = \frac{1}{2}(1)^{1/2-1} = \frac{1}{2}

12.4 Limits of Trigonometric Functions 18-21

Comparison Theorem: If f(x)g(x)f(x) \leq g(x) for all xx near aa, and limxaf(x)\lim _{x \rightarrow a} f(x) and limxag(x)\lim _{x \rightarrow a} g(x) exist, then limxaf(x)limxag(x)\lim _{x \rightarrow a} f(x) \leq \lim _{x \rightarrow a} g(x). 18

Sandwich Theorem (Squeeze Theorem): If f(x)g(x)h(x)f(x) \leq g(x) \leq h(x) for all xx near aa, and limxaf(x)=l=limxah(x)\lim _{x \rightarrow a} f(x) = l = \lim _{x \rightarrow a} h(x), then limxag(x)=l\lim _{x \rightarrow a} g(x) = l. 18

Key Inequality: For 0 < |x| < \frac{\pi}{2}: \cos x < \frac{\sin x}{x} < 1 This inequality is proven geometrically using areas of triangles and sectors in a unit circle. 19

Important Trigonometric Limits:

  • (i) limx0sinxx=1\lim _{x \rightarrow 0} \frac{\sin x}{x}=1

  • (ii) limx01cosxx=0\lim _{x \rightarrow 0} \frac{1-\cos x}{x}=0

Proof of (i): Follows directly from the Sandwich Theorem, using the inequality \cos x < \frac{\sin x}{x} < 1 and knowing limx0cosx=1\lim _{x \rightarrow 0} \cos x = 1. 20Proof of (ii): Using the identity 1cosx=2sin2(x2)1-\cos x = 2 \sin^2(\frac{x}{2}): limx02sin2(x2)x=limx0sin(x2)x2sin(x2)=10=0\lim _{x \rightarrow 0} \frac{2 \sin^2(\frac{x}{2})}{x} = \lim _{x \rightarrow 0} \frac{\sin(\frac{x}{2})}{\frac{x}{2}} \cdot \sin(\frac{x}{2}) = 1 \cdot 0 = 0

Example 4: Evaluate: 20

  • (i) limx0sin4xsin2x\lim _{x \rightarrow 0} \frac{\sin 4 x}{\sin 2 x} limx0(sin4x4x2xsin2x2)=112=2\lim _{x \rightarrow 0} \left( \frac{\sin 4x}{4x} \cdot \frac{2x}{\sin 2x} \cdot 2 \right) = 1 \cdot 1 \cdot 2 = 2

  • (ii) limx0tanxx\lim _{x \rightarrow 0} \frac{\tan x}{x} limx0sinxxcosx=limx0sinxxlimx01cosx=11=1\lim _{x \rightarrow 0} \frac{\sin x}{x \cos x} = \lim _{x \rightarrow 0} \frac{\sin x}{x} \cdot \lim _{x \rightarrow 0} \frac{1}{\cos x} = 1 \cdot 1 = 1

General Strategy for Limits of the form f(x)g(x)\frac{f(x)}{g(x)}:

  1. Evaluate f(a)f(a) and g(a)g(a).

  2. If both are 0, try to factor out the term causing the zero (e.g., (xa)(x-a)).

  3. Rewrite the expression as p(x)q(x)\frac{p(x)}{q(x)} where q(x)0q(x) \neq 0.

  4. Evaluate p(a)q(a)\frac{p(a)}{q(a)}.

Exercise 12.1 21-23

Evaluate the following limits:

  1. limx3(x+3)=6\lim _{x \rightarrow 3} (x+3) = 6

  2. limxπ(x227)=π227\lim _{x \rightarrow \pi}\left(x-\frac{22}{7}\right) = \pi - \frac{22}{7}

  3. limr1πr2=π(1)2=π\lim _{r \rightarrow 1} \pi r^{2} = \pi (1)^2 = \pi

  4. limx44x+3x2=4(4)+342=192\lim _{x \rightarrow 4} \frac{4 x+3}{x-2} = \frac{4(4)+3}{4-2} = \frac{19}{2}

  5. limx1x10+x5+1x1=(1)10+(1)5+111=11+12=12\lim _{x \rightarrow-1} \frac{x^{10}+x^{5}+1}{x-1} = \frac{(-1)^{10}+(-1)^{5}+1}{-1-1} = \frac{1-1+1}{-2} = -\frac{1}{2}

  6. limx0(x+1)51x=5(1)4=5\lim _{x \rightarrow 0} \frac{(x+1)^{5}-1}{x} = 5(1)^{4} = 5 (Using Theorem: limxaxnanxa=nan1\lim _{x \rightarrow a} \frac{x^n - a^n}{x-a}=n a^{n-1})

  7. limx23x2x10x24\lim _{x \rightarrow 2} \frac{3 x^{2}-x-10}{x^{2}-4} (Form 00\frac{0}{0}) limx2(3x+5)(x2)(x2)(x+2)=limx23x+5x+2=3(2)+52+2=114\lim _{x \rightarrow 2} \frac{(3x+5)(x-2)}{(x-2)(x+2)} = \lim _{x \rightarrow 2} \frac{3x+5}{x+2} = \frac{3(2)+5}{2+2} = \frac{11}{4}

  8. limx3x4812x25x3\lim _{x \rightarrow 3} \frac{x^{4}-81}{2 x^{2}-5 x-3} (Form 00\frac{0}{0}) limx3(x3)(x+3)(x2+9)(2x+1)(x3)=limx3(x+3)(x2+9)2x+1=(3+3)(32+9)2(3)+1=6187=1087\lim _{x \rightarrow 3} \frac{(x-3)(x+3)(x^2+9)}{(2x+1)(x-3)} = \lim _{x \rightarrow 3} \frac{(x+3)(x^2+9)}{2x+1} = \frac{(3+3)(3^2+9)}{2(3)+1} = \frac{6 \cdot 18}{7} = \frac{108}{7}

  9. limx0ax+bcx+1=a(0)+bc(0)+1=b\lim _{x \rightarrow 0} \frac{a x+b}{c x+1} = \frac{a(0)+b}{c(0)+1} = b

  10. limz1z131z61\lim _{z \rightarrow 1} \frac{z^{\frac{1}{3}}-1}{z^{6}-1} (Form 00\frac{0}{0}) limz1z1/31z1z61z1=13(1)1/316(1)61=1/36=118\lim _{z \rightarrow 1} \frac{\frac{z^{1/3}-1}{z-1}}{\frac{z^6-1}{z-1}} = \frac{\frac{1}{3}(1)^{1/3-1}}{6(1)^{6-1}} = \frac{1/3}{6} = \frac{1}{18}

  11. limx1ax2+bx+ccx2+bx+a=a(1)2+b(1)+cc(1)2+b(1)+a=a+b+ca+b+c=1\lim _{x \rightarrow 1} \frac{a x^{2}+b x+c}{c x^{2}+b x+a} = \frac{a(1)^2+b(1)+c}{c(1)^2+b(1)+a} = \frac{a+b+c}{a+b+c} = 1 (since a+b+c0a+b+c \neq 0)

  12. limx21x+12x+2\lim _{x \rightarrow-2} \frac{\frac{1}{x}+\frac{1}{2}}{x+2} (Form 00\frac{0}{0}) limx22+x2xx+2=limx212x=12(2)=14\lim _{x \rightarrow-2} \frac{\frac{2+x}{2x}}{x+2} = \lim _{x \rightarrow-2} \frac{1}{2x} = \frac{1}{2(-2)} = -\frac{1}{4}

  13. limx0sinaxbx=limx0sinaxaxab=1ab=ab\lim _{x \rightarrow 0} \frac{\sin a x}{b x} = \lim _{x \rightarrow 0} \frac{\sin a x}{a x} \cdot \frac{a}{b} = 1 \cdot \frac{a}{b} = \frac{a}{b}

  14. limx0sinaxsinbx=limx0sinaxaxsinbxbxab=11ab=ab\lim _{x \rightarrow 0} \frac{\sin a x}{\sin b x} = \lim _{x \rightarrow 0} \frac{\frac{\sin a x}{a x}}{\frac{\sin b x}{b x}} \cdot \frac{a}{b} = \frac{1}{1} \cdot \frac{a}{b} = \frac{a}{b}

  15. limxπsin(πx)π(πx)\lim _{x \rightarrow \pi} \frac{\sin (\pi-x)}{\pi(\pi-x)} Let y=πxy=\pi-x. As xπx \rightarrow \pi, y0y \rightarrow 0. limy0sinyπy=1πlimy0sinyy=1π1=1π\lim _{y \rightarrow 0} \frac{\sin y}{\pi y} = \frac{1}{\pi} \lim _{y \rightarrow 0} \frac{\sin y}{y} = \frac{1}{\pi} \cdot 1 = \frac{1}{\pi}

  16. limx0cosxπx=cos0π0=1π\lim _{x \rightarrow 0} \frac{\cos x}{\pi-x} = \frac{\cos 0}{\pi-0} = \frac{1}{\pi}

  17. limx0cos2x1cosx1\lim _{x \rightarrow 0} \frac{\cos 2 x-1}{\cos x-1} (Form 00\frac{0}{0}) Use 1cos2x=2sin2x1-\cos 2x = 2\sin^2 x and 1cosx=2sin2(x/2)1-\cos x = 2\sin^2(x/2). limx0(1cos2x)(1cosx)=limx02sin2x2sin2(x/2)=limx0(sinxsin(x/2))2\lim _{x \rightarrow 0} \frac{-(1-\cos 2 x)}{-(1-\cos x)} = \lim _{x \rightarrow 0} \frac{2 \sin^2 x}{2 \sin^2(x/2)} = \lim _{x \rightarrow 0} \left( \frac{\sin x}{\sin(x/2)} \right)^2 =limx0(sinxxx/2sin(x/2)xx/2)2=(112)2=4= \lim _{x \rightarrow 0} \left( \frac{\sin x}{x} \cdot \frac{x/2}{\sin(x/2)} \cdot \frac{x}{x/2} \right)^2 = \left( 1 \cdot 1 \cdot 2 \right)^2 = 4

  18. limx0ax+xcosxbsinx=limx0x(a+cosx)bsinx=limx0a+cosxbsinxx=a+cos0b1=a+1b\lim _{x \rightarrow 0} \frac{a x+x \cos x}{b \sin x} = \lim _{x \rightarrow 0} \frac{x(a+\cos x)}{b \sin x} = \lim _{x \rightarrow 0} \frac{a+\cos x}{b \frac{\sin x}{x}} = \frac{a+\cos 0}{b \cdot 1} = \frac{a+1}{b}

  19. limx0xsecx=limx0xcosx=0cos0=01=0\lim _{x \rightarrow 0} x \sec x = \lim _{x \rightarrow 0} \frac{x}{\cos x} = \frac{0}{\cos 0} = \frac{0}{1} = 0

  20. limx0sinax+bxax+sinbx\lim _{x \rightarrow 0} \frac{\sin a x+b x}{a x+\sin b x} (Form 00\frac{0}{0}) Divide numerator and denominator by xx: limx0sinaxx+ba+sinbxx=limx0asinaxax+ba+bsinbxbx=a(1)+ba+b(1)=a+ba+b=1\lim _{x \rightarrow 0} \frac{\frac{\sin a x}{x}+b}{a+\frac{\sin b x}{x}} = \lim _{x \rightarrow 0} \frac{a \frac{\sin a x}{a x}+b}{a+b \frac{\sin b x}{b x}} = \frac{a(1)+b}{a+b(1)} = \frac{a+b}{a+b} = 1

  21. limx0(cosecxcotx)=limx0(1sinxcosxsinx)=limx01cosxsinx\lim _{x \rightarrow 0}(\operatorname{cosec} x-\cot x) = \lim _{x \rightarrow 0} \left( \frac{1}{\sin x} - \frac{\cos x}{\sin x} \right) = \lim _{x \rightarrow 0} \frac{1-\cos x}{\sin x} (Form 00\frac{0}{0}) =limx02sin2(x/2)2sin(x/2)cos(x/2)=limx0tan(x/2)=tan(0)=0= \lim _{x \rightarrow 0} \frac{2 \sin^2(x/2)}{2 \sin(x/2) \cos(x/2)} = \lim _{x \rightarrow 0} \tan(x/2) = \tan(0) = 0

  22. limxπ2tan2xxπ2\lim _{x \rightarrow \frac{\pi}{2}} \frac{\tan 2 x}{x-\frac{\pi}{2}} Let y=xπ2y=x-\frac{\pi}{2}. Then x=y+π2x=y+\frac{\pi}{2}, and 2x=2y+π2x = 2y+\pi. As xπ2x \rightarrow \frac{\pi}{2}, y0y \rightarrow 0. limy0tan(2y+π)y=limy0tan(2y)y=limy0sin(2y)ycos(2y)=limy0sin(2y)2y2cos(2y)=121=2\lim _{y \rightarrow 0} \frac{\tan(2y+\pi)}{y} = \lim _{y \rightarrow 0} \frac{\tan(2y)}{y} = \lim _{y \rightarrow 0} \frac{\sin(2y)}{y \cos(2y)} = \lim _{y \rightarrow 0} \frac{\sin(2y)}{2y} \cdot \frac{2}{\cos(2y)} = 1 \cdot \frac{2}{1} = 2

  23. f(x)={2x+3,amp;x03(x+1),amp;xgt;0f(x)=\begin{cases} 2 x+3, &amp; x \leq 0 \\ 3(x+1), &amp; x&gt;0 \end{cases}

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

    • limx0+f(x)=limx0+3(x+1)=3\lim _{x \rightarrow 0^{+}} f(x) = \lim _{x \rightarrow 0^{+}} 3(x+1) = 3 Therefore, limx0f(x)=3\lim _{x \rightarrow 0} f(x) = 3.

    • For limx1f(x)\lim _{x \rightarrow 1} f(x), since x>0 for xx near 1, we use f(x)=3(x+1)f(x)=3(x+1).

    • limx1f(x)=limx13(x+1)=3(1+1)=6\lim _{x \rightarrow 1} f(x) = \lim _{x \rightarrow 1} 3(x+1) = 3(1+1) = 6.

  24. f(x)={x21,amp;x1x21,amp;xgt;1f(x)=\begin{cases} x^{2}-1, &amp; x \leq 1 \\ -x^{2}-1, &amp; x&gt;1 \end{cases}

    • limx1f(x)=limx1(x21)=121=0\lim _{x \rightarrow 1^{-}} f(x) = \lim _{x \rightarrow 1^{-}} (x^2-1) = 1^2-1 = 0

    • limx1+f(x)=limx1+(x21)=(1)21=2\lim _{x \rightarrow 1^{+}} f(x) = \lim _{x \rightarrow 1^{+}} (-x^2-1) = -(1)^2-1 = -2 The limit does not exist.

  25. f(x)={xx,amp;x00,amp;x=0f(x)=\begin{cases} \frac{|x|}{x}, &amp; x \neq 0 \\ 0, &amp; x=0 \end{cases}

    • For x>0, f(x)=xx=1f(x)=\frac{x}{x}=1. So limx0+f(x)=1\lim _{x \rightarrow 0^{+}} f(x)=1.

    • For x<0, f(x)=xx=1f(x)=\frac{-x}{x}=-1. So limx0f(x)=1\lim _{x \rightarrow 0^{-}} f(x)=-1. The limit does not exist.

  26. f(x)={xx,amp;x00,amp;x=0f(x)=\begin{cases} \frac{x}{|x|}, &amp; x \neq 0 \\ 0, &amp; x=0 \end{cases}

    • For x>0, f(x)=xx=1f(x)=\frac{x}{x}=1. So limx0+f(x)=1\lim _{x \rightarrow 0^{+}} f(x)=1.

    • For x<0, f(x)=xx=1f(x)=\frac{x}{-x}=-1. So limx0f(x)=1\lim _{x \rightarrow 0^{-}} f(x)=-1. The limit does not exist.

  27. limx5f(x)=x5\lim _{x \rightarrow 5} f(x)=|x|-5. Since x5|x|-5 is continuous at x=5x=5, the limit is 55=55=0|5|-5 = 5-5=0.

  28. f(x)={a+bx,amp;xlt;14,amp;x=1bax,amp;xgt;1f(x)= \begin{cases} a+b x, &amp; x&lt;1 \\ 4, &amp; x=1 \\ b-a x, &amp; x&gt;1 \end{cases} If limx1f(x)=f(1)\lim _{x \rightarrow 1} f(x)=f(1), then the left-hand limit must equal the right-hand limit, and both must equal f(1)=4f(1)=4.

    • limx1f(x)=limx1(a+bx)=a+b=4\lim _{x \rightarrow 1^{-}} f(x) = \lim _{x \rightarrow 1^{-}} (a+bx) = a+b = 4

    • limx1+f(x)=limx1+(bax)=ba=4\lim _{x \rightarrow 1^{+}} f(x) = \lim _{x \rightarrow 1^{+}} (b-ax) = b-a = 4 We have a system of equations: a+b=4a+b = 4 ba=4b-a = 4 Adding the two equations: 2b=8    b=42b = 8 \implies b=4. Substituting b=4b=4 into a+b=4a+b=4: a+4=4    a=0a+4=4 \implies a=0. So, a=0,b=4a=0, b=4.

  29. f(x)=(xa1)(xa2)(xan)f(x)=\left(x-a_{1}\right)\left(x-a_{2}\right) \ldots\left(x-a_{n}\right)

    • limxa1f(x)\lim _{x \rightarrow a_{1}} f(x): Since f(x)f(x) is a polynomial, the limit is f(a1)f(a_1). If a1a_1 is one of the roots aia_i, then f(a1)=0f(a_1)=0. If a1a_1 is not among a2,,ana_2, \dots, a_n, then f(a1)=(a1a1)(a1a2)(a1an)=0f(a_1) = (a_1-a_1)(a_1-a_2)\dots(a_1-a_n) = 0. So, limxa1f(x)=0\lim _{x \rightarrow a_{1}} f(x) = 0.

    • For aa1,a2,,ana \neq a_{1}, a_{2}, \ldots, a_{n}, limxaf(x)=f(a)=(aa1)(aa2)(aan)\lim _{x \rightarrow a} f(x) = f(a) = (a-a_{1})(a-a_{2}) \ldots(a-a_{n}).

  30. f(x)={x+1,amp;xlt;00,amp;x=0x1,amp;xgt;0f(x)=\left\{\begin{array}{ll} |x|+1, &amp; x&lt;0 \\ 0, &amp; x=0 \\ |x|-1, &amp; x&gt;0 \end{array}\right.

    • For x<0, f(x)=x+1f(x)=-x+1. limx0f(x)=0+1=1\lim _{x \rightarrow 0^{-}} f(x) = -0+1 = 1.

    • For x>0, f(x)=x1f(x)=x-1. limx0+f(x)=01=1\lim _{x \rightarrow 0^{+}} f(x) = 0-1 = -1. The limit at x=0x=0 does not exist.

    • For a>0, limxaf(x)=limxa(x1)=a1\lim _{x \rightarrow a} f(x) = \lim _{x \rightarrow a} (x-1) = a-1. This exists for all a>0.

    • For a<0, limxaf(x)=limxa(x+1)=a+1\lim _{x \rightarrow a} f(x) = \lim _{x \rightarrow a} (-x+1) = -a+1. This exists for all a<0. The limit exists for all a0a \neq 0.

  31. Given limx1f(x)2x21=π\lim _{x \rightarrow 1} \frac{f(x)-2}{x^{2}-1}=\pi. Let L=limx1f(x)2x21L = \lim _{x \rightarrow 1} \frac{f(x)-2}{x^{2}-1}. Since x210x^2-1 \to 0 as x1x \to 1, for the limit LL to exist (and be finite, π\pi), the numerator must also approach 0. So, limx1(f(x)2)=0\lim _{x \rightarrow 1} (f(x)-2) = 0, which means limx1f(x)=2\lim _{x \rightarrow 1} f(x) = 2.

  32. f(x)={mx2+n,amp;xlt;0nx+m,amp;0x1f(x)=\left\{\begin{array}{ll}m x^{2}+n, &amp; x&lt;0 \\ n x+m, &amp; 0 \leq x \leq 1\end{array}\right..

    • For limx0f(x)\lim _{x \rightarrow 0} f(x) to exist: limx0f(x)=limx0(mx2+n)=n\lim _{x \rightarrow 0^{-}} f(x) = \lim _{x \rightarrow 0^{-}} (mx^2+n) = n. limx0+f(x)=limx0+(nx+m)=m\lim _{x \rightarrow 0^{+}} f(x) = \lim _{x \rightarrow 0^{+}} (nx+m) = m. So, we need n=mn=m.

    • For limx1f(x)\lim _{x \rightarrow 1} f(x) to exist: limx1f(x)=limx1(nx+m)=n(1)+m=n+m\lim _{x \rightarrow 1^{-}} f(x) = \lim _{x \rightarrow 1^{-}} (nx+m) = n(1)+m = n+m. limx1+f(x)\lim _{x \rightarrow 1^{+}} f(x) is not defined by the given function, as the second case is 0x10 \leq x \leq 1. Assuming the domain is extended or this is a typo and it should be x>1 for some other function. If we only consider the defined intervals, we only need to ensure the limit at 0 exists. If we assume the question implies the function is defined piecewise for x<0 and 0x10 \le x \le 1, then we only need to worry about the limit at x=0x=0. For the limit at x=1x=1 to exist from the left, limx1f(x)=n+m\lim_{x \to 1^-} f(x) = n+m. If the question implied continuity at x=1x=1, then the function definition would need to extend beyond x=1x=1. Assuming the question only asks for the limits at x=0x=0 and x=1x=1 to exist based on the provided definition: Limit at x=0x=0 exists if m=nm=n. Limit at x=1x=1 from the left exists if n+mn+m is defined (which it is, as n,mn,m are integers). If the question meant to ask for continuity at x=1x=1, we would need a definition for x>1. If the question implies the limit at x=1x=1 exists within the defined domain, it means the left-hand limit exists. Let's re-read: "For what integers m and n does both limx0f(x)\lim _{x \rightarrow 0} f(x) and limx1f(x)\lim _{x \rightarrow 1} f(x) exist?" This implies we need the limit at x=1x=1 to exist. Based on the definition, the function is only defined up to x=1x=1. This usually means we only consider the limit from the left at x=1x=1. So, for limx0f(x)\lim _{x \rightarrow 0} f(x) to exist, m=nm=n. For limx1f(x)\lim _{x \rightarrow 1} f(x) to exist (as a left-hand limit), it must be n+mn+m. This limit exists for any integers m,nm, n. Thus, the condition is m=nm=n.

12.5 Derivatives 23-37

Motivation: Derivatives are essential for calculating the rate of change of a parameter with respect to another. This is crucial in fields like physics, engineering, finance, etc.

Definition 1: Derivative at a Point 24The derivative of a real-valued function ff at a point aa in its domain is defined as: f(a)=limh0f(a+h)f(a)hf'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h} provided this limit exists.

  • f(a)f'(a) quantifies the change in f(x)f(x) with respect to xx at point aa.

Example 5: Find the derivative of f(x)=3xf(x)=3x at x=2x=2. 24f(2)=limh03(2+h)3(2)h=limh06+3h6h=limh03hh=3f'(2) = \lim_{h \to 0} \frac{3(2+h) - 3(2)}{h} = \lim_{h \to 0} \frac{6+3h-6}{h} = \lim_{h \to 0} \frac{3h}{h} = 3

Example 6: Find the derivative of f(x)=2x2+3x5f(x)=2x^2+3x-5 at x=1x=-1 and x=0x=0. 24-25

  • f(1)=limh02(1+h)2+3(1+h)5(2(1)2+3(1)5)h=limh02(12h+h2)3+3h5(235)hf'(-1) = \lim_{h \to 0} \frac{2(-1+h)^2+3(-1+h)-5 - (2(-1)^2+3(-1)-5)}{h} = \lim_{h \to 0} \frac{2(1-2h+h^2)-3+3h-5 - (2-3-5)}{h} =limh024h+2h23+3h5(6)h=limh02h2hh=limh0(2h1)=1= \lim_{h \to 0} \frac{2-4h+2h^2-3+3h-5 - (-6)}{h} = \lim_{h \to 0} \frac{2h^2-h}{h} = \lim_{h \to 0} (2h-1) = -1

  • f(0)=limh02(0+h)2+3(0+h)5(2(0)2+3(0)5)h=limh02h2+3h5(5)hf'(0) = \lim_{h \to 0} \frac{2(0+h)^2+3(0+h)-5 - (2(0)^2+3(0)-5)}{h} = \lim_{h \to 0} \frac{2h^2+3h-5 - (-5)}{h} =limh02h2+3hh=limh0(2h+3)=3= \lim_{h \to 0} \frac{2h^2+3h}{h} = \lim_{h \to 0} (2h+3) = 3

  • Check: f(0)+3f(1)=3+3(1)=33=0f'(0)+3f'(-1) = 3 + 3(-1) = 3-3 = 0.

Example 7: Derivative of sinx\sin x at x=0x=0. 25f(0)=limh0sin(0+h)sin(0)h=limh0sinhh=1f'(0) = \lim_{h \to 0} \frac{\sin(0+h)-\sin(0)}{h} = \lim_{h \to 0} \frac{\sin h}{h} = 1

Example 8: Derivative of constant function f(x)=3f(x)=3. 25

  • f(0)=limh0f(0+h)f(0)h=limh033h=limh00h=0f'(0) = \lim_{h \to 0} \frac{f(0+h)-f(0)}{h} = \lim_{h \to 0} \frac{3-3}{h} = \lim_{h \to 0} \frac{0}{h} = 0.

  • Similarly, f(3)=0f'(3)=0. The derivative of a constant function is always 0.

Geometric Interpretation of Derivative: 25-26The derivative f(a)f'(a) represents the slope of the tangent line to the curve y=f(x)y=f(x) at the point (a,f(a))(a, f(a)). The limit limh0f(a+h)f(a)h\lim_{h \to 0} \frac{f(a+h)-f(a)}{h} is the limit of the slope of the secant line PQ as point Q approaches point P.

Graph showing two points P and Q on curve y=f(x) with secant line illustrating the difference quotient concept. This diagram is useful for introducing derivatives and rates of change.

Fig 12.11: Secant line slope approaching tangent slope. 26

Definition 2: Derivative of a Function 26The derivative of a function f(x)f(x), denoted by f(x)f'(x) or ddxf(x)\frac{d}{dx}f(x), is defined by the limit: f(x)=limh0f(x+h)f(x)hf'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} wherever this limit exists. This is also known as the first principle of derivative.

  • Notation: f(x)f'(x), dydx\frac{dy}{dx} (if y=f(x)y=f(x)), D(f(x))\mathrm{D}(f(x)), dfdxx=a\left.\frac{d f}{d x}\right|_{x=a} or (dfdx)x=a\left(\frac{d f}{d x}\right)_{x=a}.

Example 9: Derivative of f(x)=10xf(x)=10x. 26f(x)=limh010(x+h)10xh=limh010hh=10f'(x) = \lim_{h \to 0} \frac{10(x+h) - 10x}{h} = \lim_{h \to 0} \frac{10h}{h} = 10

Example 10: Derivative of f(x)=x2f(x)=x^2. 27f(x)=limh0(x+h)2x2h=limh0x2+2xh+h2x2h=limh02xh+h2h=limh0(2x+h)=2xf'(x) = \lim_{h \to 0} \frac{(x+h)^2 - x^2}{h} = \lim_{h \to 0} \frac{x^2+2xh+h^2 - x^2}{h} = \lim_{h \to 0} \frac{2xh+h^2}{h} = \lim_{h \to 0} (2x+h) = 2x

Example 11: Derivative of constant function f(x)=af(x)=a. 27f(x)=limh0aah=limh00h=0f'(x) = \lim_{h \to 0} \frac{a-a}{h} = \lim_{h \to 0} \frac{0}{h} = 0

Example 12: Derivative of f(x)=1xf(x)=\frac{1}{x}. 27f(x)=limh01x+h1xh=limh0x(x+h)hx(x+h)=limh0hhx(x+h)=limh01x(x+h)=1x2f'(x) = \lim_{h \to 0} \frac{\frac{1}{x+h} - \frac{1}{x}}{h} = \lim_{h \to 0} \frac{x-(x+h)}{h x(x+h)} = \lim_{h \to 0} \frac{-h}{h x(x+h)} = \lim_{h \to 0} \frac{-1}{x(x+h)} = -\frac{1}{x^2}

12.5.1 Algebra of Derivatives 28-31

Rules for differentiating functions, analogous to limit rules: Let ff and gg be functions with defined derivatives.

  • Sum Rule: ddx[f(x)+g(x)]=f(x)+g(x)\frac{d}{dx}[f(x)+g(x)] = f'(x)+g'(x)

  • Difference Rule: ddx[f(x)g(x)]=f(x)g(x)\frac{d}{dx}[f(x)-g(x)] = f'(x)-g'(x)

  • Product Rule (Leibnitz Rule): ddx[f(x)g(x)]=f(x)g(x)+f(x)g(x)\frac{d}{dx}[f(x) \cdot g(x)] = f'(x)g(x) + f(x)g'(x) Or, (uv)=uv+uv(uv)' = u'v + uv'

  • Quotient Rule: ddx[f(x)g(x)]=f(x)g(x)f(x)g(x)(g(x))2\frac{d}{dx}\left[\frac{f(x)}{g(x)}\right] = \frac{f'(x)g(x) - f(x)g'(x)}{(g(x))^2} (where g(x)0g(x) \neq 0) Or, (uv)=uvuvv2\left(\frac{u}{v}\right)' = \frac{u'v - uv'}{v^2}

Derivative of xnx^n:Theorem 6: For any positive integer nn, the derivative of f(x)=xnf(x)=x^n is f(x)=nxn1f'(x)=nx^{n-1}. 29

  • This can be proven using the definition of the derivative and the binomial theorem, or by induction using the product rule.

  • This rule also holds for any real number nn.

Example: Derivative of xx is 1x11=11 \cdot x^{1-1} = 1.

Example: Derivative of x2x^2 is 2x21=2x2x^{2-1} = 2x.

Example: Derivative of x3x^3 using product rule: ddx(xx2)=(ddxx)x2+x(ddxx2)=1x2+x(2x)=x2+2x2=3x2\frac{d}{dx}(x \cdot x^2) = (\frac{d}{dx}x) \cdot x^2 + x \cdot (\frac{d}{dx}x^2) = 1 \cdot x^2 + x \cdot (2x) = x^2 + 2x^2 = 3x^2.

12.5.2 Derivative of Polynomials and Trigonometric Functions 30-32

Theorem 7: Derivative of a Polynomial 30If f(x)=anxn+an1xn1++a1x+a0f(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0, then f(x)=nanxn1+(n1)an1xn2++a1f'(x) = n a_n x^{n-1} + (n-1) a_{n-1} x^{n-2} + \dots + a_1 This follows from the sum rule, constant multiple rule, and the power rule (xnx^n).

Example 13: Compute the derivative of 6x100x55+x6 x^{100}-x^{55}+x. 30ddx(6x100x55+x)=6(100)x9955x54+1=600x9955x54+1\frac{d}{dx}(6x^{100}-x^{55}+x) = 6(100)x^{99} - 55x^{54} + 1 = 600x^{99} - 55x^{54} + 1

Example 14: Find the derivative of f(x)=1+x+x2++x50f(x)=1+x+x^{2}+\dots+x^{50} at x=1x=1. 31f(x)=0+1+2x+3x2++50x49f'(x) = 0+1+2x+3x^2+\dots+50x^{49} f(1)=1+2(1)+3(1)2++50(1)49=1+2+3++50f'(1) = 1+2(1)+3(1)^2+\dots+50(1)^{49} = 1+2+3+\dots+50 Using the sum of first nn integers formula n(n+1)2\frac{n(n+1)}{2}: f(1)=50(50+1)2=50512=2551=1275f'(1) = \frac{50(50+1)}{2} = \frac{50 \cdot 51}{2} = 25 \cdot 51 = 1275

Example 15: Derivative of f(x)=x+1xf(x)=\frac{x+1}{x}. 31Using the quotient rule with u=x+1u=x+1 (u=1u'=1) and v=xv=x (v=1v'=1): f(x)=1x(x+1)1x2=xx1x2=1x2f'(x) = \frac{1 \cdot x - (x+1) \cdot 1}{x^2} = \frac{x-x-1}{x^2} = -\frac{1}{x^2}

Example 16: Derivative of sinx\sin x. 31Using the definition: ddx(sinx)=limh0sin(x+h)sinxh=limh02cos(x+h/2)sin(h/2)h\frac{d}{dx}(\sin x) = \lim_{h \to 0} \frac{\sin(x+h)-\sin x}{h} = \lim_{h \to 0} \frac{2 \cos(x+h/2)\sin(h/2)}{h} =limh0cos(x+h/2)limh0sin(h/2)h/2=cosx1=cosx= \lim_{h \to 0} \cos(x+h/2) \cdot \lim_{h \to 0} \frac{\sin(h/2)}{h/2} = \cos x \cdot 1 = \cos x

Example 17: Derivative of tanx\tan x. 32ddx(tanx)=ddx(sinxcosx)\frac{d}{dx}(\tan x) = \frac{d}{dx}\left(\frac{\sin x}{\cos x}\right) Using quotient rule: =(cosx)(cosx)(sinx)(sinx)cos2x=cos2x+sin2xcos2x=1cos2x=sec2x= \frac{(\cos x)(\cos x) - (\sin x)(-\sin x)}{\cos^2 x} = \frac{\cos^2 x + \sin^2 x}{\cos^2 x} = \frac{1}{\cos^2 x} = \sec^2 x

Exercise 12.2 32-33

Selected problems:

  1. Derivative of x22x^2-2 at x=10x=10: f(x)=2xf'(x) = 2x, so f(10)=2(10)=20f'(10) = 2(10) = 20.

  2. Derivatives from first principle: (i) f(x)=x327f(x)=x^3-27. f(x)=limh0(x+h)327(x327)h=limh0x3+3x2h+3xh2+h3x3h=limh0(3x2+3xh+h2)=3x2f'(x) = \lim_{h \to 0} \frac{(x+h)^3-27 - (x^3-27)}{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. (ii) f(x)=(x1)(x2)=x23x+2f(x)=(x-1)(x-2) = x^2-3x+2. f(x)=2x3f'(x) = 2x-3. (iii) f(x)=1x2f(x)=\frac{1}{x^2}. f(x)=limh01(x+h)21x2h=limh0x2(x+h)2hx2(x+h)2=limh0x2(x2+2xh+h2)hx2(x+h)2=limh02xhh2hx2(x+h)2=limh02xhx2(x+h)2=2xx2(x2)=2x3f'(x) = \lim_{h \to 0} \frac{\frac{1}{(x+h)^2}-\frac{1}{x^2}}{h} = \lim_{h \to 0} \frac{x^2-(x+h)^2}{h x^2 (x+h)^2} = \lim_{h \to 0} \frac{x^2-(x^2+2xh+h^2)}{h x^2 (x+h)^2} = \lim_{h \to 0} \frac{-2xh-h^2}{h x^2 (x+h)^2} = \lim_{h \to 0} \frac{-2x-h}{x^2 (x+h)^2} = \frac{-2x}{x^2(x^2)} = -\frac{2}{x^3}. (iv) f(x)=x+1x1f(x)=\frac{x+1}{x-1}. f(x)=1(x1)(x+1)(1)(x1)2=x1x1(x1)2=2(x1)2f'(x) = \frac{1(x-1) - (x+1)(1)}{(x-1)^2} = \frac{x-1-x-1}{(x-1)^2} = \frac{-2}{(x-1)^2}.

  3. Derivative of cosx\cos x from first principle: ddx(cosx)=limh0cos(x+h)cosxh=limh0cosxcoshsinxsinhcosxh\frac{d}{dx}(\cos x) = \lim_{h \to 0} \frac{\cos(x+h)-\cos x}{h} = \lim_{h \to 0} \frac{\cos x \cos h - \sin x \sin h - \cos x}{h} =limh0(cosxcosh1hsinxsinhh)=cosx0sinx1=sinx= \lim_{h \to 0} \left( \cos x \frac{\cos h - 1}{h} - \sin x \frac{\sin h}{h} \right) = \cos x \cdot 0 - \sin x \cdot 1 = -\sin x

  4. Derivatives of trigonometric functions: (i) ddx(sinxcosx)=(cosx)(cosx)+(sinx)(sinx)=cos2xsin2x=cos2x\frac{d}{dx}(\sin x \cos x) = (\cos x)(\cos x) + (\sin x)(-\sin x) = \cos^2 x - \sin^2 x = \cos 2x. (ii) ddx(secx)=ddx(1cosx)=0cosx1(sinx)cos2x=sinxcos2x=secxtanx\frac{d}{dx}(\sec x) = \frac{d}{dx}\left(\frac{1}{\cos x}\right) = \frac{0 \cdot \cos x - 1 \cdot (-\sin x)}{\cos^2 x} = \frac{\sin x}{\cos^2 x} = \sec x \tan x.

Miscellaneous Examples 33-37

Example 19: Derivatives from first principle: 33-34(i) f(x)=2x+3x2f(x)=\frac{2 x+3}{x-2}. f(x)=limh02(x+h)+3x+h22x+3x2h=limh0(2x+2h+3)(x2)(2x+3)(x+h2)h(x2)(x+h2)f'(x) = \lim_{h \to 0} \frac{\frac{2(x+h)+3}{x+h-2} - \frac{2x+3}{x-2}}{h} = \lim_{h \to 0} \frac{(2x+2h+3)(x-2) - (2x+3)(x+h-2)}{h(x-2)(x+h-2)} =limh0(2x+3)(x2)+2h(x2)(2x+3)(x2)h(2x+3)h(x2)(x+h2)= \lim_{h \to 0} \frac{(2x+3)(x-2) + 2h(x-2) - (2x+3)(x-2) - h(2x+3)}{h(x-2)(x+h-2)} =limh02h(x2)h(2x+3)h(x2)(x+h2)=limh02hx4h2hx3h(x2)(x+h2)=4h3h(x2)2=7(x2)2= \lim_{h \to 0} \frac{2h(x-2) - h(2x+3)}{h(x-2)(x+h-2)} = \lim_{h \to 0} \frac{2hx-4h - 2hx-3h}{(x-2)(x+h-2)} = \frac{-4h-3h}{(x-2)^2} = \frac{-7}{(x-2)^2} (ii) f(x)=x+1xf(x)=x+\frac{1}{x}. f(x)=limh0(x+h+1x+h)(x+1x)h=limh0h+1x+h1xhf'(x) = \lim_{h \to 0} \frac{(x+h+\frac{1}{x+h}) - (x+\frac{1}{x})}{h} = \lim_{h \to 0} \frac{h + \frac{1}{x+h} - \frac{1}{x}}{h} =limh0(1+x(x+h)hx(x+h))=limh0(1+hhx(x+h))=1+1x2=11x2= \lim_{h \to 0} \left( 1 + \frac{x-(x+h)}{h x(x+h)} \right) = \lim_{h \to 0} \left( 1 + \frac{-h}{h x(x+h)} \right) = 1 + \frac{-1}{x^2} = 1 - \frac{1}{x^2}

Example 20: Derivatives from first principle: 34-35(i) f(x)=sinx+cosxf(x)=\sin x+\cos x. f(x)=limh0(sin(x+h)+cos(x+h))(sinx+cosx)hf'(x) = \lim_{h \to 0} \frac{(\sin(x+h)+\cos(x+h)) - (\sin x+\cos x)}{h} =limh0sinxcosh+cosxsinh+cosxcoshsinxsinhsinxcosxh= \lim_{h \to 0} \frac{\sin x \cos h + \cos x \sin h + \cos x \cos h - \sin x \sin h - \sin x - \cos x}{h} Group terms: =limh0sinh(cosxsinx)h+limh0cosh1h(cosx+sinx)= \lim_{h \to 0} \frac{\sin h (\cos x - \sin x)}{h} + \lim_{h \to 0} \frac{\cos h - 1}{h} (\cos x + \sin x) =1(cosxsinx)+0(cosx+sinx)=cosxsinx= 1 \cdot (\cos x - \sin x) + 0 \cdot (\cos x + \sin x) = \cos x - \sin x (ii) f(x)=xsinxf(x)=x \sin x. f(x)=limh0(x+h)sin(x+h)xsinxhf'(x) = \lim_{h \to 0} \frac{(x+h)\sin(x+h) - x \sin x}{h} =limh0(x+h)(sinxcosh+cosxsinh)xsinxh= \lim_{h \to 0} \frac{(x+h)(\sin x \cos h + \cos x \sin h) - x \sin x}{h} =limh0xsinxcosh+xcosxsinh+hsinxcosh+hcosxsinhxsinxh= \lim_{h \to 0} \frac{x \sin x \cos h + x \cos x \sin h + h \sin x \cos h + h \cos x \sin h - x \sin x}{h} =limh0xsinx(cosh1)h+limh0xcosxsinhh+limh0(sinxcosh+cosxsinh)= \lim_{h \to 0} \frac{x \sin x (\cos h - 1)}{h} + \lim_{h \to 0} \frac{x \cos x \sin h}{h} + \lim_{h \to 0} (\sin x \cos h + \cos x \sin h) =xsinx0+xcosx1+(sinx1+cosx0)=xcosx+sinx= x \sin x \cdot 0 + x \cos x \cdot 1 + (\sin x \cdot 1 + \cos x \cdot 0) = x \cos x + \sin x

Example 21: Compute derivative of: 35-36(i) f(x)=sin2x=2sinxcosxf(x)=\sin 2x = 2 \sin x \cos x. ddx(2sinxcosx)=2[(cosx)(cosx)+(sinx)(sinx)]=2(cos2xsin2x)=2cos2x\frac{d}{dx}(2 \sin x \cos x) = 2 [(\cos x)(\cos x) + (\sin x)(-\sin x)] = 2(\cos^2 x - \sin^2 x) = 2 \cos 2x (ii) g(x)=cotx=cosxsinxg(x)=\cot x = \frac{\cos x}{\sin x}. g(x)=(sinx)(sinx)(cosx)(cosx)sin2x=sin2xcos2xsin2x=1sin2x=cosec2xg'(x) = \frac{(-\sin x)(\sin x) - (\cos x)(\cos x)}{\sin^2 x} = \frac{-\sin^2 x - \cos^2 x}{\sin^2 x} = \frac{-1}{\sin^2 x} = -\operatorname{cosec}^2 x

Example 22: Compute derivative of: 36-37(i) h(x)=x5cosxsinxh(x)=\frac{x^{5}-\cos x}{\sin x}. Using quotient rule: u=x5cosx    u=5x4+sinxu=x^5-\cos x \implies u'=5x^4+\sin x. v=sinx    v=cosxv=\sin x \implies v'=\cos x. h(x)=(5x4+sinx)(sinx)(x5cosx)(cosx)sin2xh'(x) = \frac{(5x^4+\sin x)(\sin x) - (x^5-\cos x)(\cos x)}{\sin^2 x} =5x4sinx+sin2xx5cosx+cos2xsin2x=5x4sinx+1x5cosxsin2x= \frac{5x^4 \sin x + \sin^2 x - x^5 \cos x + \cos^2 x}{\sin^2 x} = \frac{5x^4 \sin x + 1 - x^5 \cos x}{\sin^2 x} (ii) h(x)=x+cosxtanxh(x)=\frac{x+\cos x}{\tan x}. Using quotient rule: u=x+cosx    u=1sinxu=x+\cos x \implies u'=1-\sin x. v=tanx    v=sec2xv=\tan x \implies v'=\sec^2 x. h(x)=(1sinx)(tanx)(x+cosx)(sec2x)tan2xh'(x) = \frac{(1-\sin x)(\tan x) - (x+\cos x)(\sec^2 x)}{\tan^2 x}

Miscellaneous Exercise on Chapter 12 37-38

Selected problems:

  1. Derivatives from first principle: (i) f(x)=xf(x)=-x. f(x)=limh0(x+h)(x)h=limh0xh+xh=limh0hh=1f'(x) = \lim_{h \to 0} \frac{-(x+h) - (-x)}{h} = \lim_{h \to 0} \frac{-x-h+x}{h} = \lim_{h \to 0} \frac{-h}{h} = -1. (ii) f(x)=(x)1=1xf(x)=(-x)^{-1} = -\frac{1}{x}. f(x)=(1x2)=1x2f'(x) = -(-\frac{1}{x^2}) = \frac{1}{x^2}. (iii) f(x)=sin(x+1)f(x)=\sin(x+1). f(x)=limh0sin(x+1+h)sin(x+1)h=cos(x+1)f'(x) = \lim_{h \to 0} \frac{\sin(x+1+h)-\sin(x+1)}{h} = \cos(x+1). (iv) f(x)=cos(xπ8)f(x)=\cos(x-\frac{\pi}{8}). f(x)=limh0cos(xπ8+h)cos(xπ8)h=sin(xπ8)f'(x) = \lim_{h \to 0} \frac{\cos(x-\frac{\pi}{8}+h)-\cos(x-\frac{\pi}{8})}{h} = -\sin(x-\frac{\pi}{8}).

  2. f(x)=x100100+x9999++x22+x+1f(x)=\frac{x^{100}}{100}+\frac{x^{99}}{99}+\ldots+\frac{x^{2}}{2}+x+1. f(x)=x99+x98++x+1f'(x) = x^{99}+x^{98}+\dots+x+1. f(1)=199+198++1+1=100f'(1) = 1^{99}+1^{98}+\dots+1+1 = 100 (100 terms of 1). f(0)=099+098++0+1=1f'(0) = 0^{99}+0^{98}+\dots+0+1 = 1. We need to prove f(1)=100f(0)f'(1)=100 f'(0), which is 100=1001100 = 100 \cdot 1. True.

  3. Derivative of (ax+b)n(ax+b)^n: Using chain rule (implicitly, or product rule nn times). Derivative is n(ax+b)n1an(ax+b)^{n-1} \cdot a.

  4. Derivative of (ax+b)n(cx+d)m(ax+b)^n (cx+d)^m: Use product rule and chain rule. Let u=(ax+b)nu=(ax+b)^n and v=(cx+d)mv=(cx+d)^m. u=n(ax+b)n1au' = n(ax+b)^{n-1} \cdot a. v=m(cx+d)m1cv' = m(cx+d)^{m-1} \cdot c. Derivative is uv+uv=[an(ax+b)n1](cx+d)m+(ax+b)n[cm(cx+d)m1]u'v + uv' = [an(ax+b)^{n-1}](cx+d)^m + (ax+b)^n[cm(cx+d)^{m-1}].

  5. ddx(cosecxcotx)=(cosecxcotx)(cotx)+(cosecx)(cosec2x)\frac{d}{dx}(\operatorname{cosec} x \cot x) = (-\operatorname{cosec} x \cot x)(\cot x) + (\operatorname{cosec} x)(-\operatorname{cosec}^2 x) =cosecxcot2xcosec3x=cosecx(cot2x+cosec2x)= -\operatorname{cosec} x \cot^2 x - \operatorname{cosec}^3 x = -\operatorname{cosec} x (\cot^2 x + \operatorname{cosec}^2 x) =cosecx(cosec2x1+cosec2x)=cosecx(2cosec2x1)= -\operatorname{cosec} x (\operatorname{cosec}^2 x - 1 + \operatorname{cosec}^2 x) = -\operatorname{cosec} x (2 \operatorname{cosec}^2 x - 1).

  6. ddx(cosx1+sinx)=(sinx)(1+sinx)(cosx)(cosx)(1+sinx)2\frac{d}{dx}\left(\frac{\cos x}{1+\sin x}\right) = \frac{(-\sin x)(1+\sin x) - (\cos x)(\cos x)}{(1+\sin x)^2} $= \frac{-\sin x - \sin^2 x - \cos^2 x}{(1+\sin x)^2} = \frac{-\sin x - 1}{(1+\sin x)^2} = \frac{-(1+\sin x)}{(1+\sin x)^2

Historical Development of Calculus 40

The formalization of calculus is attributed to mathematicians such as A.L. Cauchy, J.L. Lagrange, and Karl Weierstrass 40.

  • Augustin-Louis Cauchy: Provided the foundational structure for modern calculus. He utilized D'Alembert's limit concept to define the derivative of a function 40.

    • Cauchy used examples like the limit of sinαα\frac{\sin \alpha}{\alpha} as α\alpha approaches 0 40.

    • He expressed the difference quotient as ΔyΔx=f(x+i)f(x)i\frac{\Delta y}{\Delta x}=\frac{f(x+i)-f(x)}{i} and defined its limit as i0i \rightarrow 0 as the "function derive'e," denoted as yy^{\prime} or f(x)f^{\prime}(x) 40.

  • Early Perceptions: Before 1900, calculus was widely considered too difficult to teach, placing it beyond the reach of younger students 40.

  • Shift in Pedagogy (Around 1900): John Perry and others in England advocated for the view that the essential ideas and methods of calculus were simple enough for school instruction 40.

  • Pioneering Efforts: F.L. Griffin was instrumental in teaching calculus to first-year students, a move considered daring at the time 40.

Today, calculus is indispensable not only in mathematics but also in various other fields, including Physics, Chemistry, Economics, and Biological Sciences 40.