Let C=⟨g(t)⟩ be a cyclic code in Rn and suppose that xn−1=g(x)h(x), where g(x)=g0+g1x+⋯+gn−kxn−k and h(x)=h0+h1x+⋯+hkxk. Define G to be the n×k matrix
G=g0g1⋮gn−k0⋮00g0⋮gn−k−1gn−k⋮0⋯⋯⋱⋯⋯⋱⋯00⋮g0g1⋮gn−k
and H to be the (n−k)×n matrix
H=00⋯hk⋯⋯⋯⋯00⋯h00hk⋯0hk⋯⋯0⋯h0⋯⋯h00⋯0.
(a) Prove that G is a generator matrix for C.
(b) Prove that H is a parity-check matrix for C.
(c) Show that HG=0.