The output of
Reduce[x/Sin[x] == x]
is
(C[1] \[Element] Integers && x == \[Pi]/2 + 2 \[Pi] C[1]) || x == 0
but x cannot be 0. Is this a bug?
The output of
Reduce[x/Sin[x] == x]
is
(C[1] \[Element] Integers && x == \[Pi]/2 + 2 \[Pi] C[1]) || x == 0
but x cannot be 0. Is this a bug?
One workaround is to a set system option:
SetSystemOptions[
"SimplificationOptions" -> "AutosimplifyTrigs" -> False];
Reduce[x/Sin[x] == x]
(*
C[1] [Element] Integers && x == [Pi]/2 + 2 [Pi] C[1]
*)
It does not fix the buglet with Csc[x], though:
Reduce[x*Csc[x] == x]
(*
(C[1] \[Element] Integers && x == \[Pi]/2 + 2 \[Pi] C[1]) || x == 0
*)
Simpler example:
Reduce[x*Csc[x] == 0]
(*
x == 0
*)
Similar problems with other transcendental functions (x*Log[x] == 0 and so on).
Reduce[x/Sin[x] == x] yelds a wrong result (similarily Reduce[x/Sin[x] == x, Complexes]) while Reduce[x/Sin[x] == x, x] yields the correct one and so does Reduce[x/Sin[x] == x, Reals].
– Artes
Feb 23 '23 at 17:03
Reduce[e] and Reduce[e,x]....When I have time, I'll try to circle back and include an explanation of it in my answer.
– Michael E2
Feb 23 '23 at 19:52
Reduce[x/Sin[x] == x, Reals]then it does not givex=0(the default is complex domain). the question remains if $x=0$ is correct in the complex plane. I have to look up my complex variables book.Reduce[x/y == x]and the follow-upReduce[Reduce[x/y == x] /. y -> Sin[x]]correctly. – Michael E2 Feb 23 '23 at 16:16x/Sin[x]automatically becomesx*Csc[x]. – Michael E2 Feb 23 '23 at 16:19Reduce[ Sin[x]/x == 1/x] (*C[1] \[Element] Integers && x == \[Pi]/2 + 2 \[Pi] C[1]*)gives correct result too – Ulrich Neumann Feb 23 '23 at 16:19Reduce[x/Sin[x] == x, x]yields a correct result. I guess that the equation inReduceshould be supplemented withFunctionDomainfor an appropriate function as it has been discussed in Wrong solution to a simple equation. I guess that you have found another instance of the bug present there and so this post might be considered as a duplicate. Nevertheless +1. – Artes Feb 23 '23 at 16:38