Message Boards Message Boards

0
|
1739 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Simplify function argument

Posted 1 year ago

In a more complicated expression I would like Mathematica to simplify

Integrate[f[x - Floor[x]], {x, 0, 1}]
to

Integrate[f[x], {x, 0,1 }]

Simplify[...] doesn't seem to do it. Ideas? Thanks.

POSTED BY: julio kuplinsky
Posted 1 year ago

Use correct assumptions, probably before calling Integrate:

Simplify[f[x - Floor[x]], 0 <= x <= 1]

(* f[x - Floor[x]] *)

... but:

Simplify[f[x - Floor[x]], 0 <= x < 1]

(* f[x] *)

You can also try Assumptions option in Integrate itself.

POSTED BY: Jari Kirma
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract