Let D be the midpoint of the side BC, E be the foot of the altitude from vertex A, and S be the intersection of the angle bisector at vertex A with the side BC. Since the angle bisector divides the angle into two equal parts it must lie between the altitude and the median. Thus the point S lies between the points E and D. We have two possibilities. Either D lies between B and S, and E lies between S and C, or E lies between B and S, and D lies between S and C. Due to symmetry we may consider only the first case.
Denote the angle ∠BAC by 4α where 0<α<4π. Then
∣BE∣=∣AE∣tan3α,∣DE∣=∣AE∣tan2αin∣CE∣=∣AE∣tanα.
From this we deduce
∣BD∣=∣BE∣−∣DE∣=∣AE∣(tan3α−tan2α)
and
∣CD∣=∣CE∣+∣DE∣=∣AE∣(tanα+tan2α).
Since D is a midpoint of the side BC it follows tan3α−tan2α=tanα+tan2α and thus
tan3α−tanα−2tan2α=0.
We can rearrange the left side
tan3α−tanα−2tan2α=cos3αsin3α−cosαsinα−2cos2αsin2α==cosαcos3αsin3αcosα−sinαcos3α−2cos2αsin2α=cosαcos3αsin2α−2cos2αsin2α==cosαcos2αcos3αsin2α(cos2α−2cosαcos3α)=−cosαcos2αcos3αsin2αcos4α.
To get the fourth equality we used the addition formula for sine
sin2α=sin(3α−α)=sin3αcosα−sinαcos3α
and to get the last equality we used the product formula for cosine
2cosαcos3α=cos(3α+α)+cos(3α−α)=cos4α+cos2α.
It follows that sin2α=0 or cos4α=0, thus 2α=kπ or 4α=2π+kπ, where k∈Z. Due to 0<α<4π the only possibility is α=8π. Thus ∠BAC=4α=2π, ∠ACB=2π−α=83π, and ∠CBA=8π.
Taking into account both symmetrical cases we conclude that the angles of the triangle ABC are either ∠BAC=2π, ∠ACB=83π, and ∠CBA=8π or ∠BAC=2π, ∠ACB=8π, and ∠CBA=83π.