Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: General--Exponential simplifications by default

  • To: mathgroup at
  • Subject: [mg69009] Re: General--Exponential simplifications by default
  • From: p-valko at
  • Date: Sat, 26 Aug 2006 02:04:57 -0400 (EDT)
  • References: <ecmi96$a1r$>
  • Sender: owner-wri-mathgroup at


E^(-2 eta y)(-theta + E^(eta y)(2+theta))/(2 alpha)  // myform

The output will look something like your preference:

(-theta E^(-2 eta y)+ E^(-eta y)(2+theta)) / (2alpha)

at least in the default OutputForm.


guillaume_evin at wrote:
> Hi !
> I want to avoid simplifications when Mathematica integrates expressions with exponential terms. For example, I have :
> In[8]=      Espcond[y_] = Integrate[x*Densx[x, y], {x, 0, Infinity}, Assumptions -> alpha > 0]
> Out[8]=      E^(-2eta y)(-theta + E^(eta y)(2+theta))/(2alpha)
> I do not want to have a factorization by E^(-2eta y). More precisely I would like to have the following result:
> Out[8]=      (-theta E^(-2eta y)+ E^(-eta y)(2+theta))/(2alpha)
> I guess there is a way to tackle this problem with "ComplexityFunction" and "Simplify", but I tried different things such as "ComplexityFunction -> (Count[{#1}, Exp_, &#8734;] &)" in the "Simplify" function but no change appears.
> Is someone could give me some tricks on how tu use the "ComplexityFunction" ?
> Thank you in advance.
> Guillaume
> Link to the forum page for this post:
> Posted through [[postId=12974]]

  • Prev by Date: Re: General--Difficulties in Understanding Mathematica Syntax
  • Next by Date: Re: Change of Basis function
  • Previous by thread: Re: Re: General--Exponential simplifications by default
  • Next by thread: RE: Re: General--Exponential simplifications by default