We are given a piecewise function: $f(x) = \begin{cases} x-1, & x < n \\ -x+4, & x \ge n \end{cases}$ We need to find the range of $f$ when $n=5$, and also determine if changing the value of $n$ changes the range of $f$.
2025/4/18
1. Problem Description
We are given a piecewise function:
We need to find the range of when , and also determine if changing the value of changes the range of .
2. Solution Steps
a. If , the piecewise function becomes:
For , . As approaches 5 from the left, approaches . So, for .
For , . When , . As increases, decreases, and it tends towards . So, for .
Combining these two intervals, we have and . This means the range of is , which is .
Hence, the range is .
b. To determine if changing affects the range, we need to analyze the function.
For , . The range is .
For , . When , .
As , . So the range is .
The range of the entire function is , which equals to .
We need to solve to determine the value of for which the two ranges connect.
, so .
If , then . So, the range is .
If , then . So, the range is .
If , then the range is .
Regardless of the value of , the range will be .
Since is increasing in and is decreasing in , the range is dependent on the value of .
3. Final Answer
a. If n = 5, the range of f is or . Thus .
b. Yes, changing the value of n changes the range. The upper bound of the range changes with n. If , the upper bound is . If , the upper bound is .