In my Signals and Systems class, we learned that the Fourier Series of a signal $x(t)$ is given by
$$ x(t) = \sum_{k = -\infty}^{\infty} X_k e^{ik\omega_0t} $$
where $\omega_0 = 2\pi/p$ and
$$ X_k = \frac{1}{p} \int_0^p x(t) e^{-ik\omega_0t} \, dt. $$
I have two questions:
1) Why is the summation from $k = -\infty$ to $k = \infty$? That is, why does it include negative values rather than just from $k = 0$ to $k = \infty$?
2) Where does the $e^{-ik\omega_0t}$ in the integral expression for $X_k$ come from?
Why negative frequencies?
So that you can represent real valued signals. For these, $X_{-k}=\overline{X}_k$.
Why the exponential factor in the coefficient integral?
This has multiple answers.
The first technical is that if you insert the series for $x(t)$, then it shifts the position of the constant term to $k$. $$ e^{-ikω_0t}\sum_{m=-\infty}^{\infty}X_me^{imω_0t}=\sum_{m=-\infty}^{\infty}X_me^{i(m-k)ω_0t}=\sum_{m=-\infty}^{\infty}X_{m+k}e^{imω_0t} $$ All oscillating terms integrate to zero, only the constant term where the exponentional has exponent zero gives a non-zero contribution. Thus the exponential factor together with integration sift out the coefficient $X_k$.
The more general answer is that the functions $e_k(t)=e^{ikω_0t}$ are an orthogonal basis in the space of periodic functions, and like in cartesian space with euclidean geometry, the coordinates in an orthonormal basis can just be computed with scalar products $X_k=\langle x,e_k\rangle$, where in this case $$ \langle x,y\rangle=\tfrac1p\int_0^p x(t)\overline{y(t)}\,dt. $$ And $\overline{e_k(t)}=e^{-ikω_0t}$.