座標平面上に3点 $A(0,1)$, $B(0,2)$, $P(x,x)$ がある。ただし $x>0$ とする。$x$ の値が変化するとき、$\angle APB$ の最大値を求めよ。幾何学座標平面ベクトル内積角度の最大値2025/7/131. 問題の内容座標平面上に3点 A(0,1)A(0,1)A(0,1), B(0,2)B(0,2)B(0,2), P(x,x)P(x,x)P(x,x) がある。ただし x>0x>0x>0 とする。xxx の値が変化するとき、∠APB\angle APB∠APB の最大値を求めよ。2. 解き方の手順∠APB=θ\angle APB = \theta∠APB=θ とおく。PA→=(−x,1−x)\overrightarrow{PA} = (-x, 1-x)PA=(−x,1−x), PB→=(−x,2−x)\overrightarrow{PB} = (-x, 2-x)PB=(−x,2−x) であるから、cosθ=PA→⋅PB→∣PA→∣∣PB→∣=x2+(1−x)(2−x)x2+(1−x)2x2+(2−x)2=x2+x2−3x+2x2+1−2x+x2x2+4−4x+x2=2x2−3x+22x2−2x+12x2−4x+4\cos \theta = \frac{\overrightarrow{PA} \cdot \overrightarrow{PB}}{|\overrightarrow{PA}||\overrightarrow{PB}|} = \frac{x^2 + (1-x)(2-x)}{\sqrt{x^2+(1-x)^2}\sqrt{x^2+(2-x)^2}} = \frac{x^2 + x^2-3x+2}{\sqrt{x^2+1-2x+x^2}\sqrt{x^2+4-4x+x^2}} = \frac{2x^2-3x+2}{\sqrt{2x^2-2x+1}\sqrt{2x^2-4x+4}}cosθ=∣PA∣∣PB∣PA⋅PB=x2+(1−x)2x2+(2−x)2x2+(1−x)(2−x)=x2+1−2x+x2x2+4−4x+x2x2+x2−3x+2=2x2−2x+12x2−4x+42x2−3x+2cosθ=2x2−3x+2(2x2−2x+1)(2x2−4x+4)\cos \theta = \frac{2x^2-3x+2}{\sqrt{(2x^2-2x+1)(2x^2-4x+4)}}cosθ=(2x2−2x+1)(2x2−4x+4)2x2−3x+2f(x)=(2x2−2x+1)(2x2−4x+4)=4x4−8x3+8x2−4x3+8x2−8x+2x2−4x+4=4x4−12x3+18x2−12x+4f(x) = (2x^2-2x+1)(2x^2-4x+4) = 4x^4 -8x^3 +8x^2 -4x^3 +8x^2 -8x +2x^2 -4x +4 = 4x^4 -12x^3 + 18x^2 -12x+4f(x)=(2x2−2x+1)(2x2−4x+4)=4x4−8x3+8x2−4x3+8x2−8x+2x2−4x+4=4x4−12x3+18x2−12x+4cosθ=2x2−3x+24x4−12x3+18x2−12x+4\cos \theta = \frac{2x^2-3x+2}{\sqrt{4x^4 -12x^3 + 18x^2 -12x+4}}cosθ=4x4−12x3+18x2−12x+42x2−3x+22x2−3x+2=k4x4−12x3+18x2−12x+42x^2 -3x+2 = k\sqrt{4x^4 -12x^3 + 18x^2 -12x+4}2x2−3x+2=k4x4−12x3+18x2−12x+4両辺を2乗すると、(2x2−3x+2)2=k2(4x4−12x3+18x2−12x+4)(2x^2-3x+2)^2 = k^2(4x^4 -12x^3 + 18x^2 -12x+4)(2x2−3x+2)2=k2(4x4−12x3+18x2−12x+4)4x4+9x2+4−12x3+8x2−12x=k2(4x4−12x3+18x2−12x+4)4x^4+9x^2+4 -12x^3 + 8x^2 - 12x = k^2(4x^4 -12x^3 + 18x^2 -12x+4)4x4+9x2+4−12x3+8x2−12x=k2(4x4−12x3+18x2−12x+4)4x4−12x3+17x2−12x+4=k2(4x4−12x3+18x2−12x+4)4x^4 -12x^3 + 17x^2 -12x+4 = k^2(4x^4 -12x^3 + 18x^2 -12x+4)4x4−12x3+17x2−12x+4=k2(4x4−12x3+18x2−12x+4)g(x)=2x2−3x+24x4−12x3+18x2−12x+4=2x2−3x+24(x4−3x3+92x2−3x+1)g(x) = \frac{2x^2-3x+2}{\sqrt{4x^4-12x^3+18x^2-12x+4}} = \frac{2x^2-3x+2}{\sqrt{4(x^4-3x^3+\frac{9}{2}x^2 -3x+1)}}g(x)=4x4−12x3+18x2−12x+42x2−3x+2=4(x4−3x3+29x2−3x+1)2x2−3x+2cosθ=2x2−3x+2(2x2−2x+1)(2x2−4x+4)\cos \theta = \frac{2x^2-3x+2}{\sqrt{(2x^2-2x+1)(2x^2-4x+4)}}cosθ=(2x2−2x+1)(2x2−4x+4)2x2−3x+2cosθ=2x2−3x+22x4−3x3+92x2−3x+1\cos \theta = \frac{2x^2-3x+2}{2 \sqrt{x^4-3x^3+ \frac{9}{2}x^2 -3x+1}}cosθ=2x4−3x3+29x2−3x+12x2−3x+2ここで、x>0x>0x>0 より x=1x=1x=1 の時を考えると、A(0,1),B(0,2),P(1,1)A(0,1), B(0,2), P(1,1)A(0,1),B(0,2),P(1,1)PA→=(−1,0),PB→=(−1,1)\overrightarrow{PA} = (-1,0), \overrightarrow{PB} = (-1,1)PA=(−1,0),PB=(−1,1)cosθ=112=12\cos \theta = \frac{1}{\sqrt{1}\sqrt{2}} = \frac{1}{\sqrt{2}}cosθ=121=21 より θ=π4\theta = \frac{\pi}{4}θ=4πx=1x=1x=1の近傍でθ\thetaθが最大になると仮定する。x=1x=1x=1を代入すると、cosθ=2−3+22−2+12−4+4=12=22\cos \theta = \frac{2-3+2}{\sqrt{2-2+1}\sqrt{2-4+4}} = \frac{1}{\sqrt{2}} = \frac{\sqrt{2}}{2}cosθ=2−2+12−4+42−3+2=21=22θ=π4\theta = \frac{\pi}{4}θ=4π3. 最終的な答えπ4\frac{\pi}{4}4π