Difference between revisions of "Triangle Inequality"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
Line 4: Line 4:
 
'''Theorem 1 (Triangle Inequality):''' Let <math>a</math> and <math>b</math> be real numbers. Then <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math>.
 
'''Theorem 1 (Triangle Inequality):''' Let <math>a</math> and <math>b</math> be real numbers. Then <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math>.
 
</blockquote>
 
</blockquote>
 
  
 
:*'''Proof of Theorem:''' For <math>a</math> and <math>b</math> as real numbers we have that <math>-\mid a \mid \leq a \leq \mid a \mid</math> and <math>-\mid b \mid \leq b \leq \mid b \mid</math>. If we add these inequalities together we get that <math>-\mid a \mid - \mid b \mid \leq a + b \leq \mid a \mid + \mid b \mid</math> or rather <math>-\left ( \mid a \mid + \mid b \mid \right ) \leq a + b \leq \left ( \mid a \mid + \mid b \mid \right )</math> which is equivalent to saying that <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math>. <math>\blacksquare</math>
 
:*'''Proof of Theorem:''' For <math>a</math> and <math>b</math> as real numbers we have that <math>-\mid a \mid \leq a \leq \mid a \mid</math> and <math>-\mid b \mid \leq b \leq \mid b \mid</math>. If we add these inequalities together we get that <math>-\mid a \mid - \mid b \mid \leq a + b \leq \mid a \mid + \mid b \mid</math> or rather <math>-\left ( \mid a \mid + \mid b \mid \right ) \leq a + b \leq \left ( \mid a \mid + \mid b \mid \right )</math> which is equivalent to saying that <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math>. <math>\blacksquare</math>
 
  
 
There are also some other important results similar to the triangle inequality that are important to mention.
 
There are also some other important results similar to the triangle inequality that are important to mention.
Line 15: Line 13:
 
'''Corollary 1:''' If <math>a</math> and <math>b</math> are real numbers then <math>\mid \mid a \mid - \mid b \mid \mid \leq \mid a - b \mid</math>.
 
'''Corollary 1:''' If <math>a</math> and <math>b</math> are real numbers then <math>\mid \mid a \mid - \mid b \mid \mid \leq \mid a - b \mid</math>.
 
</blockquote>
 
</blockquote>
 
  
 
:*'''Proof of Corollary 1:''' We first write <math>a = a - b + b</math> and therefore applying the triangle inequality we get that <math>\mid a \mid = \mid (a - b) + b \mid \leq \mid a - b \mid + \mid b \mid</math> and therefore <math>\mid a \mid \leq \mid a - b \mid + \mid b \mid</math>. Subtracting <math>\mid b \mid</math> from both sides we get that <math>\mid a \mid - \mid b \mid \leq \mid a - b \mid</math>.
 
:*'''Proof of Corollary 1:''' We first write <math>a = a - b + b</math> and therefore applying the triangle inequality we get that <math>\mid a \mid = \mid (a - b) + b \mid \leq \mid a - b \mid + \mid b \mid</math> and therefore <math>\mid a \mid \leq \mid a - b \mid + \mid b \mid</math>. Subtracting <math>\mid b \mid</math> from both sides we get that <math>\mid a \mid - \mid b \mid \leq \mid a - b \mid</math>.
 
  
 
:*Now we write <math>b = b - a + a</math> and therefore applying the triangle inequality we get that <math>\mid b \mid = \mid (b - a) + a \mid \leq \mid b - a \mid + \mid a \mid</math> and therefore <math>\mid b \mid \leq \mid b - a \mid + \mid a \mid</math> and subtracting <math>\mid a \mid</math> from both sides we get that <math>\mid b \mid - \mid a \mid \leq \mid b - a \mid</math> which is equivalent to <math>\mid a \mid - \mid b \mid \geq - \mid b - a \mid</math>.
 
:*Now we write <math>b = b - a + a</math> and therefore applying the triangle inequality we get that <math>\mid b \mid = \mid (b - a) + a \mid \leq \mid b - a \mid + \mid a \mid</math> and therefore <math>\mid b \mid \leq \mid b - a \mid + \mid a \mid</math> and subtracting <math>\mid a \mid</math> from both sides we get that <math>\mid b \mid - \mid a \mid \leq \mid b - a \mid</math> which is equivalent to <math>\mid a \mid - \mid b \mid \geq - \mid b - a \mid</math>.
 
  
 
:*Therefore <math>\mid \mid a \mid - \mid b \mid \mid \leq \mid a + b \mid</math>. <math>\blacksquare</math>
 
:*Therefore <math>\mid \mid a \mid - \mid b \mid \mid \leq \mid a + b \mid</math>. <math>\blacksquare</math>
Line 29: Line 24:
 
