Let C be the incentre, r the inradius and E the point of contact of the incircle with AB. Let C′ be the centre of the circle touching AB, AC and the incircle, r′ the radius of this circle and F its point of contact with AB. Since AB and AC both touch this circle, its centre must also lie on AC.
From C′ draw C′D ⊥ CE. Then, in ∆ C′CD
CD = r – r′
CC′ = r + r′
∠CDC′ ⇒ π/2 and ∠DC′C = ∠EAC = A/2
In ∆ DCC′ ⇒ sin A/2 = \(\frac{CD}{CC'}\) = \(\frac{r-r'}{r+r'}\)
⇒ cos (π/2 – A/2) = \(\frac{r-r'}{r+r'}\)