Solveeit Logo

Question

Question: Number of points where $f(x) = x^2 - |x^2 - 1| + 2||x| - 1| + 2|x| - 7$ is non differentiable is...

Number of points where f(x)=x2x21+2x1+2x7f(x) = x^2 - |x^2 - 1| + 2||x| - 1| + 2|x| - 7 is non differentiable is

Answer

0

Explanation

Solution

The function f(x)=x2x21+2x1+2x7f(x) = x^2 - |x^2 - 1| + 2||x| - 1| + 2|x| - 7 is an even function. Non-differentiability can occur at points where the arguments of absolute value functions are zero: x21=0    x=±1x^2 - 1 = 0 \implies x = \pm 1; x1=0    x=±1|x| - 1 = 0 \implies x = \pm 1; x=0    x=0|x| = 0 \implies x = 0. The potential points of non-differentiability are x=1,0,1x = -1, 0, 1.

Since f(x)f(x) is even, we only need to check x=0x = 0 and x=1x = 1.

For x0x \ge 0, x=x|x| = x. So, f(x)=x2x21+2x1+2x7f(x) = x^2 - |x^2 - 1| + 2|x - 1| + 2x - 7.

Case 1: 0x<10 \le x < 1. f(x)=x2(1x2)+2(1x)+2x7=2x26f(x) = x^2 - (1 - x^2) + 2(1 - x) + 2x - 7 = 2x^2 - 6. The derivative is f(x)=4xf'(x) = 4x. f(0+)=0f'(0^+) = 0. f(1)=4f'(1^-) = 4.

Case 2: x>1x > 1. f(x)=x2(x21)+2(x1)+2x7=4x8f(x) = x^2 - (x^2 - 1) + 2(x - 1) + 2x - 7 = 4x - 8. The derivative is f(x)=4f'(x) = 4. f(1+)=4f'(1^+) = 4.

At x=0x=0: For x<0x < 0, x=x|x| = -x. f(x)=x2x21+2x1+2(x)7f(x) = x^2 - |x^2 - 1| + 2|-x - 1| + 2(-x) - 7. For 1<x<0-1 < x < 0, f(x)=x2(1x2)+2(x+1)2x7=2x26f(x) = x^2 - (1-x^2) + 2(x+1) - 2x - 7 = 2x^2 - 6. The derivative is f(x)=4xf'(x) = 4x. So, f(0)=0f'(0^-) = 0. Since f(0)=f(0+)=0f'(0^-) = f'(0^+) = 0, f(x)f(x) is differentiable at x=0x=0.

At x=1x=1: Since f(1)=4f'(1^-) = 4 and f(1+)=4f'(1^+) = 4, f(x)f(x) is differentiable at x=1x=1.

Since f(x)f(x) is differentiable at x=0x=0 and x=1x=1, it is also differentiable at x=1x=-1 due to symmetry. Therefore, the function is differentiable at all points x=1,0,1x = -1, 0, 1. The number of non-differentiable points is 0.