Trigonometric Polynomials: Finite Periodic Building Blocks

What is being approximated?

A trigonometric polynomial is a finite sum of constant, cosine, and sine terms such as a0/2 + Σ[ak cos(kx) + bk sin(kx)] through some finite degree.


It is automatically periodic with period 2π in the variable x. For a function with another period, rescale the argument so that one period maps to an interval of length 2π.


For an integrable 2π-periodic function, orthogonality separates the coefficients: ak = (1/π)∫-ππ f(x) cos(kx) dx and similarly for bk. The degree-N partial sum keeps only frequencies through N.


If f is square-integrable, the degree-N partial sum is the orthogonal projection onto the available modes and is a best approximation in the squared-error inner-product sense.

Reading approximation quality

Smooth periodic functions tend to have coefficients that decrease rapidly, so relatively few modes often describe their broad shape. A jump or corner produces slower coefficient decay and visible high-frequency structure near the nonsmooth location.


Adding terms can improve overall approximation while still leaving local overshoot near a jump; that local phenomenon should not be confused with a proof of uniform convergence.


When using an approximation, specify the interval and periodic extension, the coefficient convention, and the chosen degree. The finite sum is a practical representation of periodic variation; general algebraic polynomial approximation and full convergence proofs belong to related topics.

Which function is a trigonometric polynomial in x?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Under the convention T(x) = a0/2 + a1 cos(x) + b1 sin(x), a periodic measurement has coefficients a0 = 6, a1 = -2, and b1 = 5. What is T(x)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

Using S2(x) = a0/2 + a1 cos(x) + b1 sin(x) + a2 cos(2x) + b2 sin(2x), form S2 when a0 = 4, a1 = 0, b1 = -3, a2 = 2, and b2 = 0. Then evaluate S2 at x = π/2.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors