Let m and n be the number of points at which the function f(x)=maxx,x3,x5,…x21,x∈R, is not differentiable and not continuous, respectively. Then m+n is equal to \_\_\_\_\_\_\_\_\_.
Answer: 3
Solutions · 1
Official solution
Since f is a maximum of finitely many continuous functions, f is continuous everywhere, so n=0.
For x≥1: x21≥x19≥⋯≥x. For −1≤x≤0: raising a number in [−1,0] to a higher odd power brings it closer to 0, so x21≥x19≥⋯≥x there too. For 0<x<1 and x<−1, the smallest power x dominates the max. This gives:
\[f(x)=⎩⎨⎧x,x21,x,x21,x<−1−1≤x≤00<x<1x≥1\qquad f'(x)=⎩⎨⎧1,21x20,1,21x20,x<−1−1≤x≤00<x<1x≥1\]
Checking the junctions: at x=−1, LHD =1, RHD =21 --- differ. At x=0, LHD =0, RHD =1 --- differ. At x=1, LHD =1, RHD =21 --- differ. So f is non-differentiable at exactly 3 points: m=3.
m+n=3+0=3