ÌâÄ¿ÄÚÈÝ
¶ÔÓÚƽÃæÖ±½Ç×ø±êϵÖеÄÈÎÒâÁ½µãP1£¨x1£¬y1£©£¬P2£¨x2£¬y2£©£¬ÎÒÃǰѽÐ×öP1¡¢P2Á½µã¼äµÄÖ±½Ç¾àÀ룬¼Ç×÷d£¨P1£¬P2£©£®
£¨1£©ÒÑÖªOΪ×ø±êԵ㣬¶¯µãP£¨x£¬y£©Âú×ãd£¨O£¬P£©=1£¬Çëд³öxÓëyÖ®¼äÂú×ãµÄ¹Øϵʽ£¬²¢ÔÚËù¸øµÄÖ±½Ç×ø±êϵÖл³öËùÓзûºÏÌõ¼þµÄµãPËù×é³ÉµÄͼÐΣ»
£¨2£©ÉèP0£¨x0£¬y0£©ÊÇÒ»¶¨µã£¬Q£¨x£¬y£©ÊÇÖ±Ïßy=ax+bÉϵĶ¯µã£¬ÎÒÃÇ°Ñd£¨P0£¬Q£©µÄ×îСֵ½Ð×öP0µ½Ö±Ïßy=ax+bµÄÖ±½Ç¾àÀ룮ÊÔÇóµãM£¨2£¬1£©µ½Ö±Ïßy=x+2µÄÖ±½Ç¾àÀ룮
Á·Ï°²áϵÁдð°¸
Ïà¹ØÌâÄ¿