Key idea: f is even, so study x≥0, splitting at x=1, where ∣x2−1∣ changes form.
- On [0,1]: f=x+1−x2, so f′=1−2x. f increases to x=21 (where f=45, a local max), then decreases to f(1)=1.
- For x>1: f=x+x2−1, which is increasing. So x=1 is a local min.
- At x=0: f(0)=1, and near 0, f≈1+∣x∣−x2>1. So x=0 is a local min (a corner).
- By symmetry, x=−21 is also a local max and x=−1 a local min.
- The extreme points are 0,±21,±1: 5 points.
Answer: 5