Notation Overload Math Example 3

Follow the full solution, then compare it with the other examples linked below.

Example 3

easy
The symbol โˆฃโ‹…โˆฃ|\cdot| is used for absolute value of numbers and cardinality of sets. Evaluate: (a) โˆฃโˆ’3โˆฃ|-3|, (b) โˆฃ{1,2,3}โˆฃ|\{1,2,3\}|.

Solution

  1. 1
    (a) Absolute value: โˆฃโˆ’3โˆฃ=3|-3| = 3.
  2. 2
    (b) Cardinality: โˆฃ{1,2,3}โˆฃ=3|\{1,2,3\}| = 3 (three elements).

Answer

(a)โ€…โ€Š3,(b)โ€…โ€Š3(a)\;3,\quad (b)\;3
The vertical bar notation โˆฃโ‹…โˆฃ|\cdot| is overloaded: for numbers it means distance from zero (absolute value); for sets it means number of elements (cardinality). The type of the argument reveals the intended meaning.

About Notation Overload

When the same symbol is used to mean different things in different contexts, requiring the reader to infer meaning from context.

Learn more about Notation Overload โ†’

More Notation Overload Examples