Sponsored links: Algebra eBooks
 

Related

setdifference-union

A: {1,2,27,48,a};

B: {8,9,3,1,2,7,4,9};

C: {b,a,3,4,8,13,27,48};

Calculate

setdifference-union

A:{1,3,5,6,7,8,9,10,1...

B:{2,4,6,7,8,9,10,11,...

C:{0,1,2,3,4,5,6,7,8,...

Calculate

setdifference-union

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference-union

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference-union

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference-union

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference

A:{1,2,27,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference

A:{1,2,29,48,a};

B:{8,9,3,1,2,7,4,9};

C:{b,a,3,4,8,13,27,48};

Calculate

setdifference-union

A:{1,2,3,4};

B:{2,4,6,8};

C:{1,2,3,4,5,6,7,8};

Calculate

setdifference

Run Example
(%i1)S_1 : {a, b, c, x, y, z};
(%o1)                         {a, b, c, x, y, z}
(%i2)  S_2 : {aa, bb, c, x, y, zz};
(%o2)                        {aa, bb, c, x, y, zz}
(%i3)  setdifference (S_1, S_2);
(%o3)                              {a, b, z}
(%i4)  setdifference (S_2, S_1);
(%o4)                            {aa, bb, zz}
(%i5)  setdifference (S_1, S_1);
(%o5)                                 {}
(%i6)  setdifference (S_1, {});
(%o6)                         {a, b, c, x, y, z}
(%i7)  setdifference ({}, S_1);
(%o7)                                 {}
(%i8) 
Run Example
A: {1,2,27,48,a};
(%o1)                          {1, 2, 27, 48, a}
(%i2) B: {8,9,3,1,2,7,4,9};
(%o2)                        {1, 2, 3, 4, 7, 8, 9}
(%i3) C: {b,a,3,4,8,13,27,48};
(%o3)                     {3, 4, 8, 13, 27, 48, a, b}
(%i4) union(setdifference(C,A),setdifference(B,A));
(%o4)                       {3, 4, 7, 8, 9, 13, b}
(%i5) 
Run Example
A:{2,4,6,8,10,12,14,16,18};
(%o1)                  {2, 4, 6, 8, 10, 12, 14, 16, 18}
(%i2) B:{1,2,3,4,5,6,7,8,9,10,11,12};
(%o2)               {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}
(%i3) C:{3,5,7,9,11,13,14,15};
(%o3)                    {3, 5, 7, 9, 11, 13, 14, 15}
(%i4) D:{1,2,5,6,8,9,11,12,15,16};
(%o4)                 {1, 2, 5, 6, 8, 9, 11, 12, 15, 16}
(%i5) intersection(setdifference(setdifference(B,A),union(setdifference(A,B), setdifference(A,C))),setdifference(C,D));
(%o5)                               {3, 7}
(%i6) 

Related Help

Help for Setdifference