مقالة في الهندسة

مبرهنة أبولونيوس

كم يبلغ طول المتوسط؟

مبرهنة فيثاغورس تربط بين أضلاع المثلث القائم الزاوية فقط. لكن في كلّ مثلث — قائمًا كان أم لا — توجد علاقة أخرى بين المربّعات، تشمل الأضلاع الثلاثة والمتوسط النازل إلى أحدها. هذه هي مبرهنة أبولونيوس، وهي تعطي طول المتوسط مباشرةً من أطوال الأضلاع.

إذا عرفنا أطوال أضلاع المثلث الثلاثة، فالمثلث محدّد تمامًا — لذا يجب أن يكون طول كلّ متوسط محدّدًا أيضًا. لكن كيف نحسبه؟ لا نعرف زوايا المثلث، والمتوسط لا يصنع بالضرورة زاوية قائمة مع الضلع. مبرهنة أبولونيوس تجيب عن هذا السؤال بصيغة قصيرة، وفيها مفاجأة صغيرة: هي في الحقيقة «فيثاغورس لكلّ المثلثات»، وإذا كان المثلث قائمًا تعطينا حقيقة نعرفها من الصفّ العاشر.

المبرهنة

مبرهنة أبولونيوس

لتكن \(M\) منتصف الضلع \(BC\) في المثلث \(ABC\). عندئذٍ

\[\boxed{\;AB^2+AC^2=2\,AM^2+2\,BM^2\;}\]

وبرموز الأضلاع \(a=BC,\ b=CA,\ c=AB\)، وبالرمز \(m_a=AM\) لطول المتوسط:

\[m_a^2=\frac{2b^2+2c^2-a^2}{4}.\]
المتوسط \(AM\) يصل الرأس \(A\) بمنتصف الضلع \(BC\). العلامتان على \(BC\) تعنيان \(BM=MC=\frac a2\).

الصيغة الثانية تنتج من الأولى مباشرةً: نعوّض \(BM=\frac a2\)، فنحصل على \(b^2+c^2=2m_a^2+\frac{a^2}{2}\)، ومن هنا \(4m_a^2=2b^2+2c^2-a^2\).

ملاحظة: المبرهنة صحيحة لكلّ مثلث، ولكلّ واحد من المتوسطات الثلاثة. مثلًا للمتوسط النازل من \(B\): \(m_b^2=\frac{2a^2+2c^2-b^2}{4}\).

جرّبوا بأنفسكم

اسحبوا رؤوس المثلث. الطرفان الأيمن والأيسر للمبرهنة يتغيّران معًا ويبقيان متساويين دائمًا. (كلّ 40 بكسل في الرسم = وحدة طول واحدة.)

–\(AB^2+AC^2\)
–\(2AM^2+2BM^2\)
–\(AM\) بالقياس
–\(\tfrac12\sqrt{2b^2+2c^2-a^2}\)

بعد الضغط على الزرّ لاحظوا أنّ \(AM\) يساوي \(BM\) بالضبط — سنعرف السبب بعد قليل.

لمحة تاريخية

أبولونيوس البرغاويّ (من مدينة برغة في آسيا الصغرى) عاش في أواخر القرن الثالث قبل الميلاد وبداية القرن الثاني، ودرس في الإسكندرية. اشتهر بكتابه الكبير «المخروطات» في ثمانية أجزاء، وهو الذي أعطى القطع الناقص والقطع الزائد والقطع المكافئ أسماءها. جرت العادة أن تُنسب مبرهنة المتوسط إليه، وهي من نوع النتائج التي استعملها الهندسيّون اليونانيون في دراسة المحلّات الهندسية.

للعالم العربيّ دور خاصّ في قصّة أبولونيوس: الأجزاء الأربعة الأولى من «المخروطات» وصلتنا باليونانية، أمّا الأجزاء الخامس والسادس والسابع فلم تصلنا إلا في ترجمتها العربية التي أُنجزت في بغداد في القرن التاسع، برعاية الإخوة بني موسى بن شاكر. ولولا هذه الترجمة لضاعت هذه الأجزاء إلى الأبد.

والأداة التي سنستعملها في البرهان أقدم من أبولونيوس: في الكتاب الثاني من «الأصول» لإقليدس (القضيّتان 12 و13) تعميمٌ لمبرهنة فيثاغورس على المثلثات المنفرجة والحادّة — وهو ما نسمّيه اليوم قانون جيوب التمام، مكتوبًا بلغة المساحات.

