Sponsored links: Algebra eBooks
 

Related

symmdifference

S_1 : {9, 8, 7, 6, 5,...

S_2 : {98765432100, ...

symmdifference ();

Calculate

symmdifference

S_1 : {9, 8, 7, 6, 5,...

S_2 : {98765432100, ...

symmdifference ();

Calculate

symmdifference

S_1 : {{}, {{}}, 1, 2...

S_2 : {{},1,{1},{2},3};

symmdifference (S_1,...

Calculate

symmdifference

S_1 : {{}, {{}}, 1, 2...

S_2 : {{},1,{1},{2},3};

symmdifference (S_1,...

Calculate

symmdifference

S_1 : {a, b, c};

S_2 : {1, b, c};

S_3 : {a, b, z};

Calculate

symmdifference

? symmdifference;

Calculate

symmdifference

s_1 : {a, b, c};

s_2 : {1, b, c};

s_3 : {a, b, z};

Calculate

symmdifference

? symmdifference;

Calculate

symmdifference

S_1 : {a, b, c};

S_2 : {1, b, c};

S_3 : {a, b, z};

Calculate

symmdifference

s_1 : {a, b, c};

s_2 : {1, b, c};

s_3 : {a, b, z};

Calculate

symmdifference

Run Example
(%i1)U:{-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6};
(%o1)         {- 6, - 5, - 4, - 3, - 2, - 1, 0, 1, 2, 3, 4, 5, 6}
(%i2) A:{-6,-4,-2,-1,0,1,2,4,6};
(%o2)                 {- 6, - 4, - 2, - 1, 0, 1, 2, 4, 6}
(%i3) B:{-6,-3,-1,0,1,3,6};
(%o3)                     {- 6, - 3, - 1, 0, 1, 3, 6}
(%i4) C:{-6,-3,-2,-1,1,2,3,6};
(%o4)                  {- 6, - 3, - 2, - 1, 1, 2, 3, 6}
(%i5) intersection(A,B,C);
(%o5)                          {- 6, - 1, 1, 6}
(%i6) intersection(A,B);
(%o6)                         {- 6, - 1, 0, 1, 6}
(%i7) intersection(A,C);
(%o7)                      {- 6, - 2, - 1, 1, 2, 6}
(%i8) intersection(B,C);
(%o8)                      {- 6, - 3, - 1, 1, 3, 6}
(%i9) intersection(A,symmdifference(B,C));
(%o9)                             {- 2, 0, 2}
(%i10) setdifference(symmdifference(A,B),C);
(%o10)                             {- 4, 4}
(%i11) intersection(setdifference(A,B),C);
(%o11)                             {- 2, 2}
(%i12) 
Run Example
S_1 : {a, b, c};
(%o1)                              {a, b, c}
(%i2)  S_2 : {1, b, c};
(%o2)                              {1, b, c}
(%i3)  symmdifference ();
(%o3)                                 {}
(%i4)  symmdifference (S_1);
(%o4)                              {a, b, c}
(%i5)  symmdifference (S_1, S_2);
(%o5)                               {1, a}
(%i6) 
Run Example
U:{-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6};
(%o1)         {- 6, - 5, - 4, - 3, - 2, - 1, 0, 1, 2, 3, 4, 5, 6}
(%i2) A:{-6,-4,-2,-1,0,1,2,4,6};
(%o2)                 {- 6, - 4, - 2, - 1, 0, 1, 2, 4, 6}
(%i3) B:{-6,-3,-1,0,1,3,6};
(%o3)                     {- 6, - 3, - 1, 0, 1, 3, 6}
(%i4) C:{-6,-3,-2,-1,1,2,3,6};
(%o4)                  {- 6, - 3, - 2, - 1, 1, 2, 3, 6}
(%i5) intersection(A,B,C);
(%o5)                          {- 6, - 1, 1, 6}
(%i6) intersection(A,B);
(%o6)                         {- 6, - 1, 0, 1, 6}
(%i7) intersection(A,C);
(%o7)                      {- 6, - 2, - 1, 1, 2, 6}
(%i8) intersection(B,C);
(%o8)                      {- 6, - 3, - 1, 1, 3, 6}
(%i9) intersection(A,symmdifference(B,C));
(%o9)                             {- 2, 0, 2}
(%i10) setdifference(symmdifference(A,B),C);
(%o10)                             {- 4, 4}
(%i11) 

Related Help

Help for Symmdifference