直線 $y = x + 2$ が円 $x^2 + y^2 = 5$ によって切り取られる弦の長さを求める問題です。幾何学円直線弦の長さ二次方程式座標2025/4/131. 問題の内容直線 y=x+2y = x + 2y=x+2 が円 x2+y2=5x^2 + y^2 = 5x2+y2=5 によって切り取られる弦の長さを求める問題です。2. 解き方の手順まず、直線と円の交点の座標を求めます。直線の式 y=x+2y = x + 2y=x+2 を円の式 x2+y2=5x^2 + y^2 = 5x2+y2=5 に代入します。x2+(x+2)2=5x^2 + (x + 2)^2 = 5x2+(x+2)2=5x2+x2+4x+4=5x^2 + x^2 + 4x + 4 = 5x2+x2+4x+4=52x2+4x−1=02x^2 + 4x - 1 = 02x2+4x−1=0この二次方程式を解の公式を使って解きます。x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}x=2a−b±b2−4acx=−4±42−4(2)(−1)2(2)x = \frac{-4 \pm \sqrt{4^2 - 4(2)(-1)}}{2(2)}x=2(2)−4±42−4(2)(−1)x=−4±16+84x = \frac{-4 \pm \sqrt{16 + 8}}{4}x=4−4±16+8x=−4±244x = \frac{-4 \pm \sqrt{24}}{4}x=4−4±24x=−4±264x = \frac{-4 \pm 2\sqrt{6}}{4}x=4−4±26x=−1±62x = -1 \pm \frac{\sqrt{6}}{2}x=−1±26したがって、x1=−1+62x_1 = -1 + \frac{\sqrt{6}}{2}x1=−1+26 と x2=−1−62x_2 = -1 - \frac{\sqrt{6}}{2}x2=−1−26 となります。それぞれの xxx の値に対応する yyy の値を求めます。y1=x1+2=−1+62+2=1+62y_1 = x_1 + 2 = -1 + \frac{\sqrt{6}}{2} + 2 = 1 + \frac{\sqrt{6}}{2}y1=x1+2=−1+26+2=1+26y2=x2+2=−1−62+2=1−62y_2 = x_2 + 2 = -1 - \frac{\sqrt{6}}{2} + 2 = 1 - \frac{\sqrt{6}}{2}y2=x2+2=−1−26+2=1−26交点の座標は (−1+62,1+62)\left(-1 + \frac{\sqrt{6}}{2}, 1 + \frac{\sqrt{6}}{2}\right)(−1+26,1+26) と (−1−62,1−62)\left(-1 - \frac{\sqrt{6}}{2}, 1 - \frac{\sqrt{6}}{2}\right)(−1−26,1−26) です。次に、2点間の距離の公式を使って弦の長さを求めます。弦の長さ L=(x2−x1)2+(y2−y1)2L = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}L=(x2−x1)2+(y2−y1)2L=((−1−62)−(−1+62))2+((1−62)−(1+62))2L = \sqrt{\left((-1 - \frac{\sqrt{6}}{2}) - (-1 + \frac{\sqrt{6}}{2})\right)^2 + \left((1 - \frac{\sqrt{6}}{2}) - (1 + \frac{\sqrt{6}}{2})\right)^2}L=((−1−26)−(−1+26))2+((1−26)−(1+26))2L=(−6)2+(−6)2L = \sqrt{\left(-\sqrt{6}\right)^2 + \left(-\sqrt{6}\right)^2}L=(−6)2+(−6)2L=6+6L = \sqrt{6 + 6}L=6+6L=12L = \sqrt{12}L=12L=23L = 2\sqrt{3}L=233. 最終的な答え232\sqrt{3}23