Sine: Difference between revisions
imported>Paul Wormer m (→Differential equations: A bit of cleaning up) |
imported>Paul Wormer |
||
Line 45: | Line 45: | ||
==Sum of squares== | ==Sum of squares== | ||
Consider function | Consider the function | ||
<math>z(t)=\sin(t)^2+\cos(t)^2</math>. From equations (1) and (2) it follows that | <math>\,z(t)=\sin(t)^2+\cos(t)^2</math>. From equations (1) and (2) it follows that | ||
<math>z'(t)=0</math>, i.e., | <math>\,z'(t)=0</math>, i.e., | ||
<math>z(t)=z(0)= | <math>\,z(t)=z(0)= </math>constant . Evaluation of this constant from equations (2) and (3) gives | ||
<math>z(t)=1</math> for all | <math>\,z(t)=1</math> for all | ||
<math>t</math>, | <math>\,t</math>, i.e., | ||
: (5) <math> \sin(t)^2+\cos(t)^2=1</math> | : (5) <math>\, \sin(t)^2+\cos(t)^2=1</math> | ||
In this | In this article, the superscript as indicator of exponentiation is always written last to specify the argument, avoiding the confusions. | ||
<ref name="footnote"> | <ref name="footnote"> | ||
Some authors implicitly define also functions with superscript, | Some authors implicitly define also functions with superscript, | ||
<math>\sin^n(x)=\sin(x)^n</math> and <math>\ | <math>\,\sin^n(x)=\sin(x)^n</math> and <math>\cos^n(x)=\cos(x)^n</math>. | ||
However, such a notation leads to confusions as soon as one needs to consider the inverse function | However, such a notation leads to confusions as soon as one needs to consider the inverse function | ||
(for a function <math>f</math>, it is common to use notation <math>f^{-1}</math> for inverse function, such that <math>f\Big(f^{-1}(z)\Big)=z</math>) | (for a function <math>\,f</math>, it is common to use notation <math>\,f^{-1}</math> for inverse function, such that <math>\,f\Big(f^{-1}(z)\Big)=z</math>) | ||
or multiple combination of functions, for example: | or multiple combination of functions, for example: | ||
<math>\sin^{-1}(x)={\rm arcsin}(x)</math>; | <math>\sin^{-1}(x)={\rm arcsin}(x)</math>; | ||
Line 64: | Line 64: | ||
</ref> | </ref> | ||
For the equation (5) it follows, that for all real values of | For the equation (5) it follows, that for all real values of ''t'' the functions sin(''t'') and cos(''t'') are bounded: | ||
: (6) <math> -1\le \sin(t) \le 1 </math> | |||
: (7) <math> -1\le \cos(t) \le 1 </math> | |||
: (6) <math> -1\le \sin(t) \le 1 </math> | |||
: (7) <math> -1\le \cos(t) \le 1 </math> | |||
These properties allow efficient [[bracketing of functions]] sin and cos. | These properties allow efficient [[bracketing of functions]] sin and cos. | ||
Revision as of 11:28, 31 October 2008
sine and cosine, abbreviated sin and cos, are basic trigonometric functions (which are, in their turn, basic elementary functions), used to express relations between angles and sides of right triangles). These functions are common in science and technology.
Various sources define trigonometric funcitons in different ways.
Geometric approach
In some countries, schoolchildren begin to study mathematics with arithmetics, elementary algebra and the Euclidean geometry (planimetry) [1].
Beginning to deal with sin and cos, students already have some idea about "addition" and measurement of angles, segments and areas; they already have accepted the axioms of planimetry, in particular, the Euclid's parallel axiom, and they know the Pythagorean theorem. Therefore, the trigonometric functions are defined as ratios of the lengths of sides of the right-angled triangles, for example, ratio of length of a leg to that of the hypothenuse.
The geometrical approach rather assumes properties of sin and cos than deduce them. The assumptions are masked as the geometric axioms. However the deduction of properties of trigonometric functions does not require axioms of geometry. Properties of sin and cos do not depend, for example, on the acceptance of rejection of the Euclid's parallel axiom. Funcitons sin and cos can be defined algebraically, then their properties can be deduced, not postulated. Basic elements of such a deduction are suggested below.
Definition by differential equations
The definitions of derivative and integral do not refer to trigonometric functions, and the basic properties of integrals and derivatives (in particular the Cauchy-Kowalevski theorem of existence and uniqueness of solution of the Cauchy problem) can be deduced without reference to sin, cos, or any axioms of Euclidean geometry. Therefore, a natural and consistent way of defining the functions sin and cos is via differential equations. We will indicate the first derivative of a function with respect to its variable by a prime.
Definition
The functions sin and cos are solutions of the following system of equations
- (1)
- (2)
with conditions
- (3)
- (4)
Usually, it is assumed that the independent variable t is real; in that case, the values of the functions sin and cos are also real numbers. However, the definition above can be used for complex numbers too.
The present definition does not imply additional concepts about angles and sums of angles; and does not require the Pythagorean theorem or even the parallel axiom of Euclidean geometry. Furthermore the definition does not refer to the concept of the number Pi () and therefore can be used for the definition of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,\pi} . But, one pays for this by having to deduce the naively-obvious properties of sin and cos from the system (1)–(4).
Sum of squares
Consider the function Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,z(t)=\sin(t)^2+\cos(t)^2} . From equations (1) and (2) it follows that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,z'(t)=0} , i.e., Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,z(t)=z(0)= } constant . Evaluation of this constant from equations (2) and (3) gives Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,z(t)=1} for all Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \,t} , i.e.,
- (5) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \, \sin(t)^2+\cos(t)^2=1}
In this article, the superscript as indicator of exponentiation is always written last to specify the argument, avoiding the confusions. [2]
For the equation (5) it follows, that for all real values of t the functions sin(t) and cos(t) are bounded:
- (6) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -1\le \sin(t) \le 1 }
- (7) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -1\le \cos(t) \le 1 }
These properties allow efficient bracketing of functions sin and cos.
Bracketing
Consider Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle sin(x)} and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(x)} in the case Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x> 0} . From equation (1) it follows, that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin'(x)\le 1 } . Integration of the last inequality with respect to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x } from 0 to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} gives: Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(t)-\sin(0) < t } . Using equation (3) we write
- (8) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(t)< t } .
Rewrite (8) as Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -t < -\sin(t) } and apply equation(2):
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -t < \cos'(t) }
Integrating this inequality with respect to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} from 0 to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} gives:
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -x^2/2 < \cos(x)-\cos(0) }
Using equation(4) gives
- (9) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1-x^2/2 < \cos(x) <1 }
The last "<" just follows from equation (7). Using equation (1) gives
- (10) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1-x^2/2 < \sin'(x) <1 }
Integrating equation (12) with respect to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} from 0 to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} gives
- (11) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t-t^3/6 < \sin(t) <t }
Rewrite it as
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -t< -\sin(t)<-t+t^3/6 }
and apply equation (2):
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle -t< \cos'(t) <-t+t^3/6 }
Integrating this equation with respect to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t} from 0 to Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x} gives
- Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle - x^2/2 < \cos(x)-\cos(0) < -x^2/2 + x^3/6 }
- (12) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 1- x^2/2 < \cos(x)< 1 -x^2/2 + x^4/24 }
Continuing this exercise, one can obtain more and more narrow bounds for values of sin and cos.
However, even equations (9,12) are sufficient to see that both both sin and cos remain positive while, the argument is within (0,1) range. This property is used below to reveal periodicity of these funcitons.
Mathematical induction
Applying the mathematical induction, it is possible to show that for positive integer Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle N }
- (13) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum_{n=0}^{2N+1} \frac{x~(-x^2)^n} {(2n+1)!} \le \sin(x) \le \sum_{n=0}^{2N} \frac{x(-x^2)^n}{(2n+1)!}}
- (14) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sum_{n=0}^{2N+1} \frac{~~ (-x^2)^n}{(2n)!} \le \cos(x) \le \sum_{n=0}^{2N} \frac{ (-x^2)^n}{(2n)!} }
and equality takes place only at Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=0} .
Is cos always larger than sin?
Consider the range Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 0<t<P} such that both Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(t)} and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \cos(t)} are positive; let Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle P} be exact upper bound of such interval. Within this interval, sin is monotonously increasing, and cos is monotonously decreasing. Therefore, there exist one and only one solution Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle p } of the equation
- (13) Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \sin(p)=\cos(p)}
Let us estimate value of this solution.
Consider the special case, substitute Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle x=1} into equation(13) and Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle t=1} into equation(11). This gives
In such a way,
- (14)
hence,
- (15) .
Substitute into equation (11); this gives
- (16)
- (17)
From equation (5) it follows that
- (18)
- (19)
Both sin and cos are positive in the range (0,1); and, therefore,
- (20)
Therefore,
- (21) .
Symmetry and sense of number
Change of variables to and replacement to keeps the system (1)-(4) invariant. This means that
- (22)
- (23)
Consider replacement to , cos to sin, and sin to cos. Due to equation (13), such a replacement preserves the equations (1-4); therefore,
- (24)
- (25)
Then, , and
- (26)
- (27)
It follows, that functions sin and cos are periodic; and
- (30)
is period. The deduction above can be used as definition of number . In such a way, appears as half of period of functions which are solutions of equations (1,2).
For definition of , equations (1,2) are sufficient: due to the linearity of equations and the translational invariance, conditions (3,4) do not affect the period; all the solutions with different conditions at zero have the same period.
From estimate (21) it follows that
- (31)
The improvement of this estimate using the expansions (13), (14) is possible but computationally non-efficient. The efficient algorithms for evaluation of are mentioned in the spacial article about Pi. Usually, the efficient algorithms require more efforts for the deduction.
Notes
- ↑ A.P.Kiselev (1892 (first efition in Russia)). {{{title}}}. ISBN 0-9779852-0-2.
- ↑ Some authors implicitly define also functions with superscript, and . However, such a notation leads to confusions as soon as one needs to consider the inverse function (for a function , it is common to use notation for inverse function, such that ) or multiple combination of functions, for example: ; .