Ellipse: Difference between revisions
imported>Peter Schmitt (→Proof: partially rewritten) |
imported>Peter Schmitt (→Proof) |
||
Line 198: | Line 198: | ||
\mathbf{r}' := \mathbf{r}-\mathbf{t}. | \mathbf{r}' := \mathbf{r}-\mathbf{t}. | ||
</math> | </math> | ||
In the definition of '''t''' the minus sign is introduced to get the translation of the origin as depicted in figure 4. | |||
Now we substitute '''r'''′ in the expression for ''f''. | |||
(This corresponds to shifting the origin of the coordinate system to the center of the ellipse): | |||
:<math> | :<math> | ||
f(\mathbf{r}) = \left(\mathbf{r} - \mathbf{t} \right)^\mathrm{T} \mathbf{Q}\left(\mathbf{r} - \mathbf{t} \right) - \mathbf{a}^\mathrm{T}\mathbf{Q}^{-1}\mathbf{a} +F= \left(\mathbf{r}'\right)^\mathrm{T} \mathbf{Q} \mathbf{r}' + f_t | f(\mathbf{r}) = \left(\mathbf{r} - \mathbf{t} \right)^\mathrm{T} \mathbf{Q}\left(\mathbf{r} - \mathbf{t} \right) - \mathbf{a}^\mathrm{T}\mathbf{Q}^{-1}\mathbf{a} +F= \left(\mathbf{r}'\right)^\mathrm{T} \mathbf{Q} \mathbf{r}' + f_t | ||
Line 207: | Line 209: | ||
f_t := f(\mathbf{t}) = -\mathbf{a}^\mathrm{T}\mathbf{Q}^{-1} \mathbf{a}+ F. | f_t := f(\mathbf{t}) = -\mathbf{a}^\mathrm{T}\mathbf{Q}^{-1} \mathbf{a}+ F. | ||
</math> | </math> | ||
Thus, by translation of the origin over '''t''' the linear terms in ''f''('''r''') have been eliminated, only two quadratic terms (in ''x''′ := ''x''−''t''<sub>1</sub> and ''y''′ := ''y''−''t''<sub>2</sub>), one bilinear term, and one constant term (''f''<sub>'''t'''</sub>) appear in the equation for ''f''. (The "price paid" for it is the requirement det('''Q''') ≠ 0.) | |||
In the next step we rotate the coordinate system (around the origin in O') such that the coordinate axises coincide with the axises of the ellipse. | |||
This will eliminate the bilinear term and "decouple" ''x''′ and ''y''′, the components of '''r'''′. | |||
Let us recall that a real symmetric matrix may be [[diagonalization|diagonalized]] by an orthogonal matrix. For the (2×2)-case: | |||
:<math> | :<math> | ||
\mathbf{R}^\mathrm{T} \mathbf{Q} \mathbf{R} = | \mathbf{R}^\mathrm{T} \mathbf{Q} \mathbf{R} = | ||
Line 217: | Line 222: | ||
where the last matrix on the right is the [[identity matrix]] '''I'''. Now | where the last matrix on the right is the [[identity matrix]] '''I'''. Now | ||
:<math> | :<math> | ||
f = \left(\mathbf{r}'\right)^\mathrm{T}\; \mathbf{R}\mathbf{R}^\mathrm{T}\;\mathbf{Q}\;\mathbf{R}\mathbf{R}^\mathrm{T}\; \mathbf{r}' + f_t | f = \left( \left(\mathbf{r}'\right)^\mathrm{T}\; \mathbf{R} \right) | ||
\left( \mathbf{R}^\mathrm{T}\;\mathbf{Q}\;\mathbf{R} \right) | |||
\left( \mathbf{R}^\mathrm{T}\; \mathbf{r}' \right) + f_t | |||
= \left(\mathbf{r}''\right)^\mathrm{T} \boldsymbol{\alpha} \mathbf{r}'' + f_t, | = \left(\mathbf{r}''\right)^\mathrm{T} \boldsymbol{\alpha} \mathbf{r}'' + f_t, | ||
</math> | </math> |
Revision as of 19:00, 21 July 2010
In mathematics, an ellipse is a planar locus of points characterized by having a constant sum of distances to two given fixed points in the plane. In figure 1, the two fixed points are F1 and F2, these are the foci of the ellipse. Consider an arbitrary point P1 on the ellipse that has distance F1P1 to F1 and distance F2P1 to F2, and let d be the sum of distances of P1 to the foci,
then for all points of the ellipse the sum of distances is also d. Thus, for another arbitrary point P2 on the ellipse with distance F1P2 to F1 and distance F2P2 to F2, by definition, the sum of distances of P2 to the foci is equal to d,
The horizontal line segment between S1 and S2 in figure 1, going through the foci, is known as the major axis of the ellipse.[1] Traditionally, the length of the major axis is indicated by 2a. The vertical dashed line segment, drawn halfway between the foci and perpendicular to the major axis, is referred to as the minor axis of the ellipse; its length is usually indicated by 2b. The major and minor axes are distinguished by a ≥ b.[2] When a = b the ellipse is a circle—a special case of an ellipse. The foci of a circle coincide with the center of the circle. Clearly both ellipse axes are symmetry axes, reflection about either of them transforms the ellipse into itself. Basically, this is a consequence of the fact that reflection preserves (sums of) distances. The intersection of the axes is the center of the ellipse.
The two foci and the points S1 and S2 are connected by reflection about the minor axis. Hence the distance S2F2 =: p is, by symmetry, equal to the distance S1F1.[3] The distance of S2 to F1 is equal to 2a − p. By the definition of the ellipse their sum is equal to d, hence
The sum d of distances from any point on the ellipse to the foci is equal to the length of the major axis.
Conic section
In the work of the Greek mathematician Apollonius (c. 262–190 BC) the ellipse arose as the intersection of a plane with a cone. Apollonius gave the ellipse its name, though the term ἔλλειψις (elleipsis, meaning "falling short") was used earlier by Euclid (c. 300 BC) in the construction of parallelograms with areas that "fell short". Apollonius applied the word to the conic section that at present we call ellipse. See Ref.[4] for the—in modern eyes—complicated reasoning by which Apollonius tied the shape of certain conic sections to Euclid's concept of deficient areas.
In figure 2 a cone with a circular base is shown. It has a vertical symmetry axis, an axis of revolution. A cone can be generated by revolving around the axis a line that intersects the axis of rotation under an angle α (between 0 and 90 degree). A horizontal plane (plane perpendicular to the axis of the cone) — that does not contain the vertex — intersects the cone in a circle (a special ellipse). If the angle between the plane is greater than α (but smaller than a right angle) then it intersects the cone in an ellipse. (Otherwise, the intersection is either a parabola or a hyperbola.)
Eccentricity
The eccentricity e of an ellipse (usually denoted by e or ε) is the ratio of the distance OF2 (cf. figure 3) to the length a (half the major axis), that is, e := OF2 / a. Let be a vector of length a along the x-axis, then
The following two vectors have common endpoint at P, see figure 3,
Now choose P as the intersection P1 of the positive y-axis with the ellipse; then its position vector is:
By symmetry, the distance of this point P1 to either focus is equal, thus the length of the corresponding vector (with endpoint on the y-axis) is equal to the length a of the semi-major axis. For the following two inner products (indicated by a centered dot) we find,
Hence, (in fact the Pythagoras theorem applied to POF2),
so that the eccentricity is given by
Algebraic form
Consider an ellipse that is located with respect to a Cartesian frame as in figure 3 (major axis on x-axis, minor axis on y-axis). For a point P=(x,y) of the ellipse it holds that
Note that this equation is reminiscent of the equation for a unit circle. An ellipse may be seen as a unit circle in which the x and the y coordinates are scaled independently, by 1/a and 1/b, respectively.
Proof
Introduce the vectors
By definition of ellipse, the sum of the lengths is 2a
Multiplying equation (1) by
gives
Hence
and since
(the first coordinate of the vector ) we obtain
By adding and subtracting equations (1) and (2) we find expressions for the distance of P to the foci,
Squaring both equations
adding them, substituting the earlier derived value for e2, and reworking gives
Division by b2 finally gives
Second degree equation
The algebraic form of the previous section describes an ellipse in a special position. Rotation and translation transforms it into an equation of second degree in x and y:
(all variables are real). Such an equation always describes a conic.
It represents an ellipse if and only if the following conditions are satisfied:
where t1 and t2 are defined as the solutions of the following system of linear equations:
- .
(These equations have a unique solution since, by the first condition, the determinant AC − B2 ≠ 0.)
Proof
We now switch to matrix-vector notation and write f(x,y) as
with
The superscript T stands for transposition (row vector becomes column vector and vice versa).
Since, by assumption, the determinant det(Q) = AC−B2 ≠ 0, the matrix Q is invertible. With the help of the inverse Q−1 the equation can be rewritten to
- −
Note that this uses
i.e., that both the matrix Q and its inverse are symmetric.
Define
and
In the definition of t the minus sign is introduced to get the translation of the origin as depicted in figure 4.
Now we substitute r′ in the expression for f. (This corresponds to shifting the origin of the coordinate system to the center of the ellipse):
with
Thus, by translation of the origin over t the linear terms in f(r) have been eliminated, only two quadratic terms (in x′ := x−t1 and y′ := y−t2), one bilinear term, and one constant term (ft) appear in the equation for f. (The "price paid" for it is the requirement det(Q) ≠ 0.)
In the next step we rotate the coordinate system (around the origin in O') such that the coordinate axises coincide with the axises of the ellipse. This will eliminate the bilinear term and "decouple" x′ and y′, the components of r′.
Let us recall that a real symmetric matrix may be diagonalized by an orthogonal matrix. For the (2×2)-case:
where the last matrix on the right is the identity matrix I. Now
with
An ellipse is obtained if the parameters α1, α2, and ft are non-zero and if the signs of α1 and α2 are equal and opposite to the sign of ft in the following expression:
It is known that the determinant of a matrix is invariant under a matrix similarity transformation, hence if (and only if) the signs of α1 and α2 are equal it follows that
So, the condition det(Q) ≠ 0 is narrowed to det(Q) > 0.
The trace A+C of the matrix is also invariant under a similarity transformation. There are two possibilities in order that the equation f(x,y) = 0 represents an ellipse
Clearly, in order to determine a priori whether the quadratic equation represents an ellipse, a diagonalization of Q is not necessary. It is sufficient to determine the sign of ft = f(t) by solving the equation given for the vector t.
Polar representation relative to focus
The length g of the vector (cf. figure 5) with endpoint on the ellipse
is given by the polar equation of an ellipse
where 2ℓ is known as the latus rectum (lit. erect side) of the ellipse; it is equal to 2g for θ = 90° (twice the length of the vector when it makes a right angle with the major axis).
Proof
Earlier [Eq. (3)] it was derived for the distance from the right focus F2 to P that
Expressing x from
gives
so that
Substitute
and the polar equation for the ellipse follows.
Trammel construction
Before drafting was done almost exclusively by the aid of computers, draftsmen used a simple device for drawing ellipses, a trammel. Basically, a trammel is a rigid bar of length a (semi-major axis). In the top drawing of figure 6 the bar is shown as a blue-red line segment bounded by a black and a blue bead. On this bar a segment of length b (semi-minor axis) is marked; this is the red segment on the bar. Two beads fixed to the rigid bar move back and forth along the x-axis and y-axis, respectively. The blue bead fixed at one end of the bar moves along the y-axis, the red bead, which marks the beginning of the red segment of length b, moves along the x-axis. The endpoint of the bar (the black bead in figure 6) moves along an ellipse with semi-major axis a and semi-minor axis b and typically has a pen fixed to it.
The fact that the trammel construction works is proved very easily, cf. the bottom drawing in figure 6,
Hence
which indeed is the equation for an ellipse.
A device called a trammel point is used to guide a woodworking router in making elliptical cuts.
Gardener's construction
It is possible to construct an ellipse of given major and minor axis by the aid of a compass, a ruler, three thumbtacks, and a piece of string, see figure 8.
First draw the major axis AB, and then obtain with the compass its perpendicular bisector intersecting AB in the midpoint E. Along the bisector one measures off the length of the minor axis CD. Given that the distances CF and CG are the semi-major axis (AB/2), one can determine the foci by drawing an arc with the compass using C as center and AB/2 as radius. One now pins the thumbtacks in the foci and the point C and fixes a piece of string around the triangle F1F2C (i.e, its length equals the perimeter of the triangle). Removing the thumbtack at C, and keeping the string taut, one draws the ellipse by moving the pencil from C to A, D, B, and back to C.
Clearly this procedure can be used in the garden to create an elliptic lawn or flowerbed, which is why the procedure is sometimes referred to as the gardener's construction.
Notes
- ↑ The points S1 and S2 are the main vertices of the ellipse.
- ↑ The quantities a and b are referred to as semi-major and semi-minor axis, respectively. Note that, just as diameter of circle, semi-axis does not only refer to the line segment itself, but also to its length.
- ↑ The shortest distance of a focus to a point on the elllipse (= p) is the periapsis of the ellipse; the longest distance, S1F2=S2F1=2a−p, is the apoapsis. These two (Greek) terms are mainly used in astronomy when orbits of planets are described.
- ↑ M. Kline, Mathematical Thought from Ancient to Modern Times, Oxford UP, New York (1972)
Figures 7 and 8 are from George Watson Kittredge, The New Metal Worker Pattern Book, David Williams Company, New York, (1901) Online