SlideShare ist ein Scribd-Unternehmen logo
1 von 8
Downloaden Sie, um offline zu lesen
Projection of a Vector upon a Plane from an
Arbitrary Angle, via Geometric (Clifford) Algebra
December 19, 2017
James Smith
nitac14b@yahoo.com
https://mx.linkedin.com/in/james-smith-1b195047
Abstract
We show how to calculate the projection of a vector, from an arbitrary
direction, upon a given plane whose orientation is characterized by its nor-
mal vector, and by a bivector to which the plane is parallel. The resulting
solutions are tested by means of an interactive GeoGebra construction.
Vector s is the “shadow” of vector g cast upon the plane by “rays of the Sun”
that have direction ˆr. The unit vector in the direction of the plane’s normal is
ˆe.
“Calculate the vector s, which is the “shadow” of vector g cast upon
the plane by “rays of the Sun” that have direction ˆr. The unit vector
in the direction of the plane’s normal is ˆe.”
1
Contents
1 Introduction 2
2 Formulating the Problem in Geometric-Algebra (GA) Terms,
and Devising a Solution Strategy 3
2.1 Initial Observations . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Recalling What We’ve Learned from Solving Similar Problems
Via GA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Further Observations, and Identifying a Strategy . . . . . . . . . 4
3 Solutions for s 4
3.1 Solution via the Inner Product with ˆe . . . . . . . . . . . . . . . 5
3.2 Solution via the Outer Product with T . . . . . . . . . . . . . . . 5
4 Testing the Formulas that We’ve Derived 7
5 Appendix: Calculating the Bivector of a Plane Whose Normal
is the Vector ˆe 8
1 Introduction
In this document, we will solve—numerically as well as symbolically—a problem
of a type that can take the following concrete form, with reference to Fig.1:
“A pole (not necessarily vertical) casts a shadow onto the perfectly
flat plaza into which it is set. With respect to a right-handed
orthonormal reference frame with basis vectors ˆa, ˆb, and ˆc, the
direction of the Sun’s rays is ˆr = ˆara + ˆbrb + ˆcrc. The vector g from
the pole’s base to the pole’s tip, is g = ˆaga + ˆbgb + ˆcgc, and the
upward-pointing unit vector normal to the plane is ˆe = ˆaea+ˆbeb+ˆcec.
Calculate s, the vector from the base of the pole to the tip of the
pole’s shadow.”
Figure 1: Vector s is the “shadow” of vector g cast upon the plane by “rays of
the Sun” that have direction ˆr. The unit vector in the direction of the plane’s
normal is ˆe.
2 Formulating the Problem in Geometric-Algebra
(GA) Terms, and Devising a Solution Strategy
2.1 Initial Observations
Let’s begin by making a few observations that might be useful:
1. By saying “the direction of the Sun’s rays is ˆr = ˆara + ˆbrb + ˆcrc”, we
assumed that all of the Sun’s rays are parallel. We’ll use that assumption
throughout this document.
2. The tip of the shadow is at the point where a ray that just grazes the tip
of the pole intersects the surface of the plaza.
3. Therefore, the vector from the tip of the pole to the tip of the shadow is
some scalar multiple of ˆr. We’ll call that scalar multiple λˆr, and add it to
our earlier diagram to produce Fig. 2.
4. From Fig. 2, we can see that s = g + λˆr.
2.2 Recalling What We’ve Learned from Solving Similar
Problems Via GA
Let’s also refresh our memory about techniques that we may have used to solve
other problems via GA:
1. Problems involving projections onto a plane are usually solved by using the
appropriately-oriented bivector that is parallel to the plane, rather than
3
Figure 2: The same situation as in Fig. 1, but noting that the vector from the
tip of g to the tip of s is a scalar multiple (“λ”) of ˆr.
by using the vector that is perpendicular to it. The Appendix (Section 5)
shows how to find the required bivector, given said vector.
2. In a GA equation with two unknowns, such as the equation s = g + λˆr
at the end of the preceding list, a common strategy is to eliminate one of
the unknowns by using either the “dot” product or the ‘wedge” product
(“∧”) with a known quantity. Examples of this strategy are given in Ref.
[2], and in Ref. [3], pp. 39-47.
2.3 Further Observations, and Identifying a Strategy
Guided by Sections 2.1 and 2.2, we might realize that the vector s is perpendicular
to ˆe. Thus, one method of solving the equation s = g + λˆr is to eliminate s by
“dotting” both sides with ˆe, thereby obtaining an equation that from which we
can obtain an expression for λ in terms of g, ˆe, and ˆr. That expression can then
be substituted for λ in the original eqation (s = g + λˆr) to find s.
The same observations that led us to the first strategy also lead us to see
that s is parallel to the plane of the plaza. Therefore, s’s product “∧” with the
bivector that’s parallel to that plane is zero. That is, if we denote said bivector
by the symbol “T”, then s ∧ T = 0. Using this observation, we also arrive at an
equation for λ—and thus for s—but this time in terms of g, ˆr, and T.
We’ll use both approaches in this document.
3 Solutions for s
We’ll begin with the solution that uses the normal vector ˆe.
4
3.1 Solution via the Inner Product with ˆe
Taking up the first of the solution strategies that we identified in Section 2.3,
we write
s = g + λˆr;
s · ˆe
=0
= (g + λˆr) · ˆe;
∴ λ = −
g · ˆe
ˆr · ˆe
. (3.1)
Question: Does our expression
for λ make sense?
Let’s pause for a moment to examine that result before proceeding. Does it
make sense? The geometric interpretation of that result is that |λ| is the ratio
of the lengths of the projections of g and ˆr upon ˆe. So far, so good—a study of
Fig. 2 confirms that |λ| must indeed be equal to that ratio. Examining Fig. 2
further, we see (1) that no shadow will be produced unless λ is positive, and (2)
that no shadow will be produced unless the projections of g and ˆr are oppositely
directed. Eq. (3.1) is consistent with those observations: λ is positive only when
g · ˆe and ˆr · ˆe are opposite in sign, and that difference in sign occurs only when
ˆe and ˆr are oppositely directed.
Now that we’ve assured ourselves that our expression for λ makes sense, we
continue by making the substitutions ˆr = ˆara + ˆbrb + ˆcrc, g = ˆaga + ˆbgb + ˆcgc,
and ˆe = ˆaea + ˆbeb + ˆcec:
λ = −
ˆaga + ˆbgb + ˆcgc · ˆaea + ˆbeb + ˆcec
ˆara + ˆbrb + ˆcrc · ˆaea + ˆbeb + ˆcec
= −
gaea + gbeb + gcec
raea + rbeb + rcec
. (3.2)
Now, we substitute that expression for λ in our original equation, then simplify:
s = g + λˆr
= ˆaga + ˆbgb + ˆcgc −
gaea + gbeb + gcec
raea + rbeb + rcec
ˆara + ˆbrb + ˆcrc .
By expanding the product on the right-hand side, then rearranging, the result is
s = ˆa
ga (rbeb + rcec) − ra (gbeb + gcec)
raea + rbeb + rcec
+ ˆb
gb (raea + rcec) − rb (gaea + gcec)
raea + rbeb + rcec
+ ˆc
gc (raea + rbeb) − rc (gaea + gbeb)
raea + rbeb + rcec
.
(3.3)
3.2 Solution via the Outer Product with T
In this section, we’ll write T as T = ˆaˆbτab + ˆbˆcτbc + ˆaˆcτac in order to arrive at a
solution in which the plane of the plaza is expressed in that way. The Appendix
5
(5) shows how to find T in terms of the components of ˆe.
We indicated in Section 2.3 that because s is parallel to the plaza (and
therefore to T), s ∧ T = 0. Using that fact, we arrive at a preliminary version
of λ as follows:
s = g + λˆr;
s ∧ T
=0
= (g + λˆr) ∧ T;
λˆr ∧ T = −g ∧ T
∴ λ = − (g ∧ T) (ˆr ∧ T)
−1
. (3.4)
Now, we need to calculate g ∧ T and (ˆr ∧ T)
−1
. To find the former, we
use Macdonald’s ([4], p. 111) definition of the product “∧”. See also the list of
formulas in Reference [2], pp. 2-4.
g ∧ T = gT 3
= ˆaga + ˆbgb + ˆcgc T = ˆaˆbτab + ˆbˆcτbc 3
= ˆaˆbˆc (τabgc + τbcga − τacgb) .
Similarly, ˆr ∧ T = ˆaˆbˆc (τabrc + τbcra − τacrb). We recognize the product ˆaˆbˆc as
I3: the unit pseudoscalar for G3. Its multiplicative inverse (I−1
3 ) is −I3, = −ˆaˆbˆc.
Therefore, multiplicative inverse of ˆr ∧ T is
(ˆr ∧ T)
−1
=
I−1
3
|ˆr ∧ T|
2
= −
ˆaˆbˆc
(τabrc + τbcra − τacrb)
2 .
Using that result, and our expression for ˆr ∧ T, Eq. (3.4) becomes
λ = − ˆaˆbˆc (τabrc + τbcra − τacrb) −
ˆaˆbˆc (τabrc + τbcra − τacrb)
(τabrc + τbcra − τacrb)
2
= −
τabgc + τbcga − τacgb
τabrc + τbcra − τacrb
. (3.5)
Substituting this expression for λ in s = g + λˆr, we obtain
s = ˆa
τab (garc − gcra) + τac (gbra − garb)
τabrc + τbcra − τacrb
+ ˆb
τab (gbrc − gcrb) + τbc (gbra − garb)
τabrc + τbcra − τacrb
+ ˆc
τbc (gcra − garc) + τac (gbrc − gcrb)
τabrc + τbcra − τacrb
.
(3.6)
6
Figure 3: Screen shot (Ref. [5]) of an interactive GeoGebra worksheet that
calculates the vector s, and compares the result to the vector s that was obtained
by construction.
4 Testing the Formulas that We’ve Derived
Fig. 3 shows an interactive GeoGebra worksheet (Reference [5]) that calculates
the vector s, and compares the result to the vector s that was obtained by
construction. The worksheet calculates λ from ˆe as well as from T, but shows
the numerical calculation only for T because of space limitations.
References
[1] J. A. Smith, 2017a, “Formulas and Spreadsheets for Simple, Composite,
and Complex Rotations of Vectors and Bivectors in Geometric (Clifford)
Algebra”, http://vixra.org/abs/1712.0393.
[2] J. A. Smith, 2017b, “Some Solution Strategies for Equations that Arise in
Geometric (Clifford) Algebra”, http://vixra.org/abs/1610.0054 .
[3] D. Hestenes, 1999, New Foundations for Classical Mechanics, (Second
Edition), Kluwer Academic Publishers (Dordrecht/Boston/London).
[4] A. Macdonald, Linear and Geometric Algebra (First Edition) p. 126,
CreateSpace Independent Publishing Platform (Lexington, 2012).
[5] J. A. Smith, 2017c, “Projection of Vector on Plane via Geometric Algebra”
(a GeoGebra construction), https://www.geogebra.org/m/ykzkbQJq.
7
5 Appendix: Calculating the Bivector of a Plane
Whose Normal is the Vector ˆe
As may be inferred from a study of References [3] (p. (56, 63) and [4] (pp.
106-108) , the bivector T that we seek is the one whose dual is ˆe. That is, Q
must satisfy the condition
ˆe = QI−1
3 ;
∴ Q = ˆeI3. (5.1)
Although we won’t use that fact
here, I−1
3 is I3’s negative:
I−1
3 = −ˆaˆbˆc.
where I3 is the right-handed pseudoscalar for G3
. That pseudoscalar is the
product, written in right-handed order, of our orthonormal reference frame’s
basis vectors: I3 = ˆaˆbˆc (and is also ˆbˆcˆa and ˆcˆaˆb). Therefore, writing Q as
Q = ˆaea + ˆbeb + ˆcec,
Q = ˆeI3
= ˆaea + ˆbeb + ˆcec ˆaˆbˆc
= ˆaˆaˆbˆcea + ˆbˆaˆbˆceb + ˆcˆaˆbˆcec
= ˆaˆbec + ˆbˆcea − ˆaˆceb. (5.2)
To make this simplification, we
use the following facts:
• The product of two
perpendicular vectors
(such as ˆa and ˆb) is a
bivector;
• Therefore, for any two
perpendicular vectors p
and q, qp = −qp; and
• (Of course) for any unit
vector ˆp, ˆpˆp = 1.
In writing that last result, we’ve followed [4]’s convention (p. 82) of using
ˆaˆb, ˆbˆc, and ˆaˆc as our bivector basis. Examining Eq. (5.2) we can see that if we
write Q in the form Q = ˆaˆbqab + ˆbˆcqbc + ˆaˆcqac , then
qab = ec, qbc = ea, qac = −ec. (5.3)
8

Weitere ähnliche Inhalte

Was ist angesagt?

Matrix transformation
Matrix transformationMatrix transformation
Matrix transformation
mstf mstf
 
The vector or cross product
The vector or cross productThe vector or cross product
The vector or cross product
Sabir Ahmed
 
Do you know matrix transformations
Do you know matrix transformationsDo you know matrix transformations
Do you know matrix transformations
Tarun Gehlot
 

Was ist angesagt? (20)

Calculating the Angle between Projections of Vectors via Geometric (Clifford)...
Calculating the Angle between Projections of Vectors via Geometric (Clifford)...Calculating the Angle between Projections of Vectors via Geometric (Clifford)...
Calculating the Angle between Projections of Vectors via Geometric (Clifford)...
 
Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...
Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...
Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...
 
Hat04 0203
Hat04 0203Hat04 0203
Hat04 0203
 
Geometry unit 9.6 9.7
Geometry unit 9.6 9.7Geometry unit 9.6 9.7
Geometry unit 9.6 9.7
 
Isograph
IsographIsograph
Isograph
 
Matrix transformation
Matrix transformationMatrix transformation
Matrix transformation
 
Connectivity of graphs
Connectivity of graphsConnectivity of graphs
Connectivity of graphs
 
Computer Graphics & linear Algebra
Computer Graphics & linear Algebra Computer Graphics & linear Algebra
Computer Graphics & linear Algebra
 
Obj. 47 Effects of Changing Dimensions
Obj. 47 Effects of Changing DimensionsObj. 47 Effects of Changing Dimensions
Obj. 47 Effects of Changing Dimensions
 
6.3 Graphs of Sine and Cosine
6.3 Graphs of Sine and Cosine6.3 Graphs of Sine and Cosine
6.3 Graphs of Sine and Cosine
 
Computer graphics
Computer graphicsComputer graphics
Computer graphics
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Dot & cross product of vectors
Dot & cross product of vectorsDot & cross product of vectors
Dot & cross product of vectors
 
vector application
vector applicationvector application
vector application
 
Geometry unit 9.2
Geometry unit 9.2Geometry unit 9.2
Geometry unit 9.2
 
The vector or cross product
The vector or cross productThe vector or cross product
The vector or cross product
 
3 d scaling and translation in homogeneous coordinates
3 d scaling and translation in homogeneous coordinates3 d scaling and translation in homogeneous coordinates
3 d scaling and translation in homogeneous coordinates
 
Fixed point scaling
Fixed point scalingFixed point scaling
Fixed point scaling
 
Do you know matrix transformations
Do you know matrix transformationsDo you know matrix transformations
Do you know matrix transformations
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 

Ähnlich wie Projection of a Vector upon a Plane from an Arbitrary Angle, via Geometric (Clifford) Algebra

M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docxM210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
smile790243
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
Clyde Shen
 
Trigonometry for class xi
Trigonometry for class xiTrigonometry for class xi
Trigonometry for class xi
indu psthakur
 
Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
Angie Lee
 

Ähnlich wie Projection of a Vector upon a Plane from an Arbitrary Angle, via Geometric (Clifford) Algebra (20)

Lego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawingsLego like spheres and tori, enumeration and drawings
Lego like spheres and tori, enumeration and drawings
 
Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...
Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...
Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...
 
Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...
Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...
Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...
 
An additional brief solution of the CPP limiting case of the Problem of Apoll...
An additional brief solution of the CPP limiting case of the Problem of Apoll...An additional brief solution of the CPP limiting case of the Problem of Apoll...
An additional brief solution of the CPP limiting case of the Problem of Apoll...
 
1543 integration in mathematics b
1543 integration in mathematics b1543 integration in mathematics b
1543 integration in mathematics b
 
M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docxM210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
M210 Songyue.pages__MACOSX._M210 Songyue.pagesM210-S16-.docx
 
graph theory
graph theorygraph theory
graph theory
 
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own VersionUnderstanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
 
Graph Dynamical System on Graph Colouring
Graph Dynamical System on Graph ColouringGraph Dynamical System on Graph Colouring
Graph Dynamical System on Graph Colouring
 
lemh2sm.pdf
lemh2sm.pdflemh2sm.pdf
lemh2sm.pdf
 
Exhaustive Combinatorial Enumeration
Exhaustive Combinatorial EnumerationExhaustive Combinatorial Enumeration
Exhaustive Combinatorial Enumeration
 
Trigonometry for class xi
Trigonometry for class xiTrigonometry for class xi
Trigonometry for class xi
 
Solution kepler chap 1
Solution kepler chap 1Solution kepler chap 1
Solution kepler chap 1
 
Ch06 ssm
Ch06 ssmCh06 ssm
Ch06 ssm
 
Calculus Assignment Help
 Calculus Assignment Help Calculus Assignment Help
Calculus Assignment Help
 
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
 
Siegel
SiegelSiegel
Siegel
 
Calculus Homework Help
Calculus Homework HelpCalculus Homework Help
Calculus Homework Help
 
precalculus 6.3
precalculus 6.3precalculus 6.3
precalculus 6.3
 
Essay On Linear Function
Essay On Linear FunctionEssay On Linear Function
Essay On Linear Function
 

Mehr von James Smith

A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
James Smith
 

Mehr von James Smith (19)

Un acercamiento a los determinantes e inversos de matrices
Un acercamiento a los determinantes e inversos de matricesUn acercamiento a los determinantes e inversos de matrices
Un acercamiento a los determinantes e inversos de matrices
 
Nuevo Manual de la UNESCO para la Enseñanza de Ciencias
Nuevo Manual de la UNESCO para la Enseñanza de CienciasNuevo Manual de la UNESCO para la Enseñanza de Ciencias
Nuevo Manual de la UNESCO para la Enseñanza de Ciencias
 
Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...
Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...
Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...
 
Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...
Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...
Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...
 
"Rotation of a Rotation" via Geometric (Clifford) Algebra
"Rotation of a Rotation" via Geometric (Clifford) Algebra"Rotation of a Rotation" via Geometric (Clifford) Algebra
"Rotation of a Rotation" via Geometric (Clifford) Algebra
 
Sismos: Recursos acerca de la inspección y refuerzo de edificios dañados por ...
Sismos: Recursos acerca de la inspección y refuerzo de edificios dañados por ...Sismos: Recursos acerca de la inspección y refuerzo de edificios dañados por ...
Sismos: Recursos acerca de la inspección y refuerzo de edificios dañados por ...
 
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
 
Calculating Dimensions for Constructing Super Adobe (Earth Bag) Domes
Calculating Dimensions for Constructing Super Adobe (Earth Bag) DomesCalculating Dimensions for Constructing Super Adobe (Earth Bag) Domes
Calculating Dimensions for Constructing Super Adobe (Earth Bag) Domes
 
Trampas comunes en los exámenes de se selección sobre matemáticas
Trampas comunes en los exámenes de se selección sobre matemáticasTrampas comunes en los exámenes de se selección sobre matemáticas
Trampas comunes en los exámenes de se selección sobre matemáticas
 
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed moleculeWhy Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
 
Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"
Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"
Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"
 
Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...
Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...
Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...
 
Ejercicios geometría, con respuestas
Ejercicios geometría, con respuestasEjercicios geometría, con respuestas
Ejercicios geometría, con respuestas
 
El cálculo de superviviencia
El cálculo de supervivienciaEl cálculo de superviviencia
El cálculo de superviviencia
 
Cómo sumar fracciones algbráicas
Cómo sumar fracciones algbráicasCómo sumar fracciones algbráicas
Cómo sumar fracciones algbráicas
 
Cómo entender el uso de escalas logarítmicas
Cómo entender el uso de escalas logarítmicasCómo entender el uso de escalas logarítmicas
Cómo entender el uso de escalas logarítmicas
 
El desarrollo de ecuaciones lineales
El desarrollo de ecuaciones linealesEl desarrollo de ecuaciones lineales
El desarrollo de ecuaciones lineales
 
Cambios de óptica en el curso de un despeje
Cambios de óptica en el curso de un despejeCambios de óptica en el curso de un despeje
Cambios de óptica en el curso de un despeje
 
Modelación matemática de una rueda y eje con momento de incercia variable par...
Modelación matemática de una rueda y eje con momento de incercia variable par...Modelación matemática de una rueda y eje con momento de incercia variable par...
Modelación matemática de una rueda y eje con momento de incercia variable par...
 

Kürzlich hochgeladen

An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
SanaAli374401
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
MateoGardella
 

Kürzlich hochgeladen (20)

Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Gardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch LetterGardella_PRCampaignConclusion Pitch Letter
Gardella_PRCampaignConclusion Pitch Letter
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Projection of a Vector upon a Plane from an Arbitrary Angle, via Geometric (Clifford) Algebra

  • 1. Projection of a Vector upon a Plane from an Arbitrary Angle, via Geometric (Clifford) Algebra December 19, 2017 James Smith nitac14b@yahoo.com https://mx.linkedin.com/in/james-smith-1b195047 Abstract We show how to calculate the projection of a vector, from an arbitrary direction, upon a given plane whose orientation is characterized by its nor- mal vector, and by a bivector to which the plane is parallel. The resulting solutions are tested by means of an interactive GeoGebra construction. Vector s is the “shadow” of vector g cast upon the plane by “rays of the Sun” that have direction ˆr. The unit vector in the direction of the plane’s normal is ˆe. “Calculate the vector s, which is the “shadow” of vector g cast upon the plane by “rays of the Sun” that have direction ˆr. The unit vector in the direction of the plane’s normal is ˆe.” 1
  • 2. Contents 1 Introduction 2 2 Formulating the Problem in Geometric-Algebra (GA) Terms, and Devising a Solution Strategy 3 2.1 Initial Observations . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.2 Recalling What We’ve Learned from Solving Similar Problems Via GA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.3 Further Observations, and Identifying a Strategy . . . . . . . . . 4 3 Solutions for s 4 3.1 Solution via the Inner Product with ˆe . . . . . . . . . . . . . . . 5 3.2 Solution via the Outer Product with T . . . . . . . . . . . . . . . 5 4 Testing the Formulas that We’ve Derived 7 5 Appendix: Calculating the Bivector of a Plane Whose Normal is the Vector ˆe 8 1 Introduction In this document, we will solve—numerically as well as symbolically—a problem of a type that can take the following concrete form, with reference to Fig.1: “A pole (not necessarily vertical) casts a shadow onto the perfectly flat plaza into which it is set. With respect to a right-handed orthonormal reference frame with basis vectors ˆa, ˆb, and ˆc, the direction of the Sun’s rays is ˆr = ˆara + ˆbrb + ˆcrc. The vector g from the pole’s base to the pole’s tip, is g = ˆaga + ˆbgb + ˆcgc, and the upward-pointing unit vector normal to the plane is ˆe = ˆaea+ˆbeb+ˆcec. Calculate s, the vector from the base of the pole to the tip of the pole’s shadow.”
  • 3. Figure 1: Vector s is the “shadow” of vector g cast upon the plane by “rays of the Sun” that have direction ˆr. The unit vector in the direction of the plane’s normal is ˆe. 2 Formulating the Problem in Geometric-Algebra (GA) Terms, and Devising a Solution Strategy 2.1 Initial Observations Let’s begin by making a few observations that might be useful: 1. By saying “the direction of the Sun’s rays is ˆr = ˆara + ˆbrb + ˆcrc”, we assumed that all of the Sun’s rays are parallel. We’ll use that assumption throughout this document. 2. The tip of the shadow is at the point where a ray that just grazes the tip of the pole intersects the surface of the plaza. 3. Therefore, the vector from the tip of the pole to the tip of the shadow is some scalar multiple of ˆr. We’ll call that scalar multiple λˆr, and add it to our earlier diagram to produce Fig. 2. 4. From Fig. 2, we can see that s = g + λˆr. 2.2 Recalling What We’ve Learned from Solving Similar Problems Via GA Let’s also refresh our memory about techniques that we may have used to solve other problems via GA: 1. Problems involving projections onto a plane are usually solved by using the appropriately-oriented bivector that is parallel to the plane, rather than 3
  • 4. Figure 2: The same situation as in Fig. 1, but noting that the vector from the tip of g to the tip of s is a scalar multiple (“λ”) of ˆr. by using the vector that is perpendicular to it. The Appendix (Section 5) shows how to find the required bivector, given said vector. 2. In a GA equation with two unknowns, such as the equation s = g + λˆr at the end of the preceding list, a common strategy is to eliminate one of the unknowns by using either the “dot” product or the ‘wedge” product (“∧”) with a known quantity. Examples of this strategy are given in Ref. [2], and in Ref. [3], pp. 39-47. 2.3 Further Observations, and Identifying a Strategy Guided by Sections 2.1 and 2.2, we might realize that the vector s is perpendicular to ˆe. Thus, one method of solving the equation s = g + λˆr is to eliminate s by “dotting” both sides with ˆe, thereby obtaining an equation that from which we can obtain an expression for λ in terms of g, ˆe, and ˆr. That expression can then be substituted for λ in the original eqation (s = g + λˆr) to find s. The same observations that led us to the first strategy also lead us to see that s is parallel to the plane of the plaza. Therefore, s’s product “∧” with the bivector that’s parallel to that plane is zero. That is, if we denote said bivector by the symbol “T”, then s ∧ T = 0. Using this observation, we also arrive at an equation for λ—and thus for s—but this time in terms of g, ˆr, and T. We’ll use both approaches in this document. 3 Solutions for s We’ll begin with the solution that uses the normal vector ˆe. 4
  • 5. 3.1 Solution via the Inner Product with ˆe Taking up the first of the solution strategies that we identified in Section 2.3, we write s = g + λˆr; s · ˆe =0 = (g + λˆr) · ˆe; ∴ λ = − g · ˆe ˆr · ˆe . (3.1) Question: Does our expression for λ make sense? Let’s pause for a moment to examine that result before proceeding. Does it make sense? The geometric interpretation of that result is that |λ| is the ratio of the lengths of the projections of g and ˆr upon ˆe. So far, so good—a study of Fig. 2 confirms that |λ| must indeed be equal to that ratio. Examining Fig. 2 further, we see (1) that no shadow will be produced unless λ is positive, and (2) that no shadow will be produced unless the projections of g and ˆr are oppositely directed. Eq. (3.1) is consistent with those observations: λ is positive only when g · ˆe and ˆr · ˆe are opposite in sign, and that difference in sign occurs only when ˆe and ˆr are oppositely directed. Now that we’ve assured ourselves that our expression for λ makes sense, we continue by making the substitutions ˆr = ˆara + ˆbrb + ˆcrc, g = ˆaga + ˆbgb + ˆcgc, and ˆe = ˆaea + ˆbeb + ˆcec: λ = − ˆaga + ˆbgb + ˆcgc · ˆaea + ˆbeb + ˆcec ˆara + ˆbrb + ˆcrc · ˆaea + ˆbeb + ˆcec = − gaea + gbeb + gcec raea + rbeb + rcec . (3.2) Now, we substitute that expression for λ in our original equation, then simplify: s = g + λˆr = ˆaga + ˆbgb + ˆcgc − gaea + gbeb + gcec raea + rbeb + rcec ˆara + ˆbrb + ˆcrc . By expanding the product on the right-hand side, then rearranging, the result is s = ˆa ga (rbeb + rcec) − ra (gbeb + gcec) raea + rbeb + rcec + ˆb gb (raea + rcec) − rb (gaea + gcec) raea + rbeb + rcec + ˆc gc (raea + rbeb) − rc (gaea + gbeb) raea + rbeb + rcec . (3.3) 3.2 Solution via the Outer Product with T In this section, we’ll write T as T = ˆaˆbτab + ˆbˆcτbc + ˆaˆcτac in order to arrive at a solution in which the plane of the plaza is expressed in that way. The Appendix 5
  • 6. (5) shows how to find T in terms of the components of ˆe. We indicated in Section 2.3 that because s is parallel to the plaza (and therefore to T), s ∧ T = 0. Using that fact, we arrive at a preliminary version of λ as follows: s = g + λˆr; s ∧ T =0 = (g + λˆr) ∧ T; λˆr ∧ T = −g ∧ T ∴ λ = − (g ∧ T) (ˆr ∧ T) −1 . (3.4) Now, we need to calculate g ∧ T and (ˆr ∧ T) −1 . To find the former, we use Macdonald’s ([4], p. 111) definition of the product “∧”. See also the list of formulas in Reference [2], pp. 2-4. g ∧ T = gT 3 = ˆaga + ˆbgb + ˆcgc T = ˆaˆbτab + ˆbˆcτbc 3 = ˆaˆbˆc (τabgc + τbcga − τacgb) . Similarly, ˆr ∧ T = ˆaˆbˆc (τabrc + τbcra − τacrb). We recognize the product ˆaˆbˆc as I3: the unit pseudoscalar for G3. Its multiplicative inverse (I−1 3 ) is −I3, = −ˆaˆbˆc. Therefore, multiplicative inverse of ˆr ∧ T is (ˆr ∧ T) −1 = I−1 3 |ˆr ∧ T| 2 = − ˆaˆbˆc (τabrc + τbcra − τacrb) 2 . Using that result, and our expression for ˆr ∧ T, Eq. (3.4) becomes λ = − ˆaˆbˆc (τabrc + τbcra − τacrb) − ˆaˆbˆc (τabrc + τbcra − τacrb) (τabrc + τbcra − τacrb) 2 = − τabgc + τbcga − τacgb τabrc + τbcra − τacrb . (3.5) Substituting this expression for λ in s = g + λˆr, we obtain s = ˆa τab (garc − gcra) + τac (gbra − garb) τabrc + τbcra − τacrb + ˆb τab (gbrc − gcrb) + τbc (gbra − garb) τabrc + τbcra − τacrb + ˆc τbc (gcra − garc) + τac (gbrc − gcrb) τabrc + τbcra − τacrb . (3.6) 6
  • 7. Figure 3: Screen shot (Ref. [5]) of an interactive GeoGebra worksheet that calculates the vector s, and compares the result to the vector s that was obtained by construction. 4 Testing the Formulas that We’ve Derived Fig. 3 shows an interactive GeoGebra worksheet (Reference [5]) that calculates the vector s, and compares the result to the vector s that was obtained by construction. The worksheet calculates λ from ˆe as well as from T, but shows the numerical calculation only for T because of space limitations. References [1] J. A. Smith, 2017a, “Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vectors and Bivectors in Geometric (Clifford) Algebra”, http://vixra.org/abs/1712.0393. [2] J. A. Smith, 2017b, “Some Solution Strategies for Equations that Arise in Geometric (Clifford) Algebra”, http://vixra.org/abs/1610.0054 . [3] D. Hestenes, 1999, New Foundations for Classical Mechanics, (Second Edition), Kluwer Academic Publishers (Dordrecht/Boston/London). [4] A. Macdonald, Linear and Geometric Algebra (First Edition) p. 126, CreateSpace Independent Publishing Platform (Lexington, 2012). [5] J. A. Smith, 2017c, “Projection of Vector on Plane via Geometric Algebra” (a GeoGebra construction), https://www.geogebra.org/m/ykzkbQJq. 7
  • 8. 5 Appendix: Calculating the Bivector of a Plane Whose Normal is the Vector ˆe As may be inferred from a study of References [3] (p. (56, 63) and [4] (pp. 106-108) , the bivector T that we seek is the one whose dual is ˆe. That is, Q must satisfy the condition ˆe = QI−1 3 ; ∴ Q = ˆeI3. (5.1) Although we won’t use that fact here, I−1 3 is I3’s negative: I−1 3 = −ˆaˆbˆc. where I3 is the right-handed pseudoscalar for G3 . That pseudoscalar is the product, written in right-handed order, of our orthonormal reference frame’s basis vectors: I3 = ˆaˆbˆc (and is also ˆbˆcˆa and ˆcˆaˆb). Therefore, writing Q as Q = ˆaea + ˆbeb + ˆcec, Q = ˆeI3 = ˆaea + ˆbeb + ˆcec ˆaˆbˆc = ˆaˆaˆbˆcea + ˆbˆaˆbˆceb + ˆcˆaˆbˆcec = ˆaˆbec + ˆbˆcea − ˆaˆceb. (5.2) To make this simplification, we use the following facts: • The product of two perpendicular vectors (such as ˆa and ˆb) is a bivector; • Therefore, for any two perpendicular vectors p and q, qp = −qp; and • (Of course) for any unit vector ˆp, ˆpˆp = 1. In writing that last result, we’ve followed [4]’s convention (p. 82) of using ˆaˆb, ˆbˆc, and ˆaˆc as our bivector basis. Examining Eq. (5.2) we can see that if we write Q in the form Q = ˆaˆbqab + ˆbˆcqbc + ˆaˆcqac , then qab = ec, qbc = ea, qac = −ec. (5.3) 8