The tangent and cotangent sum/difference formulas are not proved from the
unit circle again; they are deduced algebraically from the sine and cosine formulas already
established in Section 6, by dividing through by cosxcosy or by sinxsiny.
Theorem. For all x,y at which every term is defined,
tan(x±y)=1∓tanxtanytanx±tany.
Proof (for tan(x+y)). By definition and the Section 6 formulas,
tan(x+y)=cos(x+y)sin(x+y)=cosxcosy−sinxsinysinxcosy+cosxsiny.
Divide numerator and denominator by cosxcosy (assumed nonzero):
tan(x+y)=cosxcosycosxcosy−cosxcosysinxsinycosxcosysinxcosy+cosxcosycosxsiny=1−tanxtanytanx+tany.
Replacing y by −y (and using tan(−y)=−tany, since tan is an odd function) gives the
difference case,
tan(x−y)=1+tanxtanytanx−tany.■
Theorem. For all x,y at which every term is defined,
cot(x±y)=coty±cotxcotxcoty∓1.
Proof (for cot(x+y)). Similarly,
cot(x+y)=sin(x+y)cos(x+y)=sinxcosy+cosxsinycosxcosy−sinxsiny.
This time divide numerator and denominator by sinxsiny (assumed nonzero):
cot(x+y)=sinycosy+sinxcosxsinxsinycosxcosy−1=coty+cotxcotxcoty−1.
Replacing y by −y (using cot(−y)=−coty) gives the difference case,
cot(x−y)=coty−cotxcotxcoty+1.■
Worked check. With x=π/3, y=π/4: tanx=3, tany=1, so
tan(x+y)=1−3⋅13+1=1−33+1. …