# Linear equation given two points Calculator

## Calculates the linear equation, distance and slope given two points.

point P (x1
1. ,
2. y1
3. )
point Q (x2
1. ,
2. y2
3. )
[ angle unit

linear equation y=
 x +
distance PQ
slope θ
 When the equation becomes parallel to y-axis, it is displayed as infinity (∞). $\normal Linear\ equation\ through\ P\ and\ Q\\\vspace{5}\hspace{20} P(x_1,y_1),\ Q(x_2,y_2)\hspace{20}y=ax+b={\large\frac{y_2-y_1}{x_2-x_1}}x+{\large\frac{x_2y_1-x_1y_2}{x_2-x_1}}\\\vspace{5}\hspace{20}PQ=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\\\vspace{5}\hspace{20}\theta=tan^{\tiny-1}\left({\large\frac{y_2-y_1}{x_2-x_1}}\right)\\$

Sending completion

To improve this 'Linear equation given two points Calculator', please fill in questionnaire.
Male or Female ?
Male Female
Age
Under 20 years old 20 years old level 30 years old level
40 years old level 50 years old level 60 years old level or over
Occupation
Elementary school/ Junior high-school student
High-school/ University/ Grad student A homemaker An office worker / A public employee
Self-employed people An engineer A teacher / A researcher
A retired people Others
Useful?
Very Useful A little Not at All
Purpose of use?