Find the Refractive Index of Two Media with Respect to Each Other When Their Refractive Indices With Respect to Air (or Vacuum) are Known?

Let ABCDE be the path of a ray of light passing successively through air, water, glass and air again (see below figure). the incident ray AB finally emerges out in air in parallel direction as emergent ray DE, so. the angle of incidence x is equal to the angle of emergence x. other angles are as shown in below figure. please note that equal angles (alternate angles) are denoted by the same letters, yy and zz.
We will now write the formulae for the refractive indices corresponding to the refraction at three points B, C and D. Now :
| for the refraction at point B for light going from air to water : | ||
| aμw | = | sin x/sin y ----- (i) | 
| for the refraction at point C for light going from water to glass : | ||
| wμg | = | sin y⁄sin z ------ (ii) | 
| And for the refraction at point D lor light going from glass to air : | ||
| gμa | = | sin z⁄sin x ----- (iii) | 
Now, multiplying the left sides and the right sides of the above three equations separately, we get:
by cancelling all the factors of the right hand side, we get :
| aμw * wμg * gμa | = | 1 ----- (v) | 
| So, wμg | = | 1aμw * gμa ---- (vi) | 
| So, We already know that: gμa | = | 1aμg | 
| So, putting this values of gμa in the above equation (vi), we get: | ||
| wng | = | aμg⁄aμw | 
| So, waterμglass | = | airμglass/airμwater | 
This means that : The refractive index of glass with respect to water is equal to the ratio of refractive index of glass and refractive index of water with respect to air (or vacuum).
we can write a similar formula for the refractive index of water with respect to glass. it will be:
If we consider air as medium 1, water as medium 2 and glass as medium 3, then the above formulae can be written in a general way as :
| 2n3 | = | 1μ3⁄1μ2 | 
| and 3μ2 | = | 1μ2⁄1μ3 |