MathGroup Archive 2006

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

Search the Archive

Simplifying equations for Mathematica


[This post has been delayed due to email problems - moderator]


I'm trying to solve some likelihood equations, and Mathematica will not

finish in reasonable time. I'm wondering if there is a way I can

rewrite it so that Mathematica can do them



The concrete example is

f[t1,t2,t3,t4,t5]=Log[Exp[0]+Exp[t1]+Exp[t2]+Exp[t1+t2]+Exp[t5]+Exp[t5+t1
+t2]+Exp[t5+t2+t4]+Exp[t1+t2+t3+t4+t5]]



The gradient of f defines a map R^5->R^5, and I need to invert that

map. (This particular example can be solved by hand, but I'm wondering 
about other cases of the same form)



Here's the command I use to solve it (works on Mathematica 5.2 only)

Solve[Map[Apply[Equal,#]&,Thread[{D[Log[Exp[0]+Exp[t1]+Exp[t2]+Exp[t1+t2]
+Exp[t5]+Exp[t5+t1+t2]+Exp[t5+t2+t4]+Exp[t1+t2+t3+t4+t5]],
{{t1,t2,t3,t4,t5},1}],{m1,m2,m3,m4,m5}}]],{t1,t2,t3,t4,t5}]



It's been running for several days on a Pentium 2Ghz. Are there simple

transformations I can do to help Mathematica solve it?


  • Prev by Date: How do I combine Solve and Maximize?
  • Next by Date: MathLink and Sparse Matrices
  • Previous by thread: Re: How do I combine Solve and Maximize?
  • Next by thread: Re: Simplifying equations for Mathematica