برهان بقانون جيوب التمام

الفكرة: المتوسط يقسم المثلث إلى مثلثين، والزاويتان عند \(M\) متكاملتان. نكتب قانون جيوب التمام في المثلثين، ونجمع — فيختفي جيب التمام.

الزاويتان عند \(M\) متكاملتان: \(\angle AMC=\theta\) و\(\angle AMB=180^\circ-\theta\).
  1. المثلث \(AMC\)

    نرمز \(m=AM\) و\(x=BM=MC\). وفق قانون جيوب التمام في المثلث \(AMC\):

    \[AC^2=m^2+x^2-2mx\cos\theta.\]
  2. المثلث \(AMB\)

    في المثلث \(AMB\) الزاوية عند \(M\) هي \(180^\circ-\theta\)، و\(\cos(180^\circ-\theta)=-\cos\theta\). لذا

    \[AB^2=m^2+x^2+2mx\cos\theta.\]
  3. نجمع

    الحدّان اللذان فيهما \(\cos\theta\) متعاكسان، فيختصران:

    \[AB^2+AC^2=2m^2+2x^2=2AM^2+2BM^2.\qquad\blacksquare\]

برهان ثانٍ: بالإحداثيّات

من يحبّ الهندسة التحليلية سيجد هنا برهانًا من سطرين. نضع \(M\) في نقطة الأصل والضلع \(BC\) على محور \(x\): \(B(-x_0,0)\)، \(C(x_0,0)\)، وليكن \(A(p,q)\) رأسًا ما. عندئذٍ

\[AB^2+AC^2=\big[(p+x_0)^2+q^2\big]+\big[(p-x_0)^2+q^2\big]=2(p^2+q^2)+2x_0^2.\]

لكنّ \(p^2+q^2=AM^2\) و\(x_0^2=BM^2\). انتهى. لاحظوا كيف يختصر الحدّان \(\pm2px_0\) — هذا هو «اختفاء جيب التمام» نفسه، بلغة أخرى.

ثلاث حالات خاصة ونتيجتان

  1. المثلث القائم: المتوسط إلى الوتر

    إذا كانت \(\angle A=90^\circ\) فوفق فيثاغورس \(AB^2+AC^2=BC^2=4BM^2\). نعوّض في المبرهنة: \(4BM^2=2AM^2+2BM^2\)، أي \(AM=BM\). المتوسط إلى الوتر يساوي نصف الوتر — وهذا ما رأيتموه في المختبر.

  2. المثلث المتساوي الساقين

    إذا كان \(AB=AC\) فالمتوسط \(AM\) هو الارتفاع أيضًا، والمبرهنة تصير \(2AB^2=2AM^2+2BM^2\) — أي مبرهنة فيثاغورس في المثلث القائم \(ABM\). إذن مبرهنة أبولونيوس تعميم لمبرهنة فيثاغورس.

  3. علاقة بمبرهنة ستيوارت

    مبرهنة ستيوارت تعطي طول أيّ قطعة من الرأس إلى الضلع المقابل. المتوسط هو الحالة الخاصّة التي تقسم فيها النقطة الضلع إلى نصفين متساويين، وعندها تختزل مبرهنة ستيوارت بالضبط إلى مبرهنة أبولونيوس.

نتيجة: قانون متوازي الأضلاع. نكمل المثلث \(ABC\) إلى متوازي الأضلاع \(ABDC\). قطراه \(AD\) و\(BC\) ينصّف كلّ منهما الآخر في \(M\)، لذا \(AD=2AM\) و\(BC=2BM\). نضرب المبرهنة في 2:

\[AB^2+BD^2+DC^2+CA^2=2(AB^2+AC^2)=4AM^2+4BM^2=AD^2+BC^2.\]

أي: في كلّ متوازي أضلاع، مجموع مربّعات الأضلاع الأربعة يساوي مجموع مربّعَي القطرين. وفي المستطيل يتساوى القطران، فنعود إلى فيثاغورس مرّة أخرى.

متوازي الأضلاع \(ABDC\): القطر \(AD\) والقطر \(BC\) يتقاطعان في منتصفيهما \(M\).
نتيجة صغيرة. نكتب المبرهنة للمتوسطات الثلاثة ونجمع: \(m_a^2+m_b^2+m_c^2=\frac34\,(a^2+b^2+c^2)\). أي أنّ مجموع مربّعات المتوسطات يساوي دائمًا ثلاثة أرباع مجموع مربّعات الأضلاع.

