# M1.m2 = -1 ?

1. Aug 30, 2011

### Yh Hoo

M1.m2 = -1 ??

Why is the product of the gradients of 2 straight line perpendicular to each other is always equal to -1 ?? Is there any theory to explain this ??

2. Aug 30, 2011

### WannabeNewton

Re: M1.m2 = -1 ??

The slopes of perpendicular lines are negative reciprocals of each other. So if $y_{1}$ and $y_{2}$ are perpendicular lines (in standard form) then $\frac{\mathrm{d} y_{1}}{\mathrm{d} x} = m$ and $\frac{\mathrm{d} y_{2}}{\mathrm{d} x} = -m^{-1}$ so their products will simply be -1.

3. Aug 31, 2011

### uart

Re: M1.m2 = -1 ??

I think the easiest proof is a geometric one using similar triangles.

- The attachment shows a line, gradient m1, and a perpendicular.

- The two angles marked with dots are equal. (Complementary to common angle).

- By similar triangles d/1 = 1/m1

- By definition (rise/run) the gradient of the perpendicular = -d/1 = -1/m1

#### Attached Files:

• ###### perpline.jpg
File size:
18.8 KB
Views:
716
Last edited: Aug 31, 2011
4. Aug 31, 2011

### sankalpmittal

Re: M1.m2 = -1 ??

There are many ways to prove this. One and the simpler way is illustrated to you by WannaBeNewton in above post .

Other ways are by trigonometry , use of trigonometrical coordinates , Use of other theorems etc.

I am showing you another simpler way by similarity of triangles ( I hope you know it.)

Let one line with side of course x1-x and y1-y be intersected by other line with side of course x3-x2 and y3-y2 be intersected at angle 90o

Now you complete their intersection by joining their ends with dotted lines (note one end will be common ie intersection point). You'll notice it will form two right angled triangles .
Now you prove those two triangles similar by their same shape .

By this ,
All corresponding sides of 2 triangles will be proportional , ie
y1-y/x1-x = x3-x2/y3-y2

or1

m1=-1/m2
(Realize one line inclination is > 90 degree hence slope is negative.)

m1 x m2 = -1

QED .

5. Aug 31, 2011

### willem2

Re: M1.m2 = -1 ??

I think he meant: explain the cause of the result

we have 2 perpendicular lines l and l1. the slope of l = -y/x and the slope of l1 = y1/x1

triangle (O,x1,y1) is similar to triangle (M,x1,x) (two angles are the same)
This triangle is also similar to triangle (O, y, x)

therefore y/x = x1/y1 and if you substitute that in the slope of l1, you'll see it's equal to x/y, so the product of the two slopes = -1

#### Attached Files:

• ###### perp.png
File size:
12.2 KB
Views:
2,465
6. Aug 31, 2011

### stallionx

Re: M1.m2 = -1 ??

Think in 3D.

Put differently;<m,1> vector is forming 90 degrees with <n,1> vector 2D gradients since original graphs retain perpendicularity.

thus m*n+1=0*sqrt(n**2+1)sqrt(m**2+1)

You can further solve to find
m*n = -1

m=-1/n

Last edited: Aug 31, 2011
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "url": "https://www.physicsforums.com/threads/m1-m2-1.525795/", "fetch_time": 1511055907000000000, "content_mime_type": "text/html", "warc_filename": "crawl-data/CC-MAIN-2017-47/segments/1510934805242.68/warc/CC-MAIN-20171119004302-20171119024302-00008.warc.gz", "warc_record_offset": 855312700, "warc_record_length": 16253, "token_count": 864, "char_count": 2813, "score": 4.125, "int_score": 4, "crawl": "CC-MAIN-2017-47", "snapshot_type": "longest", "language": "en", "language_score": 0.8528780937194824, "file_path": "/sailhome/yjruan/project/latent-lm/data/processed/finemath-4plus/finemath-4plus/train-00049-of-00064.parquet"}