Problem with dirac convulation and power of a signal

Click For Summary

Homework Help Overview

The discussion revolves around convolution involving Dirac delta functions and the calculation of power for a given signal. The original poster seeks to understand the convolution of the sequence x[n] = δ[n] + δ[n-1] and the power of the signal x(t) = 4 cos(ω0t) + 2 sin(ω0t) + 2 cos(4ω0t) with a resistor of 1 kΩ.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the convolution of Dirac delta functions, questioning how to handle the multiplication of impulses and the resulting terms. There are attempts to clarify the sequence representation of the delta functions and the implications of different lags in convolution.
  • Questions arise regarding the correct formula for calculating the power of the signal, with references to various formulas and their applicability to the given problem.

Discussion Status

The discussion is active, with participants providing insights and corrections regarding the convolution process and power calculations. Some participants express confusion over specific terms and the implications of their calculations, while others offer clarifications and alternative perspectives. There is no explicit consensus on the final results, but several productive lines of reasoning have been explored.

Contextual Notes

Participants note the distinction between Dirac delta functions and unit impulse functions, and there is mention of different formulas for power derived from coursework and textbooks. The original poster expresses uncertainty about the results and the application of various formulas, indicating a need for further clarification on the concepts involved.

fridaycoffee
Messages
11
Reaction score
0

Homework Statement


1. i need to obtain the result of x[n] * x[n] (convolution)
where x[n] = δ[n] + δ[n-1]
2. I need to obtain the power of the signal x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t) for R = 1 k Ω

Homework Equations


1.Who do you convolute 2 diracs ?
2. what is the correct formula for the power ?


The Attempt at a Solution


1. i consider on dirac as an y[n] so that y[n]*δ[n] = y[n]

2.P = Σ | ak |2
where ak are the coefficients of the an Fourier exponential serie and we have this relationship: | ak | = (Ak) /2 ;
where Ak is sqrt (Ck + Sk)2

Ck and Sk beeing the coefficient of the trigonometric Fourier series

x(t) = C0 + Σ [Ak cos kwt + Sksin kwot]

So a solution would be :

P = [sqrt (42 + 22) /2 ]2 + 2/2 = 5 + 1 = 6 but not in the results that i have to choose between. if i sum Ak2 the result would be 24 that is found in the possible ones
 
Physics news on Phys.org
1. Write out the sequence delta(n). By the way, in discrete form it's not called a Dirac delta function but rather a unit impulse function (this should give you a hint to what delta(n) looks like). Then write delta(n-1). You should be able to picture the convolution as these slide past each other.

2. You forgot to square the last term.
 
1. so δ[n] would be a stick at n= 0 and δ[n-1] would be a stick at n=1... and next i do the convolution like this ? δ[n]*δ[n] + δ[n] * δ[n-1] + δ[n-1] * δ[n] + δ[n-1]* δ[n-1] = δ[n-1] + δ[n] but its not in the possible results (δ[n] * δ[n-1] beeing = 0; and δ[n] * δ[n] = δ[n], δ[n-1]* δ[n-1] = δ[n-1]
Am I wrong ?
2. i skipped that step: { sqrt (22 ) / 2 }2 = 1

all the answers are over 12
 
1. You have correctly identified x(n). Next you're going to slide ...00011000... past itself, and at each lag (relative offset between them), multiply element by element and sum.

2. Think about the power of a sinusoid of amplitude A; it's A^2/2, not (A/2)^2.
 
1. if i do that wouldn't it be the sum i stated: δ[n]*δ[n] + δ[n] * δ[n-1] + δ[n-1] * δ[n] + δ[n-1]* δ[n-1] ? and the answer: 2δ[n] + 2δ[n-1]? ..but i have hard time on the result of a multiplication of two diracs or impulses..which term do i keep the first or the second one.

2. maybe but if | ak | = (Ak) /2 ..wouldnt | ak |2 =( Ak /2 )2
 
1. The autocorrelation sequence, also called circular convolution, is ...000121000... Think about lining x up as I mentioned. For lag=1 you have
00011000..
00110000..
or one.

For zero lag
00011000..
00011000..
the convolution is 2.

2. Where did your equation come from? What is the power of Acoswt?
 
1. what does the 000121000 sequence mean ..im not familiarized with this notation..one of the reasons i did not quite understood your answer

2. there are different formulas for the power of the signal

a. P = 1/T integral[ Xp (t)2]

b. P = Σ|ak|2

c. P = u(t)2 / R

The formulas where in the signal course i attended in the 5 semester
and in one book, via Parseval's Theorem


So i thought the b formula is the most appropriate for x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t)

the power of Acoswt would be P = (A/2 ) 2
 
fridaycoffee said:
1. what does the 000121000 sequence mean ..im not familiarized with this notation..one of the reasons i did not quite understood your answer
It is the convolution at different lags, that is, different values of offset between x and a copy of x. The convolution at zero lag is 2, which is the answer to your question. Sorry if that was confusing.

fridaycoffee said:
2. there are different formulas for the power of the signal

a. P = 1/T integral[ Xp (t)2]

b. P = Σ|ak|2

c. P = u(t)2 / R

The formulas where in the signal course i attended in the 5 semester
and in one book, via Parseval's Theorem


So i thought the b formula is the most appropriate for x(t) = 4 cos (ω0t) + 2 sin (ω0t) + 2cos(4ω0t)

the power of Acoswt would be P = (A/2 ) 2
If you work out your definition a) above, you'll convince yourself that the power contained in a cosine wave Acoswt is A^2 / 2. This should give you the right answer.
 
