Lectures on Density Wave Theory