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]
3 years ago
8

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

Mathematics
1 answer:
AleksandrR [38]3 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
Please look at this multiple choice, thanks!
Nastasia [14]

Step-by-step explanation:

\frac{y - y1}{x - x1}  =  \frac{y2 - y1}{x2 - x1}

\frac{y - 0}{x - ( - 1)}  =  \frac{3 - 0}{1 - ( - 1)}

\frac{y}{x + 1}  =  \frac{3}{1 + 1}

\frac{y}{x + 1}  =  \frac{3}{2}

y =  \frac{3}{2} (x + 1)

y =  \frac{3}{2} x +  \frac{3}{2}

option B

7 0
3 years ago
A washer and a dryer cost 792 combined. The washer costs 92 more than the dryer. What is the cost of the dryer?
WITCHER [35]

Answer:

divide 792 by 2

792÷2=304

then add 92 to the cost 304

304+92=396

6 0
2 years ago
Have to find volume and surface area but idk how
Setler [38]

Answer:

volume 1050 in^{3}

surface area 859 in^{2}

Step-by-step explanation:

volume is length times width times height (7*25*12)/2

surface area is area of all the sides added together

2(25*12)+(12*7)+ 2(\frac{7*25}{2})

4 0
3 years ago
Read 2 more answers
1.The population of the world is approximately 6200 million people. It is increasing by approximately 93 million people each yea
STALIN [3.7K]
The fraction can simplify down to \frac{93}{6200} convert it to a fraction and the yearly increase is 1.5%

2. Well on average there are 365 days in a year. Dividing 93 million by 365 will get your increase per day. 
There are 24 hours in a day, so that figure is further divided by 24.
There are also 60 minutes in an hour therefore furthermore divided by 60.
= 176 therefore true
8 0
3 years ago
The weight of an empty pickup truck is 2.1 times the weight of an empty car. If the empty car weighs 1.8 tons, how many tons doe
Artemon [7]
4.68 tons since you would multiply 2.1+0.5=2.6×1.8=4.68 tons
6 0
3 years ago
Read 2 more answers
Other questions:
  • Find the remainder when f(x) is divided by (x - k) <br> f(x) = 5x4 + 8x3 + 4x2 - 5x + 67; k = 2
    9·2 answers
  • Guys I need help pleeeaassee i'm trying to graduate! Find the area of the shaded portion in the square. (assuming the central po
    8·1 answer
  • HELP ASAP ROCKY!!!!!!
    6·2 answers
  • Please help any one this is hard for me Thank you
    11·1 answer
  • Answer if you can and help other people out
    15·2 answers
  • Please help- Show ur work,, and please answer correctly <br> I will also give brainliest
    7·1 answer
  • Hurry I need the answer and how u got it and if correct ill give you brainiest
    9·1 answer
  • For which distributions is the median the best measure of center?
    5·1 answer
  • A running track has two straight sides with length 140 m and two semicircle ends with radius 70 m. It takes Kat 40 seconds to jo
    14·1 answer
  • In the similar triangles below, what is the measure of ∠F
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!