# Longest Distance

Calculus Level pending

Let $$f(k)$$ be the distance between the origin and the line $$k(x+y)-x+y+2=0,$$ where $$k$$ is a constant. Then what is the maximum value of $$f(k)?$$

×