6.4 Maxima-Minima, Indeterminate Forms & Taylor Series

Key Takeaways

  • At a stationary point f'(x) = 0, a positive second derivative indicates a local minimum, a negative one a local maximum, and a zero second derivative demands a higher-order or sign-change test.

  • L'Hopital's rule applies only to the indeterminate forms 0/0 and infinity/infinity; other indeterminate forms must first be algebraically converted into one of these two.

  • The Taylor series expands f(x) about x = a using successive derivatives divided by factorials, and the Maclaurin series is simply the Taylor series about a = 0.

  • Truncating a Taylor series after the linear term is the mathematical basis for small-angle approximations and for linearising governor and vibration equations later in Paper-II.

Last updated: August 2026

Maxima and Minima of a Single Variable

Optimisation is the most directly useful calculus topic for a mechanical engineer: minimum cost of machining, maximum power transmitted by a belt, optimum order quantity in inventory control. All of them follow the same two-step recipe.

Step 1 — locate stationary points. Solve f′(x)=0f'(x) = 0.

Step 2 — classify them using the second derivative test:

f′′(x)f''(x) at the stationary pointNature
f′′(x)>0f''(x) > 0Local minimum (curve concave up)
f′′(x)<0f''(x) < 0Local maximum (curve concave down)
f′′(x)=0f''(x) = 0Test fails — check higher derivatives or sign change

When f′′(x)=0f''(x) = 0 the point may be a maximum, a minimum, or a point of inflection. The reliable fallback is the first-derivative sign test: if f′f' changes from positive to negative, it is a maximum; negative to positive, a minimum; no change, an inflection.

For a closed interval [a,b][a,b], the absolute extremum must be found by comparing the values at all interior stationary points and at both endpoints. Candidates routinely forget the endpoints.

Worked example. A rectangular settling tank of fixed volume V=32V = 32 m3^3 has a square base of side xx and height hh, and is open at the top. Minimise the surface area.

With h=32/x2h = 32/x^2, the area is

A=x2+4xh=x2+128xA = x^2 + 4xh = x^2 + \frac{128}{x}

Then dA/dx=2x−128/x2=0dA/dx = 2x - 128/x^2 = 0 gives x3=64x^3 = 64, so x=4x = 4 m and h=2h = 2 m. Check: d2A/dx2=2+256/x3=6>0d^2A/dx^2 = 2 + 256/x^3 = 6 > 0, confirming a minimum. The minimum area is 16+32=4816 + 32 = 48 m2^2.

Indeterminate Forms

Seven forms are indeterminate:

00,∞∞,0×∞,∞−∞,00,∞0,1∞\frac{0}{0}, \quad \frac{\infty}{\infty}, \quad 0 \times \infty, \quad \infty - \infty, \quad 0^0, \quad \infty^0, \quad 1^{\infty}

L'Hopital's rule applies directly only to the first two. If f(a)=g(a)=0f(a) = g(a) = 0 (or both tend to infinity) and g′(a)≠0g'(a) \neq 0, then

lim⁡x→af(x)g(x)=lim⁡x→af′(x)g′(x)\lim_{x\to a} \frac{f(x)}{g(x)} = \lim_{x\to a} \frac{f'(x)}{g'(x)}

and the rule may be applied repeatedly while the form remains indeterminate. Applying it to a form that is not indeterminate — for instance 2/02/0 — produces a wrong answer, and this is the single most common error on such items.

The other five forms are converted first. A product 0×∞0 \times \infty is rewritten as a quotient; a difference ∞−∞\infty - \infty is combined over a common denominator; the three exponential forms are handled by taking logarithms.

Worked example. lim⁡x→0ex−1−xx2\lim_{x\to0} \dfrac{e^x - 1 - x}{x^2} is of the form 0/00/0. Differentiating gives ex−12x\dfrac{e^x - 1}{2x}, still 0/00/0. Differentiating again gives ex2→12\dfrac{e^x}{2} \to \dfrac{1}{2}.

Taylor and Maclaurin Series

Any function with sufficiently many derivatives at x=ax = a can be expanded as

f(x)=f(a)+(x−a)f′(a)+(x−a)22!f′′(a)+(x−a)33!f′′′(a)+⋯f(x) = f(a) + (x-a)f'(a) + \frac{(x-a)^2}{2!}f''(a) + \frac{(x-a)^3}{3!}f'''(a) + \cdots

Setting a=0a = 0 gives the Maclaurin series

f(x)=f(0)+xf′(0)+x22!f′′(0)+x33!f′′′(0)+⋯f(x) = f(0) + x f'(0) + \frac{x^2}{2!}f''(0) + \frac{x^3}{3!}f'''(0) + \cdots

The expansions you must recall without derivation:

≠x=1+x+x22!+x33!+⋯\ne^{x} = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \cdots sin⁡x=x−x33!+x55!−⋯\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \cdots cos⁡x=1−x22!+x44!−⋯\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \cdots ln⁡(1+x)=x−x22+x33−⋯(−1<x≤1)\ln(1+x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots \quad (-1 < x \leq 1) (1+x)n=1+nx+n(n−1)2!x2+⋯(∣x∣<1)(1+x)^{n} = 1 + nx + \frac{n(n-1)}{2!}x^2 + \cdots \quad (|x| < 1)

Note the parity: sin⁡x\sin x contains only odd powers, cos⁡x\cos x only even powers. A question offering an even-power term in the sine expansion can be eliminated on inspection.

Why This Matters Downstream in Paper-II

Truncating these series after the first-order term is the formal justification for approximations you will use repeatedly:

  • sin⁡θ≈θ\sin\theta \approx \theta and cos⁡θ≈1\cos\theta \approx 1 for small θ\theta — used to linearise the simple pendulum and the governor equations in Theory of Machines.
  • (1+x)n≈1+nx(1+x)^n \approx 1 + nx — used for small changes in efficiency, density and clearance calculations.
  • The two-term expansion of exe^x underlies the linearisation of exponential temperature decay in lumped-capacitance heat transfer.

A Taylor expansion truncated after the linear term is exactly a tangent-line approximation, which connects back to the mean value theorem of the previous section.

Worked Example: Approximating a Root

Estimate 4.1\sqrt{4.1} using a two-term expansion. Write 4.1=21+0.025\sqrt{4.1} = 2\sqrt{1 + 0.025} and apply (1+x)1/2≈1+x/2(1+x)^{1/2} \approx 1 + x/2:

4.1≈2(1+0.0125)=2.025\sqrt{4.1} \approx 2\left(1 + 0.0125\right) = 2.025

The true value is 2.02485, so the linear term alone gives four-figure accuracy — which is why this technique is worth more than a calculator in a timed paper.

Test Your Knowledge

At a stationary point of f(x), the second derivative is found to be negative. The point is a:

A

Local maximum

B

Point of inflection

C

Saddle point

D

Local minimum

Test Your Knowledge

L'Hopital's rule may be applied directly only when the limit takes which form?

A

Infinity minus infinity

B

Zero over zero, or infinity over infinity

C

Zero times infinity

D

One raised to the power infinity

Test Your Knowledge

In the Maclaurin expansion of sin x, which powers of x appear?

A

Only powers that are multiples of three

B

Only even powers

C

Only odd powers

D

All integer powers

Test Your Knowledge

An open-top tank with a square base of side x and fixed volume 32 cubic metres has surface area A = x^2 + 128/x. The side length that minimises the surface area is:

A

6 m

B

8 m

C

2 m

D

4 m

Sections you finish are checked off in the contents.