Wolfram Alpha's Why the 2 i π n?

  • Context: High School 
  • Thread starter Thread starter OmCheeto
  • Start date Start date
Click For Summary
SUMMARY

The discussion centers on the mathematical solution provided by Wolfram Alpha for the equation y = a * e^(b*x), specifically the inclusion of the term 2 i π n in the solution x = (log(y/a) + 2 i π n)/b. This term accounts for the multiple branches of the logarithm function in the complex plane, allowing for all possible solutions, including complex ones. The user’s initial solution, x = log(y/a)/b, represents only the principal value, while Wolfram Alpha's response encompasses all valid solutions, confirming that the additional term does not alter the equality of the original equation.

PREREQUISITES
  • Understanding of complex numbers and their properties
  • Familiarity with logarithmic functions and their branches
  • Basic knowledge of exponential functions and Euler's formula
  • Experience with mathematical software tools like Wolfram Alpha
NEXT STEPS
  • Study the properties of complex logarithms and their branches
  • Learn about Euler's formula and its applications in complex analysis
  • Explore the implications of multi-valued functions in calculus
  • Investigate how mathematical software like Wolfram Alpha handles complex solutions
USEFUL FOR

Mathematicians, students of complex analysis, and anyone interested in understanding the nuances of logarithmic functions and their solutions in the complex plane.

OmCheeto
Gold Member
Messages
2,498
Reaction score
3,478
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
 
Physics 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   Reactions: 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   Reactions: FactChecker, topsquark, OmCheeto and 1 other person
Thanks!
 
  • Like
Likes   Reactions: Ibix

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 33 ·
2
Replies
33
Views
5K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K