MathGroup Archive 2004

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

Search the Archive

Re: Bernoulli variable algebra

  • To: mathgroup at
  • Subject: [mg46530] Re: Bernoulli variable algebra
  • From: drbob at (Bobby R. Treat)
  • Date: Sun, 22 Feb 2004 11:27:28 -0500 (EST)
  • References: <c16m89$5pd$>
  • Sender: owner-wri-mathgroup at

Use some special symbol (rather than x) for your Bernoulli variables.
I'll use "binary":

binary*binary ^= binary; 
binary^_ := binary
Expand[binary*(1 + binary)^10]


jmyers6761 at (JMyers6761) wrote in message news:<c16m89$5pd$1 at>...
> I have been working on a Mathematica package used to predict the reliability of
> complex redundent systems. The calculations, which are done symboliclly, become
> quite complex. Since all of the variables used are Bernoulli variables, i.e.
> take on only values of 0 or 1, the expressions must be simplified by use of the
> rule x_^n_->x. My problem is this, the expressions are complex and large and,
> as a result the Mathematica Kernal runs out of memory trying to expand the
> expressions. I know, from other techniques, that the resulting expressions
> after application of the  x_^n_->x rule are still large (> 1000 terms) they are
> not unmanageable. (The expressions prior to applying the rule might be on the
> order of 10^6 terms) If a technique could be devised for accomplishing the
> effect of the above transformation without first requiring the full expansion
> of the expressions it would be possible to greatly simplify the required
> analysis. Is anyone aware of a technique for the simplification of algebraic
> expressions of Bernoulli variables without requiring expansion of the
> expression first?
> Any hints would be greatly appreciated.
> Thankyou,
> Al Myers

  • Prev by Date: Re: Chebyshev's Identity
  • Next by Date: Re: Mathlink and C#
  • Previous by thread: Bernoulli variable algebra
  • Next by thread: Re: Bernoulli variable algebra