Closure Property

Definition

A set is said to have the closure property under a function if applying to elements of always produces an output that is also in .

  • If is an operation on , then is automatically closed under (by definition).
  • The concept of closure is more meaningful when is any function with and , and you want to check whether .

Examples

  • is closed under addition and multiplication.
  • is not closed under division: dividing two integers may produce a non-integer.