Tow lines AB and CD are perpendicular to each other if their slope can be related like this:
Let's first find the slopes of this lines to see if the formula stated above is
accomplished for this case
The formula of a line has the form:
where m, is the slope of the line
The line AB goes through the points (5,-8) and( (-2,-10)
then, y(5)=-8 for the first point, and y(-2)= -10 for the second one.
then:
y(5)= -8=m*(5)+b
and
y(-2)= -10=m*(-2)+b
if we subtract the first expression from the second one we can get:
-8-(-10)=m*5-m*(-2)+b-b, then:
-8+10=2=5*m+2*m=7*m
Then solving for the line AB, m(AB) equals:
Doing the same for the second line CD that goes through points (-6,-13) and (-2,1), we can find its slope like this:
y(-6)= -13 and y(-2)=1
then:
-13= -6*m+b and 1= -2*m+b
substracting both expressions
-13-1= -6*m - (-2)*m
then:
-14= -4*m
then, for line CD, its slope is:
As we can see, m(AC)=2/7 and m(CD)=7/2, then the criteria:
it's not being accomplished, so we can say that these lines are not perpendicular,
Now, lines are parallel when they have the same slope value, which isn't true in this case.
We can say that these lines are neither parallel nor perpendicular