# Proof of Continuity – A split function with polynomial functions and a parameter – Exercise 5874

Exercise

Given the function

$$f(x) = \begin{cases}x+k, &\quad x\leq 2\\ 5-x, &\quad x > 2\\ \end{cases}$$

k is a parameter. For what values of the parameter the function is continuous?

$$k=1$$