مثال عددي

أضلاع المثلث \(ABC\): \(a=BC=14\)، \(b=CA=15\)، \(c=AB=13\). نحسب أطوال المتوسطات الثلاثة.

\[m_a^2=\frac{2\cdot15^2+2\cdot13^2-14^2}{4}=\frac{450+338-196}{4}=148\quad\Longrightarrow\quad m_a=\sqrt{148}=2\sqrt{37}\approx12.17\] \[m_b^2=\frac{2\cdot14^2+2\cdot13^2-15^2}{4}=\frac{505}{4}\quad\Longrightarrow\quad m_b=\frac{\sqrt{505}}{2}\approx11.24\] \[m_c^2=\frac{2\cdot14^2+2\cdot15^2-13^2}{4}=\frac{673}{4}\quad\Longrightarrow\quad m_c=\frac{\sqrt{673}}{2}\approx12.97\]
الضلعطولهالمتوسط النازل إليه
\(a\)14\(\approx12.17\)
\(b\)15\(\approx11.24\)
\(c\)13\(\approx12.97\)

لاحظوا: المتوسط الأقصر ينزل إلى الضلع الأطول، والأطول إلى الضلع الأقصر. وللتحقّق: \(148+\frac{505}{4}+\frac{673}{4}=442.5=\frac34(196+225+169)\). ✓

تمرين للقرّاء: مبرهنة العلم البريطانيّ

تمرين

\(ABCD\) مستطيل، و\(P\) نقطة ما في المستوى (داخل المستطيل أو خارجه). برهنوا أنّ

\[PA^2+PC^2=PB^2+PD^2.\]

ثمّ احسبوا: إذا كان \(PA=3,\ PB=4,\ PC=5\)، فكم يساوي \(PD\)؟

مجموع مربّعَي القطعتين الزرقاوين يساوي مجموع مربّعَي القطعتين الخضراوين. (يُسمّى الادّعاء «مبرهنة العلم البريطانيّ» بسبب شكل الرسم.)
تلميح

لتكن \(O\) نقطة تقاطع قطرَي المستطيل. ما هي القطعة \(PO\) في المثلث \(PAC\)؟ وفي المثلث \(PBD\)؟ وماذا نعرف عن قطرَي المستطيل؟

حلّ كامل (حاولوا وحدكم أولًا!)

قطرا المستطيل متساويان وينصّف كلّ منهما الآخر، لذا \(OA=OB=OC=OD\). القطعة \(PO\) متوسط في المثلث \(PAC\) (لأنّ \(O\) منتصف \(AC\))، ووفق مبرهنة أبولونيوس

\[PA^2+PC^2=2PO^2+2OA^2.\]

وهي متوسط في المثلث \(PBD\) أيضًا، لذا

\[PB^2+PD^2=2PO^2+2OB^2.\]

بما أنّ \(OA=OB\)، فالطرفان الأيمنان متساويان، ومن هنا \(PA^2+PC^2=PB^2+PD^2\). \(\blacksquare\)

(إذا وقعت \(P\) على أحد القطرين فالمثلث «مسطّح»، لكنّ البرهان بالإحداثيّات يبيّن أنّ المبرهنة صحيحة في هذه الحالة أيضًا.)

وللحساب: \(PD^2=PA^2+PC^2-PB^2=9+25-16=18\)، أي \(PD=\sqrt{18}=3\sqrt2\approx4.24\). لاحظوا أنّنا لم نحتج إلى معرفة أبعاد المستطيل!

المراجع

  • T. L. Heath (trans.), The Thirteen Books of Euclid’s Elements, Cambridge, 1908 — Book II, Props. 12–13.
  • T. L. Heath, A History of Greek Mathematics, vol. II, Oxford, 1921 (Apollonius of Perga).
  • H. S. M. Coxeter, S. L. Greitzer, Geometry Revisited, MAA, 1967.
الأستاذ خالد خطيب · مبرهنة أبولونيوس

מאמר בגאומטריה

משפט אפולוניוס

מה אורכו של התיכון?

