I know that for a masless body, the tension forces are equal and opposite on any element in the body, but I was wondering what forces should we consider if the tension forces on any element in the body are not equal, for example consider a rod of mass $M$ hanging in the vertical plane and hinged at one of the ends, let the length of the rod be L, now consider length of dx at distance of $L/3$ its mass is given by $\lambda dx$ where $\lambda$is the linear mass denisty,
The forces on the element are
Tension force due to the part of the rod above the element, in the upward direction
The weight of the element in downwards direction
Tension force due to the part of the rod below it, in the downward direction
We know that the area of cross section is uniform throughout, so which forces are needed to be considered for finding stress ? And for finding the change in the length of the element , knowing the Young's Modulus, what should be considered the original length of the element ? Here, strain = $\delta$÷$dx$, the $\delta$ x can be found then after we have calculated the stress, representing the change in element's length.