# How to get the direction of bending light?

When light passes from a more dense to a less dense substance, (for example passing from water into air), the light is refracted (or bent) away from the normal.

My question, is there any theory that i can say precisely why light go away from normal or get closed to the normal.