B Wolfram Alpha's Why the 2 i π n?

  • B
  • Thread starter Thread starter OmCheeto
  • Start date Start date
AI Thread Summary
Wolfram Alpha provides the solution x = (log(y/a) + 2 i π n)/b for the equation y = a * e^(b*x), incorporating the term '2 i π n' to account for all possible complex solutions. The logarithm function has multiple branches in the complex plane, leading to these additional solutions. The original solution x = log(y/a)/b represents only the real solution, while Wolfram's answer includes both real and complex solutions. The complex exponential e^(2iπn) simplifies to 1, confirming that these solutions are valid. Thus, Wolfram Alpha's approach is more comprehensive, offering a complete set of solutions.
OmCheeto
Gold Member
Messages
2,471
Reaction score
3,349
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
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
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
Thanks!
 
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Suppose ,instead of the usual x,y coordinate system with an I basis vector along the x -axis and a corresponding j basis vector along the y-axis we instead have a different pair of basis vectors ,call them e and f along their respective axes. I have seen that this is an important subject in maths My question is what physical applications does such a model apply to? I am asking here because I have devoted quite a lot of time in the past to understanding convectors and the dual...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top