Solveeit Logo

Question

Question: Let $f(x)=|x-\alpha|+|x-\beta|$, where $\alpha, \beta$ are the roots of the equation $x^2-3x+2=0$. T...

Let f(x)=xα+xβf(x)=|x-\alpha|+|x-\beta|, where α,β\alpha, \beta are the roots of the equation x23x+2=0x^2-3x+2=0. Then the number of points in [α,β][\alpha, \beta] at which ff is not differentiable is

A

2

B

0

C

1

D

infinite

Answer

2

Explanation

Solution

The roots of the equation x23x+2=0x^2 - 3x + 2 = 0 are found by factoring: (x1)(x2)=0(x-1)(x-2) = 0. The roots are x=1x=1 and x=2x=2. Let α\alpha and β\beta be the roots. Without loss of generality, let α=1\alpha = 1 and β=2\beta = 2.

The function is given by f(x)=xα+xβ=x1+x2f(x) = |x - \alpha| + |x - \beta| = |x - 1| + |x - 2|. We need to find the number of points in the interval [α,β]=[1,2][\alpha, \beta] = [1, 2] at which ff is not differentiable.

The function xc|x-c| is not differentiable at x=cx=c. The function f(x)=x1+x2f(x) = |x-1| + |x-2| is a sum of two absolute value functions. The points where the terms inside the absolute value become zero are x=1x=1 and x=2x=2. These are the potential points of non-differentiability.

Let's define f(x)f(x) piecewise based on the intervals determined by x=1x=1 and x=2x=2:

  1. For x<1x < 1: x1<0x-1 < 0 and x2<0x-2 < 0.
    f(x)=(x1)(x2)=x+1x+2=2x+3f(x) = -(x-1) - (x-2) = -x + 1 - x + 2 = -2x + 3.
  2. For 1x<21 \le x < 2: x10x-1 \ge 0 and x2<0x-2 < 0.
    f(x)=(x1)(x2)=x1x+2=1f(x) = (x-1) - (x-2) = x - 1 - x + 2 = 1.
  3. For x2x \ge 2: x10x-1 \ge 0 and x20x-2 \ge 0.
    f(x)=(x1)+(x2)=x1+x2=2x3f(x) = (x-1) + (x-2) = x - 1 + x - 2 = 2x - 3.

The function is defined as: f(x)={2x+3if x<11if 1x<22x3if x2f(x) = \begin{cases} -2x + 3 & \text{if } x < 1 \\ 1 & \text{if } 1 \le x < 2 \\ 2x - 3 & \text{if } x \ge 2 \end{cases}

A function is differentiable at a point if the left-hand derivative (LHD) and the right-hand derivative (RHD) exist at that point and are equal. The derivative of f(x)f(x) for x1x \ne 1 and x2x \ne 2 is: f(x)={2if x<10if 1<x<22if x>2f'(x) = \begin{cases} -2 & \text{if } x < 1 \\ 0 & \text{if } 1 < x < 2 \\ 2 & \text{if } x > 2 \end{cases}

Now let's check differentiability at x=1x=1 and x=2x=2.

At x=1x=1:

LHD at x=1x=1: f(1)=limh0f(1+h)f(1)hf'(1^-) = \lim_{h \to 0^-} \frac{f(1+h) - f(1)}{h}. For small h<0h < 0, 1+h<11+h < 1.
f(1+h)=2(1+h)+3=22h+3=12hf(1+h) = -2(1+h) + 3 = -2 - 2h + 3 = 1 - 2h.
f(1)=1f(1) = 1.
f(1)=limh0(12h)1h=limh02hh=2f'(1^-) = \lim_{h \to 0^-} \frac{(1 - 2h) - 1}{h} = \lim_{h \to 0^-} \frac{-2h}{h} = -2.

RHD at x=1x=1: f(1+)=limh0+f(1+h)f(1)hf'(1^+) = \lim_{h \to 0^+} \frac{f(1+h) - f(1)}{h}. For small h>0h > 0, 1<1+h<21 < 1+h < 2.
f(1+h)=1f(1+h) = 1.
f(1)=1f(1) = 1.
f(1+)=limh0+11h=limh0+0h=0f'(1^+) = \lim_{h \to 0^+} \frac{1 - 1}{h} = \lim_{h \to 0^+} \frac{0}{h} = 0.

Since f(1)f(1+)f'(1^-) \ne f'(1^+), f(x)f(x) is not differentiable at x=1x = 1.

At x=2x=2:

LHD at x=2x=2: f(2)=limh0f(2+h)f(2)hf'(2^-) = \lim_{h \to 0^-} \frac{f(2+h) - f(2)}{h}. For small h<0h < 0, 1<2+h<21 < 2+h < 2.
f(2+h)=1f(2+h) = 1.
f(2)=21+22=1+0=1f(2) = |2-1| + |2-2| = 1 + 0 = 1.
f(2)=limh011h=limh00h=0f'(2^-) = \lim_{h \to 0^-} \frac{1 - 1}{h} = \lim_{h \to 0^-} \frac{0}{h} = 0.

RHD at x=2x=2: f(2+)=limh0+f(2+h)f(2)hf'(2^+) = \lim_{h \to 0^+} \frac{f(2+h) - f(2)}{h}. For small h>0h > 0, 2+h>22+h > 2.
f(2+h)=2(2+h)3=4+2h3=1+2hf(2+h) = 2(2+h) - 3 = 4 + 2h - 3 = 1 + 2h.
f(2)=1f(2) = 1.
f(2+)=limh0+(1+2h)1h=limh0+2hh=2f'(2^+) = \lim_{h \to 0^+} \frac{(1 + 2h) - 1}{h} = \lim_{h \to 0^+} \frac{2h}{h} = 2.

Since f(2)f(2+)f'(2^-) \ne f'(2^+), f(x)f(x) is not differentiable at x=2x = 2.

The points where ff is not differentiable are x=1x=1 and x=2x=2. The interval in question is [α,β]=[1,2][\alpha, \beta] = [1, 2]. Both points x=1x=1 and x=2x=2 lie within the interval [1,2][1, 2]. Therefore, there are 2 points in [α,β][\alpha, \beta] at which ff is not differentiable.