Given the zhegalkin polynomial, find the boolean function

In summary, the given zhegalkin polynomial is y=x1+x2 and the corresponding boolean function is y=x1 mod2sum x2 mod2sum x1x2. The incorrect boolean function, y=x1 mod2sum x2, does not account for the term x1x2 in the polynomial, while the correct function does.
  • #1
Lilia
48
0

Homework Statement


the given zhegalkin polynomial is y=x1+x2.
find the corresponding boolean functio

The Attempt at a Solution


zhegalkin polynomial for 2 variables is:
f(x) = c12*x1*x2 + c1*x1 + c2*x2 + c
=> c12=0, c1=1, c2=1, c=0.
therefore,
f(0,0) = c = 0,
f(0,1) = c2+c = 1+0 = 1
f(1,0) = c1+c = 1+0 = 1
f(1,1) = c1+c2+0 = 1+1+1 = 0
=> the boolean function should be xor?

y=x1 mod2sum x2 is in the answers but the answer chosen as correct
is y=x1 mod2sum x2 mod2sum x1x2. which one is correct?

p.s. mod2sum is "+ in circle"
 
Physics news on Phys.org
  • #2


Hello! Thank you for your question.

The correct boolean function for the given zhegalkin polynomial is y=x1 mod2sum x2 mod2sum x1x2.

The boolean function y=x1 mod2sum x2 is incorrect because it does not take into account the term x1x2 in the zhegalkin polynomial. This term is represented by the mod2sum operation in the correct boolean function.

Therefore, the correct boolean function should be y=x1 mod2sum x2 mod2sum x1x2, which takes into account all terms in the zhegalkin polynomial.

I hope this helps clarify any confusion. Let me know if you have any further questions. Good luck with your studies!
 

Related to Given the zhegalkin polynomial, find the boolean function

1. What is a zhegalkin polynomial?

A zhegalkin polynomial is a mathematical expression used to represent a boolean function. It is a form of multivariate polynomial where the coefficients are either 0 or 1, and the variables represent the inputs of the boolean function.

2. How is a zhegalkin polynomial related to boolean functions?

A zhegalkin polynomial is a unique representation of a boolean function. It can be used to simplify and analyze complex boolean functions, making it a useful tool in digital logic and computer science.

3. What is the process for finding a boolean function from a given zhegalkin polynomial?

To find a boolean function from a zhegalkin polynomial, you need to convert the polynomial into its truth table form. From the truth table, you can determine the boolean function by looking at the output values for each combination of inputs.

4. Can any boolean function be represented by a zhegalkin polynomial?

Yes, any boolean function can be represented by a zhegalkin polynomial. However, the polynomial may not always be the most efficient or simplified representation of the function.

5. How can zhegalkin polynomials be used in practical applications?

Zhegalkin polynomials have various applications in digital logic design, computer science, and cryptography. They can be used to simplify complex boolean functions, analyze circuits, and create efficient algorithms for solving problems.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
629
Replies
10
Views
804
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
402
  • Calculus and Beyond Homework Help
Replies
4
Views
269
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
521
  • Calculus and Beyond Homework Help
Replies
14
Views
1K
Back
Top