1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Ainat [17]
4 years ago
8

Using the bijection rule to count binary strings with even parity.

Mathematics
1 answer:
AleksandrR [38]4 years ago
3 0

Answer:

Lets denote c the concatenation of strings. For a binary string <em>a</em> in B9, we define the element f(a) in E10 this way:

  • f(a) = a c {1} if a has an odd number of 1's
  • f(a) = a c {0} if a has an even number of 1's

Step-by-step explanation:

To show that the function f defined above is a bijective function, we need to prove that f is well defined, injective and surjective.

f   is well defined:

To see this, we need to show that f sends elements fromo b9 to elements of E10. first note that f(a) has 1 more binary integer than a, thus, it has 10. if a has an even number of 1's, then f(a) also has an even number because a 0 was added. On the other hand, if a has an odd number of 1's, then f(a) has one more 1, as a consecuence it will have an even number of 1's. This shows that, independently of the case, f(a) is an element of E10. Thus, f is well defined.

f is injective (or one on one):

If a and b are 2 different binary strings, then f(a) and f(b) will also be different because the first 9 elements of f(a) form a and the first elements of f(b) form b, thus f(a) is different from f(b). This proves that f in injective.

f is surjective:

Let y be an element of E10, Let x be the first 9 elements of y, then f(x) = y:

  • If x has an even number of 1's, then the last digit of y has to be 0, and f(x) = x c {0} = y
  • If x has an odd number of 1's, then the last digit of y has to be a 1, otherwise it wont be an element of E10, and f(x) = x c {1} = y

This shows that f is well defined from B9 to E10, injective, and surjective, thus it is a bijection.

You might be interested in
169 as sum of odd numbers
Vitek1552 [10]

Answer:

3 odd numbers can make 169, for an example,

33 + 63 + 73

If my answer helped, then kindly mark me as the brainliest!!

Thank You!!

5 0
4 years ago
Read 2 more answers
Please help solve questions
Alekssandra [29.7K]

Take some points

  • 2x+3y<6
  • 3y<-2x+6
  • y<-2/3x+2

As here < sign present line will be dashed and shading should be done below the line

So

  • (1,1)
  • (1,0)
  • (2,0)
  • (-1,2)

Graph attached

4 0
2 years ago
Read 2 more answers
729 (base 3) exponential expression
Sophie [7]

Answer:

3^6

Step-by-step explanation:

7 0
3 years ago
The graph of the revenue function f(x) = –2x2 + 100x is shown to the left. In the function, revenue is dependent on the number o
Over [174]

Answer:

C

Step-by-step explanation:

reasonable is 0 through 50.

mathematically the x values go to infinity both ways.

7 0
3 years ago
Read 2 more answers
I need help Evaluate: 4x4x4x4x4
777dan777 [17]

Answer:

The expression 4x4x4x4x4 is simplified as 4^5 or 4 to the fifth power.

The value is 1024.

Step-by-step explanation:

4 x 4 x 4 x 4 x 4

= 16 x 4 x 4 x 4

= 64 x 4 x 4

= 256 x 4

=1024

<h3><u><em>Please rate this and please give brainliest. Thanks!!! </em></u></h3><h3><u><em>Appreciate it! : ) </em></u></h3><h3><u><em>And always, </em></u></h3><h3><u><em>SIMPLIFY BANANAS          : )</em></u></h3>

<u><em></em></u>

8 0
3 years ago
Other questions:
  • A pool is being drained at a rate of 120 gallons per minute. what is this rate in quarts per hour?
    10·1 answer
  • The​ time, t, in​ minutes, needed for clothes hanging on a line outdoors to​ dry, at a specific​ temperature, depends on the​ hu
    15·1 answer
  • Evaluate the limit, if it exists. (if an answer does not exist, enter dne.) lim h → 0 (−6 + h)2 − 36 h
    11·2 answers
  • Line segment JK in the xy coordinate plane has endpoints with coordinates (-5,1) and (7,7). What are two possible locations for
    13·2 answers
  • WILL GIVE BRAINLIEST Determine if the set of ordered pairs is a relation or a function.
    15·1 answer
  • If JL =5x+2 , find the value of x
    14·1 answer
  • A tree casts a shadow 12 meters long , while a bush nearby casts a shadow 3.5 meters long. If the tree is 3.2 meters tall, how t
    11·1 answer
  • Will give brainiest answer, I need step-by-step answer
    12·1 answer
  • What is the answer for this in square root form
    15·1 answer
  • Mary is 21 years old. Her age is 9 years more than 3 times Henry's age. Which equation can be used to determine x, Henry's age i
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!