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
The discussion centers on determining the periodicity of the discrete-time signal x[n] = cos(π/8 * n^2). The user explores the condition for periodicity, concluding that if x[n] = x[n + N_0], then N_0 must equal 8 for integer values of n. They analyze the values of n^2 modulo 16, revealing a repeating pattern every 8 samples. The conclusion suggests that while the function appears non-periodic at first, it actually exhibits periodic behavior due to the congruence of n^2 and (n+8)^2 modulo 16. The analysis confirms that x[n] is periodic with a fundamental period of 8.
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 x [n] periodic? If so, what is the fundamental period?


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


Here is what I've got:

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


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

\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]

\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)

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

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

However N_0 should be independent of n, and so 2nN_0 = 0. Then N_0 = 8.
 
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.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

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