Question

There is a natural relationship between sets and bit strings which is called the characteristic vector...

There is a natural relationship between sets and bit strings which is called the characteristic vector for a set. We’ll look only at subsets of the universe U = {0, . . . , n − 1} for some n, but the concept can be generalised to arbitrary sets.

For a set S ⊆ U, the characteristic vector is denoted by χS and is an n-bit string where bit j is 1 if and only if j ∈ S.

For example, with n = 4 and S = {1, 3} we have χS = 1010.

a) What are χ∅ and χU ?

b) Given χS and χT , what is the characteristic vector of S ∩ T?

( c) Suppose you are given χS and χT . In terms of S and T, what set is χS | χT the characteristic vector for?

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
There is a natural relationship between sets and bit strings which is called the characteristic vector...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT