MathGroup Archive 2009

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

Search the Archive

Re: Assuming odd/even functions



Hi Martin,

there is an options of Simplify: TransformationFunctions, that tells 

Simplify what to try. You may e.g.  specify a function that transforms 

f[-x] into -f[x] for an odd function. Here is an example:

t[e_] := e /. f[-x] -> -f[x];

Simplify[f[x] + f[-x], TransformationFunctions -> {Automatic, t}]

hope this helps, Daniel



Martin Schönecker wrote:

> How can we give Mathematica the information of a function being odd or even, and have it applied automatically or in a Simplify[]?

> 

> Such that, if e.g. f[y] is odd, the sum f(a)+f(-a) yields zero, the 

> integral Integrate[f[y], {y, -a, a}] vanishes?

> 

> --Martin

> 




  • Prev by Date: Re: Clip + Packed Integer Array Machine Precision Results
  • Next by Date: Re: Plotting a x,y,z function
  • Previous by thread: Fwd: Re: tooltip - evaluate function at point
  • Next by thread: Re: Assuming odd/even functions