如果点\( (x,-1) \)和\( (3,2) \)之间的距离是5,那么$x$的值是多少?


已知

点\( (x,-1) \)和\( (3,2) \)之间的距离是5。

要求: 

我们必须找到$x$的值。

解答

设 $x_1=x,\ y_1=-1,\ x_2=3,\ y_2=2$

使用距离公式:

点$(x_1, y_1)$和$(x_2, y_2)$之间的距离$=\sqrt{( x_2-x_1)^2+( y_2-y_1)^2}$

$\Rightarrow 5=\sqrt{( 3-x)^2+( 2-( -1))^2}$

$\Rightarrow 5=\sqrt{(3-x)^2+3^2}$

$\Rightarrow 25=9 + x^2 -6x + 9$

$\Rightarrow x^2-6x+18-25=0$

$\Rightarrow x^2-6x-7=0$

$\Rightarrow x^2+x-7x-7=0$

$\Rightarrow x(x+1)-7(x+1)=0$

$\Rightarrow (x+1)(x-7)=0$

$x=-1$ 或 $x=7$

$x$的值为$-1$和$7$。

更新于:2022年10月10日

395 次浏览

开启你的职业生涯

通过完成课程获得认证

开始学习
广告
© . All rights reserved.