Functions with absolute values

1003019303

Level: 
B
Let \( f(x)=|2-x|+|x+1| \). Identify which of the statements is correct.
Function \( f \) has minimum at \( x=-1 \) and at \( x=2 \).
Function \( f \) has minimum at \( x=-1 \) and maximum at \( x=2 \).
Function \( f \) has maximum at \( x=-1 \) and at \( x=2 \).
Function \( f \) has minimum at \( x=3 \).

9000024408

Level: 
A
Identify the values of real parameters \(a\) and \(b\) such that the graph of the function \[ f(x)= |x - a| + b \] corresponds to the picture.
\(\ \ a = 3,\quad \phantom{ -} b = -2\)
\(\ \ a = -3,\quad b = 2\)
\(\ \ a = 2,\quad \phantom{ -} b = -3\)
\(\ \ a = -2,\quad b = 2\)