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
kherson [118]
4 years ago
8

Transforming between two encodings for Boolean vectors. A Boolean n-vector is one for which all entries are either 0 or 1. Such

vectors are used to encode whether each of n conditions holds, with ai = 1 meaning that condition i holds. Another common encoding of the same information uses the two values −1 and +1 for the entries. For example the Boolean vector (0,1,1,0) would be written using this alternative encoding as (−1, +1, +1, −1). Suppose that x is a Boolean vector with entries that are 0 or 1, and y is a vector encoding the same information using the values −1 and +1. Express y in terms of x using vector notation. Also, express x in terms of y using vector notation.
Mathematics
1 answer:
katrin2010 [14]4 years ago
7 0

Answer:

See below

Step-by-step explanation:

We are looking for a function f such that

f(0) = -1

f(1) = 1

One of the simplest ones is the line that joins (0, -1) and (1,1)

y = 2x -1

So, if we have a Boolean n-vector in the first codification (0,1)

\large X=(x_1,x_2,...x_n)  

then

\large (2x_1-1,2x_2-1,...2x_n-1)=(y_1,y_2,...,y_n) =Y

is the expression of Y in terms of X.

Similarly, the inverse function of the line, x = (y+1)/2, does the inverse transformation.

That is to say, if we have a vector  

\large Y=(y_1,y_2,...,y_n)

in the second codification -1 and +1

\large (\frac{y_1+1}{2},\frac{y_2+1}{2},...\frac{y_n+1}{2})=(x_1,x_2,...x_n)=X

is the expression of X in terms of Y

You might be interested in
Need help take your time and thx
statuscvo [17]

Answer:

-1 and -3

Step-by-step explanation:

(x+1) (x+3)

5 0
3 years ago
Helppppppppppppppppp
monitta
Domain: (-infinity, +infinity)
Range: [4,-infinity)
Vertex: (0,4)
Zeros: (0,2) and (0,-2)
Axis of symmetry: y=0
Y intercept: (0,4)
6 0
3 years ago
The slope, M, of the line through the distinct points (x, y) and (y2,y1) is given by the formula m =
rjkz [21]

Answer:

Slope Formula: \displaystyle m=\frac{y_2-y_1}{x_2-x_1}

Step-by-step explanation:

It is wise to remember this formula. It is one of the most important formulas in Algebra and is fundamental in higher level math courses.

We use this formula to determine the slope, or the average rate of change between 2 points.

3 0
3 years ago
Milton mixed 1/2 gallons of red paint , 2/5 gallons of blue paint, 1 2/3 gallons of orange paint into a mixing barrel. How many
never [62]
2 17/30 gallons of paint altogether

because 1/2 plus 2/5 plus 1 2/3 is 77/30 and if you simplify that it is 2 7/30
7 0
3 years ago
The scatterplot for a set of data points is shown, along with the line of best fit. Choose the BEST estimate for r, the correlat
PtichkaEL [24]
It’s B) -0.8 because it’s going down and it’s pretty strong.
4 0
3 years ago
Read 2 more answers
Other questions:
  • Solve the following equation.
    13·1 answer
  • Which fraction is equivalent to negative 5 over 9?
    9·2 answers
  • The graph of the function f(x) = x3 – 2x2 – 19x + 20 intersects the x-axis at the points (–4, 0), (1, 0), and (5, 0) as shown.
    11·2 answers
  • 1. Clare has a piece of paper that is 8 inches by 10 inches. How many pieces of paper
    10·2 answers
  • Choose the correct simplification of the expression −6x2(4x − 7x2 − 2)
    15·1 answer
  • -3.3= x/5+9.2<br> Please help me solve it! thanks :P
    8·2 answers
  • Please somebody help me.
    9·1 answer
  • Solve the system by the addition method.
    14·1 answer
  • I need help I have to get this done by tomorrow
    12·1 answer
  • Find the slope of each line.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!