In class we defined the winding number as follows: If $\gamma$ is a loop on $\mathbb{R}^2$ that does not pass through a point $p$, the winding number $W( \gamma, p)$ is an integer $n$ that $\gamma$ represents $n$ times the canonical generator in the fundamental group $\pi_1(\mathbb{R}^2\setminus \{p\})$. Essentially, it is thought of as the number of turns $\gamma$ makes about $p$.
I've been working on problems to better my understanding of this topic. I can't figure out this one, and was wondering if anyone could help me out?
Let $p$ and $q$ be distinct points on the plane and $X = \mathbb{R}^2 \setminus \{p, q\}$. If $\gamma$ is a loop in $X$ such that $W(\gamma, p) = W(\gamma, q) = 0$, does it follow that $\gamma$ represents the trivial element of the fundamental group $\pi_1(X)$?
Thank you so much!