1. i meant what 000121000 i terms of δ[n], for zero leg 00022000 = 2δ[n] + 2δ[n-1] ? but 00012100 ? what does "1", "2" , "1" mean in terms of a δ[n] this might be a question at my master degree admision :)
2. Maybe youre right :) , i just applied the formula, and if i do that if |ak| = ( Ak ) /2 , it would be 22, or the formula isn't like that, I'm very confused
 
  • #10
1. Your sequence x[n] for -infinity < n < infinity is ...000011000..., right? Because delta[n] is a unit impulse that equals 0 except at n=0 when it equals 1, and delta[n-1] is zero except at n=1. To convolve it with itself, line x up with a copy of itself with an offset (or lag) m.
multiply term by term, and sum. See
http://en.wikipedia.org/wiki/Convolution"
You get zeros unless m=-1, in which case you have
..001100..
..011000..
and the convolution is 1. When m=0
..001100..
..001100..
you get 2. You can work out m=1.

2. The power of a wave is the square of the rms amplitude. You are given the peak amplitude A of a sin or cos wave, so the rms amplitude A/sqrt(2). In your problem, the power is then sum{(A_k^2)/2}, so the Fourier power of x(t) is 12. You state in your problem that there is a R=1 k resistor, so the electrical engineering formula P = (Vrms)^2 / R gives 0.012W or 12 mW.
 
Last edited by a moderator:
  • #11
1. Oh i got it now :) the first 1 from 011000 was for delta[n+1] but what you mean by 1, 2? one term,2 terms?

The possible answers are:
a) 2delta[n] + 2delta[n-1]
b)delta[n] + 2delta[n-1] + delta[n-2]
c)2delta[n-1] + 2delta[n-2]
d) delta[n] + delta[n-1] + delta[n-2]
e)delta[n-1] - 2delta[n-2]
f) delta[n-2] + delta[n-3]

The right answer in my opinion would be a)
delta[n]*delta[n] + delta[n] * delta[n-1] + delta[n-1] * delta[n] + delta[n-1]* delta[n-1] = 2delta[n] + 2delta[n-1]

delta[n]*delta[n] = delta[n]
delta[n-1]*delta[n-1] = delta[n-1]

but i don't know how to figure out delta[n]*delta[n-1]= ? it could be either one of the terms the result? i choose it in order to match the possible answers?



2. Thnks you're answer seems right

And thanks a lot for you're replies. It really helped a lot.
 
  • #12
fridaycoffee said:
1. Oh i got it now :) the first 1 from 011000 was for delta[n+1] but what you mean by 1, 2? one term,2 terms?

The possible answers are:
a) 2delta[n] + 2delta[n-1]
b)delta[n] + 2delta[n-1] + delta[n-2]
c)2delta[n-1] + 2delta[n-2]
d) delta[n] + delta[n-1] + delta[n-2]
e)delta[n-1] - 2delta[n-2]
f) delta[n-2] + delta[n-3]

The right answer in my opinion would be a)
No the answer is b. Writing sequence b explicitly gives ..000121000...

I am not explaining this well for you. Please see your TA or professor for clarification. They can explain the meaning of the unit impulse and of convolution to you one-on-one much more effectively than I can through this forum.
 
Last edited:
  • #13
Ok..so for m=-1 the second x[n] = delta[n] + delta[n-1] shifts into delta[n-1] + delta[n-2].
The lag m=-1 is standard for circular convolution ?
For m= 1 the answer would be delta[n+1] + 2delta[n] + delta[n-1] but for what would it stand ?

I don't have the chance to consult a teacher :(.
 
  • #14
fridaycoffee said:
Ok..so for m=-1 the second x[n] = delta[n] + delta[n-1] shifts into delta[n-1] + delta[n-2].
Yes, exactly.
fridaycoffee said:
The lag m=-1 is standard for circular convolution ?
Yes again.
fridaycoffee said:
For m= 1 the answer would be delta[n+1] + 2delta[n] + delta[n-1] but for what would it stand ?
Do you understand the meaning of delta[n]? It is the sequence
delta[n] = 1 for n=0
delta[n] = 0 for other n values
 
  • #15
marcusl said:
Yes, exactly.
Yes again.

Do you understand the meaning of delta[n]? It is the sequence
delta[n] = 1 for n=0
delta[n] = 0 for other n values
i know what it means :)
i thought there are other specific convolutions..
for example what would be the lag for a normal convolution if it follows the same algorithm or it doesnt?
 
  • #16
I have no idea what you just asked. Did you read the wiki article on convolution?
 
  • #17
yeah i read it before you post the link :)

i mean for example if i have [delta[n] + delta[n-2] ] * [delta [n+2] + delta[n+3]]

i continue adding lag until they meet? i misthought about specific lags for non autocorrelation convolution; i just apply the convolution formula
 
Last edited:
  • #18
I still don't understand your question "i continue adding lag until they meet?"
Just apply the convolution formula:

[f*g](n)=\sum_m f(m)g(n-m)

You get f*g=delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5)
or ...0001111000...
 
Last edited:
  • #19
marcusl said:
I still don't understand your question "i continue adding lag until they meet?"
Just apply the convolution formula:

[f*g](n)=\sum_m f(m)g(n-m)

You get f*g=delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5)
or ...0001111000...


delta(n-2)+delta(n-3)+delta(n-4)+delta(n-5) ... i don't know how to obtain this answer

i made an image with the convolution of [delta[n] + delta[n-2] ] * [delta [n+2] + delta[n+3]]

Maybe you can explain better the result on this


[PLAIN]http://img31.imageshack.us/img31/4100/12092010941.jpg
 
Last edited by a moderator:
  • #20
i found an easier way of solving any kind of convolution
thnks anyway for all you help
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K