Let $f:S^2\to S^2$ be a continuous with the property that it exists a nonempty,open $U\subseteq S^2$ with $f(x)=x$ for every $x\in U$ and $f(x)\notin U$ for $x\in S^2\setminus U$.
Prove that $f$ is homotopic to $\operatorname{id}: S^2\to S^2$.
My first idea was to take the homotopy
$H: S^2\times [0,1]\to S^2$ given by $(x,t)\mapsto \dfrac{tx+(1-t)f(x)}{\|tx+(1-t)f(x)\|}$.
For $x\in U$ this works. For $x\in S^2\setminus U$ one has to argue that $tx+(1-t)f(x)\neq 0$ for every $t\in [0,1]$
If $tx+(1-t)f(x)=0$ for some $t$, then the direct line from $x$ to $f(x)$ has to intersect the origin, and therefor $f(x)=-x$, so $f(x)$ and $x$ are antipodal.
I tried to argue that this can not happen, but I did not succeed, and I do not think that this homotopy will be enough for a proof.
I have found this statement in a textbook:
For even $n$ has every continuous $f: S^n\to S^n$ a fixpoint or an antipodal point. Someone knows if this is exclusive, or inclusive? So can such a continuous function have a fixpoint and an antipodal point?
I would like to know if my initial homotopy actually works, and it is worth trying to find the missing details, or if I should search for an other homotopy.
Your homotopy does not work in general. If $U$ is "small", then $f(x) = -x$ is indeed possible for $x \in S^2 \setminus U$.
Choose $x_0 \in U$ and let $T$ denote the tangential plane to $S^2$ at $x_0$, i.e. $T = \{ x_0 + y \in \mathbb R^3 \mid \langle x_0, y \rangle = 0 \}$. For $r \in (-1,1)$ define $T_r = \{ rx_0 + y \in \mathbb R^3 \mid \langle x_0, y \rangle = 0 \}$. This is a plane which is parallel to $T$ and contains the point $rx_0$. It separates $S^2$ in two closed spherical caps $C^+$ and $C^-$ such that $x_0 \in C^+$ and $-x_0 \in C^-$. Both caps are homeomorphic to the disk $D^2$. The intersection $S = C^+ \cap C^-$ is a circle which is the common boundary of the two caps.
For $r$ sufficiently close to $1$ we have $C^+ \subset U$. Clearly $f$ is identity on $C^+$ and in particular the identity on the $S$. By construction we have $f(C^-) \subset C^-$: If $x \in C^- \cap U$, then $f(x) = x \in C^-$ and if $x \in C^- \cap (S^2 \setminus U)$, then $f(x) \in S^2 \setminus U \subset S^2 \setminus C^+ \subset C^-$.
Using the identification $h : C^- \stackrel{\approx}{\to} D^2$ we now see that $f : C^- \to C^-$ is homotopic to the identity rel. $S$ which implies that $f$ is homotopic to $id_{S^2}$. In fact, consider $g = h^{-1}f h : D^2 \to D^2$ which is the identity on $S^1$ and take the "linear homotopy" on $D^2$ from $g$ to $id$. This gives the desired homotopy on $C^-$.