Notes
Pythagorean Theorem
Suppose given a right-angle triangle with side lengths and hypotenuse length as in the figure below. Then these side lengths are related by the equation
We presented one proof of this theorem in the video, but there are many others.
Sine and Cosine
For an angle and are respectively defined to be the x- and y-coordinates of the point at angle (measured counterclockwise from east) on the unit circle. This is illustrated in the following interactive diagram (use your mouse to drag the green dot around):
In general, the point at angle on a circle of radius centered at has coordinates
When these can be interpreted in terms of ratios of side lengths of triangles:
Making the connection with triangles allows us to calculate and by exploiting the Pythagorean theorem, at least for one can treat the general case by combining this with the identities (look at the diagram to convince yourself of these). In particular, the Pythagorean theorem implies that for all this equation is also often referred to as the Pythagorean theorem.
Radians
Radians are the natural way to measure angles (whereas degrees are a human convention). By definition, one radian is the angle such that the arc length is equal to the radius of the circle. It follows that in general, an arc of radius and angle has length when is measured in radians.
We define the number to be the number of radians in a circle (so that is half the number of radians in a circle); thus a circle of radius has circumference We will soon learn a way to calculate these numbers, and find that (and so ). In particular,
We won't actually need radians for a while, but this seemed like as good a place as any to bring them in. They are needed in calculus: for example, the formula (which we'll encounter later) is only valid when is measured in radians. Also, the trig functions in programming languages always expect their arguments in radians.
The ancient Greeks made a mistake in defining although diameters are important in real life, in mathematics proper we essentially exclusively discuss circles in terms of their radius. In particular, the more fundamental constant is I may sometimes use the non-standard notation \(\Twopi \Defeq 2\pi\) (in this context, the symbol \(\Twopi\) should be pronounced "two-pi"). However, this is not something to get too hung up on: although \(\Twopi\) is an important number, numbers are not that important in mathematics.
Special values of cos and sin
We'll soon learn an algorithm to compute and of any angle. In the meantime, we can obtain exact values for a few standard angles:
(Degrees) | (Radians) | ||
---|---|---|---|
\(\Twopi/12\) | |||
\(\Twopi/8\) | |||
\(\Twopi/6\) | |||
\(\Twopi/4\) |
and are obvious. We worked out the case in the video, using the Pythagorean theorem. You'll do the cases and in the exercises.
Exercises
- Compute and of and
-
Define the tangent function by \(\tan\theta \Defeq \dfrac{\sin\theta}{\cos\theta};\) that is, is the slope of the line passing through the origin at angle We define while we will later encounter the symbols and this is an unsigned or projective infinity.
Compute for the standard angles
- Write down and of the standard angles in every quadrant of the unit circle.
- Consider the following diagram: By calculating the length of the green line segment in two different ways, establish the identity \[ \begin{equation} \displaystyle\label{silly-formula} 2\sin\left(\frac{\alpha-\beta}2\right) = \pm\sqrt{(\cos\alpha - \cos\beta)^2 + (\sin\alpha - \sin\beta)^2} \end{equation} \]
-
Once we've established \eqref{silly-formula}, we can derive all the usual trigonometric identities using algebraic manipulations, with no further geometric insight required.
- Use \eqref{silly-formula} to derive the "half-angle formulas" \[\begin{align} \cos(\theta/2) &= \pm\sqrt{\frac{1+\cos(\theta)}2} \label{half-cos}\\ \sin(\theta/2) &= \pm\sqrt{\frac{1-\cos(\theta)}2}. \label{half-sin} \end{align}\]
- Use \eqref{half-cos} and \eqref{half-sin} to derive the "double-angle formulas" \[\begin{align*} \cos(2\theta) &= \cos^2(\theta) - \sin^2(\theta)\\ &= 2\cos^2(\theta) - 1\\ &= 1 - 2\sin^2(\theta)\\ \sin(2\theta) &= 2\cos(\theta)\sin(\theta) \end{align*}\]
- Derive the "angle-difference" formulas \[\begin{align} \label{cos-diff} \cos(\alpha-\beta) &= \cos(\alpha)\cos(\beta) + \sin(\alpha)\sin(\beta)\\ \label{sin-diff} \sin(\alpha-\beta) &= \sin(\alpha)\cos(\beta) - \cos(\alpha)\sin(\beta) \end{align}\] and the "angle-sum" formulas \[\begin{align} \label{cos-sum} \cos(\alpha+\beta) &= \cos(\alpha)\cos(\beta) - \sin(\alpha)\sin(\beta)\\ \label{sin-sum} \sin(\alpha+\beta) &= \sin(\alpha)\cos(\beta) + \cos(\alpha)\sin(\beta) \end{align}\] These are sometimes stated in combined form \[\begin{align*} \cos(\alpha\pm\beta) &= \cos(\alpha)\cos(\beta) \mp \sin(\alpha)\sin(\beta)\\ \sin(\alpha\pm\beta) &= \sin(\alpha)\cos(\beta) \pm \cos(\alpha)\sin(\beta) \end{align*}\]