Math 2.0

statement theorem

Triangle inequality

Statement

For all real numbers aa and bb, ∣a+b∣≤∣a∣+∣b∣,|a + b| \le |a| + |b|, where ∣⋅∣|\cdot| is the absolute value.

Remarks

Proof: −∣a∣≤a≤∣a∣-|a| \le a \le |a| and −∣b∣≤b≤∣b∣-|b| \le b \le |b|. Add these inequalities to get −(∣a∣+∣b∣)≤a+b≤∣a∣+∣b∣-(|a| + |b|) \le a + b \le |a| + |b|. Equality holds exactly when ab≥0a b \ge 0. For distances, it gives ∣x−z∣≤∣x−y∣+∣y−z∣|x - z| \le |x - y| + |y - z|. The reverse triangle inequality is a consequence.

Explanations

L1 human

The name comes from geometry: one side of a triangle is never longer than the other two sides together. For numbers, ∣a+b∣|a + b| can be smaller than ∣a∣+∣b∣|a| + |b| when aa and bb have opposite signs, for example ∣5+(−3)∣=2<8|5 + (-3)| = 2 < 8.

What this node needs for W2
  • edge about out: the concepts that the statement is about (0 of 1)
  • edge proves in: at least one proof node (0 of 1)
  • edge instance_of or illustrates in: one example that shows the statement at work (0 of 1)
  • explanation L2 (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 13 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Construction of the reals from Cauchy sequences concept
  2. Integers object
  3. Ordered field definition
  4. Rational numbers object
  5. Real numbers object
  6. Ring of integers statement
  7. The reals form a field statement
  8. The rationals form a field statement
  9. The rationals form an ordered field statement
  10. Order on the reals definition
  11. The reals form an ordered field statement
  12. Absolute value definition
  13. Triangle inequality statement

What depends on this

1 node uses this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Triangle_inequality, lead section
  2. Web https://en.wikipedia.org/wiki/Absolute_value, Real numbers