'''Corollary 2:''' If <math>a</math> and <math>b</math> are real numbers then <math>\mid a - b \mid \leq \mid a \mid + \mid b \mid</math>.
 
'''Corollary 2:''' If <math>a</math> and <math>b</math> are real numbers then <math>\mid a - b \mid \leq \mid a \mid + \mid b \mid</math>.
 
</blockquote>
 
</blockquote>
 
  
 
:*'''Proof of Corollary 2:''' By the triangle inequality we get that <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math> and so then <math>\mid a + (-b) \mid \leq \mid a \mid + \mid -b \mid = \mid a \mid + \mid b \mid</math>. Therefore <math>\mid a - b \mid \leq \mid a \mid + \mid b \mid</math>. <math>\blacksquare</math>
 
:*'''Proof of Corollary 2:''' By the triangle inequality we get that <math>\mid a + b \mid \leq \mid a \mid + \mid b \mid</math> and so then <math>\mid a + (-b) \mid \leq \mid a \mid + \mid -b \mid = \mid a \mid + \mid b \mid</math>. Therefore <math>\mid a - b \mid \leq \mid a \mid + \mid b \mid</math>. <math>\blacksquare</math>
Line 36: Line 30:
 
<blockquote style="background: white; border: 1px solid black; padding: 0.5em;">  
 
<blockquote style="background: white; border: 1px solid black; padding: 0.5em;">  
 
'''Corollary 3:''' If <math>a_1, a_2, ..., a_n \in \mathbb{R}</math> then <math>\mid a_1 + a_2 + ... + a_n \mid \leq \mid a_1 \mid + \mid a_2 \mid + ... + \mid a_n \mid</math>.</blockquote>
 
'''Corollary 3:''' If <math>a_1, a_2, ..., a_n \in \mathbb{R}</math> then <math>\mid a_1 + a_2 + ... + a_n \mid \leq \mid a_1 \mid + \mid a_2 \mid + ... + \mid a_n \mid</math>.</blockquote>
 
  
 
:*'''Proof of Corollary 3:''' We note that <math>\mid a_1 + a_2 + ... + a_n \mid = \mid a_1 + (a_2 + ... + a_n) \mid \leq \mid a_1 \mid + \mid a_2 + ... + a_{n} \mid</math> by the triangle inequality. Applying the triangle inequality multiple times we eventually get that <math>\mid a_1 + a_2 + ... + a_n \mid \leq \mid a_1 \mid + \mid a_2 \mid + ... + \mid a_n \mid</math>. <math>\blacksquare</math>
 
:*'''Proof of Corollary 3:''' We note that <math>\mid a_1 + a_2 + ... + a_n \mid = \mid a_1 + (a_2 + ... + a_n) \mid \leq \mid a_1 \mid + \mid a_2 + ... + a_{n} \mid</math> by the triangle inequality. Applying the triangle inequality multiple times we eventually get that <math>\mid a_1 + a_2 + ... + a_n \mid \leq \mid a_1 \mid + \mid a_2 \mid + ... + \mid a_n \mid</math>. <math>\blacksquare</math>
 
  
 
''A more formal proof of Corollary 3 can be carried out by Mathematical Induction.''
 
''A more formal proof of Corollary 3 can be carried out by Mathematical Induction.''
 
  
 
== Licensing ==  
 
== Licensing ==  
 
Content obtained and/or adapted from:
 
Content obtained and/or adapted from:
 
* [http://mathonline.wikidot.com/the-triangle-inequality The Triangle Inequality, mathonline.wikidot.com] under a CC BY-SA license
 
* [http://mathonline.wikidot.com/the-triangle-inequality The Triangle Inequality, mathonline.wikidot.com] under a CC BY-SA license

Revision as of 15:04, 27 November 2021

The triangle inequality is a very important geometric and algebraic property that we will use frequently in the future.

Theorem 1 (Triangle Inequality): Let and be real numbers. Then .

  • Proof of Theorem: For and as real numbers we have that and . If we add these inequalities together we get that or rather which is equivalent to saying that .

There are also some other important results similar to the triangle inequality that are important to mention.


Corollary 1: If and are real numbers then .

  • Proof of Corollary 1: We first write and therefore applying the triangle inequality we get that and therefore . Subtracting from both sides we get that .
  • Now we write and therefore applying the triangle inequality we get that and therefore and subtracting from both sides we get that which is equivalent to .
  • Therefore .


Corollary 2: If and are real numbers then .

  • Proof of Corollary 2: By the triangle inequality we get that and so then . Therefore .


Corollary 3: If then .

  • Proof of Corollary 3: We note that by the triangle inequality. Applying the triangle inequality multiple times we eventually get that .

A more formal proof of Corollary 3 can be carried out by Mathematical Induction.

Licensing

Content obtained and/or adapted from: