Representing Sets in binary string?

AI Thread Summary
To represent sets X and Y in binary strings on the union set K, each element in K corresponds to a position in the binary string, where '1' indicates presence in the set and '0' indicates absence. For the sets X={4,8,12,16} and Y={2,6,10,12}, the union K would be {2, 4, 6, 8, 10, 12, 16}. The binary representation for X on K would be 0011001, while for Y it would be 0001010. The confusion arises from understanding how to map the elements of X and Y onto the positions defined by K. Clarifying the mapping process is essential for accurate representation.
rclakmal
Messages
76
Reaction score
0

Homework Statement





X={4,8,12,16}
Y={2,6,10,12}
K=X U Y(union)

They asked to represent X and Y on K using binary String >i don't know how to do this please help .What is meant by Binary String ?


Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
I think they mean a string of numbers which are 0 or 1, and which indicate whether a number is in the set or not.
For example, you could represent S = {1, 2, 3, 6, 7} by
1100111
where the rightmost 1 indicates that 1 is in S, the 1 to the left of that indicates that 2 is in S, the third 1 from the right that 3 is in S, then two zeroes meaning 4 and 5 are not in S, etc.
 
ok thanks for the help ,,,,,,but what does it mean by "X and Y on K" .?
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top