Math Problem Statement

Knowing two lines, the first line defined by two points (x0, y0) and (x1, y1), the second line is defined also by two points (x2, y2) and (x3, y3), how to define a perpendicular constraint of these two lines using a set of linear equations? (in the form of ax + by +... = 0, can't multiply or divide between x and y)

Solution