# shear on a beam element

In this problem(attached as a picture), the authors have chosen the horizontal element to calculate the shear and I understand the solution. But, the thing I don't understand is: Why don't they take the vertical element (shaded by me, in the blue color) if we take the horizontal element we find a smaller value for shear, which is in our interest cause we are looking for the smallest shear.