Wolfram Alpha's Why the 2 i π n?

  • B
  • Thread starter OmCheeto
  • Start date
In summary, Wolfram Alpha provides all solutions to the given equation, including complex solutions, while the expected single solution is x = log(y/a)/b. The extra 2 i π n term in the Wolfram solution accounts for the multiple branches of the logarithm function in the complex plane. The n=0 solution is the same as the expected one, but there are also n complex solutions that satisfy the given requirements.
  • #1
OmCheeto
Gold Member
2,424
3,116
Was going through an old spreadsheet and I re-did some math that I had originally noted that I had done incorrectly. It seemed trivially simple but I wanted to double check with Wolfram to make sure I wasn't missing something.

Here's what I typed in: solve for x when y = a * e^(b*x)

Wolfram Alphas solution: x = (log(y/a) + 2 i π n)/b and a!=0 and y!=0 and b!=0 and n element Z

Why did Wolfram Alpha add the ‘2 i π n’ ?
My solution was x = log(y/a)/b
 
Mathematics news on Phys.org
  • #2
Wolfram is giving you all the solutions, including complex solutions. The logarithm function has several branches in the complex plane, each with a valid solution. If you were not expected to know about the complex solutions, then your single solution was the expected one. Otherwise, the Wolfram answer is better.
 
  • Like
Likes Hornbein, topsquark, OmCheeto and 1 other person
  • #3
Plug the answer back in to your formula.$$\begin{eqnarray*}
y&=&ae^{b(\log(y/a)+2i\pi n)/b}\\
&=&ae^{\log(y/a)}e^{2i\pi n}\\
&=&ye^{2i\pi n}
\end{eqnarray*}$$The extra exponential on the right is a complex exponential - it turns out that ##e^{i\phi}=\cos(\phi)+i\sin(\phi)##. And that means that ##e^{2i\pi n}=1##, so the right hand side in my third line above is also equal to ##y##.

As FactChecker says, Wolfram is providing all solutions, including complex ones. The ##n=0## solution is the same as yours and is the only real solution. But ##n=\ldots,-3,-2,-1,1,2,3,\ldots## complex solutions also satisfy the requirements you gave Wolfram.
 
  • Like
Likes FactChecker, topsquark, OmCheeto and 1 other person
  • #4
Thanks!
 
  • Like
Likes Ibix

FAQ: Wolfram Alpha's Why the 2 i π n?

What does the expression "2 i π n" represent in mathematics?

The expression "2 i π n" represents a complex number that is often encountered in the context of Fourier series and signal processing. Here, "i" is the imaginary unit, "π" is the mathematical constant pi (approximately 3.14159), and "n" is typically an integer representing a frequency component. The term is used to describe the periodic nature of functions in the complex plane.

Why is "2 i π n" important in Fourier analysis?

"2 i π n" is crucial in Fourier analysis because it helps express periodic functions as sums of sinusoidal components. The exponential form e^(2 i π n t) corresponds to these sinusoidal functions, allowing for the decomposition of complex signals into simpler waves, which is essential for understanding and analyzing frequency components in signals.

What role does "n" play in the expression "2 i π n"?

In the expression "2 i π n," the variable "n" typically represents an integer that indexes the frequency components of a periodic function. Each value of "n" corresponds to a different harmonic or frequency, allowing for the construction of a complete representation of the function in terms of its fundamental frequency and its harmonics.

How does the presence of "i" affect the interpretation of "2 i π n"?

The presence of "i," the imaginary unit, in "2 i π n" indicates that the expression is part of a complex exponential function. This allows for the representation of oscillatory behavior in a more compact form. The real part corresponds to cosine functions, while the imaginary part corresponds to sine functions, enabling a complete representation of periodic phenomena in the complex plane.

Can "2 i π n" be used in real-world applications?

Yes, "2 i π n" is widely used in real-world applications, particularly in fields such as engineering, physics, and computer science. It is fundamental in signal processing, telecommunications, and audio engineering, where it is used to analyze and synthesize signals, as well as in image processing, where Fourier transforms help in filtering and image compression.

Similar threads

Back
Top