To derive the moment equation M(x) for this beam, begin by drawing a free-body diagram (FBD) that is representative of the beam in the interval 0 ≤ x ≤ L.
This FBD is incomplete. All forces and moments acting on the free body must be shown. This FBD, however, does not show the beam reactions at A.