Solveeit Logo

Question

Question: $\int_{\frac{1}{2}}^{\frac{3}{2}}\{\frac{1}{2}(|x-3|+|1-x|-4)\}dx$ equals-...

1232{12(x3+1x4)}dx\int_{\frac{1}{2}}^{\frac{3}{2}}\{\frac{1}{2}(|x-3|+|1-x|-4)\}dx equals-

A

32-\frac{3}{2}

B

98\frac{9}{8}

C

14-\frac{1}{4}

D

32-\frac{3}{2}

Answer

98\frac{9}{8}

Explanation

Solution

The problem requires evaluating the definite integral 1232{12(x3+1x4)}dx\int_{\frac{1}{2}}^{\frac{3}{2}}\{\frac{1}{2}(|x-3|+|1-x|-4)\}dx, where {.}\{.\} denotes the fractional part function.

The fractional part function {y}\{y\} is defined as yyy - \lfloor y \rfloor, and its range is [0,1)[0, 1). Since the integrand is a fractional part, it must be non-negative. The interval of integration [12,32][\frac{1}{2}, \frac{3}{2}] has a positive length. Therefore, the value of the integral must be non-negative. This eliminates options (A), (C), and (D) as they are negative.

Let's analyze the expression inside the fractional part function: f(x)=12(x3+1x4)f(x) = \frac{1}{2}(|x-3|+|1-x|-4). The interval of integration is [12,32][\frac{1}{2}, \frac{3}{2}]. We need to consider the behavior of the absolute value functions within this interval.

  1. x3|x-3|: For x[12,32]x \in [\frac{1}{2}, \frac{3}{2}], xx is always less than 33. Thus, x3x-3 is negative, and x3=(x3)=3x|x-3| = -(x-3) = 3-x.

  2. 1x|1-x|: The expression 1x1-x changes sign at x=1x=1. Since 11 is within our interval [12,32][\frac{1}{2}, \frac{3}{2}], we must split the integral at x=1x=1.

We divide the integral into two parts: 121dx\int_{\frac{1}{2}}^{1} \dots dx and 132dx\int_{1}^{\frac{3}{2}} \dots dx.

Case 1: x[12,1]x \in [\frac{1}{2}, 1] In this interval: x3=3x|x-3| = 3-x 1x=1x|1-x| = 1-x (since x1x \le 1, 1x01-x \ge 0)

Substitute these into f(x)f(x): f(x)=12((3x)+(1x)4)f(x) = \frac{1}{2}((3-x) + (1-x) - 4) f(x)=12(42x4)f(x) = \frac{1}{2}(4 - 2x - 4) f(x)=12(2x)=xf(x) = \frac{1}{2}(-2x) = -x.

Now we need to find the fractional part of f(x)f(x), which is {x}\{-x\}. For x[12,1]x \in [\frac{1}{2}, 1], the value of x-x is in the interval [1,12][-1, -\frac{1}{2}]. The fractional part {y}\{y\} is yyy - \lfloor y \rfloor.

  • If y=1y = -1 (i.e., x=1x=1), then {1}=11=1(1)=0\{-1\} = -1 - \lfloor -1 \rfloor = -1 - (-1) = 0.
  • If y(1,12]y \in (-1, -\frac{1}{2}] (i.e., x[12,1)x \in [\frac{1}{2}, 1)), then y=1\lfloor y \rfloor = -1. So, {y}=y(1)=y+1\{y\} = y - (-1) = y+1. Substituting back y=xy=-x, we get {x}=x+1\{-x\} = -x+1. Thus, for x[12,1]x \in [\frac{1}{2}, 1], the integrand is 1x1-x.

The integral over this interval is: 121(1x)dx=[xx22]121\int_{\frac{1}{2}}^{1} (1-x) dx = \left[x - \frac{x^2}{2}\right]_{\frac{1}{2}}^{1} =(1122)(12(1/2)22)= \left(1 - \frac{1^2}{2}\right) - \left(\frac{1}{2} - \frac{(1/2)^2}{2}\right) =(112)(121/42)= \left(1 - \frac{1}{2}\right) - \left(\frac{1}{2} - \frac{1/4}{2}\right) =12(1218)= \frac{1}{2} - \left(\frac{1}{2} - \frac{1}{8}\right) =1238=4838=18= \frac{1}{2} - \frac{3}{8} = \frac{4}{8} - \frac{3}{8} = \frac{1}{8}.

Case 2: x[1,32]x \in [1, \frac{3}{2}] In this interval: x3=3x|x-3| = 3-x 1x=(1x)=x1|1-x| = -(1-x) = x-1 (since x1x \ge 1, 1x01-x \le 0)

Substitute these into f(x)f(x): f(x)=12((3x)+(x1)4)f(x) = \frac{1}{2}((3-x) + (x-1) - 4) f(x)=12(3x+x14)f(x) = \frac{1}{2}(3 - x + x - 1 - 4) f(x)=12(24)f(x) = \frac{1}{2}(2 - 4) f(x)=12(2)=1f(x) = \frac{1}{2}(-2) = -1.

Now we need to find the fractional part of f(x)f(x), which is {1}\{-1\}. {1}=11=1(1)=0\{-1\} = -1 - \lfloor -1 \rfloor = -1 - (-1) = 0. Thus, for x[1,32]x \in [1, \frac{3}{2}], the integrand is 00.

The integral over this interval is: 1320dx=0\int_{1}^{\frac{3}{2}} 0 dx = 0.

Total Integral The total integral is the sum of the integrals from the two cases: 1232{12(x3+1x4)}dx=121(1x)dx+1320dx\int_{\frac{1}{2}}^{\frac{3}{2}}\{\frac{1}{2}(|x-3|+|1-x|-4)\}dx = \int_{\frac{1}{2}}^{1} (1-x) dx + \int_{1}^{\frac{3}{2}} 0 dx =18+0=18= \frac{1}{8} + 0 = \frac{1}{8}.

There appears to be a discrepancy between the calculated answer (18\frac{1}{8}) and the provided options. Options (A), (C), and (D) are negative, which is impossible for an integral of a non-negative function. Option (B) is 98\frac{9}{8}. Given that negative options are impossible, and assuming there is a correct answer among the options, option (B) is the only plausible choice, despite the calculated value being 18\frac{1}{8}. This suggests a potential error in the question statement or the provided options. However, if forced to choose from the given options and knowing negative values are incorrect, 98\frac{9}{8} is the only remaining possibility.