SlideShare a Scribd company logo
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

More Related Content

PDF
Via Geometric Algebra: Direction and Distance between Two Points on a Spheric...
PDF
Via Geometric (Clifford) Algebra: Equation for Line of Intersection of Two Pl...
PDF
Making Sense of Bivector Addition
PDF
Solution of a High-School Algebra Problem to Illustrate the Use of Elementary...
PDF
How to Effect a Composite Rotation of a Vector via Geometric (Clifford) Algebra
PDF
Learning Geometric Algebra by Modeling Motions of the Earth and Shadows of Gn...
PDF
Solution of a Sangaku ``Tangency" Problem via Geometric Algebra
PDF
Solution of a Vector-Triangle Problem Via Geometric (Clifford) Algebra
Via Geometric Algebra: Direction and Distance between Two Points on a Spheric...
Via Geometric (Clifford) Algebra: Equation for Line of Intersection of Two Pl...
Making Sense of Bivector Addition
Solution of a High-School Algebra Problem to Illustrate the Use of Elementary...
How to Effect a Composite Rotation of a Vector via Geometric (Clifford) Algebra
Learning Geometric Algebra by Modeling Motions of the Earth and Shadows of Gn...
Solution of a Sangaku ``Tangency" Problem via Geometric Algebra
Solution of a Vector-Triangle Problem Via Geometric (Clifford) Algebra

What's hot (20)

PDF
Calculating the Angle between Projections of Vectors via Geometric (Clifford)...
PDF
Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...
PPT
Hat04 0203
PPT
Geometry unit 9.6 9.7
PPTX
Matrix transformation
PPTX
Connectivity of graphs
PDF
Computer Graphics & linear Algebra
PDF
Obj. 47 Effects of Changing Dimensions
PDF
6.3 Graphs of Sine and Cosine
PPTX
Computer graphics
PPTX
Computer Graphics
PPTX
Dot & cross product of vectors
PPTX
vector application
PPT
Geometry unit 9.2
PPTX
The vector or cross product
PPTX
3 d scaling and translation in homogeneous coordinates
PPTX
Fixed point scaling
DOCX
Do you know matrix transformations
PDF
Chapter 4
Calculating the Angle between Projections of Vectors via Geometric (Clifford)...
Three Solutions of the LLP Limiting Case of the Problem of Apollonius via Geo...
Hat04 0203
Geometry unit 9.6 9.7
Matrix transformation
Connectivity of graphs
Computer Graphics & linear Algebra
Obj. 47 Effects of Changing Dimensions
6.3 Graphs of Sine and Cosine
Computer graphics
Computer Graphics
Dot & cross product of vectors
vector application
Geometry unit 9.2
The vector or cross product
3 d scaling and translation in homogeneous coordinates
Fixed point scaling
Do you know matrix transformations
Chapter 4
Ad

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

PDF
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
PDF
Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...
PDF
Additional Solutions of the Limiting Case "CLP" of the Problem of Apollonius ...
PDF
Rotations of Vectors via Geometric Algebra: Explanation, and Usage in Solving...
PDF
1169 dfd8297
PDF
Solution Strategies for Equations that Arise in Geometric (Cliff ord) Algebra
PDF
Capitulo 1, 7ma edición
PPTX
MID TERM Revision on mechanicsxzxmfcl.pptx
PDF
Solution kepler chap 1
PDF
Applications Of Geometric Algebra And The Geometric Product To Solve Geometri...
DOCX
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
PPTX
2-Vector.pptx
PDF
dot product of vectors
PPTX
L.O.2.3 - Revision on Dot, Cross Product.pptx
PPT
Chap12_Sec3 - Dot Product.ppt
PDF
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
PPTX
Further pure mathmatics 3 vectors
PDF
Solucionario teoria-electromagnetica-hayt-2001
PPTX
applied modern geometry.pptx
PDF
Engineering Physics- Compilation of Equations and Corollaries.pdf
A Very Brief Introduction to Reflections in 2D Geometric Algebra, and their U...
Solution of the Special Case "CLP" of the Problem of Apollonius via Vector Ro...
Additional Solutions of the Limiting Case "CLP" of the Problem of Apollonius ...
Rotations of Vectors via Geometric Algebra: Explanation, and Usage in Solving...
1169 dfd8297
Solution Strategies for Equations that Arise in Geometric (Cliff ord) Algebra
Capitulo 1, 7ma edición
MID TERM Revision on mechanicsxzxmfcl.pptx
Solution kepler chap 1
Applications Of Geometric Algebra And The Geometric Product To Solve Geometri...
Chapter 12 Section 12.1 Three-Dimensional Coordinate Sys
2-Vector.pptx
dot product of vectors
L.O.2.3 - Revision on Dot, Cross Product.pptx
Chap12_Sec3 - Dot Product.ppt
Solucao_Marion_Thornton_Dinamica_Classic (1).pdf
Further pure mathmatics 3 vectors
Solucionario teoria-electromagnetica-hayt-2001
applied modern geometry.pptx
Engineering Physics- Compilation of Equations and Corollaries.pdf
Ad

