Question: what is the relationship between magnification and depth of focus?
Answer: As you focus closer, you increase the reproduction ratio of the lens, this is often called magnification. Assuming other factor remain constant, the higher the magnification, the shallower the depth of focus is.