The definition of a homotopy ( H : X \times I \to Y ) instead of ( H : I \times X \to Y ) is largely a matter of convention and does not affect the mathematical content. Both definitions are equivalent because the Cartesian product is commutative; that is, ( X \times I ) is naturally isomorphic to ( I \times X ).
To elaborate:
Definition of Homotopy:
A homotopy between two continuous functions ( f, g: X \to Y ) is a continuous map ( H: X \times I \to Y ) such that:
( H(x, 0) = f(x) ) for all ( x \in X )
( H(x, 1) = g(x) ) for all ( x \in X )
Here, ( I ) denotes the unit interval ([0,1]).
Equivalence of (X \times I) and (I \times X):
The sets (X \times I) and (I \times X) are identical as sets because the Cartesian product is commutative. There is a natural homeomorphism (a bijective, continuous function with a continuous inverse) between (X \times I) and (I \times X) given by:
[
\phi: X \times I \to I \times X, \quad \phi(x,t) = (t,x).
]
This homeomorphism shows that the two products are topologically the same.
Convention:
The convention ( H: X \times I \to Y ) is more commonly used. There are a few reasons why this convention might be preferred:
Consistency with Function Notation: When we write (H(x,t)), it is more natural to think of (x) as the “primary” variable and (t) as the “parameter” that varies over the interval (I). This aligns with how we often think about functions and their parameters.
Easier Reading: When reading (H(x,t)), it is immediately clear that (x) is an element of (X) and (t) is an element of (I). If we used (H(t,x)), it might momentarily confuse readers into thinking (t) is the primary variable.
Historical Precedent: Mathematical conventions often stick due to historical precedent. Early topologists and mathematicians who formalised the concept of homotopy likely chose (X \times I), and the convention has been followed since.
In practice it does not matter which convention is used, as long as it is used consistently within a given text or context. You could definitely define a homotopy as ( H: I \times X \to Y) and it would be mathematically valid. However, to maintain consistency with the broader mathematical literature, ( H: X \times I \to Y ) is the standard.