Group Abstract Group Abstract

Message Boards Message Boards

0
|
650 Views
|
4 Replies
|
5 Total Likes
View groups...
Share
Share this post:

Why is it impossible to determine the range of a in this universally true problem?

Posted 1 month ago
Reduce[ForAll[x, 0 < x < \[Pi]/2, 2 a Sin[a x] >= 0], a, Reals]

enter image description here

POSTED BY: Bill Blair
4 Replies
Posted 1 month ago

Thanks for your reply.

POSTED BY: Bill Blair
Posted 1 month ago

Thanks for your reply. Your answer gets to the heart of the issue, explaining the underlying algorithm and its scope of application in the code implementation. The equivalent expansion of the last line of code gives the final desired result

POSTED BY: Bill Blair

Removing ForAll from inside Reduce leads to a clear answer:

Reduce[0 < x < \[Pi]/2 &&
  2 a Sin[a x] >= 0 &&
  0 <= a x <= 2 Pi,
 {a, x}]

You can reintroduce ForAll to scan the answer:

red = Reduce[0 < x < \[Pi]/2 &&
   2 a Sin[a x] >= 0 &&
   0 <= a x <= 2 Pi,
  {a, x}]
Map[Reduce[ForAll[x, 0 < x < \[Pi]/2, #]] &,
 List @@ red]
POSTED BY: Gianluca Gorni

Probably the Reduce function (and other functions that use quantifiers, like ForAll and Exists) are based on an algorithm called Cylindrical Algebraic Decomposition (CAD). This algorithm is absolutely brilliant, but it has one huge drawback: it only works with polynomials.

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