משפט פיתגורס קושר בין צלעות של משולש ישר־זווית בלבד. אבל בכל משולש — ישר־זווית או לא — קיים קשר אחר בין ריבועים, הכולל את שלוש הצלעות ואת התיכון לאחת מהן. זהו משפט אפולוניוס, והוא נותן את אורך התיכון ישירות מאורכי הצלעות.

אם ידועים אורכי שלוש הצלעות של משולש, המשולש נקבע לגמרי — ולכן גם אורכו של כל תיכון חייב להיות נקבע. אבל איך מחשבים אותו? איננו יודעים את זוויות המשולש, והתיכון אינו בהכרח מאונך לצלע. משפט אפולוניוס עונה על השאלה בנוסחה קצרה, ויש בה הפתעה קטנה: זהו למעשה "פיתגורס לכל המשולשים", ובמשולש ישר־זווית הוא נותן עובדה שאנו מכירים מכיתה י'.

המשפט

משפט אפולוניוס

תהי \(M\) אמצע הצלע \(BC\) במשולש \(ABC\). אז

\[\boxed{\;AB^2+AC^2=2\,AM^2+2\,BM^2\;}\]

ובסימוני הצלעות \(a=BC,\ b=CA,\ c=AB\), ועם \(m_a=AM\) לאורך התיכון:

\[m_a^2=\frac{2b^2+2c^2-a^2}{4}.\]
התיכון \(AM\) מחבר את הקודקוד \(A\) עם אמצע הצלע \(BC\). שני הסימונים על \(BC\) פירושם \(BM=MC=\frac a2\).

הנוסחה השנייה נובעת מהראשונה מיד: מציבים \(BM=\frac a2\), ומקבלים \(b^2+c^2=2m_a^2+\frac{a^2}{2}\), ומכאן \(4m_a^2=2b^2+2c^2-a^2\).

הערה: המשפט נכון לכל משולש, ולכל אחד משלושת התיכונים. למשל, לתיכון היוצא מ־\(B\): \(m_b^2=\frac{2a^2+2c^2-b^2}{4}\).

נסו בעצמכם

גררו את קודקודי המשולש. שני אגפי המשפט משתנים יחד ונשארים תמיד שווים. (כל 40 פיקסלים באיור = יחידת אורך אחת.)

–\(AB^2+AC^2\)
–\(2AM^2+2BM^2\)
–\(AM\) במדידה
–\(\tfrac12\sqrt{2b^2+2c^2-a^2}\)

אחרי הלחיצה על הכפתור שימו לב ש־\(AM\) שווה בדיוק ל־\(BM\) — עוד מעט נבין למה.

קצת היסטוריה

אפולוניוס מפרגה (העיר פרגה שבאסיה הקטנה) חי בסוף המאה השלישית לפני הספירה ובתחילת המאה השנייה, ולמד באלכסנדריה. הוא התפרסם בזכות חיבורו הגדול "חתכי החרוט" בשמונה ספרים, והוא שנתן לאליפסה, להיפרבולה ולפרבולה את שמותיהן. מקובל לייחס לו את משפט התיכון, והוא מסוג התוצאות שבהן השתמשו הגאומטרים היוונים בחקר מקומות גאומטריים.

לעולם הערבי יש תפקיד מיוחד בסיפורו של אפולוניוס: ארבעת הספרים הראשונים של "חתכי החרוט" הגיעו אלינו ביוונית, אבל הספרים החמישי, השישי והשביעי שרדו רק בתרגומם לערבית, שנעשה בבגדאד במאה התשיעית בחסות האחים בני מוסא בן שאכר. בלי התרגום הזה היו ספרים אלה אובדים לעד.

הכלי שנשתמש בו בהוכחה עתיק מאפולוניוס: בספר השני של "היסודות" של אוקלידס (טענות 12 ו־13) מופיעה הכללה של משפט פיתגורס למשולשים קהי־זווית וחדי־זווית — מה שאנו קוראים לו היום משפט הקוסינוסים, בשפת השטחים.

הוכחה במשפט הקוסינוסים

הרעיון: התיכון מחלק את המשולש לשני משולשים, והזוויות ב־\(M\) צמודות (משלימות ל־\(180^\circ\)). נכתוב את משפט הקוסינוסים בשני המשולשים, ונחבר — והקוסינוס נעלם.

