Completing the Square in Fourier Transform: Right or Wrong?

  • Context: MHB 
  • Thread starter Thread starter ognik
  • Start date Start date
  • Tags Tags
    Puzzle Square
Click For Summary

Discussion Overview

The discussion revolves around the process of completing the square in the context of calculating the Fourier Transform of a Gaussian function. Participants are examining the correctness of their results compared to a textbook example, focusing on the manipulation of complex terms in the exponent.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants present their completed square results, noting discrepancies with the textbook's answer regarding the constant term.
  • One participant suggests that expanding the perfect square can help verify the correctness of the answer.
  • Another participant discusses the method of completing the square, emphasizing the need to account for the $i^2$ term and its impact on the signs of the resulting terms.
  • Several participants express concern about the adjustments needed in the standard method of completing the square due to the presence of complex numbers.
  • One participant acknowledges the importance of the overall negative factor from $-a^2$ in determining the final sign of the terms.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct form of the completed square. There are competing views on how to handle the complex terms and their implications for the final expression.

Contextual Notes

Participants highlight the potential for confusion arising from the manipulation of complex numbers and the need for careful attention to signs when completing the square. There are unresolved mathematical steps related to the expansion and simplification of terms.

ognik
Messages
626
Reaction score
2
Hi - following an example in my book to calc. the Fourier Transform of the Gaussian. We need to complete the square to integrate the exponent, the power is $-a^2t^2+i\omega t$ ... - all good so far.

Trouble is when I complete the square I get $$-a^2(t-\frac{i\omega}{2a^2})^2 +\frac{\omega^2}{4a^4}$$

The book states $$-a^2(t-\frac{i\omega}{2a^2})^2 -\frac{\omega^2}{4a^2}$$

Could someone tell me which is right please?
 
Physics news on Phys.org
ognik said:
Hi - following an example in my book to calc. the Fourier Transform of the Gaussian. We need to complete the square to integrate the exponent, the power is $-a^2t^2+i\omega t$ ... - all good so far.

Trouble is when I complete the square I get $$-a^2(t-\frac{i\omega}{2a^2})^2 +\frac{\omega^2}{4a^4}$$

The book states $$-a^2(t-\frac{i\omega}{2a^2})^2 -\frac{\omega^2}{4a^2}$$

Could someone tell me which is right please?

If you expand your perfect square to check your answer, you will immediately see that the book's answer is right.
 
We begin with:

$$-a^2t^2+i\omega t$$

We can next factor out $-a^2$:

$$-a^2\left(t^2-\frac{i\omega}{a^2} t\right)$$

Next, take the coefficient of the linear term, divide by 2, square and the add inside the brackets and subtract on the outside:

$$-a^2\left(t^2-\frac{i\omega}{a^2} t+\left(\frac{i\omega}{2a^2}\right)^2\right)-\left(-a^2\left(\frac{i\omega}{2a^2}\right)^2\right)$$

Rewrite first term as square of binomial, and for the second term we have two negative signs and $i^2$, so it is negative:

$$-a^2\left(t-\frac{i\omega}{2a^2}\right)^2-a^2\left(\frac{\omega}{2a^2}\right)^2$$

Distribute into the second term:

$$-a^2\left(t-\frac{i\omega}{2a^2}\right)^2-\left(\frac{\omega}{2a}\right)^2$$

This is equivalent to what your book states. :)
 
What is bothering me is that I think the normal method to complete the square needs adjusting because of the $i^2$

If I expand the 1st term I get: $ \left( t-\frac{i\omega}{2a^2}\right)\left( t-\frac{i\omega}{2a^2}\right) = t^2-\frac{i\omega}{a^2} -\frac{w^2}{4a^4} $

The last term gets a minus sign because of the $i^2$ so we should add that last term back?
 
ognik said:
What is bothering me is that I think the normal method to complete the square needs adjusting because of the $i^2$

If I expand the 1st term I get: $ \left( t-\frac{i\omega}{2a^2}\right)\left( t-\frac{i\omega}{2a^2}\right) = t^2-\frac{i\omega}{a^2} -\frac{w^2}{4a^4} $

The last term gets a minus sign because of the $i^2$ so we should add that last term back?

Don't forget to give the middle term $t$ as a factor and then distribute the $-a^2$! :)
 
ognik said:
What is bothering me is that I think the normal method to complete the square needs adjusting because of the $i^2$

If I expand the 1st term I get: $ \left( t-\frac{i\omega}{2a^2}\right)\left( t-\frac{i\omega}{2a^2}\right) = t^2-\frac{i\omega}{a^2} -\frac{w^2}{4a^4} $

The last term gets a minus sign because of the $i^2$ so we should add that last term back?

This may well be true, but you have a $-a^2$ factor overall, which will change the sign.
 
Ah, that's it, forgetting the minus from the $a^2$, thanks guys
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K