Sponsored links: Algebra eBooks
 

Related

intersection

A:{1,2,3};

B:{2};

intersection(A,B);

Calculate

intersection-setdifference

m1: set(a,b,c,d,e);

m2: set(a,f,g,h,i);

m3: set(a,c,e,g,i);

Calculate

intersection

m1: set(a,b,c,d,e);

m2: set(a,f,g,h,i);

m3: set(a,c,e,g,i);

Calculate

intersection

intersection({a, b, c...

Calculate

intersection

intersection({a, b, c...

Calculate

intersection-union

U:set(1,2,3,4,5,6,7,8...

A:set(1,3,5,7,9);

B:set(5,6,7,8,9,10,11...

Calculate

intersection

U:{-6,-5,-4,-3,-2,-1,...

A:{-6,-4,-2,-1,0,1,2,...

B:{-6,-3,-1,0,1,3,6};

Calculate

intersection-powerset-union

intersection({a, b, c...

union({a, b, c, d}, {...

powerset( {a, b, c, d...

Calculate

intersection

S_1 : {a, b, c, d};

S_2 : {d, e, f, g};

S_3 : {c, d, e, f};

Calculate

intersection-powerset-union

intersection({a, b, c...

union({a, b, c, d}, {...

powerset( {a, b, c, d...

Calculate

intersection

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 : {{}, {{}}, 1, 2, {1, 2}, {1}, {2}};
(%o1)                 {1, 2, {}, {1}, {1, 2}, {2}, {{}}}
(%i2)  S_2 : {1,{ 1, 2, 3}};
(%o2)                           {1, {1, 2, 3}}
(%i3)  intersection (S_1, S_2);
(%o3)                                 {1}
(%i4) 
Run Example
m1: set(a,b,c,d,e);
(%o1)                           {a, b, c, d, e}
(%i2) m2: set(a,f,g,h,i);
(%o2)                           {a, f, g, h, i}
(%i3) m3: set(a,c,e,g,i);
(%o3)                           {a, c, e, g, i}
(%i4) lsg:  intersection (m1, m2);
(%o4)                                 {a}
(%i5) ans1: set(a,b);
(%o5)                               {a, b}
(%i6) fehlt: setdifference(lsg, ans1);
(%o6)                                 {}
(%i7) zuviel: setdifference(lsg, ans1);
(%o7)                                 {}
(%i8) 

Related Help

Help for Intersection