Message Boards Message Boards

0
|
2465 Views
|
4 Replies
|
2 Total Likes
View groups...
Share
Share this post:

A range of each variable value over which the function is positive

Posted 2 years ago

There is a function with 8 variables. There are certain constraints for each variable. The constraints are as follows. Under these constraints, I want to know when the function is positive and when it is negative. FunctionSign didn't work for me. Also Reduce did not work.

a>0, b>0, c>0, d>0, e>0, f>0, 1>=g>=-1, 1>=h>=-1

How can I learn if there is a range of each variable value over which the function is positive or negative.

POSTED BY: criterion lover
4 Replies

Please provide full details and code about your problem to make it easier for other members to help you.

POSTED BY: Moderation Team

It depends on how complicated your function is. For example

function = a + b - c;
Reduce[function > 0 &&
  And[a > 0, b > 0, c > 0, d > 0, e > 0,
   f > 0, 1 >= g >= -1, 1 >= h >= -1]]
POSTED BY: Gianluca Gorni

The function is very complicated. It does not work for me.

POSTED BY: criterion lover

Possibly this is not tractable for your example. But it won't work for anyone if the code is not made available.

POSTED BY: Daniel Lichtblau
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