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

Chapter 2 Limit, Continuity and Derivative notes thumbnail listing the exercises of the chapter, 12th class math Federal Board (FBISE)

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.

Tap a section to open or close it.
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.

Limit laws

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$.

$$\lim_{t\to0}\frac{\sin t}{t}=1$$
$$\lim_{t\to0}\frac{1-\cos t}{t}=0$$

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$.

A limit at a hole
$x$
$y$
$-1$
$1$
$2$
$3$
$4$
$5$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$7$
$8$
$O$
$(2, 4)$
  • $y = x + 2$
The values on both sides approach $4$ even though the original fraction is undefined at $2$.
Common mistake / Note: A substitution of $\dfrac{0}{0}$ signals that the original quotient law is unavailable. Factor, rationalise, or use an established limit before trying substitution again.
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.

Ways to check continuity

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)$.

Common mistake / Note: A graph may look smooth at this scale even when the formula excludes a point. Check the original definition at the point.
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.

Tangent line at $x=a$
$$m_{\rm tan}=\lim_{\Delta x\to0}\frac{f(a+\Delta x)-f(a)}{\Delta x}$$
$$y-f(a)=m_{\rm tan}(x-a)$$

For $f(x)=x^2$ at $a=1$, the numerator is

$$(1+\Delta x)^2-1=2\Delta x+(\Delta x)^2$$

Divide by $\Delta x$ before taking the limit. The slope is $2$, and the tangent is $y=2x-1$.

Secant and tangent of a parabola
$x$
$y$
$-1$
$1$
$2$
$3$
$4$
$-2$
$-1$
$1$
$2$
$3$
$4$
$5$
$6$
$7$
$8$
$9$
$O$
$P(1, 1)$
$Q(2, 4)$
  • $y = x^{2}$
  • $\text{secant through (1, 1) and (2, 4)}$
  • $\text{tangent at (1, 1)}$
As $Q$ moves along the parabola toward $P$, the secant slope approaches $2$.
Common mistake / Note: A secant slope uses two points. A tangent slope is the limit as the second point approaches the first.
2.4 Instantaneous Velocity
Instantaneous velocity
$$v(t_1)=\lim_{\Delta t\to0}\frac{s(t_1+\Delta t)-s(t_1)}{\Delta t}$$

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}}$.

Common mistake / Note: A negative instantaneous velocity gives the direction of motion. Speed is the magnitude of velocity.
2.5 The Derivative Functions
Derivative function
$$f'(x)=\lim_{\Delta x\to0}\frac{f(x+\Delta x)-f(x)}{\Delta x}$$

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$.

Common mistake / Note: The domain of $f'$ can be smaller than that of $f$.
2.6 Rules of Differentiation
Constant, power and linearity rules
$$\begin{aligned}\frac{d}{dx}c&=0\\[7pt]\frac{d}{dx}x^n&=nx^{n-1}\\[7pt]\frac{d}{dx}[af(x)\pm bg(x)]&=af'(x)\pm bg'(x)\end{aligned}$$

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.

$$\begin{aligned}(x+\Delta x)^n&=x^n+nx^{n-1}\Delta x\\[7pt]&\quad+\sum_{k=2}^{n}\binom nk x^{n-k}(\Delta x)^k\end{aligned}$$

Subtract $x^n$ and divide by the nonzero increment $\Delta x$.

$$\begin{aligned}\frac{(x+\Delta x)^n-x^n}{\Delta x}&=nx^{n-1}\\[7pt]&\quad+\sum_{k=2}^{n}\binom nk x^{n-k}(\Delta x)^{k-1}\end{aligned}$$

Every term in the sum has a positive power of $\Delta x$. The sum therefore tends to zero.

$$\begin{aligned}\frac{d}{dx}(x^n)&=\lim_{\Delta x\to0}\frac{(x+\Delta x)^n-x^n}{\Delta x}\\[7pt]&=nx^{n-1}\end{aligned}$$
Common mistake / Note: In the quadratic binomial term of the proof on p. 57, the power of $x$ should be $n-2$. The book gives $n-1$ for that term.

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$.

$$\begin{aligned}\frac{F(x+h)-F(x)}h&=a\frac{f(x+h)-f(x)}h\\[4pt]&\quad+b\frac{g(x+h)-g(x)}h\end{aligned}$$

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$.

Common mistake / Note: When applying the power rule, first multiply by the old power, then reduce that power by one.
2.7 The Product and Quotient Rules
Product and quotient
$$(fg)'=fg'+gf',\qquad \left(\frac fg\right)'=\frac{gf'-fg'}{g^2},\qquad g\ne0$$
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.

