Answer :
Answer:
[tex]k=-2 +3\sqrt{2}, \quad k=-2 -3\sqrt{2}[/tex]
Step-by-step explanation:
Given equation of the circle:
[tex](x-2)^2+y^2=9[/tex]
The tangent of a circle is a straight line that touches a circle at one point.
If the line y = x + k is a tangent of the given circle, it will intersect the circle.
Therefore, substitute the equation of the tangent line into the equation of the circle:
[tex]\implies (x-2)^2+(x+k)^2=9[/tex]
[tex]\implies x^2-4x+4+x^2+2kx+k^2=9[/tex]
[tex]\implies x^2-4x+4+x^2+2kx+k^2-9=0[/tex]
[tex]\implies 2x^2+(2k-4)x+(k^2-5)=0[/tex]
Two lines with the same slope (but different y-intercepts) can be the tangents to the circle at two different points, so there are two possible values of k.
To find k, use the discriminant and set it to zero (if the discriminant equals zero there are two solutions).
Discriminant
[tex]\boxed{b^2-4ac}\quad\textsf{when}\:ax^2+bx+c=0[/tex]
Therefore:
[tex]a=2, \quad b=(2k-4), \quad c=(k^2-5)[/tex]
Substitute the values into the discriminant formula:
[tex]\implies b^2-4ac=0[/tex]
[tex]\implies (2k-4)^2-4(2)(k^2-5)=0[/tex]
[tex]\implies 4k^2-16k+16-8k^2+40=0[/tex]
[tex]\implies -4k^2-16k+56=0[/tex]
[tex]\implies -4(k^2+4k-14)=0[/tex]
[tex]\implies k^2+4k-14=0[/tex]
Use the quadratic formula to solve the quadratic.
[tex]\boxed{x=\dfrac{-b \pm \sqrt{b^2-4ac}}{2a}}\quad\textsf{when }\:ax^2+bx+c=0[/tex]
[tex]\implies k=\dfrac{-4 \pm \sqrt{4^2-4(1)(-14)}}{2(1)}[/tex]
[tex]\implies k=\dfrac{-4 \pm \sqrt{16+56}}{2}[/tex]
[tex]\implies k=\dfrac{-4 \pm \sqrt{72}}{2}[/tex]
[tex]\implies k=\dfrac{-4 \pm \sqrt{36 \cdot 2}}{2}[/tex]
[tex]\implies k=\dfrac{-4 \pm \sqrt{36} \sqrt{2}}{2}[/tex]
[tex]\implies k=\dfrac{-4 \pm 6 \sqrt{2}}{2}[/tex]
[tex]\implies k=-2 \pm 3\sqrt{2}[/tex]
Therefore, the possible values of k are:
[tex]k=-2 +3\sqrt{2}, \quad k=-2 -3\sqrt{2}[/tex]