Drag the three vertices of a triangle to explore Carnot's theorem. The circumcenter O is found, and a perpendicular is dropped from O to each side, landing on the side's midpoint. The signed lengths of these three perpendiculars always add up to the circumradius R plus the inradius r. A perpendicular counts as negative when the circumcenter lies on the far side of that edge, which happens for the obtuse triangle. Toggles show the circumcircle, the incircle, and the perpendiculars. An info button opens a drawer explaining the theorem.