Message Boards Message Boards

0
|
4073 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

How to define inclusions in Mathematica?

Dear members of the Wolfram Community,
Does any one has define inclusions (set valued maps) such as
y=0 for x>0 and y=(-inf,0] for x=0, in Mathematica??
Thanks

Jesus Rico
4 Replies
y = Piecewise[{{0, x > 0}, {Interval[{-\[Infinity], 0}], x == 0}}]
POSTED BY: Frank Kampas
Thanks!
 I used your definition within a Plot function 
Plot[y, {x, -1, 1}, Exclusions -> None]
and get only a horizontal line that not correspond to expected function.

What am I doing wrong?

Jesus
It's not really a function.  It has an infinite number of values of y for x = 0. 
I don't think Plot can handle that.
POSTED BY: Frank Kampas
Differential inclusions are very interesting generalizations of ordinary differential equations and definitions like the one you help me with are needed.

Thanks indeed!

Jesus 
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