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
Please Find the distance between the two points rounding to the nearest tenth (if necessary).
Sphinxa [80]

Answer:

10.29 u

Step-by-step explanation:

<u>Given :- </u>

  • Two points (7,4) and (-2,9) is given to us.

And we need to find out the distance between the two points . So , here we can use the distance formula to find out the distance. As,

:\implies D = √{(x2-x1)² + (y2-y1)²}

:\implies D =√[ (7+2)² +(9-4)²]

:\implies D =√[ 9² +5²]

:\implies D =√[ 81 +25]

:\implies D = 10.29

<h3>Hence the distance between the two points is 10.29 units .</h3>
8 0
3 years ago
Read 2 more answers
Which are undefined?<br>sec(-pi/)<br>csc(3pi)<br>cot(7pi/2)<br>csc(-3pi/2)<br>cot(5pi/3)​
maxonik [38]

Step-by-step explanation:

after you draw a unit circle you will find the answer

cosec(3pi)=1/sin(3pi)

sin3pi=sinpi=0

so cosec3pi=1/0 which is undefined.

3 0
3 years ago
Read 2 more answers
Find the inverse of the function f f (x )<br><br> equals 9 x + 7
MrMuchimi

<em>Note: Your question seems a little bit ambiguous. So, I am assuming the given function f(x)=9x+7.</em>

<em>Thus, I am solving based on it. It would still clear your concept. </em>

Answer:

The inverse of f(x)=9x+7

  • \frac{x-7}{9}

Step-by-step explanation:

Given the function

f(x)=9 x + 7

A function g is the inverse of function f if for y=f(x), x=g(y)

Replace x with y

x=9y+7

solve for y

9y=x-7

y=\:\frac{x-7}{9}

Therefore,

The inverse of f(x)=9x+7 is:

  • \frac{x-7}{9}

i.e.

\mathrm{Inverse\:of}\:9x+7:\quad \frac{x-7}{9}

6 0
3 years ago
Order these numbers from least to greatest:<br><br> 4<img src="https://tex.z-dn.net/?f=%5Cpi" id="TexFormula1" title="\pi" alt="
Elena L [17]

Answer:

18,14,9

Step-by-step explanation:

enjoy

3 0
2 years ago
A swimming pool is to be constructed in a 1,408-ft2 backyard. There is to be a fence that will surround a 12-by-24-foot pool. Th
kkurt [141]

The width of the pool is 10 feet.

<h3>What is area of rectangle?</h3>

The area of rectangle is product of length and breadth.

Let the width be x.

length = 24 + 2x. and breadth =  12 + 2x

We know, area= 1408 ft².

(12 + 2x)(24 + 2x) = 1408

12*24 + 12*2x + 24*2x + (2x)² = 1408

288 + 72x + 4x² = 1408

4x² + 72x + 288 - 1408 = 0

4x² + 72x - 1120 = 0

x² + 18x - 280 = 0

x² - 10x + 28x - 280 = 0

x(x - 10) + 28(x - 10) = 0

(x - 10)(x + 28) = 0

So, x=10, -28.

Hence, the width be 10 feet.

Learn more about this concept here:

brainly.com/question/26638297

#SPJ1

6 0
2 years ago
Other questions:
  • 2. Multiple Choice. Gary says, “I chose a number. I multiplied it by 5 and then
    10·2 answers
  • an NFL team kicker misses 2 out of every 11 field goals if he missed 8 filed goals throughout the season how many did he attempt
    9·2 answers
  • EASY AND BRAINLIEST!!!!
    9·1 answer
  • Add parentheses : 4+3×2-4÷2
    12·1 answer
  • 8xp is less than 8 but greater than 0
    14·2 answers
  • Which of the following represents the factorization of the trinomial below?
    13·2 answers
  • C= 7h+125 The Equation above keeps the amount CN dollars an electrician charges for a job it takes eight hours Miss Sanchez and
    13·1 answer
  • How to determine open interval on which the function is increasing?
    14·1 answer
  • Please help! I will mark as brainliest. &lt;3
    7·2 answers
  • Given: △ABC, m∠A=60°,<br> m∠C=45°, AB=9<br> Find: Perimeter of △ABC,<br> Area of △ABC
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!