Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Intersect

Function: intersect (<a_1>, ..., <a_n>) intersect is the same as intersection, which see.

A : {1,2,3,4,5,6,7,10,15};
B : {4,5,6,7,8,9,10,a,b,d};
A1: cardinality(A);
B1:cardinality(B);
AUB1:cardinality(powerset(union(A,B)));
C:cardinality(intersect(A,B));
AUB2:cardinality(union(powerset(A),powerset(B)));
AU1: 2^(A1+B1-C);
AU2: 2^A1 +2^B1 -2^C

There are also some inexact matches for intersect. Try ?? intersect to see them.

(%o1)                                true
(%i2) 

Related Examples

intersect

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

B : {1,2,3,4,5};

C : {1,{2,{3,{4,{5}}}}};

Calculate

intersect

a: {};

b: {1};

c: {0};

Calculate

intersect-is-setdifference-union

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

A:{2,3};

B:{3,4};

Calculate

intersect-powerset-union

A : {1,2,3};

B : {a,b};

union(A,B);

Calculate

intersect-is-setdifference-union

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

A:{2,3};

B:{3,4};

Calculate

intersect-powerset-union

A : {1,2,3};

B : {a,b};

union(A,B);

Calculate

intersect-length-listify

length([1,2]);

ans1: {1,2};

x_1: 1;

Calculate

intersect-is-setdifference-union

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

A:{2,3};

B:{3,4};

Calculate

intersect

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

B : {1,2,3,4,5};

C : {1,{2,{3,{4,{5}}}}};

Calculate

intersect-union

A : {1,2,3};

B : {};

union(A,B);

Calculate