Difference between revisions of "Idempotence"

(Examples)
 
Line 7: Line 7:
 
* The [[absolute value]] function is idempotent.
 
* The [[absolute value]] function is idempotent.
 
* The [[greatest integer function]] is idempotent, as is the least integer function.
 
* The [[greatest integer function]] is idempotent, as is the least integer function.
 +
* Unions and intersections are idempotent, as <math>A \cup A</math> and <math>A \cap A</math> are both equal to <math>A</math>.
  
 
{{stub}}
 
{{stub}}

Latest revision as of 20:07, 14 January 2025

A function $f$ is idempotent if $f(x)=f(f(x))$.

Examples

  • Any constant function is idempotent.
  • The function $f(x)=x$ is idempotent.
  • The signum function is idempotent.
  • The absolute value function is idempotent.
  • The greatest integer function is idempotent, as is the least integer function.
  • Unions and intersections are idempotent, as $A \cup A$ and $A \cap A$ are both equal to $A$.

This article is a stub. Help us out by expanding it.