What are subsets of $A\times B$ called?

649 Views Asked by At

What are subsets of $A\times B$ called in mathematics?

  • In logic (algebra and analysis), a binary relation on/over $A$ is a subset of $A^2$. Abstractions of $=$, $\leq$, etc. While using subsets of $A\times B$ extensively in the role of functor, logicians have no term for these objects. I have always called a subset of $A\times B$ a binary relationship, but always explain that this is just my term.

  • In the computer science ER Model, a binary relation is a subset of $A\times B$, with a subset of $A^2$ being called a recursive binary relation.

Wikipedia currently makes a complete mess of the situation, by defining a binary relation as

In mathematics, a binary relation over two sets $X$ and $Y$ is a set of ordered pairs $(x, y)$ consisting of elements $x\in X$ and $y\in Y$. That is, it is a subset of the Cartesian product $X × Y$.

yet defining an equivalence relation, via reference to the above definition, as

In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive.

The latter definition is complete nonsense for subsets of $A\times B$, only making sense for subsets of $A^2$. Reflexivity cannot be defined for subsets of $A\times B$.

  • What are subsets of $×$ called in mathematics?
  • I have never encountered these being called binary relations in mathematics, except for Wikipedia. I thought this might be my algebra-logic bias, but have checked Analysis books, and yes, (binary) relations are as we have known them from primary school, subsets of $A^2$. Abstraction of $=$, $\leq$, etc.
  • Unary operations ($o:A\rightarrow A$) are to binary relations ($r\subseteq A^2$) as functions ($f:A\rightarrow B$) are to ??? ($R\subseteq A\times B$)?

I am not looking for a proposed term, nor asking for reference back to Wikipedia, rather, I am asking if there is some term already in widespread use in the literature, and ideally with reference.


Based on answers received so far, an additional question would then be,

  • in the context that binary relations are subsets of $A\times B$, what term distinguishes the $A^2$ case? Endomorphic? Recursive?

Some have argued that the Wikipedia definition of equivalence relation is correct as stands. It is not. The definition of an equivalence relation cannot be phrased for subsets of $A\times B$. Reflexivity is impossible to define for subsets of $A\times B$. Further, no one would define an equivalence relation as a subset of $A\times B$ such that..., and then expect the reader to deduce that $A$ must equal $B$. No. That is not how equivalence relations are defined. Currently Wikipedia is wrong.


@TheEmptyFunction has drawn my attention to the fact that Wikipedia currently defines an $n$-ary operation as a function $A_1\times...\times A_n\rightarrow B$, rather than the mathematicians $A^n\rightarrow A$. This definition strips the notion of operation of all its logical/algebraic/analytic meaning. Homomorphisms no longer make sense. The same is true for calling a subset of $A\times B$ a binary relation.

4

There are 4 best solutions below

9
On BEST ANSWER

As with all math, you have to be sensitive to the context - different fields are going to use slightly different terms depending on their needs, and will often use terminology from other fields imprecisely via metaphor. You shouldn't assume that every mathematician means the exact same formal definition as every other mathematician by such terms, especially when it comes down to small details like domain/codomains, and distinctions like those between objects like "a boolean valued function on a set" and "a subset of a set" where mathematicians often differ in the precise details (and may even just treat them as interchangeable).

This said, I think all the evidence you need is in your question: subsets of $A\times B$ are most commonly known as relations from $A$ to $B$ (with this "from _ to _" phrasing mostly coming from the category Rel - in some contexts where order doesn't matter you'll hear "between _ and _" instead). There are some other terms that sometimes get used (e.g. "binary predicate" which is subtly different, but interchangeable in most classical contexts - note that predicates commonly take any number of arguments, so "binary" is important here) as well as some qualifiers (e.g. "binary relation" to clarify that two sets are involved in the product). In my experience, this term is very widespread (and Wikipedia would not invent a name for a concept like this!), but not so technical as to have everyone in agreement about the specifics - sort of like how $\mathbb N$ might include $0$ or might not, but it's should never be hard to figure out which convention the author meant or if it matters.

The definition of an equivalence relation does not contradict this definition of a relation. An equivalence relation is a (binary) relation, but the properties of symmetry, transitivity, and reflexivity all implicitly assume that it is a relation from a set to itself. This is in the same way that an endomorphism is a kind of function where the domain and codomain are equal.

2
On

Let A & B be sets. Then, a subset of $A \times B$ is referred to in different ways depending on what you're trying to accomplish.

For example, a relation is any subset of $A \times B$. Unless I'm blanking and missing out on something, that's the coarsest structure that you're working with. Just plain old subsets of $A \times B$. We just call those relations.

Then, you could take it one step higher and say that a function is a subset of $A \times B$ such that $\forall a \in A: \exists! b \in B: (a,b) \in f$, where $f:A \to B$ is the function.

Notice that we have created an entirely new term based on an additional property that we've imposed on the specific subset of $A \times B$ that we pick out. These are just additional properties that would make them interesting to study.

For example, Linear Transformations are specific functions that map elements from one vector space to another vector space such that an additional number of conditions hold. In this case, the function itself has to specify certain properties and the sets also have to satisfy specific properties.

Definition: A binary operation on a set $S$ is a function $\circ: S \times S \to S$

In other words, a binary operation is nothing but a function of a specific type. It takes two elements from S, does something to them and spits out something that belongs to S.

To put it very simply, they are referred to in different ways depending on the context.

References:

Fundamentals of Mathematics by Bernd Schroder

13
On

Depending on the context, a subset of $A\times B$ may be called a binary relation or simply referred to as a subset of $A\times B$.

For example, if I am referring to a particular subset $U\subseteq \mathbb{R}\times \mathbb{R}$ then I might want to think of it more geometrically as opposed to being a relation on $\mathbb{R}$ (although it is technically a binary relation). For example, the unit circle is the subset $\{(x,y)\in \mathbb{R}^2: x^2+y^2=1\}$. But I could equivalently think of it as a relation $x\sim y$ if and only if $x^2+y^2=1$.

The way that we can go back and forth between subsets $R\subseteq A\times B$ and binary relations is by the correspondence $(a,b)\in R\Longleftrightarrow a\sim b$.

As for your comment about equivalence relations, you are correct. The reflexivity requirement forces $A=B$. But there's nothing contradictory about that. It just means that if $A\neq B$, no subset of $A\times B$ is an equivalence relation.

I really do not understand what you are asking by saying "Operations are to binary relations as functions are to ???." Operations are functions $O:A_1\times\cdots\times A_n\to B$

11
On

"Wikipedia makes a complete mess ... " is just a trifle arrogant, because Wikipedia, as quoted, gets it exactly right.

A binary relation on $A, B$ cannot be symmetric unless $A = B$, so "equivalence relations" (as defined) are all on products of the form $A \times A$; they are exactly those relations that are symmetric, transitive, and reflexive.

"While using subsets of × extensively in the role of functor," ... I certainly hope you mean "function"; functors are defined on categories (or at least they were back in the 1980s, when I learned this stuff).

"I have never encountered these being called binary relations in mathematics, except for Wikipedia." says more about the extent of your exposure to mathematics than it does about Wikipedia.

Halmos's "Naive Set Theory" does a pretty good job getting this stuff laid out without too much fuss. Of course it doesn't mention functors, but that's because it's a naive-set-theory book.