How to expand the following expression
(b == 0 || b == \[Pi] ) && (a == 0 || a == \[Pi])) || (3 a == 2 \[Pi] &&
3 b == 4 \[Pi]) || (3 a == 4 \[Pi] && 3 b == 2 \[Pi])
to the following solutions?
b=0,a=0
b=0,a=\pi
b=\pi,a=0
b=\pi,a=\pi
b=2\pi/4,a=2\pi/3
b=2\pi/3,a=2\pi/4
I tried the function LogicalExpand, but it gives me False.
Could anyone help? Thanks!
Reduce. But you'll need to fix your code. There's an extra)in(a == 0 || a == \[Pi]))and\Pineeds to be changed toPior\[Pi]. – JimB Feb 12 '22 at 16:07Reduce[((b == 0 || b == \[Pi]) && (a == 0 || a == \[Pi])) || (3 a == 2 \[Pi] && 3 b == 4 \[Pi]) || (3 a == 4 \[Pi] && 3 b == 2 \[Pi])]still givesfalse.. – M.K Feb 12 '22 at 16:11aand/orb(which is what @BobHanlon 's answer withClear["Global*"]` fixes). – JimB Feb 12 '22 at 16:47