Message Boards Message Boards

0
|
2869 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

Symbolic Integration of piecewise function

Posted 3 years ago

I would like to integrate a piecewise function, using a variable in the bounds of the integral.

Is it possible to specify that the variable belongs to a particular set? For example, if I have a piecewise function defined on a support of two sets, say 0 < x < 1/2 and 1/2 <= x < 1, can I compute the symbolic integral of that function from A to 1, specifying that 0 < A < 1/2?

Cheers,
Jeff

POSTED BY: Jeffrey Cochran
2 Replies

Hi Jeffery

Have you tried using the option Assumptions in your Integrate[ ] function?

POSTED BY: Ahmed Elbanna

Thank you, Ahmed. That's exactly what I was looking for.

POSTED BY: Jeffrey Cochran
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