$$\begin{aligned}\frac{F(x+h)-F(x)}h&=g(x+h)\frac{f(x+h)-f(x)}h\\[4pt]&\quad+f(x)\frac{g(x+h)-g(x)}h\end{aligned}$$

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)$.

$$\frac{Q(x+h)-Q(x)}h=\frac{g(x)\frac{\Delta f}{h}-f(x)\frac{\Delta g}{h}}{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.

Common mistake / Note: Differentiate both factors in the product rule. For a quotient, keep the denominator factor first in the numerator.
2.8 The Connection Between Derivatives and Continuity
Differentiability 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.

Common mistake / Note: Test the two slopes separately at a corner. An agreement of the function limits only establishes continuity.
2.9 Derivations of Trigonometric Functions

Angles used in these derivative rules are measured in radians.

Trigonometric derivatives
$$\begin{aligned}(\sin x)'&=\cos x\\[7pt](\cos x)'&=-\sin x\\[7pt](\tan x)'&=\sec^2x\end{aligned}$$
$$\begin{aligned}(\cot x)'&=-\operatorname{cosec}^2x\\[7pt](\sec x)'&=\sec x\tan x\\[7pt](\operatorname{cosec}x)'&=-\operatorname{cosec}x\cot x\end{aligned}$$

Proof for sine and cosine · pp. 62–63

Expand with the sine and cosine addition formulas before taking the limit.

$$\begin{aligned}\frac{\sin(x+h)-\sin x}{h}&=\sin x\frac{\cos h-1}{h}\\[4pt]&\quad+\cos x\frac{\sin h}{h}\end{aligned}$$
$$\begin{aligned}\frac{\cos(x+h)-\cos x}{h}&=\cos x\frac{\cos h-1}{h}\\[4pt]&\quad-\sin x\frac{\sin h}{h}\end{aligned}$$

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.

$$\begin{aligned}(\tan x)'&=\frac{\cos^2x+\sin^2x}{\cos^2x}\\[4pt]&=\sec^2x\end{aligned}$$
$$\begin{aligned}(\cot x)'&=\frac{-\sin^2x-\cos^2x}{\sin^2x}\\[4pt]&=-\operatorname{cosec}^2x\end{aligned}$$

For secant and cosecant, use the same rule with numerator $1$.

$$\begin{aligned}(\sec x)'&=\frac{\sin x}{\cos^2x}\\[4pt]&=\sec x\tan x\end{aligned}$$
$$\begin{aligned}(\operatorname{cosec}x)'&=-\frac{\cos x}{\sin^2x}\\[4pt]&=-\operatorname{cosec}x\cot x\end{aligned}$$

These steps apply where the corresponding denominator is nonzero.

Common mistake / Note: Differentiate $\cos x$ with a minus sign and use radians when applying the trigonometric derivative formulas.
Common mistake / Note: The boxed derivative of cosecant on p. 63 lacks its negative sign. Differentiating $\dfrac{1}{\sin x}$ gives $-\operatorname{cosec}x\cot x$.
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}$.

Inverse trigonometric derivatives
$$(\sin^{-1}x)'=\frac1{\sqrt{1-x^2}},\qquad(\cos^{-1}x)'=-\frac1{\sqrt{1-x^2}},\qquad |x|<1$$
$$(\tan^{-1}x)'=\frac1{1+x^2},\qquad(\cot^{-1}x)'=-\frac1{1+x^2},\qquad x\in R$$
$$(\sec^{-1}x)'=\frac{1}{x\sqrt{x^2-1}},\qquad(\operatorname{cosec}^{-1}x)'=-\frac{1}{x\sqrt{x^2-1}},\qquad |x|>1$$
Common mistake / Note: These secant and cosecant formulas use the book's branch $0<y<\dfrac{\pi}{2}$ or $\pi<y<\dfrac{3\pi}{2}$ for $y=\sec^{-1}x$, where $\tan y=\sqrt{x^2-1}>0$. With the principal values of Chapter 8, $|x|$ replaces $x$, for example $(\sec^{-1}x)'=\dfrac{1}{|x|\sqrt{x^2-1}}$.

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.

$$\begin{aligned}\sec^2 y\,y'&=1,&\sec^2y&=1+x^2\\[4pt]-\operatorname{cosec}^2 y\,y'&=1,&\operatorname{cosec}^2y&=1+x^2\end{aligned}$$

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.

Power rule for functions and chain rule
$$\frac{d}{dx}[g(x)]^n=n[g(x)]^{n-1}g'(x)$$
$$\frac{d}{dx}f(g(x))=f'(g(x))g'(x)$$
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)$.

$$\frac{f(g(x+h))-f(g(x))}{h}=D(k)\frac{g(x+h)-g(x)}{h}$$

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.

