The value of p is -3 for the line that passes through (3, -1) and (p, 2)
Solution:
Given, two points are (3, -1) and (p, 2) and slope is
![(-1)/(2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/vicpvt8t1qy2f7fit26012qr7uhttertzs.png)
We have to find the value of p
Slope of a line that passing through
is given as:
![\mathrm{m}=(y_(2)-y_(1))/(x_(2)-x_(1))](https://img.qammunity.org/2020/formulas/mathematics/middle-school/40um0ixxv38udsd4npw7gxfgs7o6llsdrz.png)
![\text { Here, in our problem, } x_(1)=3, y_(1)=-1 \text { and } x_(2)=p, y_(2)=2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/97diyqq769lhz6530lfunjzucnotau36up.png)
![\text { slope } m=(2-(-1))/(p-3)=(2+1)/(p-3)=(3)/(p-3)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/pbl10tbzfvjavycmal4h6p0pwbod5lxkrh.png)
And, according to given information, slope value is given
![\begin{array}{l}{(3)/(p-3)=-(1)/(2)} \\\\ {-1(p-3)=3 * 2} \\\\ {-p+3=6} \\\\ {p=3-6} \\\\ {p=-3}\end{array}](https://img.qammunity.org/2020/formulas/mathematics/middle-school/b4we6uanzoyouv8dal5p7xcrcemzgtkn7d.png)
Hence, the value of p is
![-3](https://img.qammunity.org/2020/formulas/mathematics/high-school/g9ryf6zec7ttdocusirrca19g2zxqe9qme.png)