More from James Smith (20)

PDF
Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...
PDF
Un acercamiento a los determinantes e inversos de matrices
PDF
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
PDF
Nuevo Manual de la UNESCO para la Enseñanza de Ciencias
PDF
Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...
PDF
Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...
PDF
"Rotation of a Rotation" via Geometric (Clifford) Algebra
PDF
Sismos: Recursos acerca de la inspección y refuerzo de edificios dañados por ...
PDF
A Modification of the Lifshitz-Slyozov-Wagner Equation for Predicting Coarsen...
PDF
Calculating Dimensions for Constructing Super Adobe (Earth Bag) Domes
PDF
Trampas comunes en los exámenes de se selección sobre matemáticas
PDF
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
PPTX
Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"
PDF
Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...
PDF
Ejercicios geometría, con respuestas
PDF
El cálculo de superviviencia
PDF
Cómo sumar fracciones algbráicas
PDF
Cómo entender el uso de escalas logarítmicas
PDF
El desarrollo de ecuaciones lineales
PDF
Cambios de óptica en el curso de un despeje
Using a Common Theme to Find Intersections of Spheres with Lines and Planes v...
Un acercamiento a los determinantes e inversos de matrices
Understanding the "Chain Rule" for Derivatives by Deriving Your Own Version
Nuevo Manual de la UNESCO para la Enseñanza de Ciencias
Estimation of the Earth's "Unperturbed" Perihelion from Times of Solstices an...
Formulas and Spreadsheets for Simple, Composite, and Complex Rotations of Vec...
"Rotation of a Rotation" via Geometric (Clifford) Algebra
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...
Calculating Dimensions for Constructing Super Adobe (Earth Bag) Domes
Trampas comunes en los exámenes de se selección sobre matemáticas
Why Does the Atmosphere Rotate? Trajectory of a desorbed molecule
Kepler and Newton vs. Geocentrism, Flat Earth, and the "Vortex"
Proporciones de los radios y distancias en una "cadena de Steiner" de 6 circu...
Ejercicios geometría, con respuestas
El cálculo de superviviencia
Cómo sumar fracciones algbráicas
Cómo entender el uso de escalas logarítmicas
El desarrollo de ecuaciones lineales
Cambios de óptica en el curso de un despeje

Recently uploaded (20)

PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
master seminar digital applications in india
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Classroom Observation Tools for Teachers
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Cell Structure & Organelles in detailed.
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
01-Introduction-to-Information-Management.pdf
PDF
Sports Quiz easy sports quiz sports quiz
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
RMMM.pdf make it easy to upload and study
PDF
Basic Mud Logging Guide for educational purpose
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Computing-Curriculum for Schools in Ghana
Pharmacology of Heart Failure /Pharmacotherapy of CHF
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Classroom Observation Tools for Teachers
Abdominal Access Techniques with Prof. Dr. R K Mishra
Cell Structure & Organelles in detailed.
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Pre independence Education in Inndia.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
01-Introduction-to-Information-Management.pdf
Sports Quiz easy sports quiz sports quiz
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
RMMM.pdf make it easy to upload and study
Basic Mud Logging Guide for educational purpose
Supply Chain Operations Speaking Notes -ICLT Program
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...

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