Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Reduce command Mathematica' topicStudent Support Forum > General > "Reduce command Mathematica"

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
09/29/12 00:16am

Reduce attempts to return an exact analytic equation that is valid for all values of your variables. It appears that Mathematica and Reduce simply do not know of any such solution for your problem.

If you specify an integer value for n then Reduce is happy to give you solutions.

In[1]:= n=1;Reduce[2 n-Tanh[z] Tanh[2 n z]==0,z]

Out[1]= C[1] ∈ Integers && (z == (-I/2)*Pi + (2*I)*Pi*C[1] || z == (I/2)*Pi + (2*I)*Pi*C[1])

In[2]:= n=2;Reduce[2 n-Tanh[z] Tanh[2 n z]==0,z]

Out[2]= C[1] ∈ Integers && (z == (-I/2)*Pi + (2*I)*Pi*C[1] || z == (I/2)*Pi + (2*I)*Pi*C[1] || z == (2*I)*Pi*C[1] + Log[-Sqrt[2/3 - (I/3)*Sqrt[5]]] || z == (2*I)*Pi*C[1] + Log[Sqrt[2/3 - (I/3)*Sqrt[5]]] || z == (2*I)*Pi*C[1] + Log[-Sqrt[2/3 + (I/3)*Sqrt[5]]] ||
z == (2*I)*Pi*C[1] + Log[Sqrt[2/3 + (I/3)*Sqrt[5]]])

In[3]:= n=3;Reduce[2 n-Tanh[z] Tanh[2 n z]==0,z]

Out[3]= C[1] ∈ Integers && (z == (-I/2)*Pi + (2*I)*Pi*C[1] || z == (I/2)*Pi + (2*I)*Pi*C[1] ||
z == (2*I)*Pi*C[1] + Log[-Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 1, 0]]] ||
z == (2*I)*Pi*C[1] + Log[Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 1, 0]]] ||
z == (2*I)*Pi*C[1] + Log[-Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 2, 0]]] ||
z == (2*I)*Pi*C[1] + Log[Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 2, 0]]] ||
z == (2*I)*Pi*C[1] + Log[-Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 3, 0]]] ||
z == (2*I)*Pi*C[1] + Log[Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 3, 0]]] ||
z == (2*I)*Pi*C[1] + Log[-Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 4, 0]]] ||
z == (2*I)*Pi*C[1] + Log[Sqrt[Root[5 - 8*#1 + 9*#1^2 - 8*#1^3 + 5*#1^4 & , 4, 0]]])

Your notebook contained an I in your equation which you did not have in your description, but this same method of specifying an integer value for n works equally well for that.

URL: ,

Subject (listing for 'Reduce command Mathematica')
Author Date Posted
Reduce command Mathematica ösnur 09/27/12 07:46am
Re: Reduce command Mathematica Bill Simpson 09/29/12 00:16am
< Previous CommentHelp | Reply To Comment | Reply To Topic