# Finding the minimum deviation angle

From the graph of we know that there is one minimum. We’ll find it by setting the derivative of equal to 0. We have

where

To make things look simpler we’ll write for

Now

The derivative of the function is

Using the chain rule gives

Thus

Setting gives

Noting that and rearranging gives

Thus, for