若θ∈[-π,π],点P(1,1)到直线xcosθ+ysinθ=2的最大距离

问题描述:

若θ∈[-π,π],点P(1,1)到直线xcosθ+ysinθ=2的最大距离

d=|cosθ+sinθ-2|/根号(sin^2θ+cos^2θ)
=|cosθ+sinθ-2|
=2-根号2