$$\frac{d}{dx}[g(x)]^n=n[g(x)]^{n-1}g'(x)\qquad(n\ne0)$$

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$.

Common mistake / Note: Keep the inside function in the derivative of the outside function, then multiply by the derivative of the inside.
2.12 Implicit Differentiation
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.

Common mistake / Note: Every differentiated term containing $y$ may produce a factor of $y'$. Collect those factors before dividing.
2.13 Derivative of Exponential Functions
Exponential derivatives
$$\frac{d}{dx}e^{u}=e^{u}u'$$
$$\frac{d}{dx}a^u=a^u(\ln a)u',\quad a>0$$

For $e^{4x^2}$, substitute $u=4x^2$, $u'=8x$, to obtain $8xe^{4x^2}$.

Common mistake / Note: Page 68 prints $\dfrac{a^x}{\ln a}$ on the general exponential derivative line. The derivative is $a^x\ln a$, which agrees with the logarithmic differentiation in Example 34.
2.14 Derivative of Logarithmic Functions
Logarithmic derivatives
$$\frac{d}{dx}\ln u=\frac{u'}u\quad (u>0)$$
$$\frac{d}{dx}\log_a u=\frac{u'}{u\ln a}\quad(a>0,\ a\ne1)$$

When $x=x(t)$ and $y=y(t)$ are given parametrically, use the chain rule

$$\frac{dy}{dt}=(\frac{dy}{dx})(\frac{dx}{dt})$$

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

$$\frac{2t}{2}=t$$

Substituting $t=\dfrac{x-1}{2}$ in $y$ and differentiating also gives $\dfrac{x-1}{2}=t$.

Common mistake / Note: The formula for $\ln u$ requires $u>0$. If you simplify first, keep the restrictions of the original logarithm.
2.15 Differentials
Differential
$$dy=f'(x)\,dx$$

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$.

Common mistake / Note: The differential $dy$ gives the linear part of the change. Use $\Delta y$ when the question asks for the exact change.
2.16 Approximations
Linear approximation and error
$$f(x+dx)\approx f(x)+f'(x)dx$$

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$.

Common mistake / Note: In a trigonometric differential such as $d(\sin x)=\cos x\,dx$, convert the angle increment to radians.
2.17 Higher Order Derivatives
Successive 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.

Common mistake / Note: For successive derivatives, differentiate the result of the preceding step each time.
2.18 Higher Derivatives
Higher derivative notation

$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

$$ (fg)''=f''g+2f'g'+fg'',\qquad(fg)'''=f'''g+3f''g'+3f'g''+fg''' $$

For $f(x)=2x^4$, the first four derivatives are $8x^3$, $24x^2$, $48x$ and $48$. The fifth is zero.

Common mistake / Note: A superscript in parentheses records how many times to differentiate. An ordinary exponent raises a quantity to a power.
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.

Finding extrema

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$.

Common mistake / Note: An excluded input cannot be a critical number, even if a derivative formula has a zero denominator there.
2.20 Second Derivative Test for Relative Extrema
Second derivative test

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.

$$f'(x)=3x^2-3,\qquad f''(x)=6x.$$

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$.

Relative extrema of a cubic
$x$
$y$
$-2$
$-1$
$1$
$2$
$-4$
$-3$
$-2$
$-1$
$1$
$2$
$3$
$4$
$O$
$\text{Maximum}$
$\text{Minimum}$
The tangent is horizontal at both marked points.
Common mistake / Note: At the origin, $x^4$ has a minimum and $-x^4$ has a maximum even though both second derivatives are zero there. Check the sign of the first derivative if the second derivative test gives zero.
2.21 Point of Inflection
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.

Concavity change for y = x cubed
$x$
$y$
$-2$
$-1$
$1$
$2$
$-8$
$-6$
$-4$
$-2$
$2$
$4$
$6$
$8$
$O$
$\text{inflection}$
  • $y = x^{3}$
The cubic is concave down to the left of the origin and concave up to the right.
Common mistake / Note: A vertical asymptote is outside the graph. A change of concavity across it does not give an inflection point.
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.

Business and growth models

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.

Common mistake / Note: A rate of price change has units of money per unit time. A proportional inflation rate is $\dfrac{P'(t)}{P(t)}$, and can be expressed as a percentage per unit time.

Exercise solutions of Chapter 2

Popular posts from this blog

Chapter 10 Numerical Methods MCQs and Short Questions – 12th Class Math Federal Board

Exercise 10.1 Solutions – 12th Class Math Federal Board (Root Finding by Iteration)

Exercise 10.2 Examples – 12th Class Math Federal Board (Trapezoidal and Simpson Rules)