Message Boards Message Boards


Symbolic Integration of piecewise function

Posted 3 months ago
2 Replies
1 Total Likes

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?


2 Replies

Hi Jeffery

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

Posted 3 months ago

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

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract