Universal property on products

category-theory

Let $\mathcal{C}$ be a category and let $A,B$ be objects of $\mathcal{C}$. Let $\pi_A$ and $\pi_B$ be morphisms in $\mathcal{C}$ such that $\pi_A:A\times B\to A$ and $\pi_B: A\times B\to B$. Now, the universal property says that for each object $X$ in $\mathcal{C}$ and every pair of morphisms $f_A, f_B$ there exists a unique morphism $f: X\to A\times B$.

I'm having a really hard time understanding why this must be true or maybe I'm missing some information or definition.

The universal property on any kind of structure is very loosely defined, that I cannot find a solid definition anywhere on the internet. How can this be possibly true for every $X,f_A$ and $f_B$ here? Are there any restriction on any of the given morphisms that I failed to mention?

Any help would be appreciated.

https://i.sstatic.net/Ky3Fr.png

EDIT: I am unable to include the image in this question for whatever reason. see link

Best Answer

"why is that true ?" : we define the tuple $(P, \pi_A,\pi_B)$ to be a product if it satisfies this property. So it is true for the product because we defined products to be those things that satisfy it.

"How can this possibly true" : think about the category of sets, and the usual cartesian product of sets $A\times B$ with projections $(a,b)\mapsto a, (a,b)\mapsto b$. Can you try to prove and understand why it satisfies this condition ?

Now can you try to show something similar for the cartesian product of groups ? of rings ?

Note that a product in a category $C$ need not have anything to do with the usual cartesian product of sets, even when $C$ is a category of "sets with structure". It is very often true that it is related to the product of sets for categories of sets with algebraic structures, but then that is something you have to prove, and it does not follow from the definition of a product.