When lines are , their slopes are the same. To find out if Ron-Jon's walls are parallel, we first have to find the slopes of the segments that connect each pair of points. Once we have the slopes, we can compare them to see if they are parallel or not.
Wall 1
Let's substitute the coordinates of the points
(1,2) and
(4,3) into the .
m=x2−x1y2−y1
This way, we can determine the slope of the line that represents wall
1.
m=x2−x1y2−y1 m=1−42−3 m=-3-1
Thus, wall
1 has the slope
31. Wall 2
Once again, we'll substitute the coordinates of the points that maps wall
2 into the slope formula.
m=x2−x1y2−y1 m=5−71−4 m=-2-3
Thus, wall
2 has slope
23. Comparing slopes
Unfortunately the slopes aren't equal.
31=23
Hence, the walls are not parallel.