Question:medium

Let \( g(x) = \max(5 - x,\ x + 2) \). The smallest possible value of \( g(x) \) is

Show Hint

Where do the lines \( 5 - x \) and \( x + 2 \) meet? The maximum of two such lines is lowest at that meeting point. Compare the value you get there with the options.
Updated On: Nov 7, 2026
  • \( 4.0 \)
  • \( 4.5 \)
  • \( 1.5 \)
  • None of the above
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Concept:
For any two numbers $a$ and $b$, the larger one can be written with an absolute value: $\max(a, b) = \dfrac{a + b}{2} + \dfrac{|a - b|}{2}$. Think of it as the average of the two numbers plus half the gap between them.

Step 2: Apply it to this function:
Take $a = 5 - x$ and $b = x + 2$.
The sum is $a + b = (5 - x) + (x + 2) = 7$, so the average part is $\dfrac{7}{2} = 3.5$. The $x$ terms cancel, so this part does not change with $x$.
The difference is $a - b = (5 - x) - (x + 2) = 3 - 2x$.
\[ g(x) = 3.5 + \dfrac{|3 - 2x|}{2} \]

Step 3: Find the smallest value:
An absolute value is never negative, so $\dfrac{|3 - 2x|}{2} \geq 0$ for every $x$. That means $g(x) \geq 3.5$ for all real $x$.
The extra term becomes exactly zero when $3 - 2x = 0$, that is $x = 1.5$. So the value $3.5$ is actually reached and is the true minimum.

Step 4: Quick check with numbers:
Try a few values of $x$ to see the pattern. At $x = 0$: $g = 3.5 + 1.5 = 5$. At $x = 1$: $g = 3.5 + 0.5 = 4$. At $x = 1.5$: $g = 3.5 + 0 = 3.5$. At $x = 2$: $g = 3.5 + 0.5 = 4$. At $x = 3$: $g = 3.5 + 1.5 = 5$.
The values come down to $3.5$ and then go up again, which matches the formula. Nothing below $3.5$ appears.

Step 5: Compare with the options:
Option 1 ($4.0$) and option 2 ($4.5$) are values that $g$ does take, but they are bigger than $3.5$, so they are not the smallest.
Option 3 ($1.5$) is the $x$ at which the minimum happens. The function never goes as low as $1.5$.
The real minimum $3.5$ matches none of the first three, so option 4 is the answer.

Final Answer:
The least value of $g(x)$ is $3.5$, so the answer is None of the above, option 4. \[ \boxed{\text{Option 4}} \]
Was this answer helpful?
0