求点M(1,-1)到直线xcosθ +ysinθ -2=0的距离的最大值

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 05:59:26
求点M(1,-1)到直线xcosθ +ysinθ -2=0的距离的最大值

求点M(1,-1)到直线xcosθ +ysinθ -2=0的距离的最大值
求点M(1,-1)到直线xcosθ +ysinθ -2=0的距离的最大值

求点M(1,-1)到直线xcosθ +ysinθ -2=0的距离的最大值
用点到直线的距离公式可得:
|1*cosθ+(-1)*sinθ-2|/√(cos^2 θ+sin^2 θ) cos^2 θ表示cosθ的平方.
=|cosθ-sinθ-2|/1=2+sinθ-cosθ
当cosθ=-(√2)/2,sinθ=(√2)/2时,取最大值:2+√2