Let k be a positive real number. The line x + y = k and the circle x^2 + y^2 = k are drawn. Find k so that the line is tangent to the circle.
K = 2.
I found this on quora. Look there for a VERY detailed explanation.
https://www.quora.com/Let-k-be-a-positive-real-number-The-line-x-y-k-and-the-circle-x-2-y-2-k-are-drawn-What-is-k-so-that-the-line-is-tangent-to-the-circle