OK so this is us doing the sum of products which is the main term we're doing the sum of products which
is the main term.
OK let's say we have three variables see me a and the output is y.
So why is the output over here.
If we have CB in a all the Option 0 0 0 0 1 1 1 1.
Those are the options.
This has a 1 as an output.
In this case when c is not when B is not in a is one that that is an output of 1 so that's the case
when it's one all the other zeroes are except when C B and A are 1.
That's the last case.
Now this may have some convoluted diagram but in fact we can make the we can make something called the
sum of the products.
Now we take the Nazi sorry we take the C not the B not in the A and B take the C B in A and we add them
together.
These are products that's when it's true.
In other words if you take a C Ceanothus if you were to take a C then it would be a one a B that would
be a 1 in a word.
And if you multiply those you get to 1 that's the only case that you get a 1 because that's the output.
This is well and a B and A C you get a 1.
So that's the output you get to 1 if you add those together that's your output.
These two cases are the output.
This diagram has your A B and C and that is where we're going to get this.
Now this is the diagram we have a go to and ABS because the multiplication is of and we have B come
up and go to the end and we have C go to the M bats this first term here CBA which is right over there
this term over here that's what we just showed.
We're going to show c not be not an M.
A is going to come down into this.
And C is going to be knothead in B is going to be knotted.
And that's our second and then we get that when we add them that's true we can or.
So that's the output.
So this would be your sum of products.
If we do this we can also do it with two terms three terms four terms five terms and we can always set
up the diagram.
It's not to say that this is the smallest diagram but this is called the midterm.
Now let's just do it to practice with another example.
So I don't need this diagram because that diagram was very specific to that case.
Instead what I'm going to do is I'm just going to change these numbers and see what we can do with this.
So let's change these numbers and saying I'm going to use as an output 0 0 0 1 1 0 1 0 K..
So I have these is the output.
Now what is my output.
OK it's not true.
Is it true.
If you were to have a c anywhere to not it if you were to take a B and an 8 if you were to have a c
b not in a knotted that's this case right here that would be one.
And if you were to have a c b and n a not it would be that last case right there.
If you add those together as such
that is your.
That is the output that is the min term.
That is the min term.
So you could of course always draw the diagram.
But in this case you have the sum of the products and that's their.