Mathematica Plotting k^2 in Mathematica - Output Not 1?

Click For Summary
The Mathematica code provided plots the expression k^2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, which oscillates between 1 and 2 for k = 2. This behavior contradicts the expectation from the addition theorems of Jacobi elliptic functions, which suggest that k^2 sn^2 + dn^2 should equal 1. A separate plot of 2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2 yields a constant value of 1 across the range. The confusion arises from the use of k instead of m in the Jacobi functions, where k is defined as the square root of m. Understanding the correct parameters is crucial for accurate plotting in Mathematica.
member 428835
Can anyone confirm if the following in Mathematica gives an output that is not 1? I'm getting some sort of sinusoid, but I should get 1.

Code:
k = 2;
Plot[k^2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}]

Thanks!
 
Physics news on Phys.org
joshmccraney said:
Can anyone confirm if the following in Mathematica gives an output that is not 1? I'm getting some sort of sinusoid, but I should get 1.

Code:
k = 2;
Plot[k^2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}]

Thanks!
Yes, that oscillates between 1 and 2 (Mathematica 12.0.0.0).
 
I don't know if this helps, but

Code:
Plot[2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}]

does appear to be 1 for all values of t while 4 JacobiSN[t, k]^2 + JacobiDN[t, k]^2 is not.

I noticed that by plotting the two functions separately and guessing the needed scale factor.
 
Bill Simpson said:
I don't know if this helps, but

Code:
Plot[2 JacobiSN[t, k]^2 + JacobiDN[t, k]^2, {t, 0, 10}]

does appear to be 1 for all values of t while 4 JacobiSN[t, k]^2 + JacobiDN[t, k]^2 is not.

I noticed that by plotting the two functions separately and guessing the needed scale factor.
Do you mean ##k^2## instead of 4?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K