In Wikipedia, the Archimedes' principle is stated like this:
"The upward buoyant force that is exerted on a body immersed in a fluid, whether fully or partially submerged, is equal to the weight of the fluid that the body displaces"
In one section of our Physics textbook, they showed the proof of Archimedes' principle like this:
Lets say a cylinder is submerged completely in some fluid.Lets say the height if the cylinder is $h$ and the cross-sectional area of the cylinder is $A$ .Let us imagine that the cylinder is submerged in the fluid in such a way that the depth of the upper surface is $h_1$ and the depth of the lower surface is $h_2$.
We said a lot of times to you that the pressure in fluid / Gas does not act in a particular direction. The pressure acts on all direction .
So, the downward pressure acting on the cylinders upper surface is,
$$P_1=h_1\rho g$$
And, the upward pressure acting on the cylinders downward surface is,
$$P_2=h_2\rho g$$
So, the downward force acting on the cylinders upper surface and the upward force acting on the cylinders downward surface is ,
$$F_1 = AP_1 = Ah_1\rho g$$ $$F_2 = AP_2 = Ah_2\rho g$$
We don't have to think about the force acting around the cylinder .because if a force acts on one side of the cylinder , then another opposite force cancels out the original force.Because $h_2$ is greater than $h_1$ , $F_2$ has to be greater than $F_1$ .So the net force will be pointing upwards and its magnitude will be,
$$F = F_2 -F_1 = A(h_2 - h_1)\rho g = Ah\rho g$$
At this point , the proof is done.
There is some places where i felt some doubt myself.For example , They first say that pressure has no direction . But then they start saying things like "upward and downward pressure" in the proof.Also , Why that use the equation $P = h\rho g$ to calculate the upward pressure that the fluid puts on the bottom surface of the cylinder? ...etc.
At this point I have two question,
Is this proof valid?
How can I write a proof with any general solid? (not just cylinder)
Edit : For now,the meaning of the word ‘immersed’ will be ‘fully surrounded by a liquid’. It is true that it will make Phenomenons like 'boats floating' out of scope , but I have did this to reduce too much complexity.