# CS Algebra Algebraic calculations are highly critical for computers to work correctly. In fact, behind the syntax, the bulk of [programming](programming-basics.md) is simply [algebraic](algebra.md) notation. Signals ------- One of the most frequently-used computer uses of algebra is with converting [visual](computer-screen.md) and [auditory](computers-speakersmic.md) information. The formula for this is the [Fourier transform](https://en.wikipedia.org/wiki/Fourier_transform). It is designed to convert a signal and change properties of it with a calculation (e.g., stretching/shrinking across time, changing pitch/volume, scaling up/down). The [discrete cosine transform](https://en.wikipedia.org/wiki/Discrete_cosine_transform) is a more efficient mathematical formula than the Fourier transform in many cases because it only works with real numbers (as opposed to imaginary numbers) and cosine is easier than sine to imitate signals. It allows conversion of a matrix of numbers into another related matrix. The JPEG compression [algorithm](programming-algorithms.md) uses discrete cosine transforms to shrink images.