הזוויות ב־\(M\) צמודות: \(\angle AMC=\theta\) ו־\(\angle AMB=180^\circ-\theta\).
  1. המשולש \(AMC\)

    נסמן \(m=AM\) ו־\(x=BM=MC\). לפי משפט הקוסינוסים במשולש \(AMC\):

    \[AC^2=m^2+x^2-2mx\cos\theta.\]
  2. המשולש \(AMB\)

    במשולש \(AMB\) הזווית ב־\(M\) היא \(180^\circ-\theta\), ו־\(\cos(180^\circ-\theta)=-\cos\theta\). לכן

    \[AB^2=m^2+x^2+2mx\cos\theta.\]
  3. מחברים

    שני האיברים שבהם מופיע \(\cos\theta\) נגדיים, ומתבטלים:

    \[AB^2+AC^2=2m^2+2x^2=2AM^2+2BM^2.\qquad\blacksquare\]

הוכחה שנייה: בקואורדינטות

מי שאוהב גאומטריה אנליטית ימצא כאן הוכחה בשתי שורות. נשים את \(M\) בראשית הצירים ואת הצלע \(BC\) על ציר \(x\): \(B(-x_0,0)\), \(C(x_0,0)\), ויהי \(A(p,q)\) קודקוד כלשהו. אז

\[AB^2+AC^2=\big[(p+x_0)^2+q^2\big]+\big[(p-x_0)^2+q^2\big]=2(p^2+q^2)+2x_0^2.\]

אבל \(p^2+q^2=AM^2\) ו־\(x_0^2=BM^2\). זהו. שימו לב איך האיברים \(\pm2px_0\) מתבטלים — זו בדיוק "היעלמות הקוסינוס", בשפה אחרת.

שלושה מקרים מיוחדים ושתי מסקנות

  1. משולש ישר־זווית: התיכון ליתר

    אם \(\angle A=90^\circ\), אז לפי פיתגורס \(AB^2+AC^2=BC^2=4BM^2\). נציב במשפט: \(4BM^2=2AM^2+2BM^2\), כלומר \(AM=BM\). התיכון ליתר שווה למחצית היתר — וזה מה שראיתם במעבדה.

  2. משולש שווה־שוקיים

    אם \(AB=AC\), התיכון \(AM\) הוא גם גובה, והמשפט הופך ל־\(2AB^2=2AM^2+2BM^2\) — כלומר משפט פיתגורס במשולש ישר־הזווית \(ABM\). אם כן, משפט אפולוניוס הוא הכללה של משפט פיתגורס.

  3. הקשר למשפט סטיוארט

    משפט סטיוארט נותן את אורכו של כל קטע מקודקוד אל הצלע שמולו. התיכון הוא המקרה הפרטי שבו הנקודה מחלקת את הצלע לשני חצאים שווים, ואז משפט סטיוארט מצטמצם בדיוק למשפט אפולוניוס.

מסקנה: חוק המקבילית. נשלים את המשולש \(ABC\) למקבילית \(ABDC\). האלכסונים \(AD\) ו־\(BC\) חוצים זה את זה ב־\(M\), לכן \(AD=2AM\) ו־\(BC=2BM\). נכפול את המשפט ב־2:

\[AB^2+BD^2+DC^2+CA^2=2(AB^2+AC^2)=4AM^2+4BM^2=AD^2+BC^2.\]

כלומר: בכל מקבילית, סכום ריבועי ארבע הצלעות שווה לסכום ריבועי שני האלכסונים. במלבן האלכסונים שווים, ושוב חוזרים לפיתגורס.

המקבילית \(ABDC\): האלכסון \(AD\) והאלכסון \(BC\) נחתכים באמצעיהם \(M\).
מסקנה קטנה. נכתוב את המשפט לשלושת התיכונים ונחבר: \(m_a^2+m_b^2+m_c^2=\frac34\,(a^2+b^2+c^2)\). כלומר, סכום ריבועי התיכונים שווה תמיד לשלושה רבעים מסכום ריבועי הצלעות.

דוגמה מספרית

צלעות המשולש \(ABC\): \(a=BC=14\), \(b=CA=15\), \(c=AB=13\). נחשב את אורכי שלושת התיכונים.

