The term "projection" has two distinct, but related, meanings:
A "projection" can refer to an idempotent function $f:S\rightarrow S$ that preserves some additional property of the set. For instance: In linear algebra, a projection is an idempotent linear map. In group theory, a projection is an idempotent homomorphism. In topology, the word "retraction" is used instead, but this refers to a continuous idempotent function, so it could be considered a topological projection.
"Projection" can also refer to a sort of inverse of a cartesian product, i.e. $f:A\times B \rightarrow A$ is a projection if $f(a,b) = a$. A function is called a projection if it can be written in such a form. However, this is not an idempotent function because the image $A$ is not a subset of $A\times B$.
These two meanings are closely related in many contexts. For example, in linear algebra a projection operator is an idempotent function on a vector space, i.e. $f:V\rightarrow V$ is linear and $f\circ f = f$. If the image of $f$ is a subspace $U$, it is also a fact that $V$ can be written as $W\times U$ in such a way that $f$ is a projection onto $U$ in the second sense (this is the inner direct sum, and $W$ is the nullspace of $f$).
idempotentwhen you want to emphasize the 'e^2 = e' property for formal manipulation and 'projection' when you want to emphasize the map) – hunter Mar 31 '25 at 14:09