I am trying to learn how to solve a bunch of digital signal problems and I have trouble understanding the solutions provided by this book I'm using. Basically, this problem asks me to determine spectrum amplitudes for half-wave rectified sine, as the title mentions. The signal looks like this: enter image description here

The development in complex (exponential) Fourier series will be given byenter image description here:

What properties are used to get to this answer? I don't get from where did the enter image description here came from.

Full solution:

enter image description here

I was missing the red n. From that and using

enter image description here

solved it.

  • $\begingroup$ @Downvoter, care to comment? $\endgroup$ Aug 17 '14 at 21:05
  • 1
    $\begingroup$ @Downvoter was right, my question was incomplete and looked like I did not do any research effort. Also, I wasn't very specific about my problem. $\endgroup$ Aug 21 '14 at 7:53

You have to integrate by parts twice. Leaving out constants you have


If you again perform integration by parts on the integral on the right-hand side of the above equation you get the final result:


If $I$ is the integral on the left-hand side you have


and finally


Note that you have to consider the case $n=1$ separately. Also note that you could also compute the coefficients $c_n$ by direct integration using $\sin(\omega_0t)=(e^{j\omega_0t}-e^{-j\omega_0t})/2j$.

  • $\begingroup$ Updated my question with my actual problem. $\endgroup$ Aug 21 '14 at 7:53
  • $\begingroup$ @TanatosDaniel: Your 'actual problem' is the same as before: you don't get the correct solution. My answer shows you in a quite detailed way how to arrive at this solution. Now it is up to you to work it out and try to understand it. The only thing you have to do is perform the integration by parts of the integral on the right-hand side of the first equation in my answer. If you just took a bit of time and concentration you should be able to do it. $\endgroup$
    – Matt L.
    Aug 21 '14 at 8:44
  • $\begingroup$ @TanatosDaniel: If you showed your efforts by explicitly writing out the steps that lead you to your solution, it would probably be relatively easy to find the error. $\endgroup$
    – Matt L.
    Aug 21 '14 at 8:49
  • $\begingroup$ Yes. That's right. I can't get the right solution and it's frustrating. I wrote all steps now. $\endgroup$ Aug 21 '14 at 9:44
  • $\begingroup$ @TanatosDaniel: That's great news! $\endgroup$
    – Matt L.
    Aug 21 '14 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.