Is x[n] periodic? Fundamental period = 8 | Discrete-time signals

  • Thread starter Thread starter DivGradCurl
  • Start date Start date
  • Tags Tags
    Signals
Click For Summary
SUMMARY

The discussion confirms that the discrete-time signal defined by x[n] = cos(π/8 * n²) is periodic with a fundamental period of 8. The verification process involves checking the condition x[n] = x[n + N₀] and analyzing the exponential form of the cosine function. By examining the values of n² modulo 16, a repeating pattern emerges, demonstrating that the signal is indeed periodic. The conclusion is that the periodicity is established through the congruence of n² and (n+8)² modulo 16.

PREREQUISITES
  • Understanding of discrete-time signals
  • Familiarity with periodic functions and their properties
  • Knowledge of modular arithmetic
  • Basic proficiency in Haskell for computational verification
NEXT STEPS
  • Study the properties of periodic functions in discrete-time systems
  • Learn about modular arithmetic and its applications in signal processing
  • Explore Haskell for mathematical computations and signal analysis
  • Investigate the implications of periodicity in Fourier analysis
USEFUL FOR

Students and professionals in signal processing, mathematicians analyzing periodic functions, and software developers utilizing Haskell for computational tasks related to discrete-time signals.

DivGradCurl
Messages
364
Reaction score
0
Folks,

I think I got to the right answer for the wrong reason. Could you please verify my approach? Any help is highly appreciated.

Problem:

Is [tex]x [n][/tex] periodic? If so, what is the fundamental period?


[tex]x [n] = \cos \left( \frac{\pi}{8} n^2 \right)[/tex]


Here is what I've got:

If [tex]x [n] = x [n + N_0][/tex], then it is periodic. Let's check:


[tex]\cos \left( \frac{\pi}{8} n^2 \right) = \cos \left[ \frac{\pi}{8} \left( n + N_0 \right) ^2 \right][/tex]

[tex]\exp \left( j\frac{\pi}{8} n^2 \right) = \exp \left[ j\frac{\pi}{8} n^2 + j\frac{\pi}{8} 2n N_0 + j \frac{\pi}{8} N_0 ^2 \right][/tex]

[tex]\exp \left( j \frac{\pi}{8} n^2 \right) = \exp \left( j\frac{\pi}{8} n^2 \right) \exp \left( j\frac{\pi}{8} 2n N_0 \right) \exp \left( j\frac{\pi}{8} N_0 ^2 \right)[/tex]

[tex]\exp \left[ j \frac{\pi}{8} \left( N_0 ^2 + 2nN_0 \right) \right] = 1[/tex]

[tex]\frac{\pi}{8} \left( N_0 ^2 + 2nN_0 \right) = 2\pi[/tex]

However [tex]N_0[/tex] should be independent of [tex]n[/tex], and so [tex]2nN_0 = 0[/tex]. Then [tex]N_0 = 8[/tex].
 
Last edited:
Physics news on Phys.org
I assume you're restricting to integer values of n. It looks regular somehow but it doesn't appear periodic at first glance. The possible values of cos(pi/8 * n^2) depend on pi/8 * n^2 modulo 2pi. The potential modulos you could get are 0, pi/8, 2pi/8, ..., 15pi/8. If pi n^2 / 8 - 2 pi k = r pi/8 for 0 <= r <= 15, then you have
n^2 / 8 - 2 k = r/8
n^2 = 16 k - r
so looking at the remainders of n^2 mod 16 using Haskell
Code:
Prelude> [(mod (n^2) 16) | n <- [1..30]]
[1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4,1,0,1,4,9,0,9,4]
It does look like they form a repeating pattern of length 8, namely 1, 4, 9, 0, 9, 4, 1, 0. You want to show that n^2 is congruent to (n+8)^2 mod 16, and that shows it is periodic.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 47 ·
2
Replies
47
Views
5K
Replies
6
Views
1K
Replies
9
Views
2K