\[m_a^2=\frac{2\cdot15^2+2\cdot13^2-14^2}{4}=\frac{450+338-196}{4}=148\quad\Longrightarrow\quad m_a=\sqrt{148}=2\sqrt{37}\approx12.17\] \[m_b^2=\frac{2\cdot14^2+2\cdot13^2-15^2}{4}=\frac{505}{4}\quad\Longrightarrow\quad m_b=\frac{\sqrt{505}}{2}\approx11.24\] \[m_c^2=\frac{2\cdot14^2+2\cdot15^2-13^2}{4}=\frac{673}{4}\quad\Longrightarrow\quad m_c=\frac{\sqrt{673}}{2}\approx12.97\]
הצלעאורכההתיכון לצלע
\(a\)14\(\approx12.17\)
\(b\)15\(\approx11.24\)
\(c\)13\(\approx12.97\)

שימו לב: התיכון הקצר ביותר יורד לצלע הארוכה ביותר, והארוך ביותר — לצלע הקצרה ביותר. ולבדיקה: \(148+\frac{505}{4}+\frac{673}{4}=442.5=\frac34(196+225+169)\). ✓

תרגיל לקוראים: משפט הדגל הבריטי

תרגיל

\(ABCD\) מלבן, ו־\(P\) נקודה כלשהי במישור (בתוך המלבן או מחוצה לו). הוכיחו ש־

\[PA^2+PC^2=PB^2+PD^2.\]

אחר כך חשבו: אם \(PA=3,\ PB=4,\ PC=5\), כמה שווה \(PD\)?

סכום ריבועי הקטעים הכחולים שווה לסכום ריבועי הקטעים הירוקים. (הטענה נקראת "משפט הדגל הבריטי" בגלל צורת האיור.)
רמז

תהי \(O\) נקודת המפגש של אלכסוני המלבן. מהו הקטע \(PO\) במשולש \(PAC\)? ובמשולש \(PBD\)? ומה ידוע לנו על אלכסוני המלבן?

פתרון מלא (נסו לבד קודם!)

אלכסוני המלבן שווים וחוצים זה את זה, לכן \(OA=OB=OC=OD\). הקטע \(PO\) הוא תיכון במשולש \(PAC\) (כי \(O\) אמצע \(AC\)), ולפי משפט אפולוניוס

\[PA^2+PC^2=2PO^2+2OA^2.\]

הוא גם תיכון במשולש \(PBD\), לכן

\[PB^2+PD^2=2PO^2+2OB^2.\]

מכיוון ש־\(OA=OB\), האגפים הימניים שווים, ומכאן \(PA^2+PC^2=PB^2+PD^2\). \(\blacksquare\)

(אם \(P\) נמצאת על אחד האלכסונים המשולש "שטוח", אבל ההוכחה בקואורדינטות מראה שהמשפט נכון גם במקרה זה.)

ולחישוב: \(PD^2=PA^2+PC^2-PB^2=9+25-16=18\), כלומר \(PD=\sqrt{18}=3\sqrt2\approx4.24\). שימו לב שלא היינו צריכים לדעת את ממדי המלבן!

מקורות

  • T. L. Heath (trans.), The Thirteen Books of Euclid’s Elements, Cambridge, 1908 — Book II, Props. 12–13.
  • T. L. Heath, A History of Greek Mathematics, vol. II, Oxford, 1921 (Apollonius of Perga).
  • H. S. M. Coxeter, S. L. Greitzer, Geometry Revisited, MAA, 1967.
חאלד חטיב · משפט אפולוניוס

A geometry article

Apollonius’s Theorem

How long is a median?

Pythagoras’s theorem relates the sides of a right triangle only. But in every triangle — right-angled or not — there is another relation between squares, involving all three sides and the median to one of them. This is Apollonius’s theorem, and it gives the length of a median directly from the side lengths.

If we know the three side lengths of a triangle, the triangle is completely determined — so the length of each median must be determined too. But how do we compute it? We do not know the angles, and the median is not necessarily perpendicular to the side. Apollonius’s theorem answers the question with a short formula, and it holds a small surprise: it is really “Pythagoras for every triangle”, and for a right triangle it gives a fact we know from tenth grade.

The theorem

Apollonius’s theorem

Let \(M\) be the midpoint of side \(BC\) of triangle \(ABC\). Then

\[\boxed{\;AB^2+AC^2=2\,AM^2+2\,BM^2\;}\]

In terms of the sides \(a=BC,\ b=CA,\ c=AB\), and writing \(m_a=AM\) for the length of the median:

