How much input maps to output?

  • Thread starter Thread starter tickle_monste
  • Start date Start date
  • Tags Tags
    Input Output
tickle_monste
Messages
67
Reaction score
1

Homework Statement


I have polynomials of the form:
x1 + x2 + x3 + x1x2 + x1x3 + x2x3 + x1x2x3

The x's can be a combination of 1s and 0s, so all the possible inputs could be written as strings: 000, 100, 010, 001, 110, 101, 011, 111

The polynomials can also have coefficients a...g, so could just be written abcdefg

My question is, given a polynomial abcdefg, how many of my possible inputs will be mapped to a given output?


Homework Equations





The Attempt at a Solution



No idea where to start. I'm familiar with the concept of a Lebesgue integral, but have no idea how to actually do a Lebesgue integral, let alone discretize it... for 3 variables... or if this is even the line of thought I should be going down. I have put in a lot of thought to this but have not had even enough success to have made even a serious attempt at a solution, as I don't know where to begin. I appreciate any help anyone can give me on this problem.
 
Physics news on Phys.org
So, let's start with the following. Given abcdefg, calculate all possible outputs...
 
Given a polynomial abcdefg, there are 8 possible inputs and thus 8 possible outputs, and I have 8 equations describing each possible output. They are:

p(000) = 0
p(100) = a
p(010) = b
p(001) = c
p(110) = a+b+d
p(101) = a+c+e
p(011) = b+c+f
p(111) = a+b+c+d+e+f+g

Given a polynomial abcdefg and an integer k, I need to find the number of the above expressions which will evaluate to k.
 
Last edited:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top