The simplest method, no need to go for wasting time in k-map.
The function is 1 only when the majority is one, it means in function f(x,y,z) at least two var. must be 1.
X |
Y |
Z |
f(x,y,z) |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
now observe from the given mux and the above table:
when x = 1, in order to get f(x,y,z) = 1, there must be OR between y and z.
when x == 0, in order to get f(x,y,z) = 1, there must be AND between y and z.