4
$\begingroup$

If I do

FullSimplify[Reduce[Sin[p1] == 0 && Cos[p1] == 0, Reals]]

I get

 Cos[p1] == 0 && Sin[p1] == 0

while I would expect False. why? is there a way to have mathematica compute that both sin and cos cannot be 0?

$\endgroup$
  • 1
    $\begingroup$ Reduce[Sin[p1] == 0 && Cos[p1] == 0, p1] returns the expected result. $\endgroup$ – J. M. will be back soon Nov 10 '12 at 17:03
  • $\begingroup$ Domain specification Reals is unnecessary. $\endgroup$ – Artes Nov 10 '12 at 17:12
  • $\begingroup$ Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2)Read the FAQs! 3) When you see good Q&A, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign` $\endgroup$ – chris Nov 10 '12 at 17:21
  • $\begingroup$ Thank you @J.M., If you write it as an answer I will mark it as definitive $\endgroup$ – Fabio Dalla Libera Nov 10 '12 at 17:33
5
$\begingroup$

As noted, specifying the variable of interest within Reduce[] yields the expected result:

Reduce[Sin[p1] == 0 && Cos[p1] == 0, p1]
   False
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.