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
Which shape has the least lines of symmetry?
olganol [36]

Answer:

A

Step-by-step explanation:

B, C, D are all symmetrical

6 0
3 years ago
Read 2 more answers
Given that Segment BE is 5 units, find the indicated measures for each
zalisa [80]

Answer:

The indicated measure of the length of AE = 5 units

Step-by-step explanation:

To determine:

What is the indicated measure of length?

Information Fetching and Solution Steps:

From this single diagram, it seems the indicated measure of length which we have to determine is the length of AE.

Given that Segment BE is 5 units. i.e. BE = 5 units

  • As the square has two equal diagonals AC and DB which meet at point E.
  • So, point E being the common mid-point of both diagonals.

As both of the diagonals of square are equal in length.

And the length of BE is 5 units, which is half the length of BD. It means the diagonal BD has a length of 10 units.

And since both diagonals  AC and DB are equal in length, it means the length of AC must be 10 units.

Since, AC has the length of 10 units, it means the length of AE must be half of the length of AC. Thus, the indicated measure of the length of AE is 5 units.

Therefore, the indicated measure of the length of AE = 5 units

Keywords: square, diagonals, length, line segment

Learn more about square diagonals from brainly.com/question/628263

#learnwithBrainly

6 0
3 years ago
You and your friend skate at the same rate.You complete 5 laps in 7 minutes.How long does your friend take to complete 15 laps?
gogolik [260]

Answer:

21minutes

Step-by-step explanation:

its 21 minutes because 5x3=15 so 7x3=21

6 0
3 years ago
Bonita deposited $1300 into a bank account that earned 5.75% simple interest each year. She earned $299 in interest before closi
ICE Princess25 [194]

4 years

using I = PRT

then T = \frac{I}{PR}

calculate PR = 1300 × \frac{5.75}{100} = 74.75, hence

T = \frac{299}{74.75} = 4 years



8 0
3 years ago
A bottle of medicine contains 16 fluid ounces of medication. If one does of the medicine is equal to 1 teaspoon, and there are a
Digiron [165]

Answer:

96 Doses

Step-by-step explanation:

6 teaspoons = 1 ounce

Med Bottle contains 16 ounces of medicine

6 * 16 = 96

5 0
3 years ago
Other questions:
  • If f(x) = 5x - 1 and g(x) = 2x^2 + 1 , what is the value of ( f x g )(-3) ?
    8·2 answers
  • What is the difference of the two polynomials? (7y2 + 6xy) – (–2xy + 3) 7y2 + 4xy – 3 7y2 + 8xy – 3 7y2 + 4xy + 3 7y2 + 8xy + 3
    6·2 answers
  • I'm not too sure on how to do this
    5·2 answers
  • (08.05)
    8·2 answers
  • There were 512 cups of water in a cooler before a soccer game. After the soccer game there were 384 cups of water in the cooler.
    7·2 answers
  • Someone plz help me!!!! :(
    13·1 answer
  • Anna runs 3/4 miles in six minutes Assuming she runs at a constant rate what is her speedin miles per hour
    6·1 answer
  • Pleaaaaaaaaaase i neeeeeeeeeed help please noo links i need help
    13·1 answer
  • Is x^-3-5y^-2 a polynomial
    11·2 answers
  • In a game, you have a 1/48 probability of winning $143 and a 47/48 probability of losing $10.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!