The Fourier transform is the "continuum limit" of the Fourier series, expressing a function as the integral of a continuous spectrum of waves, rather than as just the sum of a discrete spectrum of waves. The Fourier transform applies to arbitrary functions (not necessarily periodic).
The form of the Fourier transform can readily be derived by considering the complex-exponential form of the Fourier series, given above. In the limit that \(n\) is a continuous index \(k\), the series becomes an integral,
\[f(x) = \int_{-\infty}^\infty c(k) e^{ikx}dk,\]
and the coefficients \(c(k)\) are
\[c(k) = \frac{1}{2\pi}\int_{-\infty}^\infty f(x) e^{-ikx}dx.\]
Note that the appearance of \(1/2\pi\) in the expression for \(c(k)\) is merely a convention.
The conditions for the convergence of the Fourier transform are the same as those for the Fourier series (the Dirichlet conditions).