\[m_a^2=\frac{2b^2+2c^2-a^2}{4}.\]
The median \(AM\) joins vertex \(A\) to the midpoint of side \(BC\). The two tick marks on \(BC\) mean \(BM=MC=\frac a2\).

The second formula follows from the first at once: substitute \(BM=\frac a2\) to get \(b^2+c^2=2m_a^2+\frac{a^2}{2}\), hence \(4m_a^2=2b^2+2c^2-a^2\).

Note: the theorem holds for every triangle and for each of the three medians. For example, for the median from \(B\): \(m_b^2=\frac{2a^2+2c^2-b^2}{4}\).

Try it yourself

Drag the vertices of the triangle. The two sides of the theorem change together and always stay equal. (Every 40 pixels in the drawing = one unit of length.)

–\(AB^2+AC^2\)
–\(2AM^2+2BM^2\)
–\(AM\) measured
–\(\tfrac12\sqrt{2b^2+2c^2-a^2}\)

After pressing the button, notice that \(AM\) equals \(BM\) exactly — we will see why shortly.

A little history

Apollonius of Perga (a city in Asia Minor) lived in the late third and early second centuries BC and studied in Alexandria. He is famous for his great work, the Conics, in eight books; it was he who gave the ellipse, the hyperbola and the parabola their names. The median theorem is traditionally attributed to him, and it is the kind of result the Greek geometers used in their study of loci.

The Arabic-speaking world plays a special part in the story of Apollonius: the first four books of the Conics have come down to us in Greek, but Books V, VI and VII survive only in their Arabic translation, made in Baghdad in the ninth century under the patronage of the Banū Mūsā brothers. Without that translation these books would have been lost for ever.

The tool we will use in the proof is older than Apollonius: Book II of Euclid’s Elements (Propositions 12 and 13) contains a generalization of Pythagoras’s theorem to obtuse and acute triangles — what we now call the law of cosines, written in the language of areas.

A proof with the law of cosines

The idea: the median splits the triangle into two triangles, and the angles at \(M\) are supplementary. We write the law of cosines in both triangles and add — and the cosine disappears.

The angles at \(M\) are supplementary: \(\angle AMC=\theta\) and \(\angle AMB=180^\circ-\theta\).
  1. Triangle \(AMC\)

    Write \(m=AM\) and \(x=BM=MC\). By the law of cosines in triangle \(AMC\):

    \[AC^2=m^2+x^2-2mx\cos\theta.\]
  2. Triangle \(AMB\)

    In triangle \(AMB\) the angle at \(M\) is \(180^\circ-\theta\), and \(\cos(180^\circ-\theta)=-\cos\theta\). Therefore

    \[AB^2=m^2+x^2+2mx\cos\theta.\]
  3. Add

    The two terms containing \(\cos\theta\) are opposite, so they cancel:

    \[AB^2+AC^2=2m^2+2x^2=2AM^2+2BM^2.\qquad\blacksquare\]

A second proof: with coordinates

Fans of analytic geometry get a two-line proof here. Put \(M\) at the origin and side \(BC\) on the \(x\)-axis: \(B(-x_0,0)\), \(C(x_0,0)\), and let \(A(p,q)\) be any vertex. Then

\[AB^2+AC^2=\big[(p+x_0)^2+q^2\big]+\big[(p-x_0)^2+q^2\big]=2(p^2+q^2)+2x_0^2.\]

But \(p^2+q^2=AM^2\) and \(x_0^2=BM^2\). Done. Notice how the terms \(\pm2px_0\) cancel — this is the same “disappearing cosine”, in another language.

Three special cases and two consequences

  1. A right triangle: the median to the hypotenuse

    If \(\angle A=90^\circ\), then by Pythagoras \(AB^2+AC^2=BC^2=4BM^2\). Substituting into the theorem: \(4BM^2=2AM^2+2BM^2\), that is, \(AM=BM\). The median to the hypotenuse is half the hypotenuse — exactly what you saw in the lab.

  2. An isosceles triangle

    If \(AB=AC\), the median \(AM\) is also the altitude, and the theorem becomes \(2AB^2=2AM^2+2BM^2\) — Pythagoras’s theorem in the right triangle \(ABM\). So Apollonius’s theorem is a generalization of Pythagoras’s theorem.

  3. The link to Stewart’s theorem

    Stewart’s theorem gives the length of any segment from a vertex to the opposite side. The median is the special case in which the point divides the side into two equal halves, and then Stewart’s theorem reduces exactly to Apollonius’s theorem.

