Sponsored links: Algebra eBooks
 

Related

intersection

S_1 : {1, 5, {1, 5},{...

S_2 : {{1, 5, 10},{5...

intersection (S_1, S...

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

set_a:{1,2,3,4,5,6,7,...

set_b:{1,2,3};

set_c:intersection(se...

Calculate

intersection-powerset-setdifference-solve-union

A:set(1,2,5,6);

B:set(2,5,6,7);

C:intersection(A,B);

Calculate

intersection-powerset-setdifference-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-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-load-member

load(grobner);

a1:x+y+z-3;

a2:x^2+y^2+z^2-5;

Calculate

intersection-powerset-union

intersection({a, b, c...

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

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

Calculate

intersection

S_1 : {1, 5, {1, 5},{...

S_2 : {{1, 5, 10},{5...

intersection (S_1, S...

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
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) intersection(union (A,B),C);
(%o4)                        {3, 4, 8, 27, 48, a}
(%i5) union(setdifference(C,B),A);
(%o5)                      {1, 2, 13, 27, 48, a, b}
(%i6) intersection(intersection(A,B),C);
(%o6)                                 {}
(%i7) setdifference(union(A,B),intersection(A,C));
(%o7)                        {1, 2, 3, 4, 7, 8, 9}
(%i8) setdifference(C,A);
(%o8)                          {3, 4, 8, 13, b}
(%i9) setdifference(setdifference(A,B),C);
(%o9)                                 {}
(%i10) intersection(setdifference(A,B),setdifference(A,A));
(%o10)                                {}
(%i11) 
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) intersection (union(A,B),C);
(%o4)                        {3, 4, 8, 27, 48, a}
(%i5) setdifference (union (B,A),C);
(%o5)                            {1, 2, 7, 9}
(%i6) intersection (A,B,C);
(%o6)                                 {}
(%i7) 

Related Help

Help for Intersection