You can tell if two lines are parallel, perpendicular, or neither by looking at their slopes
and
:
- If
, i.e. if the two lines have the same slope, the lines are parallel - If
, the lines are perpendicular - In all other cases, the lines are not parallel nor perpendicular.
Given two points
of a line, the slope is defined as the ratio between the y and x variation:
![m = (\Delta y)/(\Delta x) = (y_B-y_A)/(x_B-x_A)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/xivuujzcu6twwglsz9bxkw7e6kxreaw3j0.png)
So in this case, we have
![m_1 = (2-(-4))/(-2-2) = (6)/(-4) = -(3)/(2)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/rqyuf7mrcjwl76tizbf7tnkjk6loqpwoan.png)
![m_2 = (3-6)/(5-3) = (-3)/(2) = -(3)/(2)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/t1fisyi8dbabxbj8y35szlos9zxfp34svu.png)
Since the two slopes are the same, the two lines are parallel.