f(x)={(2+x)3,x2/3,−3<x≤−1−1<x<2
To find: total number of local maxima and local minima
1. derivative and its sign on each piece
2. check the junction x=−1
3. count local maxima and minima
Local extremum: f′ changes sign at x0, or f′ undefined at x0
g(x)=(2+x)3⇒g′(x)=3(2+x)2≥0
g′(−2)=0 but g′>0 on both sides⇒no extremum at x=−2
h(x)=x2/3⇒h′(x)=32x−1/3=3x1/32
h′(0) is undefined (denominator 0)⇒cusp at x=0
h(0)=0, h>0 nearby⇒local min at x=0
At x=−1: (2−1)3=1=(−1)2/3⇒continuous
f(−1)=1>f(x) for x nearby⇒local max at x=−1
max at x=−1, min at x=0⇒total=2
Answer: (3) 2