Some Trigonometry (Thinking Assignment)
Thomas J. Kennedy
So far we have focused on relatively benign functions (polynomials, monomials, logarithms, and exponentials). For these functions we generally examined behavior as:
- x→∞
- x→0
- x→−∞
Let us select two relatively simple trig functions: sin(x) and cos(x). Our normal analysis method falls short. Trigonometric (trig) functions are periodic. We must:
- identify the size of one period (cycle).
- examine the behavior (by looking for minima, maxima, and asymptotes).
- generalize our analysis to all periods.
1 Tools of the Trigonometry Trade
Anytime I work with trigonometry (real numbers or complex numbers), I draw/write the unit circle. This time… I will draw it as a table:
θ | x | y | cos(θ) | sin(θ) | tan(θ) |
---|---|---|---|---|---|
0 | 1 | 0 | 1 | 0 | 0 |
π2 | 0 | 1 | 0 | 1 | – |
π | -1 | 0 | -1 | 0 | 0 |
3π2 | 0 | -1 | 0 | -1 | – |
2π | 1 | 0 | 1 | 0 | 0 |
Once we reach θ=2π the table starts to repeat (i.e., we add 2π to each of our previous values).
2 Conditioning of sin(x)
Let us examine
f(x)=cos(x)
We know that the derivative is
f′(x)=−sin(x)
Let us take a quick look at cos(x) and −sin(x).
Let us examine the period x∈[0,2π] and use the general form of the condition number
(condf)(x)=|xf′(x)f(x)|=|−xtan(x)|
Using this general form we must restrict our domains of analysis to those where x≠0 and cos(x)≠0. Let us take a quick moment to sketch, and examine the behavior, of both tan(x) and −xtan(x)
Now we need to carefully partition our domain; (−xtan(x)) is not exactly periodic.
3 Thinking Assignments
As thinking assignments:
- Complete the analysis started in the previous section (i.e., define subdomains and bound the condition number)
- Complete the analysis for cases where x=0.
- Complete the analysis for cases where f(x)=0.