Maths WorkshopMaths problems with full solutions
Exercise 731Calculus › Single-variable calculus › Differentiation › Taylor expansionsL1Added 2 Nov 2026

Classifying a critical point when f″(0) = 0

#local extrema#Taylor expansion#second derivative test

Statement

Each function below has a critical point at 00 where the second derivative also vanishes. Decide, with Taylor expansions, whether 00 is a local minimum, a local maximum, or neither.

  1. f1(x)=cos⁡x−1+x22f_1(x)=\cos x-1+\dfrac{x^2}2
  2. f2(x)=sin⁡x−x+x36f_2(x)=\sin x-x+\dfrac{x^3}6
  3. f3(x)=xsin⁡x−x2f_3(x)=x\sin x-x^2
Hint

Find the first non-zero term in the expansion at 00. If it is c xmc\,x^m with mm even, the sign of cc decides; if mm is odd, there is no extremum.

Show solutionHide solution

Solution

Rule. If f(x)=c xm+o(xm)f(x)=c\,x^m+o(x^m) with c≠0c\ne0, then near 00 the function ff has the sign of cxmcx^m.

1. cos⁡x=1−x22+x424−…\cos x=1-\frac{x^2}2+\frac{x^4}{24}-\dots, so f1(x)=x424+o(x4)f_1(x)=\dfrac{x^4}{24}+o(x^4). The exponent 44 is even and the coefficient is positive: f1≥0f_1\ge0 near 0=f1(0)0=f_1(0). Local minimum.

2. sin⁡x=x−x36+x5120−…\sin x=x-\frac{x^3}6+\frac{x^5}{120}-\dots, so f2(x)=x5120+o(x5)f_2(x)=\dfrac{x^5}{120}+o(x^5). The exponent 55 is odd: f2f_2 changes sign at 00. No extremum (an inflection point).

3. xsin⁡x=x2−x46+…x\sin x=x^2-\frac{x^4}6+\dots, so f3(x)=−x46+o(x4)f_3(x)=-\dfrac{x^4}6+o(x^4). The exponent is even and the coefficient is negative: local maximum.

Remark. The second derivative test (f′′(0)>0f''(0)>0 or <0<0) is silent in these three cases because f′′(0)=0f''(0)=0. Taylor expansions give the complete picture.