Light rays travel in different mediums at different speeds. In vacuum, for example, light travels at the speed of 3×10^{8} m/s. This is the highest speed possible in physics.

One of the most important parameters that measures optical properties of a medium is the index of refraction . It is defined as the ratio of the speed of light in vacuum (3×10^{8} m/s) and the speed of light v in the medium in question.

The refractive index measure the optical density of a given material. A material with higher refractive is more optically dense than a material with lower refractive index.

n = c / v

What is the index of refraction in a medium where the speed of light is 1.5×10^{8} m/s?

n = c / v = 3×10^{8} m/s / 1.5×10^{8} m/s = 2

What is the speed of light in water whose refractive index is 1.33?

1.33 = 3×10^{8} m/s / v

Solve for v

v = 3×10^{8} m/s / 1.33 ≈ 2.26 × 10^{8} m/s

A homogeneous medium has a constant index of refraction throughout the medium and light travels along straight paths in it.
Refraction occurs at the interface or boundary of two media with different refractive indices. It is the bending of light rays when transmitted into the second medium.(see diagram below)

1) The incident ray, the refracted ray and the normal to the interface at the point of incidence are all included in the same plane called the plane of incidence.

2)

n_{1} sin (i) = n_{2} sin (t)

where n

Refraction explains physical phenomena such the appearance of a pen bent inside a glass of water and the separation of white light into different colors such as the rainbow as shown below.

A ray of light is incident through glass, with refractive index 1.52, on an interface separating glass and water with refractive index 1.32. What is the angle of refraction if the angle of incidence of the ray in glass is 25 °?

Use Snell's law to write: 1.52 sin 25° = 1.32 sin t

t = arcsin((1.52/1.32) sin 25) ≈ 29.1 °

What should be the angle of incidence of a light ray incident through air on the boundary separating air from water so that the angle of refraction is 30 °?(refractive index of air is 1 and that of water is 1.32)

Assume refractive index of air is equal to 1.

Use Snell's law to write: 1 sin (i) = 1.32 sin 30°

i = arcsin (1.32 sin 30°) ≈ 41.3 °

A light ray strikes a homogeneous rectangular block of glass of thickness w at an angle i. The ray emerges at point B at an angle i'. (see diagram below)

a)
Find i' in terms of i and show that the emerging and incident rays are prallel.

b)
Find the lateral displacement which is the distance d between the incident and emerging rays in terms of angle i, the refractive indices n_{1} and n_{2} and width w of the block.

c)
Use the formula obtained in part b) to calculate d for n_{1} = 1, n_{2} = 1.55, w = 3 cm and i = 32°.

a) Snell's at point A

n_{1} sin i = n_{2} sin j

Snell's law at point B

n_{2} sin k = n_{1} sin i'

The normals NA and NB to the interfaces at A and B are parallel to each other and therefore angles j and k are equal. Hence

n_{1} sin i = n_{2} sin j = n_{2} sin k = n_{1} sin i'

Therefor i'= i

The incident and emerging have equal angles with the normals therefore the emerging and incident rays are parallel.

b) Find d

Consider the right triangle ABO.

sin α = d / AB

Consider triangle ABO'

cos j = w / AB or AB = w / cos j

α = i - j

sin (i - j) = d / AB

Substitute AB by w / cos j in the above equation

sin(i - j) = d cos j / w

d = sin(i - j) W / cos j

Use Snell's law

n_{1} sin i = n_{2} sin j

j = arcsin [ (n_{1}/n_{2}) sin i ]

Hence

d = w sin(i - j) / cos j

where j = arcsin [ (n_{1}/n_{2}) sin i ]

c) Calculate d for n_{1} = 1, n_{2} = 1.55, w = 3 cm and i = 32°.

j = arcsin [ (n_{1}/n_{2}) sin i ] = arcsin [ (1/1.55) sin 32°] ≈ 20 °

d = 3 sin(32 - 20) / cos 20 ≈ 0.7 cm