Consequence: the parallelogram law. Complete triangle \(ABC\) to the parallelogram \(ABDC\). Its diagonals \(AD\) and \(BC\) bisect each other at \(M\), so \(AD=2AM\) and \(BC=2BM\). Multiply the theorem by 2:

\[AB^2+BD^2+DC^2+CA^2=2(AB^2+AC^2)=4AM^2+4BM^2=AD^2+BC^2.\]

That is: in every parallelogram, the sum of the squares of the four sides equals the sum of the squares of the two diagonals. In a rectangle the diagonals are equal, and we are back to Pythagoras once more.

Parallelogram \(ABDC\): diagonal \(AD\) and diagonal \(BC\) meet at their common midpoint \(M\).
A small corollary. Write the theorem for all three medians and add: \(m_a^2+m_b^2+m_c^2=\frac34\,(a^2+b^2+c^2)\). The sum of the squares of the medians is always three quarters of the sum of the squares of the sides.

A numerical example

The sides of triangle \(ABC\) are \(a=BC=14\), \(b=CA=15\), \(c=AB=13\). Let us compute the three medians.

\[m_a^2=\frac{2\cdot15^2+2\cdot13^2-14^2}{4}=\frac{450+338-196}{4}=148\quad\Longrightarrow\quad m_a=\sqrt{148}=2\sqrt{37}\approx12.17\] \[m_b^2=\frac{2\cdot14^2+2\cdot13^2-15^2}{4}=\frac{505}{4}\quad\Longrightarrow\quad m_b=\frac{\sqrt{505}}{2}\approx11.24\] \[m_c^2=\frac{2\cdot14^2+2\cdot15^2-13^2}{4}=\frac{673}{4}\quad\Longrightarrow\quad m_c=\frac{\sqrt{673}}{2}\approx12.97\]
SideLengthMedian to it
\(a\)14\(\approx12.17\)
\(b\)15\(\approx11.24\)
\(c\)13\(\approx12.97\)

Notice: the shortest median goes to the longest side, and the longest median to the shortest side. As a check: \(148+\frac{505}{4}+\frac{673}{4}=442.5=\frac34(196+225+169)\). ✓

A problem for the reader: the British flag theorem

Exercise

\(ABCD\) is a rectangle and \(P\) is any point in the plane (inside the rectangle or outside it). Prove that

\[PA^2+PC^2=PB^2+PD^2.\]

Then compute: if \(PA=3,\ PB=4,\ PC=5\), what is \(PD\)?

The sum of the squares of the blue segments equals the sum of the squares of the green segments. (The claim is called the “British flag theorem” because of the shape of the picture.)
Hint

Let \(O\) be the intersection of the diagonals of the rectangle. What is the segment \(PO\) in triangle \(PAC\)? And in triangle \(PBD\)? What do we know about the diagonals of a rectangle?

Full solution (try it yourself first!)

The diagonals of a rectangle are equal and bisect each other, so \(OA=OB=OC=OD\). The segment \(PO\) is a median of triangle \(PAC\) (because \(O\) is the midpoint of \(AC\)), so by Apollonius’s theorem

\[PA^2+PC^2=2PO^2+2OA^2.\]

It is also a median of triangle \(PBD\), so

\[PB^2+PD^2=2PO^2+2OB^2.\]

Since \(OA=OB\), the right-hand sides are equal, and therefore \(PA^2+PC^2=PB^2+PD^2\). \(\blacksquare\)

(If \(P\) lies on one of the diagonals the triangle is “flat”, but the coordinate proof shows the theorem still holds in that case.)

For the computation: \(PD^2=PA^2+PC^2-PB^2=9+25-16=18\), so \(PD=\sqrt{18}=3\sqrt2\approx4.24\). Notice that we never needed the dimensions of the rectangle!

References

  • T. L. Heath (trans.), The Thirteen Books of Euclid’s Elements, Cambridge, 1908 — Book II, Props. 12–13.
  • T. L. Heath, A History of Greek Mathematics, vol. II, Oxford, 1921 (Apollonius of Perga).
  • H. S. M. Coxeter, S. L. Greitzer, Geometry Revisited, MAA, 1967.
Khaled Khatib · Apollonius’s Theorem

→ العودة إلى كلّ المقالات