Examine and discuss the roles of Gertrude and Ophelia.

Examine and discuss the roles of Gertrude and Ophelia. Are they merely secondary consideration which the play could do without OR do they clearly move the plot forward and make the play more interesting.