Spectral Methods Fundamentals In Single Domains