MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Strange behaviour of Solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129092] Re: Strange behaviour of Solve
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Sat, 15 Dec 2012 05:46:37 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <kaem88$5qb$1@smc.vnet.net>
  • Reply-to: nma at 12000.org

Please do not start your variables and symbols and function names
with UpperCase letter. start everything with lowerCase. Using first
letter as lowercase is not recommended as it can conflict with internal
symbols and internal names.


On 12/14/2012 1:59 AM, friedrich.gehring at gmail.com wrote:
> I have a strange Problem with Solve: The number of solutions depends on the names for
the variables. I am using Mathematica 8.0.1.0 on Linux x86 and this is my code:
> Clear[K1, K2, K3, K4, K, G, Nf, vd, dg, d, l, a, b, s, p, t, v];
> K1 = ({
>      {a - 2, -1, -3, -3},
>      {-1, 0, 0, 0},
>      {-3, 0, 0, -4},
>      {-3, 0, -4, 0}
>     });
> K2 = ({
>      {0, -1, 0, 0},
>      {-1, a - 2, -3, -3},
>      {0, -3, -4, 0},
>      {0, -3, 0, -4}
>     });
> K3 = 1/3 ({
>       {0, 0, 1, -4},
>       {0, 0, -3, 0},
>       {1, -3, -a - 2, -1},
>       {-4, 0, -1, 0}
>      });
> K4 = 1/3 ({
>       {0, 0, -4, 1},
>       {0, 0, 0, -3},
>       {-4, 0, 0, -1},
>       {1, -3, -1, -a - 2}
>      });
> g = {g1, g2, g3, g4};
> K = Transpose[{K1, K2, K3, K4}];
> G[g1_, g2_, g3_, g4_] = Simplify[(d - 2) g - b * g.K.g];
> Par = {dg -> 4, d -> 3, Nf -> 2, vd -> 1/(8*Pi), l -> 2/3};
> Kurz = {a -> dg*Nf, b -> 4 vd l /Nf};
> sol =
>   FullSimplify[Solve[G[s, p, v, t] == 0 /. Kurz /. Par, {s, p, v, t}]]
> Length[sol]
>




  • Prev by Date: silly question on formatting tables
  • Next by Date: Re: silly question on formatting tables
  • Previous by thread: Re: Strange behaviour of Solve
  • Next by thread: spherical harmonics