fine, thanks . i just started learning about homotopies so i think it is quite a simple question. if i know that a space $X$ is contractible - that is $id_X$ is homotopic to a point, then is it true that each continuous map $f: I \to X$ is homotopic to the identity map?
i thought defining the homotopy like this $H(x,t) = (1-t)f(x) +tx$. but, im not sure that this is true.
because we need to have $Im(H) \subset X$ , and i have there $(1-t)f(x) $ so it might "get out of X" , am i right?