What is the purpose of the large resistance from gate to drainin this MOSFET circuit?
This is a bias resistor. The drain voltage will fall to VGSth, assuming zero gate current, and therefore zero voltage across RG.

The FET is now biassed into the linear amplifier region.