When light travels from a denser medium, eg glass, to a less dense medium, eg air, the speed of the light increases and the light refracts away from the normal. The angle of refraction is greater than the angle of incidence.
The diagram below shows the light refracting from glass into air.
As the angle of incidence is increased, the angle of refraction also increases. At a certain angle of incidence, the light will refract 90 degrees and travel along the boundary between the two media. This angle of incidence is called the critical angle. The critical angle varies for different materials, but it is useful to know that it is around 42 degrees for glass. You will be reminded of this fact in the exam. The diagram below shows light hitting the glass-air boundary at an angle that is equal to the critical angle.
If the angle of incidence is increased further, so that it is greater than the critical angle, the light will be totally internally reflected.
The conditions required for total internal reflection (TIR) to occur are: