Let H be a t-regular hypergraph on n vertices and m edges.
Let M be the m×n incidence matrix of H and let us denote
λ=maxv⊥1,∥v∥=1∥Mv∥. We show that the
discrepancy of H is O(t+λ). As a corollary, this
gives us that for every t, the discrepancy of a random t-regular hypergraph
with n vertices and m≥n edges is almost surely O(t) as n
grows. The proof also gives a polynomial time algorithm that takes a hypergraph
as input and outputs a coloring with the above guarantee.Comment: 18 pages. arXiv admin note: substantial text overlap with
arXiv:1811.01491, several changes to the presentatio