Let k be a positive real number. The line x + y = k and the circle x^2 + y^2 = 2k + 1 are drawn. Find k so that the line is tangent to the circle.
See asinus's excellent answer here :
https://web2.0calc.com/questions/plz-help_3311