The portal frame shown in the figure is subjected to a uniformly distributed vertical load $w$ (per unit length).

The bending moment in the beam at the joint ‘Q’ is

1. zero
2. $\dfrac{wL^2}{24}$ (hogging)
3. $\dfrac{wL^2}{12}$ (hogging)
4. $\dfrac{wL^2}{8}$ (sagging)