Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have $2$ lines$AB$ and $PQ$ perpendicular to each other drawn on a graph- then will the slope of $AB$ times the slope of $PQ$ be equal to $-1$?

i.e $$ [(y2-y1)/(x2-x1)] \times [(b2-b1)/(a2-a1)] = -1 ? $$

share|cite|improve this question
up vote 2 down vote accepted

Yes, that is so. A small trigonometrical proof will be like this:

$$\tan( \theta + \frac{\pi}{2} ) = - \cot {\theta} = - \frac{1}{\tan{\theta}}$$

share|cite|improve this answer
So long as neither line is vertical, of course. – Cameron Buie Nov 4 '12 at 18:10
@CameronBuie I see what you did there. – hjpotter92 Nov 4 '12 at 18:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.