ArticleslgStudy

mathematics

Complementary sequences

Complementary sequences is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Complementary sequences rather than just read about it. In short: For complementary sequences in biology, see complementarity (molecular biology). For integer sequences with complementary sets of members see Lambek–Moser theorem.

Key takeaways

  • Complementary sequences belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Complementary sequences to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Complementary sequences from memory before moving on to harder problems.

Reference excerpt

For complementary sequences in biology, see complementarity (molecular biology). For integer sequences with complementary sets of members see Lambek–Moser theorem. In applied mathematics, complementary sequences (CS) are pairs of sequences with the useful property that their out-of-phase aperiodic autocorrelation coefficients sum to zero. Binary complementary sequences were first introduced by Marcel J. E. Golay in 1949. In 1961–1962 Golay gave several methods for constructing sequences of length 2N and gave examples of complementary sequences of lengths 10 and 26. In 1974 R. J. Turyn gave a method for constructing sequences of length mn from sequences of lengths m and n which allows the construction of sequences of any length of the form 2N10K26M. Later the theory of complementary sequences was generalized by other authors to polyphase complementary sequences, multilevel complementary sequences, and arbitrary complex complementary sequences. Complementary sets have also been considered; these can contain more than two sequences.

Definition Let (a0, a1, ..., aN − 1) and (b0, b1, ..., bN − 1) be a pair of bipolar sequences, meaning that a(k) and b(k) have values +1 or −1. Let the aperiodic autocorrelation function of the sequence x be defined by

R𝐱(k)=∑j=0N−k−1xjxj+k. Then the pair of sequences a and b is complementary if:

Ra(k)+Rb(k)=2N, for k = 0, and

Ra(k)+Rb(k)=0, for k = 1, ..., N − 1. Or using Kronecker delta we can write:

Ra(k)+Rb(k)=2Nδ(k), So we can say that the sum of autocorrelation functions of complementary sequences is a delta function, which is an ideal autocorrelation for many applications like radar pulse compression and spread spectrum telecommunications.

Examples As the simplest example we have sequences of length 2: (+1, +1) and (+1, −1). Their autocorrelation functions are (2, 1) and (2, −1), which add up to (4, 0). As the next example (sequences of length 4), we have (+1, +1, +1, −1) and (+1, +1, −1, +1). Their autocorrelation functions are (4, 1, 0, −1) and (4, −1, 0, 1), which add up to (8, 0, 0, 0). One example of length 8 is (+1, +1, +1, −1, +1, +1, −1, +1) and (+1, +1, +1, −1, −1, −1, +1, −1). Their autocorrelation functions are (8, −1, 0, 3, 0, 1, 0, 1) and (8, 1, 0, −3, 0, −1, 0, −1). An example of length 10 given by Golay is (+1, +1, −1, +1, −1, +1, −1, −1, +1, +1) and (+1, +1, −1, +1, +1, +1, +1, +1, −1, −1). Their autocorrelation functions are (10, −3, 0, −1, 0, 1,−2, −1, 2, 1) and (10, 3, 0, 1, 0, −1, 2, 1, −2, −1).

Properties of complementary pairs of sequences Complementary sequences have complementary spectra. As the autocorrelation function and the power spectra form a Fourier pair, complementary sequences also have complementary spectra. But as the Fourier transform of a delta function is a constant, we can write Sa+Sb=CS, where CS is a constant. Sa and Sb are defined as a squared magnitude of the Fourier transform of the sequences. The Fourier transform can be a direct DFT of the sequences, it can be a DFT of zero padded sequences or it can be a continuous Fourier transform of the sequences which is equivalent to the Z transform for Z = ejω. CS spectra is upper bounded. As Sa and Sb are non-negative values we can write Sa=CS−Sb<CS, also Sb<CS. If either of the sequences of the CS pair is inverted (multiplied by −1) they remain complementary. More generally if any of the sequences is multiplied by ejφ they remain complementary; If either of the sequences is reversed they remain complementary; If either of the sequences is delayed they remain complementary; If the sequences are interchanged they remain complementary; If both sequences are multiplied by the same constant (real or complex) they remain complementary; If alternating bits of both sequences are inverted they remain complementary. In general for arbitrary complex sequences if both sequences are multiplied by ejπkn/N (where k is a constant and n is the time index) they remain complementary; A new pair of complementary sequences can be formed as [a b] and [a −b] where [..] denotes concatenation and a and b are a pair of CS; A new pair of sequences can be formed as {a b} and {a −b} where {..} denotes interleaving of sequences. A new pair of sequences can be formed as a + b and a − b.

Golay pair A complementary pair a, b may be encoded as polynomials A(z) = a(0) + a(1)z + ... + a(N − 1)zN−1 and similarly for B(z). The complementarity property of the sequences is equivalent to the condition

|A(z)|2+|B(z)|2=2N for all z on the unit circle, that is, |z| = 1. If so, A and B form a Golay pair of polynomials. Examples include the Shapiro polynomials, which give rise to complementary sequences of length a power of two.

Applications of complementary sequences Multislit spectrometry Ultrasound measurements Acoustic measurements radar pulse compression Wi-Fi networks, 3G CDMA wireless networks OFDM communication systems Train wheel detection systems Non-destructive tests (NDT) Communications coded aperture masks are designed using a 2-dimensional generalization of complementary sequences.

See also Binary Golay code (Error-correcting code) Gold sequences Kasami sequences Polyphase sequence Pseudorandom binary sequences (also called maximum-length sequences or M-sequences) Ternary Golay code (Error-correcting code) Walsh-Hadamard sequences Zadoff–Chu sequence

References

Worked examples

Example 1 — a first encounter with Complementary sequences

Start with the simplest possible case. Write down what Complementary sequences claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Complementary sequences before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Complementary sequences ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Complementary sequences

In research
Complementary sequences appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Complementary sequences in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Complementary sequences is common in secondary-school and first-year university syllabi. It links to neighbouring topics Pseudorandom number generators, Sequences and series, Signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Complementary sequences outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Complementary sequences” →

How to study Complementary sequences in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Complementary sequences means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Complementary sequences out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Complementary sequences in simple terms?

For complementary sequences in biology, see complementarity (molecular biology). For integer sequences with complementary sets of members see Lambek–Moser theorem.

Why does Complementary sequences matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Complementary sequences?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Complementary sequences.

Tags

  • Pseudorandom number generators
  • Sequences and series
  • Signal processing

Keep exploring