Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11906 > unrolled thread

Re: Reduce command Mathematica

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-09-29 07:09 +0000
Last post2012-09-29 07:09 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Reduce command Mathematica Bob Hanlon <hanlonr357@gmail.com> - 2012-09-29 07:09 +0000

#11906 — Re: Reduce command Mathematica

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-09-29 07:09 +0000
SubjectRe: Reduce command Mathematica
Message-ID<k466ri$a8i$1@smc.vnet.net>
eqn = 2 n - Tanh[z] Tanh[2 n z] == 0;

Reduce[{eqn, Element[n, Integers],
  Element[z, Reals]}, z]

n == 0 && (z == 0 || (z \[Element] Reals && z != 0))

eqn /. n -> 0

True

Or for a specific value of n, say n=2:

sol = ((Solve[#, z][[1]] &) /@
   With[{n = 2},
    List @@
     FullSimplify[
      Reduce[{
        2 n - Tanh[z] Tanh[2 n z] == 0,
        Re[z] == 0}, z],
      Element[C[1], Integers]]])

Reduce::ztest: Unable to decide whether numeric quantities
{Re[Log[-Sqrt[1/3 (2+Times[<<2>>])]]],Re[Log[Sqrt[1/3 (2-I
Power[<<2>>])]]],Re[Log[-Sqrt[1/3 (2+Times[<<2>>])]]],Re[Log[Sqrt[1/3
(2+I Power[<<2>>])]]]} are equal to zero. Assuming they are. >>

{{z -> (1/2)*I*
         (-ArcCot[2/Sqrt[5]] +
            4*Pi*C[1])},
   {z -> (1/2)*I*(Pi + 4*Pi*C[1])},
   {z -> (1/2)*I*Pi*(-1 + 4*C[1])},
   {z -> (1/2)*I*(2*Pi -
            ArcCot[2/Sqrt[5]] +
            4*Pi*C[1])},
   {z -> (1/2)*I*
         (ArcCot[2/Sqrt[5]] +
            4*Pi*C[1])},
   {z -> (1/2)*I*(-2*Pi +
            ArcCot[2/Sqrt[5]] +
            4*Pi*C[1])}}

FullSimplify[eqn /. n -> 2 /. sol,
 Element[C[1], Integers]]

FullSimplify::infd: Expression Tan[1/2 \[Pi] (-1+4 C[1])] Tan[2 \[Pi]
(-1+4 C[1])] simplified to Indeterminate. >>

FullSimplify::infd: Expression 4+Tan[1/2 \[Pi] (-1+4 C[1])] Tan[2
\[Pi] (-1+4 C[1])] simplified to Indeterminate. >>

{True, True, Indeterminate == 0, True, True, True}


Bob Hanlon


On Thu, Sep 27, 2012 at 10:49 PM, Oznur Oztunc <oznr83@gmail.com> wrote:
> Hi,
> I have the following system.Why isn't Reduce able to find the solution? I have tried some command (Solve). But I can't be solve this equation.
> Reduce[2 n - Tanh[z] Tanh[2 n z] == 0, z]
>
> Regards, and thanks to all who will answer!
> =D6snur =D6stun=E7
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web