Chapter 2 Limit, Continuity and Derivative Notes – 12th Class Math Federal Board

Chapter 2, Limit, Continuity and Derivative, from the 12th class Mathematics, Federal Board (FBISE) book. These notes cover Limits of Functions, Continuity, Rate of Change of Functions, Instantaneous Velocity, The Derivative Functions, Rules of Differentiation, The Product and Quotient Rules, The Connection Between Derivatives and Continuity, Derivations of Trigonometric Functions, Derivatives of Inverse Trigonometric Functions, Product Rule, Implicit Differentiation, Derivative of Exponential Functions, Derivative of Logarithmic Functions, Differentials, Approximations, Higher Order Derivatives, Higher Derivatives, Extrema of Functions, Second Derivative Test for Relative Extrema, Point of Inflection and Applications of Derivatives. Learn the definitions and formula boxes, then try the solved examples and the exercises.
2.1 Limits of Functions
A limit is the value approached by $f(x)$ as $x$ approaches a specified number. The input need not equal that number. A finite two-sided limit exists exactly when both one-sided limits exist and agree.
If $\lim_{x\to a}f(x)=L$ and $\lim_{x\to a}g(x)=M$, then the limits of $cf$, $f\pm g$, $fg$ and $\dfrac{f}{g}$ are $cL$, $L\pm M$, $LM$ and $\dfrac{L}{M}$, respectively. The quotient law requires $M\ne0$.
A constant has itself as its limit. The limit of an integer power $f^n$ is $L^n$ wherever that power is continuous at $L$.
For $x\ne2$, $\dfrac{x^2-4}{x-2}=x+2$. So the limit at $2$ is $4$. A quick check: $x=1.99$ gives $3.99$ and $x=2.01$ gives $4.01$.
- $y = x + 2$
2.2 Continuity
A function is continuous at $a$ precisely when $f(a)$ is defined, a finite $\lim_{x\to a}f(x)$ exists, and that limit equals $f(a)$.
Continuity on a closed interval means continuity at each interior point, right continuity at its left endpoint and left continuity at its right endpoint.
Apply the corresponding rule at each included endpoint of a half-open interval.
Polynomials are continuous on $R$. Rational functions are continuous where their denominators are nonzero. Sums, differences and products of continuous functions are continuous.
A quotient is continuous where its denominator is nonzero. Compositions are continuous where both stages are defined and continuous.
A removable discontinuity has a finite limit with a missing or different function value. For $f(x)=\dfrac{x^2-4}{x-2}$, setting $f(2)=4$ makes the extension continuous.
A jump with unequal one-sided limits cannot be repaired by redefining only one value.
Intermediate Value TheoremIf $f$ is continuous on $[a,b]$, it takes every value between $f(a)$ and $f(b)$.
In particular, when the endpoint values have opposite signs, apply the theorem to the value $0$. For $x^2-2$, the values at $1$ and $2$ are $-1$ and $2$, so a zero lies in $(1,2)$.
2.3 Rate of Change of Functions
The average rate of change over $[a,b]$ is $\dfrac{f(b)-f(a)}{b-a}$. This is the slope of the secant joining $(a,f(a))$ and $(b,f(b))$. Its limiting value as the second point approaches the first is the tangent slope.
For $f(x)=x^2$ at $a=1$, the numerator is
Divide by $\Delta x$ before taking the limit. The slope is $2$, and the tangent is $y=2x-1$.
- $y = x^{2}$
- $\text{secant through (1, 1) and (2, 4)}$
- $\text{tangent at (1, 1)}$
2.4 Instantaneous Velocity
For $s(t)=t^2$ this limit is $2t_1$, so $v(3)=6$ position units per time unit.
If $s(t)$ is position, average velocity over a time interval is change in position divided by elapsed time. Instantaneous velocity is $v(t)=s'(t)$ where the limit of the average velocity exists.
Speed is $|v(t)|$. A negative velocity indicates motion in the negative coordinate direction.
For $s(t)=12-2t^2$ metres, the difference quotient at $t=1$ is $-4-2\Delta t$. Its limit is $-4$ $\frac{\mathrm{m}}{\mathrm{s}}$, so the speed there is $4$ $\frac{\mathrm{m}}{\mathrm{s}}$.
2.5 The Derivative Functions
The derivative function assigns the tangent slope to each input where that slope has a finite limit.
Also write $y'$, $\dfrac{dy}{dx}$ or $D_xf$. For $f(x)=\dfrac{1}{x}$, the difference quotient is $-\dfrac{1}{[x(x+\Delta x)]}$, so $f'(x)=-\dfrac{1}{x^2}$ for $x\ne0$.
2.6 Rules of Differentiation
Apply the power rule where the power and its derivative are defined. Rewrite roots as fractional powers and reciprocals as negative powers when convenient.
Theorem 2.1 · Power RuleFor real $x$ and a positive integer $n$, $\dfrac{d}{dx}(x^n)=nx^{n-1}$.
Proof (p. 57). For $n=1$, the difference quotient is $1$ for every nonzero $\Delta x$, so the derivative of $x$ is $1$. For $n\ge2$, use the binomial theorem.
Subtract $x^n$ and divide by the nonzero increment $\Delta x$.
Every term in the sum has a positive power of $\Delta x$. The sum therefore tends to zero.
Why the constant and linearity rules hold
A constant has the same value at $x$ and $x+h$. Its difference quotient is $\dfrac{c-c}{h}=0$.
For $F(x)=af(x)+bg(x)$ and $h\ne0$, subtract $F(x)$ from $F(x+h)$ and divide by $h$.
The two limits exist by differentiability. Take the limit to obtain $F'(x)=af'(x)+bg'(x)$. A negative coefficient gives the difference rule.
For $y=3x^4-5x+7$, differentiate term by term to obtain $y'=12x^3-5$.
At $x=1$ the slope is $7$.
2.7 The Product and Quotient Rules
Product RuleIf $f$ and $g$ are differentiable at $x$, then $(fg)'(x)=f'(x)g(x)+f(x)g'(x)$.
Why the product rule holds
Write $F=fg$. Add and subtract $f(x)g(x+h)$ in the numerator, then group the two differences.
Differentiability makes $g$ continuous, so $g(x+h)\to g(x)$. The difference quotients tend to $f'(x)$ and $g'(x)$. The product rule follows on taking the limit.
Quotient RuleIf $f$ and $g$ are differentiable at $x$ and $g(x)\ne0$, the derivative of $\dfrac{f}{g}$ at $x$ is $\dfrac{g(x)f'(x)-f(x)g'(x)}{g(x)^2}$.
Why the quotient rule holds
Let $Q(x)=\dfrac{f(x)}{g(x)}$. Continuity and $g(x)\ne0$ ensure $g(x+h)\ne0$ for small $h$.
Use a common denominator. Write $\Delta f=f(x+h)-f(x)$ and $\Delta g=g(x+h)-g(x)$.
As $h\to0$, the two quotients tend to the derivatives and the denominator tends to $g(x)^2$. This gives the stated numerator order and denominator.
For $y=\dfrac{x^2+1}{x-1}$, the numerator of the derivative is $(x-1)(2x)-(x^2+1)(1)=x^2-2x-1$. The denominator is $(x-1)^2$.
Dividing the original fraction first gives $y=x+1+\dfrac{2}{x-1}$, which leads to the same derivative.
2.8 The Connection Between Derivatives and Continuity
Differentiability at $a$ implies continuity there. For $f(x)=|x|$ at zero, the limits of the difference quotient from the left and right are $-1$ and $1$, despite continuity.
Differentiability implies continuityIf $f'(a)$ exists, $f$ is continuous at $a$.
For $h\ne0$, write $f(a+h)-f(a)=h[\dfrac{f(a+h)-f(a)}{h}]$. The two factors approach $0$ and $f'(a)$, so the difference approaches zero.
The converse can fail. The function $|x|$ is continuous at zero and has one-sided slopes $-1$ and $1$ there. These slopes disagree, so the derivative does not exist at zero.
Worked illustration. At the origin, $|x|$ tends to zero from both sides. Its left-hand slope is $-1$ and its right-hand slope is $1$, so the derivative there is undefined.
2.9 Derivations of Trigonometric Functions
Angles used in these derivative rules are measured in radians.
Proof for sine and cosine · pp. 62–63
Expand with the sine and cosine addition formulas before taking the limit.
In radians, $\dfrac{\sin h}{h}\to1$ and $\dfrac{\cos h-1}{h}\to0$. These give $\cos x$ and $-\sin x$, respectively.
Proof for tangent, cotangent, secant and cosecant
Apply the quotient rule to tangent and cotangent. Use $\sin^2x+\cos^2x=1$ in each numerator.
For secant and cosecant, use the same rule with numerator $1$.
These steps apply where the corresponding denominator is nonzero.
2.10 Derivatives of Inverse Trigonometric Functions
Write $y=\sin^{-1}x$ as $\sin y=x$.
Differentiation gives $\cos y\,y'=1$. On the interior of the principal sine interval, $\cos y=\sqrt{1-x^2}$.
Proof by implicit differentiation · pp. 64–65
For $|x|<1$, let $y$ be the principal inverse sine angle. Differentiating $\sin y=x$ gives $\cos y\,y'=1$. Since $\cos y$ is positive, $\cos y=\sqrt{1-x^2}$ and $y'=\dfrac{1}{\sqrt{1-x^2}}$.
For the principal inverse cosine angle, differentiate $\cos y=x$ to get $-\sin y\,y'=1$. Now $\sin y=\sqrt{1-x^2}>0$. Therefore $y'=-\dfrac{1}{\sqrt{1-x^2}}$.
For inverse tangent and cotangent, the equations are $\tan y=x$ and $\cot y=x$. Differentiate and use the reciprocal-square identities.
Solving gives $\dfrac{1}{1+x^2}$ and $-\dfrac{1}{1+x^2}$.
For inverse secant on the Chapter 2 branches, differentiating $\sec y=x$ gives $\sec y\tan y\,y'=1$. Here $\tan y=\sqrt{x^2-1}$ for $|x|>1$, so $y'=\dfrac{1}{x\sqrt{x^2-1}}$.
The complementary cosecant branch uses $z=\dfrac{\pi}{2}-y$. Its derivative is $z'=-y'$, giving the negative of the preceding quotient.
2.11 Product Rule
The power and chain rules here handle a function inside another function.
Chain RuleIf $g$ is differentiable at $x$ and $f$ is differentiable at $u=g(x)$, then $(f\circ g)'(x)=f'(g(x))g'(x)$.
Proof by factoring the change · pp. 66–67
Let $k=g(x+h)-g(x)$. Differentiability makes $g$ continuous, so $k\to0$ as $h\to0$.
For $k\ne0$ define $D(k)=\dfrac{f(u+k)-f(u)}{k}$. Set $D(0)=f'(u)$. Differentiability of $f$ gives $D(k)\to f'(u)$.
This equality also holds when $k=0$ because both numerators then vanish. Taking the limit gives the chain rule without dividing by a zero change in $g$.
For an integer $n>0$, take $f(u)=u^n$ and use Theorem 2.1. For $n<0$, apply the quotient rule to $u^n=\dfrac1{u^{-n}}$ on $u\ne0$, then use the chain rule. The constant case $n=0$ has derivative zero wherever that power is defined.
For $y=(3x^2-1)^4$, the outside derivative gives $4(3x^2-1)^3$ and the inside derivative is $6x$. Thus $y'=24x(3x^2-1)^3$.
2.12 Implicit Differentiation
Treat $y$ as a function of $x$. For example $x^2+y^2=25$ gives $2x+2yy'=0$.
So $y'=-\dfrac{x}{y}$ where $y\ne0$.
In an implicit equation, $x$ and $y$ may appear together without $y$ isolated. Treat $y$ as a function of $x$. Differentiate both sides, gather terms containing $\dfrac{dy}{dx}$, and solve.
For $x^2+y^2=25$, differentiation gives $2x+2y\,\dfrac{dy}{dx}=0$.
So $\dfrac{dy}{dx}=-\dfrac{x}{y}$ where $y\ne0$. On the upper half of the circle, differentiating $y=\sqrt{25-x^2}$ gives the same result.
2.13 Derivative of Exponential Functions
For $e^{4x^2}$, substitute $u=4x^2$, $u'=8x$, to obtain $8xe^{4x^2}$.
2.14 Derivative of Logarithmic Functions
When $x=x(t)$ and $y=y(t)$ are given parametrically, use the chain rule
Which gives $\dfrac{dy}{dx}=\dfrac{\dfrac{dy}{dt}}{\dfrac{dx}{dt}}$.
Where $\dfrac{dx}{dt}\ne0$.
For $x=2t+1$ and $y=t^2$, the slope is
Substituting $t=\dfrac{x-1}{2}$ in $y$ and differentiating also gives $\dfrac{x-1}{2}=t$.
2.15 Differentials
The exact change in $y=f(x)$ is $\Delta y=f(x+\Delta x)-f(x)$.
With $dx=\Delta x$, the differential is $dy=f'(x)dx$. It gives the change predicted by the tangent.
For $y=x^2$ at $x=4$ with $dx=0.1$, we get $dy=2(4)(0.1)=0.8$.
The exact change is $4.1^2-16=0.81$.
2.16 Approximations
The approximate magnitude of the absolute error in a measured output is $|dy|$. Divide by $|f(x)|$ for approximate relative error when $f(x)\ne0$. Multiply by $100$ to give percentage error.
For $\sqrt{36.6}$, take $f(x)=\sqrt{x}$, $x=36$ and $dx=0.6$.
Then $dy=\dfrac{0.6}{2\sqrt{36}}=0.05$.
So $\sqrt{36.6}\approx6.05$. Squaring gives $36.6025$, close to $36.6$.
2.17 Higher Order Derivatives
Differentiate the preceding derivative. For $y=x^4$, $y'=4x^3$.
Also $y''=12x^2$.
The second derivative $f''(x)$ or $\dfrac{d^2y}{dx^2}$ is the derivative of $f'(x)$. For a position function, it is acceleration.
If $s(t)=t^3-2t$, then $v(t)=3t^2-2$.
Also $a(t)=6t$. The units of acceleration are position units per unit of time squared.
2.18 Higher Derivatives
$f^{(n)}$ means differentiate $n$ times. It is distinct from the power $(f(x))^n$.
Compute $f^{(n)}$ by differentiating $n$ times. With an implicit curve, substitute the known expression for $y'$ after differentiating it. Repeatedly applying the product rule gives
For $f(x)=2x^4$, the first four derivatives are $8x^3$, $24x^2$, $48x$ and $48$. The fifth is zero.
2.19 Extrema of Functions
An absolute maximum or absolute minimum compares values across the entire domain under consideration. A relative extremum compares nearby values. A critical number is an input in the domain where $f'=0$ or $f'$ is undefined.
A function increases where $f'>0$ and decreases where $f'<0$. A change in sign from positive to negative gives a relative maximum. A change from negative to positive gives a relative minimum.
For a continuous function on a closed interval, evaluate the function at every interior critical number and both endpoints, then compare.
For $f(x)=x^2-4x$ on $[0,5]$, $f'(x)=2x-4$ vanishes at $2$. The candidate values are $0$, $-4$ and $5$. The minimum is $-4$, and the maximum is $5$.
2.20 Second Derivative Test for Relative Extrema
If $f'(a)=0$, then $f''(a)>0$ gives a local minimum and $f''(a)<0$ gives a local maximum. A zero second derivative leaves the test inconclusive.
When $f'(c)=0$, $f''(c)>0$ gives a relative minimum and $f''(c)<0$ gives a relative maximum under the usual differentiability conditions. If $f''(c)=0$, use another test.
The slope increases on an interval where $f''>0$, so the graph is concave upward there. It decreases on an interval where $f''<0$, so the graph is concave downward there.
Worked illustration. For $f(x)=x^3-3x$, solve for the stationary inputs first.
At $-1$ the second derivative is negative, and at $1$ it is positive. The relative maximum is $2$ at $-1$. The relative minimum is $-2$ at $1$.
2.21 Point of Inflection
Check for a change of concavity. For $y=x^3$, $y''=6x$ changes sign at zero.
For $y=x^4$, $y''=12x^2$ has the same sign on both sides.
A point of inflection is a point on a continuous graph where the concavity changes. Solve $f''=0$ or locate where $f''$ is undefined to find candidates, then test on both sides.
For $f(x)=x^3$, $f''(x)=6x$ changes from negative to positive across zero. Thus $(0,0)$ is an inflection point.
For $f(x)=x^4$, $f''(x)=12x^2$ is positive on both sides of zero, so zero fails the concavity-change test.
- $y = x^{3}$
2.22 Applications of Derivatives
For related rates, first write an equation relating the quantities. Differentiate with respect to time and then substitute the given instant. For a sphere, $V=(\dfrac{4}{3})\pi r^3$ gives $\dfrac{dV}{dt}=4\pi r^2\,\dfrac{dr}{dt}$.
At $r=3$ cm and $\dfrac{dr}{dt}=2$ $\frac{\mathrm{cm}}{\mathrm{s}}$, the rate is $72\pi$ cubic centimetres per second.
For optimization, express the quantity in one variable, identify the physical domain, and compare critical points and endpoints. A rectangle with perimeter $40$ has area $x(20-x)$ for $0<x<20$.
Its derivative vanishes at $10$, and the second derivative is $-2$. Completing the square gives $100-(x-10)^2$, which also confirms the maximum.
Profit is $R(x)-C(x)$. The marginal revenue and cost are $R'(x)$ and $C'(x)$. Average cost is $\dfrac{C(x)}{x}$ for $x>0$. The break-even quantity satisfies $R(x)=C(x)$.
Continuous growth gives $P(t)=P_0e^{rt}$ and $P'(t)=rP(t)$.
Straight-line depreciation gives $V(t)=V_0-dt$ where $d$ is the loss in value per time unit.
Exercise solutions of Chapter 2
- 2.1Exercise 2.1: Limits from Graphs and Limit Laws13 questions solved step by step · Examples
- 2.2Exercise 2.2: Continuity at a Point and on an Interval20 questions solved step by step · Examples
- 2.3Exercise 2.3: Tangents, Rates of Change and Velocity12 questions solved step by step · Examples
- 2.4Exercise 2.4: Derivatives and the Power Rule5 questions solved step by step · Examples
- 2.5Exercise 2.5: Product and Quotient Rules17 questions solved step by step · Examples
- 2.6Exercise 2.6: Trigonometric and Inverse Trigonometric Derivatives16 questions solved step by step · Examples
- 2.7Exercise 2.7: Chain, Implicit and Parametric Differentiation32 questions solved step by step · Examples
- 2.8Exercise 2.8: Higher Order Derivatives20 questions solved step by step · Examples
- 2.9Exercise 2.9: Extrema, Concavity and Inflection Points6 questions solved step by step · Examples
- 2.10Exercise 2.10: Related Rates and Optimization20 questions solved step by step · Examples
- RReview Exercise 210 questions solved step by step