trigonometric function
A trigonometric function is a function on the real numbers which relates an angle of a right triangle to a ratio of two side lengths.
\documentclass[tikz,margin={2cm 0cm}]{standalone}
\usepackage{tkz-euclide}
%
\definecolor{oppositecolor}{HTML}{FB464C}
\definecolor{adjacentcolor}{HTML}{45CF6E}
\definecolor{hypotenusecolor}{HTML}{53DFDD}
%
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(0,0){O}
\tkzDefPoint(40:3){A}
% \tkzDrawLine(O,A)
%
\tkzCalcLength(O,A)\tkzGetLength{radius}
\tkzDefPoints{\radius/0/I}
\tkzDefLine[perpendicular=through A](I,O) \tkzGetPoint{X_t}
\tkzInterLL(O,I)(X_t,A) \tkzGetPoint{X}
%
\tkzPicAngle["$\theta$",draw=black,thin,angle radius=1cm](X,O,A)
\tkzPicAngle["$\phi$",draw=black,thin,angle radius=0.8cm](O,A,X)
\tkzMarkRightAngle(A,X,O)
%
\tkzDrawSegment[oppositecolor, thick](X,A)
\tkzLabelSegment[right](X,A){\rotatebox{90}{opposite}}
\tkzDrawSegment[adjacentcolor, thick](O,X)
\tkzLabelSegment[below](O,X){adjacent}
\tkzDrawSegment[hypotenusecolor, thick](O,A)
\tkzLabelSegment[above=-2.5ex, pos=0.45](O,A){\rotatebox{40}{hypotenuse}}
%
\tkzDrawPoints(O,A,X)
\end{tikzpicture}
\end{document}
There are
The elementary trig functions are the sine function, cosine function, and tangent function.
Their reciprocals are the cosecant function, secant function, and cotangent function, respectively.
The tangent identities are
Each cofunction can be specified via the complementary angle
From the Pythagorean theorem, we derive the Pythagorean identities:
which can be visualized
\documentclass[tikz,margin={2cm 0cm}]{standalone}
\usepackage{tkz-euclide}
%
\definecolor{obspink}{HTML}{FB99CD}
\definecolor{obsred}{HTML}{FB464C}
\definecolor{obsorange}{HTML}{E9973F}
\definecolor{obsyellow}{HTML}{E0DE71}
\definecolor{obsgreen}{HTML}{45CF6E}
\definecolor{obsteal}{HTML}{53DFDD}
\definecolor{obspurple}{HTML}{8A5CF5}
%
\begin{document}
\begin{tikzpicture}
\tkzDefPoint(0,0){O}
\tkzDefPoint(40:3){A}
\tkzDrawLine(O,A)
%
\tkzCalcLength(O,A)\tkzGetLength{radius}
\tkzDefPoints{\radius/0/I, 0/\radius/J}
\tkzDrawArc[delta=10](O,I)(J)
\tkzDrawLines(O,I O,J)
%
\tkzDefLine[perpendicular=through A](I,O) \tkzGetPoint{X_t}
\tkzDefLine[perpendicular=through A](O,J) \tkzGetPoint{Y_t}
%
\tkzInterLL(O,I)(X_t,A) \tkzGetPoint{X}
\tkzInterLL(O,J)(Y_t,A) \tkzGetPoint{Y}
%
\tkzPicAngle["$\theta$",draw=black,thin,angle radius=1cm](X,O,A)
%
\tkzDefLine[tangent at=A](O) \tkzGetPoint{B}
\tkzInterLL(A,B)(O,J) \tkzGetPoint{C}
\tkzInterLL(A,B)(O,I) \tkzGetPoint{D}
%
\tkzDrawSegment[obsred,thick](X,A)
\tkzLabelSegment[left,pos=0.4](X,A){$\sin\theta$}
\tkzDrawSegment[obsgreen,thick](Y,A)
\tkzLabelSegment[above](Y,A){$\cos\theta$}
\tkzDrawSegment[obsyellow,thick](O,D)
\tkzLabelSegment[pos=0.4](O,D){$\sec\theta$}
\tkzDrawSegment[obspurple,thick](O,C)
\tkzLabelSegment[left](O,C){$\csc\theta$}
\tkzDrawSegment[obsteal,thick](A,D)
\tkzLabelSegment[above right](A,D){$\tan\theta$}
\tkzDrawSegment[obsorange,thick](C,A)
\tkzLabelSegment[above right](C,A){$\cot\theta$}
\tkzDrawSegment[thick](O,A)
\tkzLabelSegment[above left](O,A){$1$}
%
% \tkzDrawPoints(O,A,C,D,X,Y)
\end{tikzpicture}
\end{document}
The cosine and secant functions are even functions, and the sine, cosecant, tangent, and cotangent functions are odd functions. This is expressed by the even/odd identities:
The double angle identities are
The half angle identities are
The sum/difference identities are
See also
law of sines, law of cosines, law of tangents