Let f:R→R be defined by f(x)=⎩⎨⎧3(1−2∣x∣),0,∣x∣≤2∣x∣>2. Let g:R→R be given by g(x)=f(x+2)−f(x−2). If n and m denote the number of points in R where g is not continuous and not differentiable respectively, then n+m is equal to ..........
Answer: 4
Solutions · 1
Official solution
\[f(x)=⎩⎨⎧0,23(1+x),23(1−x),0,x<−2−2≤x<00≤x<2x>2\]
Shifting and combining, g(x)=f(x+2)+f(x−2) (equivalently) is piecewise-linear, continuous everywhere (n=0) but has corners at x=−4,−2,2,4, giving m=4. So n+m=4.