 Yaw is then set to formula_25 and the final rotation - by formula_9 - is again the airplane's pitch.Because of gimbal lock, it has lost one of the degrees of freedom - in this case the ability to roll.It is also possible to choose another convention for representing a rotation with a matrix using Euler angles than the X-Y-Z convention above, and also choose other variation intervals for the angles, but in the end there is always at least one value for which a degree of freedom is lost.