Geometric Algebra: Conformal Geometry

This is the third and final chapter in my Visual Introduction to Clifford Algebra, following on from Chapter 2 on Projective Geometry in Geometric Algebra. In Chapter 2 we showed how the perspective projection provides a wonderful means for projecting an infinite external world into a finite projection. But there is a fundamental flaw in this concept, it can only project in one direction, for example it cannot represent opposite ends of a room simultaneously.

Projection3DSplit

Projective perspectives taken from opposite directions are incommensurable — they cannot be merged seamlessly without a sharp discontinuity where they join.

RailwayPerspective

The problem can be traced back to the concept of projection onto a plane, which can only depict one half of reality in principle. Here we show the principle of projection again for a two-dimensional Euclidean space viewed from a third-dimensional vantage point.

perspective2

We can see that the projection onto the image plane can only view the world in one direction, it cannot look in the opposite direction.

 

ConfFig4

The solution would be to project onto a surrounding sphere, instead of a plane, so you could project in all directions. But don’t put the viewpoint at the center of the sphere. In the first place you could only ever use the lower hemisphere for projections on the Euclidean plane.

ConfFig5

Instead, the viewpoint is located at the top pole of the sphere, and the reason for that is that it confers some extraordinary invariances to the projection, which is a conformal projection.

ConfFig6

This is the first stage of the conformal projection in Geometric Algebra as proposed by David Hestenes.

Stereographic2

Here is a 3-D depiction from Wikipedia of the stereographic projection of the two-dimensional Euclidean plane. The Euclidean point A projects to conformal point α = P(A) where the line PA meets the stereographic sphere. Note that a stereographic projection can be defined with the projection sphere tangent to the Euclidean origin, as shown further above, or with the center of the sphere on the Euclidean origin,  as shown here, the only difference being that in the latter case the angle APO is double the angle computed as above, but both are legitimate stereographic projections.

StereographicGrid

Here is a stereographic projection of a square grid centered on the origin. The center of the grid, point (0, 0) projects to the nadir of the sphere. Points farther from that origin project higher on the sphere, and the outer perimeter of the grid projects around the top of the sphere, surrounding the polar apex that represents all points at infinity.

ChessboardInverseRing

The stereographic projection is closely related to the inversive function shown here from the center of a chessboard on the left, with the unit circle marked in red. To the right is a magnified view within that unit circle. Note how the nearest four squares surrounding the circle are reflected in the periphery of the circle, whereas farther ranks of squares are reflected deeper toward the center of the circle.

StereoInversive

The stereographic and inversive functions are related by a reflection symmetry across the Euclidean plane, as shown in this Wiki Page. The stereographic projection of point P’ on the number line is point P on the unit circle. Q is a point on the unit circle that is a mirror reflection of P across the number line. The inverse of P’ is the stereographic projection of Q, which is P” or Q’. Note that the stereographic projection and the inverse function are identical at points zero and one, so the inversive function is very similar to a projection of the stereographic projection down onto the Euclidean plane.

So the stereographic projection is related to the strange and extraordinary inversive function that we encountered in Chapter 1 at the origin of our number line! This is a mapping that inverts proximal and distal, i.e. nearness flipped with farness, with the most extraordinary property that all of the distinct infinities found in every distinct direction from the center, all map to a singular central point in the conformal mapping! The bizarre inversive function found at the center of our number line is a variation on the stereographic projection.

Stereographic

This stereographic projection exhibits some extraordinary invariances. A circle on the Euclidean plane maps to a circle in the conformal projection.

Stereographic3 Stereographic4

The stereographic projection of a straight line in Euclidean space projects to a circle in conformal space, a circle that passes through infinity at the pole of the projection sphere. Two lines that cross at a point in Euclidean space project to two circles in conformal space that intersect at two points, once corresponding to where they cross in Euclidean space, and again where they cross at infinity.

Circles and straight lines are the same shape in this space!

It is a regularity that becomes apparent only in the conformal projection.

The bizarre inversion of proximal with distal, turning near and far inside-out, wraps infinity in a finite package that is more manageable for a finite mind than any kind of representation out to infinity, if such a thing is even possible for a real physical representation.

Catadioptric

The utility of this conformal mapping has already been demonstrated in Catadioptric Photography, (Geyer and Daniilidis 2001)  i.e.  photography using a combination of mirrors and lenses. It turns out that taking a photograph through a reflection in a parabolic mirror (upper left) is mathematically equivalent to the stereographic projection (upper right). On the lower left is a photograph taken in this manner. The dark circle at the center is a mirror image of the lens that is taking the picture. Around it is a reflection of the surrounding room looking in 360 degrees all around. The camera and the mirror appear to be attached to a pegboard with an array of regularly spaced holes, evident in the reflection in the lower left quadrant. The straight lines of holes in the pegboard map to perfect circles in the conformal projection, as traced out at the lower center. And circles are particularly easy to detect due to their concentric symmetry about a center. An inverse conformal mapping applied to the conformal image (lower right) restores the linear alignment of the holes in the pegboard.

 Conformal Projection in 3-D through 4-D

The examples of conformal projection presented above involve a projection from a two-dimensional Euclidean space, for simplicity of exposition. But the conformal projection active in perception is a three-dimensional phenomenon making use of a projection through a fourth spatial dimension. It is difficult to visualize operations in a fourth dimension. However there is a peculiar feature of the conformal mapping that simplifies the visualization considerably.

Stereographic5_1

In two-dimensional Euclidean space, every direction in the (x, y) plane extends outward from the origin to its own unique infinity. But in the conformal projection, all of those infinities map to the same polar point at the pole of the sphere. This works only because every one of those directions in the (x, y) plane is orthogonal to the z dimension that defines the north pole of the stereographic sphere.

Stereographic5_2

To expand into three-dimensional conformal projection,  a fourth dimension is required that is simultaneously orthogonal to x, y, and z. This fourth dimension is easier to visualize because of the fact that although every distinct direction in x, y, and z, has its own unique infinity in that direction, all of those infinities map to the same single central point in the conformal projection, and that point is a finite unit distance away, so the entire squashed fourth dimension is contained within a three-dimensional shell. It is a closed dimension that mimics infinity in a finite package. So we can visualize a three-dimensional conformal mapping as a finite spherical space where infinity maps to a singular point at its center.

Inverse7

What we have is that same bizarre mapping that we encountered in the inversive function.

Sphr

 

Here is the conformal reflection of a cylindrical rod. If the rod grows to infinite length, its conformal reflection forms a complete ring through infinity. It is possible to track this growth all the way to infinity in the conformal mapping, that is impossible in the Euclidean mapping, you cannot depict an infinite rod on a finite page no matter how small you scale it.

SpherePillars

This is the conformal reflection of four pillars on a square base. There is a peculiar fish-eye-lens warp in the conformal projection that seems hauntingly familiar.

InversionBubble1small

When I first encountered Hestenes’ conformal mapping (Hestenes et al., 2000, Perwass & Hildenbrand 2004), I was struck by the similarity to another conformally warped world that I had been studying, the perspective warp observed in visual experience (Lehar 2003, 2003, Cartoon Epistemology). You can see this conformal warp when standing on a long straight road. The sides of the road converge to a point by perspective on the horizon ahead, and if you turn around, they converge to a point in the opposite direction too. And yet at the same time the road appears straight and parallel and undistorted throughout its length. Objects in the distance appear smaller by perspective, and yet at the same time they appear undiminished in size.

Hallway1

In case you have never noticed this warp of perceptual experience and may even question its reality, I conducted the “Hallway experiment” in a hallway at the Schepens Eye Research Institute. Subjects placed in the hallway were given three cardboard models, and they were asked to choose which model best matched their experience of the hallway. Not the geometry of the hallway as they “knew” it to be, but the shape of their experience of the hallway. Did it appear as a rectangular prism with right angled corners and parallel sides, as in model A? Or did it appear as a flat two-dimensional projection as depicted in model C? Or did it appear somewhere in between, like a bas-relief perspective scene with lines converging toward a vanishing point as shown in model B? Subjects responses were divided between models A and B.

Hallway2

Then the subjects were presented with a fourth model, D, that was identical to model B except that it was etched with a perspective distorted grid and the subjects were told that the grid represented the scale of the model. In other words, this was a scale model like any scale model except that the scale varied with depth, such that the grid panels in the distance appeared smaller by perspective but they were the same objective size as the apparently larger panels in the foreground.

When offered this alternative all of the subjects chose model D. This demonstrates a profound duality in spatial perception whereby objects in the distance appear smaller by perspective, yet at the same time they are judged not to be smaller in objective size. They are perceived to be shrunken by perspective, and at the same time they are perceived undiminished in size, because they span the same number of grid lines in the warped perspective grid.

InversionBubble2small

This duality in size perception is the firmest proof that the world we see around us in experience is not the world itself, but merely an internal perceptual replica of that world in an internal representation with a peculiar conformal warp that allows it to package all of external space out to infinity in all directions into a finite spherical package whose extreme conformal warping might not even be noticed by the casual observer.

InversionBubble13

There is a compelling similarity between the conformally warped world of perceptual experience, and the conformally warped inverse world of the stereographic projection. In some ways these two warped worlds bear an eerie similarity, and yet in other ways they seem like polar opposites. The Bubble World perspective is big in the middle and shrinks to nothing in the periphery, whereas the “inversive” world of the stereographic projection is big at the periphery and shrinks to nothing at the center. Besides being also turned inside-out.

InversionBubble36

It finally dawned on me how these two worlds were related. One is the radial reflection of the other, conformally reflected across the surface of the unitary sphere. The large house in the foreground in the outer Bubble World perspective corresponds to the larger house in its inversive reflection near the surface within the unitary sphere, while the smaller houses into the distance in the Bubble World perspective correspond to the smaller houses toward the center of the inversive sphere.

InversionBubbleB

And in case you were wondering what happened to the percipient of this experience, there he is, nestled in between the two worlds, the bounding surface between the internal self and the external world. In my experience I do see the surrounding world warped in the Bubble World perspective. But I see no trace in my experience of that weird inside-out conformally reflected world, although I do perceive some of the regularities that are detectable only in that inversive world. I do perceive a “circularity” in an endless row of identical houses, and how progressing toward infinity is much like running on the spot in a hamster wheel.

My Own Contribution to Geometric Algebra

The conformal mapping between the Bubble World and its inversive reflection  finally made sense in my mind of the next step in the conformal mapping as proposed by David Hestenes. According to Hestenes, the conformal mapping occurs in two stages, first a conformal reflection into the unit sphere through an inversive function as described above. After that, a second outward reflection that projects the results of the symmetries detected in the inversive sphere back from the inside-out inverse world out to the right-side-in Euclidean world with an inverse of the inverse transformation.

SphereLine4 SphereLineA30

 

For example a three-dimensional line in external space projects to a curved arc in conformal space, such that the radial distance of every point in that reflection from the origin is the inverse (1/r) to the radius r of the corresponding point in the line itself.

SphereLine5

The regularity, or collinearity of the line is recognizable in the inversive reflection by the fact that the curved line is a circular arc that is part of a circle that passes through infinity at the center of the inversive space. The implications of this detected regularity are projected back out again by an inverse of the inversive function r² (every radial distance in the reflection is squared) because the square function cancels the inverse function to restore the original distance r in Euclidean space. ( × 1/r = r).

SphereLine6

This outward projection is not particularly useful for restoring the line itself, if the line was given in the first place.

SphereLine8

The restoration is more useful for restoring the geometrical regularities detected in the conformal reflection, for example the fact that the given line segment is a part of an infinite line that stretches to infinity in opposite directions. That extrapolation is inverse-projected from the circle in the inverse world back out into Euclidean space, where it completes the symmetry of the line out to infinity.

Now this projection stage of the conformal mapping immediately bothered me, because points from the center of the inversive sphere would have to be projected all the way to infinity. But nothing can actually project to infinity! Infinity is fine as a mathematical abstraction, but for those of us who believe that mathematics is a physical mechanism, or analog computational projection taking place in the physical brain, the notion of projection to infinity is a physical impossibility.

SphereLine11vergence

The conformal distortion manifest in the Bubble World perspective suggests that the outward projection need not be a projection to actual infinity, but just to another conformal reflection bounded by a finite limit representing infinity. In this case the conformal projection chosen was the vergence measure of distance, i.e. the angle between the direction of gaze of two eyes in a binocular system that ranges from v = π for objects at zero distance to v = 0 for objects at infinity.

Stereographic1D

Actually this is none other than a one-dimensional stereographic projection from the number line to the unit circle, wrapping the infinite linear range from zero to infinity into the finite bounded angular range of 0 to π in each direction. This is also simultaneously a kind of logarithmic transformation because adding angles on the closed angular scale corresponds to multiplying the corresponding quantities on the linear scale. This also explains why Clifford multiplication of angles produces a sum of those angles, not a product of them.

 

 

Inverse2InverseNumberline2

 

In fact, bounding the outward projection to a finite scope solves a number of thorny problems, for example the impossibility of the reciprocal function, that suggests a one-to-one mapping between every number x from one to infinity, and its reciprocal  1/x in the bounded range between zero and one. The Bubble World conformal mapping transforms that to a one-to-one mapping between points in one finite conformal space to corresponding points in another. It is no longer an impossible mapping, but one that is perfectly possible in a real physical implementation.

A mathematics that pretends to encompass infinity, bears a permanent scar of profound paradox right at the point where it (supposedly) makes contact with infinity. A mathematics that acknowledges the profound impossibility of infinity, and thus places it in effigy at a distance that is less than infinite, marries with “infinity” as a spatial continuum, a structure that can in principle be implemented in a finite physical mechanism like the human brain.

InverseNumberline3

And of course on our number line the same compression is performed in the negative direction too, the stereographic projection ranges from -π to π, to produce a number line that extends all the way from “infinity”, a pseudo-infinity, or end-point on the line in one direction to “infinity” in the opposite direction. This “infinity” represents infinity without actually being at an infinite distance from the origin. This pseudo-infinity is now just a regular number, and division by zero is no longer a forbidden operation, 1/0 is now equal exactly to “∞”, which is distinct from ∞ because nothing can actually go to infinity so we don’t even include it in our math.

A Perceptual Model

The peculiar inverse relationship between Euclidean and conformal spaces suggests a perceptual model in which the inverse conformal reflection of a sensory input serves to detect regularities hidden in a two-dimensional stimulus, and use those regularities to project a three-dimensional image of the objects most likely to have been the cause of that stimulus. In other words, the conformal model helps to solve the inverse optics problem that seeks to invert the projection of the eye to reconstruct a three-dimensional world consistent with the two-dimensional retinal image, as suggested with a simple example below.

SphereLine13

A line in external space is projected to a two-dimensional retinal projection by the optics of the eye, represented by a patch on the surface of the conformal sphere. The information of three-dimensional depth is lost in the optical projection.

SphereLine14SphereLine15

The retinal image is then inverse-projected into the inverse conformal sphere where it spreads throughout a planar probability field that represents all of the possible locations in depth that project to that same linear stimulus. This expresses the fundamental ambiguity in monocular vision whereby the depth value  is lost in the optical projection. The inverse projection represents a simultaneous reification of every possible edge at every possible orientation that all project to that linear stimulus. From that infinite set of alternative interpretations, the visual system selects one that has the greatest simplicity, or symmetry, (Gestalt prägnanz) in the conformal reflection. For example one possible interpretation of the linear stimulus is as a straight line that stretches to infinity in opposite directions, recognized by the fact that its inverse projection in the conformal sphere defines a circle through the origin.

SphereLine11

The result of that regularity detection process is then projected back out, not into the external visual world that was the original source of the visual stimulus, but out into a conformal representation of that external space wrapped up in a finite spherical representation whose outer surface represents infinity in all directions.

BubbleDiorama

Here is a diorama that I built to demonstrate the geometry of perceptual experience.

InversionBubbleC2

It is noteworthy that the external Euclidean world, the conformally warped “Bubble World”, and the bizarre inverse conformal world, all project radially to the same retinal image! For example a photograph of my Bubble World Diorama taken from its focal center would be identical to a photograph of the original scene represented by the model.

PerspectiveProjection

 

The retina is a spherical surface, and thus its fundamental coordinates are visual angles, and thus visual angle is the only component of external reality that is preserved through the retinal projection. It is this most certain and unambiguous information of the retinal image that is used to connect to the inversive conformal world, and its conformal reflection across the unit sphere in the surrounding Bubble World perspective that seeks to model the external world guided by the regularities detected in its inversive reflection.

Non-Euclidean Geometries

 NonEuclidean

The peculiar warp observed in the Bubble World perspective and its inversive counterpart in the conformal sphere is reminiscent of non-Euclidean geometry. Three mathematicians, Karl Friedrich Gauss, Nicolai Lobaschefsky, and Janos Bolyai, each independently wondered while studying Euclid’s “Elements” why Euclid had not bothered to prove his “Fifth Postulate” with the same rigor as he had with the rest of his postulates. Essentially the “Fifth Postulate” states that if two lines that cross a third line form internal angles that sum to less than 180 degrees, then those lines must cross somewhere.

ParallelPostulate

This is equivalent to the “Parallel Postulate” that parallel lines never meet, and it is also equivalent to the rule that the internal angles of a triangle sum to 180 degrees. Each of those three mathematicians set out to prove the Fifth Postulate, and all three of them failed, because although the postulate seems self-evident, it is in fact impossible to prove.

InversionBubble35

That in turn opened the possibility for non-Euclidean geometries, i.e. that it is possible to define a whole non-linear equivalent to Euclidean geometry that works in a space with positive curvature like the Bubble World perspective.

InversionBubble37

 

And likewise by symmetry, one that works in a space with negative curvature, like the inversive conformal world. For example the Pythagorean theorem can be demonstrated and proven in the distorted non-Euclidean spaces above just as easily as it can in Euclidean form. Euclidean geometry is a subset of a whole family of non-Euclidean geometries through a range of curvatures both positive and negative.

Gauss was genuinely disturbed that we cannot be sure that our world is truly Euclidean, it could just as well be of a non-Euclidean geometry. The perceptual model suggests that Gauss’ fear was well founded, that our “Bubble World” perspective that we see in the world around us does indeed exhibit a non-Euclidean geometry with positive curvature, and the inversive conformal world suggested by Geometric Algebra is a mirror image of that world in a space with negative curvature. The two nonlinear geometries are connected to each other and to external reality by the Euclidean geometry that they share in common.

Properties of the Conformal Model

InversionBubble36

The concentric inside-out mirroring between a central inversive conformal sphere of negative curvature, and a surrounding conformal sphere with positive curvature, offers an extraordinarily powerful system for representing geometrical form based on a very few foundational primitives.

animA

The outer Bubble World conformal mapping offers a finite bounded space capable of representing an infinite unbounded space that can now represent space all the way to infinity in all directions!

animB

The inner inversive conformal sphere at the center can be viewed as a kind of “projection mechanism” capable of projecting geometrical images into the outer projective space based on symmetries reflected in the inner inversive space.

animC

Vectors in the conformal sphere project to points in the perceptual sphere, the radial length of the vector being inversely proportional to the radial distance of the point it represents. A vector of length zero projects to “infinity” at the periphery of the perceptual space.

ProjectionBubble9

Two vectors presented simultaneously or successively represents two points in perceptual space.

ProjectionBubble11

The wedge product between two points defines the line that joins them in perceptual space. It also defines a circular arc in conformal space.

animD

 

The Inner Product Null Space (IPNS) of that wedge product represents the whole line of which the line segment is a part, which completes to a full circle in the inverse conformal sphere.

animE

This is not just a single line through the center, it can represent a range of geodesics which appear curved, but represent straight lines in that curved space.

animF

The wedge product between three points defines the circle that joins them! Circles and straight lines are the same shape in this space.

animG

And if one of the three points moves off to “infinity”, the wedge product defines a circle of infinite radius. A circle of infinite radius is a straight line that passes through the non-infinite points.

The wedge product between four points defines the spherical shell that passes through those four points.

animH

And if one of those points moves off to infinity, the wedge product defines a spherical shell of infinite radius, which is a plane that passes through the three non-infinite points. Spherical shells and flat planes are the “same shape” in this space.

Here are some animations using the GAViewer (Geometric Algebra Viewer) demonstrating the principles of conformal geometry showing only the objects in external Euclidean space, although the symmetries observed in this space reflect symmetries in the inverse conformal world. (The GAViewer demonstrates Hestenes’ conformal mapping that projects back out to Euclidean space, not the conformal Bubble World space)

pts

Here are four points, a, b, c, d, disposed about an (arbitrary) origin o. In conformal geometry points are dual spheres of zero radius. The dot product between two points is a scalar that is proportional to the square of the distance between them. The dot product therefore is a distance measure in conformal geometry.

dualpt

The dual of a point is a sphere, and the dual of a sphere is a point. Points and spheres are the “same shape” in this space.

pp

The wedge product between two points defines the point-pair, or line segment that joins them. Actually a point-pair is a one-dimensional sphere, i.e. two points that are equidistant from some center.dualpp

 

The dual of a point-pair is a circle whose radius is proportional to the separation between the two points. The dual of a circle is a point-pair.

lin

The wedge product between two points and “infinity” is the straight line containing the two points. “Infinity” is a single point that can be found in all directions.

The dual of a line is its normal plane, and the dual of a plane is its normal line.

circ

The wedge product between three points defines the circle that joins them. This only really makes sense in the inverse conformal world where circles and straight lines are the “same shape”. It is a symmetry that shines back out to the Euclidean world.

circm

See how the circle morphs as its defining points move. As the third point passes between the other two, the circle momentarily becomes a “circle of infinite radius”, i.e. a straight line.

plan

The wedge product between three points and “infinity” defines the infinite plane that passes through those three points.

spher

The wedge product between four points defines the sphere that passes through those points.

spherm

See how the sphere morphs as its defining points move. As the fourth point passes through the plane defined by the other three, the wedge product momentarily becomes an infinite plane before turning completely inside-out through “infinity”.

Closure

There are a number of curious properties of the conformal model that are a result of its circular closure.

 

RotationTranslationReflection

 

We learned in Clifford Algebra that rotations can be expressed as double reflections. In the conformal model translation is a rotation about infinity.

EuclideanTransReflections

Indeed all Euclidean transformations can be expressed as reflections in the conformal model! Scaling requires a reflection through a “curved mirror”, which is exactly a conformal reflection. The fact that the elements of Euclidean geometry, points, lines, planes, and spheres, are all essentially the “same shape” in conformal space, and the fact that so many Euclidean transformations can be expressed in terms of reflections is highly suggestive of a computational mechanism in the brain based fundamentally on reflections and projections between spherical elements in a conformal model.

InversionBubbleB

We can now see the full implications of the principle of closure manifest at so many different levels in Geometric Algebra. Closure is not a property that makes for an accurate rendition of external reality. Closure introduces a circular warp in the representation of Euclidean space, bending straight lines into curved geodesics, and flat planes into spherical surfaces. It presents a multiplication that goes round and round instead of in and out from the origin. The purpose of closure in mathematics is the same as for the odometer, or the digital register: It provides a computational mechanism that will never “run off the edge of the page”, or roll off the end of a register, the register simply rolls back around through zero, wrapping infinity up in a finite circular reel.

InverseNumberline3

There never were straight lines in the brain, the number line never extended to infinity. Like the geometry of perceptual space, the number line only approximates the linearity of the true theoretical number line, and it does so adequately only in regions relatively near the origin. It fails catastrophically at the point where it meets infinity because “infinity” falls infinitely short of true infinity at the end of the number line. Closure is what allows the mind to encompass the infinite without having to be itself infinite in extent. Closure is a practical solution to the problem of modeling an essentially infinite world in a finite bounded representation. Like the dome of the night sky, closure in mathematics is evidence of the limits and limitations of our own mind.

 Conclusion

The history of Algebra has been the history of an incremental discovery of an apparently pre-existing structure. At first, the operations of mathematics were seen as convenient tricks or techniques useful for computing quantitative results. Math seemed at first to be a human invention, as individual mathematicians were credited with inventing different tricks or techniques that simplified calculations. But as more of mathematics has been revealed, the more it has become clear that mathematics is a pre-existing structure with an inherent logic of its own, and new additions to math are not arbitrary inventions, they are incremental discoveries of the hidden logic underlying mathematics. Negative numbers and the square root of minus one, it seems, were there all along waiting to be discovered, implicit in the structure of the number line and the algebraic operations on it. But if mathematics is a pre-existing structure, what is that structure, and where is it located? The time has come to finally reject the romantic notion of mathematics as an objective external entity with independent existence in an orthogonal dimension inaccessible to scientific scrutiny. The time has come to recognize mathematics for what it truly is, an artifact of the way our brain makes sense of spatial reality. Mathematics has physical existence and embodiment in the human brain. But where in the fleshy blobby grey matter of the brain would you begin to look for geometric structures like the number line? And the crystalline perfection of points and lines and planes? The brain just seems like the wrong kind of organ to express that kind of crystalline perfection.

MusicalScore

Mathematics is not the only artifact of the computational principles of the human mind. Many have observed the intimate relationship between mathematics and music, with its geometric harmonies and periodic rhythms, and its cyclic patterns of melody, reminiscent of the rotation of a Clifford Algebra spinor.

The periodic ticks of a metronome mark out periodic intervals of time as regular as the number line.  Could it be that music is yet another manifestation of the mechanism of mind? That would at least resolve the long-standing mystery of the origins and evolutionary purpose of music. And if music reveals the mechanism of mind, it also reveals mind to be composed fundamentally of oscillations. It is no accident that Clifford Algebra provides such an elegant model of cyclic oscillations, such as the spin of elemental particles. That is because Clifford Algebra is patterned on the oscillations in the human brain.

Cathedrals

Yet another manifestation of the principles of perception is seen in ornamental art as seen churches, cathedrals, mosques, and palaces all around the world. Ornament is visual music, with its many symmetries and periodicities and crystalline perfection. If visual ornament is indeed an artifact of the computational principles of the mind, then visual ornament reveals a mechanism based on symmetries and periodicities, which are also properties of standing waves, as seen in Chladni figures obtained by bowing a steel plate with a violin bow.

Chladni

Harmonic resonance is a self-organizing principle of physical matter expressed in terms of symmetries and periodicities.  The complexity of the pattern that emerge far exceeds the complexity of the mechanism that produces them, which is just a homogeneous steel plate.

Below are a sample of the possible Chladni figures on a square plate and a circular plate. The circular patterns can emerge at any orientation.

Chladni1Chladni2

Chladni figures demonstrate the basic computational principle of the brain, a principle that requires no complex mechanism besides spontaneous emergence of standing waves, a principle that is consistent with the crystalline perfection of the number line, and the concepts of points and lines and planes. And if that is not yet evidence enough for harmonic resonance in the brain, Heinrich Klüver administered LSD to volunteers who then lay in a dark room and reported their visual hallucinations. The subjects reported patterns described as grating, lattice, fretwork, filigree honeycomb, chessboard, cobweb, funnel, tunnel, cone, and spiral, that spontaneously appeared.

KluverFormConstants

The patterns were exceedingly rich and complex, but each pattern appeared only for a fleeting moment before morphing endlessly into other patterns. Geometrical patterns are the primitives of visual perception.

LukeBrownInnerSanctum

The significance of all this symmetry to the principles of perception is revealed by psychedelic art, for example this spectacular piece called Inner Sanctum by Luke Brown inspired by the Salvia experience. If the human mind spontaneously hallucinates images so rich with symmetries and periodicities, that also suggests a harmonic resonance mechanism capable of generating hundreds of such hallucinated scenes per second.

Kaleidoscope

Indeed the fact that we can instantly recognize the symmetry of a kaleidescopic pattern, is itself evidence for a symmetry-based recognition system, one that must operate in parallel to solve this intractable visual problem so rapidly.

EscherCircleLimit4

The hyperbolic geometry of the conformal mapping is in evidence in Escher’s woodcut Circle Limit IV.

If we accept the overwhelming evidence that mathematics, music, and ornamental art are all artifacts of the computational mechanism of the brain, then we can begin to study the brain based on the properties of those artifacts. Clifford Algebra in particular suggests the operational principles of the elements of perception, or how the brain constructs geometric objects out of the basic primitives of scalars, vectors, and multivectors of higher dimension. Clifford Algebra reveals that the computational operations of the brain are explicitly spatial in nature, and that spatial nature is essential to their computational function.

dualpt

The concept of duality is highly suggestive of the relationship between a standing wave oscillation as on a Chladni plate, and the nodes of that wave which are the regions where there is no oscillation. The pattern of nodes determines the shape of the vibration just as well as the vibrations themselves. For example the duality between a sphere and its central point is suggestive of a spherical standing wave oscillating between the spherical surface and its central point of symmetry.

The conformal mapping of Geometric Algebra offers a clear hint as to how a finite but explicitly spatial model can encode an essentially infinite space in a manner that seems invisible to the percipient. We have the illusion of being in a practically infinite space when outdoors, although our experience is bounded by the dome of the sky. Anything farther than that horizon is usually  insignificant to our experience.

NumLinRef

The fact that a conformal projection is itself a form of reflection, and that reflection is a most fundamental operation in Geometric Algebra suggests that the computational mechanism of the brain is built up out of simple basic elements, as are Clifford Algebra and Geometric Algebra.

NonlinearOptics

The principles of phase conjugation and nonlinear optics demonstrate how a wave based system can perform computations. Whereas linear waves pass through each other transparently as if the other wave were not there, nonlinear waves warp the medium sufficient to deflect other waves, and this provides an essential control mechanism whereby one wave can modulate another, in a manner that is suggestive of a bivector formed by the wedge product between two waves, and that bivector in turn can act to deflect a third wave by Clifford multiplication. I have proposed a model of perception based on the principles of phase conjugation (Lehar).

DotWedgeDemo

The many phasic reversals of Clifford multiplication, and the fact that angles are represented by their projections onto the basis coordinates is suggestive of a phasic cyclic system like the Clifford Vectors Analog Electronics Analogy. I propose that the next step in investigating the computational principles of the brain would be to devise a phasic cyclic analog oscillatory model of Clifford multiplication as an image projection mechanism, capable of generating synthetic images.

HamiltonGrassmanCliffordHestenes

The discovery of Clifford Algebra, and its subsequent elaboration into Geometric Algebra marks a profound turning point in the history of mathematics where we can finally realize what it is that we have been studying all along.  When Hamilton invented his Quaternions, and Descartes plotted numbers graphically, when Gibbs invented vectors and their dot and cross products, when Herrmann Grassman invented the wedge product, unbeknownst even to themselves, these mathematical pioneers were unwittingly studying the principles of operation of the human mind implemented in the brain. Now that we know what it is we are studying in mathematics, we can begin to reverse-engineer the operational principles of our own brain under the guidance of Clifford and Geometric Algebra.

 

 

 

 

 

Posted in Uncategorized | Tagged , , | 8 Comments

Geometric Algebra: Projective Geometry

The first chapter in this series, Clifford Algebra: A Visual Introduction, presented a brief history of the incremental discovery of algebra, culminating in the discovery of Clifford Algebra, the algebra that subsumes them all, because Clifford Algebra is not just another algebra, it is the radical discovery that all of algebra is ultimately based in geometry.

In this chapter we move on to a projective geometry obtained by adding one extra dimension, and viewing the Euclidean world from that standoff perspective. If done correctly, this technique provides some extraordinary invariances to our representation, in particular by providing an elegant means to deal with the problem of “infinities”, or how to represent an infinite world within a finite representation.

A final chapter will cover the Conformal Geometry, the most spectacular addition to Clifford Algebra.

The problem of infinities can be seen when considering the number line, or the x axis. You can never depict this number line explicitly on the page the way you can depict a line segment of any length by scaling it to the page. It is the ends of the line, where it touches infinity in opposite directions, that pose the problem, because it is impossible to reduce the scale enough to depict all the way to infinity. Projective geometry offers a means to plot all the way to infinity on a finite page, and it does so using the same principle by which the lens in a camera, or in your eye, converges light to a focus to project a perspective image of the scene on a photosensitive surface.

Projective Geometry 2-D to 3-D

DurerPerspective

The idea behind projective geometry is to add an extra dimension to reality and to view the world from the perspective of that supernumerary dimension. We begin by demonstrating the principle first in two dimensions. Consider  a two-dimensional Euclidean space, or E2. We add a unit vector in a third dimension, and view the Euclidean plane from the perspective of that point. For example each integer value on the x axis becomes an angle viewed from that viewpoint, as traced in blue lines below. But angles don’t make much of an image, so we project each of those angles as a point on an image plane placed somewhere in the path of the sightline rays.

perspective2perspective4

This produces a perspective projection of the two-dimensional plane that records x values in one direction all the way out to infinity, with the property that the closer you get to “infinity” (the pseudo-infinity point in the projection) the more compressed the scale becomes. If you complete the plot for all points in x and y, that produces a perspective view of the Euclidean plane with a horizon line at “infinity” and vanishing points in the directions of the x and y axes.

perspective5

The same principle works just as well in three dimensions, producing full 2-D perspective views of a 3-D scene. This principle makes perfect sense in perception, where an essentially infinite world projects an image onto a 2-D sensory surface. This principle is commonly used in computer graphics to generate synthetic scenes by performing a perspective projection that is equivalent to the projection in a camera.

perspective3

homogeneous1homogeneous2

The computational transformation from a three-dimensional scene to its two-dimensional projection can be performed by a simple matrix multiplication of each (x,y,z) point in the model of the scene by the transformational matrix, to produce its two-dimensional projection on the image plane. The matrix encodes the entire projection including any translation, rotations, scaling, and shearing transformations that may be included in the projection. This matrix is often called “homogeneous” coordinates because it treat translation, rotation, scaling, and shearing transformations all the same way, by setting the appropriate coefficients in the matrix and performing the matrix multiplication on each point in the model. For example the coefficients along the main diagonal of the matrix, sx, sy, sz, determine the scaling of the (x,y,z) point in the projection, while the three values in the right column, dx, dy, dz, determine the translational displacement in three dimensions, etc. In  Geometric Algebra the equivalent computation is performed using a three-dimensional spatial structure representing translations, rotations, and scaling in a spatially meaningful order, including rotations, defining a transformational “structure” that resembles the transformations that it models.

laseranim1laseranim2

We can draw an analogy between the principle of projection and a laser beam mounted on gimbals that behaves like a Clifford vector located at the origin, that can point in any direction. If the laser beam is projected onto a screen, the linear beam is transformed into a point projected on the screen. Unlike the laser beam itself, the point is no longer confined to the origin, but can now be projected anywhere on the screen. If we consider the projection itself, we see that the projection has transformed the basic elements of Clifford Algebra from linear vectors to punctate points. In projective geometry points are the most elemental feature.

 

projective4

Here we show (from Perwass & Hildenbrand 2004) Euclidean vector a in two-dimensional Euclidean space E2 transformed into vector A by the projective transformation A = P(a) where  P(a) is obtained by simply adding vectors a + e3. This is not just a vertical translation of a to A, but vector A is viewed from the origin as an angled vector, essentially transforming a displacement from the origin to an angle viewed from the origin.

This transformation is profound because it draws on the equivalence between translational dimensions and corresponding rotational ones. Translation of a in directions e1 and e2 is transformed to rotations of A in the rotational directions parallel to e1 and e2. Furthermore, the “x axis” no longer extends to infinity in opposite directions, the projective vector A is now bounded at +/- 90 degrees which now literally express +/- “infinity” (in “scare quotes” to indicate merely a “pseudo-infinity”).

The projected origin P(0,0) is no longer a special point with the polarity reversals characteristic of Clifford vectors, the projected origin is now just another point in projective space. While the scalar product of a vector with the origin in Euclidean space is always identically zero, this is not necessarily the case in projective space.

Actually the projective transformation is exactly what occurs as an analog computation in the eye, as light rays from a practically infinite world are projected through a focal point onto the spherical surface of the retina, where each point on the retina represents a visual angle to the world. The Euclidean space in the projective model, the one that extends to infinity in all directions, should therefore not be thought of as part of the representation in the brain, that part of the projective model represents the world outside the brain, which actually does extend virtually to infinity in all directions. It is only the projection itself, P(x,y) or P(x,y,z) that represents a model in the brain, and in fact projection demonstrates how a finite representational medium, whether the surface of the retina or a volume in the visual cortex, can express a virtually infinite external world by depicting that world in projection.

Interactions Between Projective Vectors

Projected vectors in Geometric Algebra interact by the same sums and products as in Clifford Algebra although they seem qualitatively different in projection.

laseranim3

If the laser beam “paints out” a pair of points, independently or successively alternating between them, this is equivalent to “adding” two points, presenting them “simultaneously”, although each remains independent of the other.

laserbitmap7laseranim4

If we allow the laser beam to modulate between the two beams, it creates a blend of the two points represented by a bivector surface between the two vectors, as by the wedge product between two vectors, and the projection of that bivector on the screen is the line joining the two points. The basic elements of projective geometry are points, and the wedge product between two points is the line segment that joins them. Like the points themselves, the bivector line segment can be presented at any location on the screen.

Projective2

Here we show(from Perwass & Hildenbrand 2004) a bivector A^B spanning projective vectors A and B, the projection of the bivector representing a line in projective space. The Outer Product Nullspace (OPNS) of the bivector A^B (i.e. NO(A^B) ) is the whole plane within which the bivector is embedded, and the projection of that plane on the projection plane represents the infinite line of which the line segment is a part. The Clifford Algebra concepts of the IPNS and OPNS are just as useful in projective space.

laserbitmap11

The wedge product between three vectors is a triangular cross-section beam, that projects to the triangular surface that joins the three projected points on the screen. Four or more vectors all projected onto the plane would fill in the polygonal area spanned by the points.

TrivectorTriangle1TrivectorTriangle2

The bivector between two points is anti-commutative, i.e. A^B is different than B^A, so too is the trivector A^B^C different than trivector A^C^B, for example, as shown above. There is a directedness, or sequence between the trivector products that is preserved in the wedge product, where A^B^C takes the bivector A^B and sweeps it towards C, whereas A^C^B starts with bivector A^C and sweeps it toward B.

Projective Geometry 3-D through 4-D and back to 3-D

In the examples above for simplicity in visualization we have been dealing with projective geometry of a 2-D Euclidean space to a 3-D projective space and back to a 2-D projection. In perception the projection is from the 3-D geometry of external space viewed from a fourth-dimensional perspective, projected back into a 3-D projective model of external space. While it is difficult to visualize a fourth spatial dimension and the projection process taking place within it, it is relatively easy to visualize the effect of that projection back in the 3-D projection. We will therefore ignore the details of the projection mechanism itself and study the properties of the projection back in the three dimensional world of our experience.

Proj3Danim1

The outer “room” in this figure represents a real room in external space, a space which is practically infinite in extent. The inner room is a three-dimensional projection of that outer room, “painted out” by a metaphorical laser beam that maps 3-D points from the external world to 3-D points in the projective model.

Proj3DInf

This model world may look like a three-dimensional rectangular room, but it is supposed to represent a model that is distorted by perspective like an Ames Room, with objects in the distance presented at smaller scale than objects in the foreground. In this model, “infinity” is no longer an infinite distance away, it is right there, where the perspective lines meet. The purpose of this projection is to project from an external world that is practically infinite in extent, into a model world of a finite size, small enough to fit in a human head. As with our earlier laser analogy, we can picture laser beams representing vectors projecting to points in three-dimensional space. Two points presented independently or successively represents the sum of those points in space.

Projection3DA3

The wedge product between two 3-D points defines the three-dimensional line segment that joins them.

Projection3DA4Projection3DA5

The wedge product between three or four points in the same plane defines a triangular, or rectangular plane in space.

Projection3DA7

If we add another point outside of the plane, the wedge product between all those points defines the three-dimensional volume spanned by those points.

Projection3DA8

And if one of those points is at “infinity”, this now defines a rectangular cross-section beam that stretches all the way to “infinity” in our representation, which is only possible because “infinity” is not an infinite distance away, it is right there, where all the perspective lines meet.

The three-dimensional projective geometry through a fourth-dimensional projection provides an extraordinarily useful means to produce an explicit spatial model of an essentially infinite external world, all within a finite spatial representation that can represent points at “infinity”. This is highly suggestive of the properties of our own world of perceptual experience.

Proj3Danim3

The operation of projection is very fundamental to Geometric Algebra. So much so that is is trivially easy to define a pinhole camera in Geometric Algebra. We begin with four points to define the image plane, whose surface is defined by the wedge product between them, i.e. a1^a2^a3^a4.

Next we define a focal point F on one side of the image plane. Now for any point P on the other side of the image plane, the line joining F and P is defined simply as F^P. The intersection between that line and the image plane can be computed simply as

(a1^a2^a3^a4).(F^P)

and thats it! The pinhole camera is complete! If we employ a parallel algorithm that processes every point in the scene simultaneously, we get a fully functional pinhole camera that projects an image on the screen of the world seen through the screen.

Projection3DBI

It is a fundamental property of parallel optical or wave-based systems that any computational transformation  can be reversed by simply reversing the path of each ray of light in the system, which inverts the functionality, as seen when looking through the wrong end of a telescope which makes it minify instead of magnify the image. The same system that performs a pin-hole camera projection to an image, can also perform an inverse projection of the two-dimensional image back out into the three-dimensional model world, thus performing an “inverse optics” reverse projection. Now the inverse optics problem is under-constrained, because there is an infinite range of possible inverse projections that can all correspond to a given projected image, and thus additional information must be added to resolve fundamental ambiguities. Nevertheless, the ease with which Geometric Algebra performs spatial projections, whether forward or inverse, makes possible the kind of reification by inverse-optics projection as suggested in Lehar’s (2003) Bubble World model of perceptual reification to explain how the two-dimensional retinal image is reverse-projected to form a full three-dimensional perceptual rendition of the three-dimensional stimulus most likely to have been the original cause of the given two-dimensional projection.

Limitation

The perspective projection provides a wonderful means for projecting an infinite external world into a finite projection. But there is a fundamental flaw in this concept, it cannot represent opposite ends of the room simultaneously.Projection3DSplit

Projective perspectives taken from opposite directions are incommensurable — they cannot be merged seamlessly without a sharp discontinuity where they join.

RailwayPerspective

The problem can be traced back to the concept of projection onto a plane, which can only depict one half of reality in principle.

perspective2

A solution to this limitation will be presented in the next chapter of my presentation on the principles of Geometric Algebra in the Conformal Projection Model of Geometric Algebra proposed by David Hestenes.

 

Posted in Uncategorized | 2 Comments

Clifford Algebra: A visual introduction

Clifford

William Kingdon Clifford

Clifford Algebra, a.k.a. Geometric Algebra, is a most extraordinary synergistic confluence of a diverse range of specialized mathematical fields, each with its own methods and formalisms, all of which find a single unified formalism under Clifford Algebra. It is a unifying language for mathematics, and a revealing language for physics.

GrandUnification

ScaVecBivecTrivec

Unlike the standard vector analysis whose primitives are scalars and vectors for representing points and lines, Clifford Algebra has additional spatial primitives for representing plane and volume segments in two and three dimensions, and it can be extended to any number of higher dimensions by the same basic scheme, and they do, with remarkably useful properties.

Adding one extra dimension to a total of 4 produces a projective geometry, a concept not exclusive to Clifford Algebra, but very simply expressed in it, with some remarkable invariance properties. 

Projective1 Projective2

Adding two additional dimensions to a total of 5, enables a conformal geometry with even more extraordinary invariances which are reminiscent of certain properties of perception.

conf1conf2

The truth, or validity of Clifford Algebra is confirmed by Occam’s Razor, it provides a simpler model of mathematical objects than does vector algebra, extending naturally from one to two, to three, and higher dimensions all under the same formalism, with a notational economy that simplifies many mathematical expressions.

Maxwells4Maxwells1

For example Clifford Algebra reduces Maxwell’s equations of electromagnetism to a SINGLE EQUATION, the rest is implicit in the math!

maxwells

Another feature of Clifford Algebra is that it uses a coordinate-free representation. Instead of defining motion with respect to an external coordinate system, motion is described with respect to a coordinate frame defined on the object in question, which greatly simplifies many models. Clifford Algebra reveals, for example, that the apparent chirality in electromagnetism, i.e. the right-hand rule for electric generators, and the left-hand rule for electric motors, turns out to be actually an artifact of the math used to describe the world, not a property of the world itself. It turns out that electromagnetism has no chirality, as revealed by Clifford Algebra.

VectorAndMatrix

Clifford Algebra fixes many of the problems inherent in linear algebra, from the arbitrary distinction between row-vectors and column-vectors, the complex process of matrix multiplication, the arbitrary arrangement of terms in the matrix, exemplified most clearly by the complexity of the formula for the determinant of a matrix, to determine whether the matrix is invertible. In Clifford Algebra the determinant is the three-dimensional volume of the parallelopiped spanned by the three row vectors of the matrix, and it becomes intuitively obvious that the volume goes to zero when the three vectors are parallel, or when they are all in the same plane. Furthermore, the whole concept of inversion becomes an explicit spatial inversion, a literal turning inside-out of a spatial structure.

DiracParticle

Clifford Algebra provides a more intuitive model for subatomic particles that are often modeled with the Pauli matrix, by way of a spatial model that resembles the particle that it models.

AkaGeometricAlgebra

And the way that Clifford Algebra achieves this extraordinary Grand Unification of mathematics is by expressing algebraic concepts in the form of spatial operations on spatial structures. Clifford Algebra, a.k.a. Geometric Algebra, is simultaneously a geometrification of algebra, and also an algebrification of geometry. We are accustomed to viewing algebra as a manipulation of abstract symbols back and forth across the equals sign. But do you remember when in geometry, you learned about a transversal crossing a pair of parallel lines, and which angles were similar and which were complementary? Your teacher never had to prove these truths, they merely had to be pointed out, they were self-evident by inspection. Clifford Algebra does that for algebraic manipulations, which become natural and intuitive spatial operations on spatial structures.

Geometry is more primal and explicit than algebra. In Clifford’s own words,

“geometry is the gate of science, and the gate is so low and small that one can only enter it as a child.”

Clifford algebra invites us to stoop low enough to re-examine some of the most basic mathematical concepts that we first learned as children, and to see new spatial and geometrical relations in them.

Why So Obscure?

So if Clifford Algebra is so great, how come you have never heard of it before? In the first place Clifford died at an early age in an era where there were several competing algebras being developed, and Clifford Algebra was eclipsed by Gibb’s Vectors that we all learned in school.

Clifford Algebra was briefly rediscovered by Dirac as a superior expression of his theory of the electron, although the wider significance was not recognized. It was rediscovered again  in the 1980’s by David Hestenes who recognized its general applicability and significance, and David has made a careeor of promoting “Geometric Algebra”, a more modern update to the original Clifford Algebra. David Hestenes prefers the term “Geometric Algebra”, which was actually Clifford’s own choice, because “Clifford Algebra” sound like “just another algebra” rather than what it really is, which is a discovery of the fundamental geometrical roots of all of algebra. Besides, Hestenes credits Hermann Grassmann at least equal to Clifford in the development of Geometric Algebra. I use the term “Clifford Algebra” for historical context and honoring a quirky dude, and “Geometric Algebra” when focusing on the modern reformulations and extensions many of which are due to David Hestenes.

My own interest in Clifford Algebra stems from my own conviction that mathematics is not a human invention, but more of a discovery of the foundational principles of thought. Mathematics is an artifact of the human mind and how it represents spatial reality. The properties of mathematics are direct evidence for the principles of operation of the human mind.

PsychoMathematical

And since Clifford Algebra provides such a clear view into the fundamental nature of math, I believe Clifford Algebra to be the Rosetta Stone that reveals the basic computational and representational principles of spatial perception and algebraic cognition.

PeriodicitySymmetryAlternation

In fact the many regularities found in mathematics, from the periodicity of the number line, the alternation of even and odd, its mirror symmetry across the origin, and the polarity reversals of negation and inversion, all suggest a phasic / cyclic system of representation not unlike the trace on an oscilloscope in an analog oscillatory circuit, which in turn suggest a wave based representation in the brain underlying both spatial perception and mathematical thought.

 Historical Summary

The history of algebra has been a history of the incremental discovery of an apparently pre-existing structure. The natural numbers were discovered independently by all cultures, suggesting that the concept of number is  intuitive, or innate. The concepts of zero and the negative numbers seem to follow naturally, as if of necessity, and they too were “rediscovered” independently by different cultures over time.

The closure of circular negation was the first hint of an irregularity.

SqrtMinusOne

A problem arose when the solution to certain algebraic equations came out to be equal to the square root of minus one, something that was a mathematical impossibility! Rafael Bombelli, and René Descartes (who coined the term “imaginary” numbers) proposed to name this impossible number i, but that besides the fact that it squares to negative one, in every other way it was a regular number. So for example 1 times i = i. i times i (by definition) = -1. -1 times i must equal -i. And -i times i = -(-1) which brings us back to 1.

MultByICircularRepeated multiplication by i goes round and round in circles, making periodic excursions into an orthogonal dimension and back again. If you plot the imaginary dimension as a regular spatial dimension, this suggests that multiplication by i corresponds to a 90 degree rotation. This is an example of mathematical closure, a concept we will see again and again in Clifford Algebra.MultIRotation

ComplexNumbers

Later it was proposed that you could rotate by less than 90 degrees, which produces a compound number composed of real and imaginary components.

MultByIRealsMultByIImag

But the real and imaginary dimensions operate by different rules. Multiplication of real numbers scales their magnitudes in or out from the origin. But multiplication of the imaginary component performs a rotation, it is a multiplication that goes round and round instead of in and out.

I don’t know if anyone ever pointed it out to you, but this is VERY STRANGE!

GibbsJosiah Willard Gibbs

About the same time in the late nineteenth century,  Josiah Willard Gibbs was playing around with a different kind of compound number, pairs or triplets of (x,y) or (x,y,z) which can be represented as “directed line segments”, or  vectors. The remarkable thing was that you could add or subtract these compound numbers in a manner that made a kind of intuitive spatial sense. The question arose: What happens if you multiply and divide them? Gibbs proposed two kinds of multiplication, the dot product and the cross product, as we all learned in school.

GibbsVectorsAddSubGibbsVectorsDotCross 

Maxwells4

Oliver Heaviside used Gibbs vectors to reformulate Maxwell’s equations of electromagnetism, which did much to cement Gibbs’ vectors position as the dominant paradigm of vector manipulation. Nevertheless, Tait commented that Gibbs’ vectors were “a sort of hermaphrodite monster, compounded of the notations of Hamilton and Grassman

The dot product was a good idea, and has been incorporated into Clifford Algebra. But it turns out in retrospect that the cross product was a big mistake! In the first place it is only really defined for three dimensions, it does not generalize to two-dimensional vectors without popping out of the page into the third dimension, and in four dimensions the concept is practically meaningless because there are so many orthogonal directions. Furthermore, Gibbs’ vectors can only express scalars and vectors, the only way it could represent a plane is by its surface normal, which is a vector.

Also the cross product can only rotate by 90 degrees, it cannot rotate through intermediate angles as do complex numbers.

ParityHandsFinally Gibbs’ algebra has a parity problem, the cross product is not preserved under reflection, and thus it introduces a chirality to its model of reality even where there is no chirality in the entity being modeled.

Hamilton

 William Rowan Hamilton

Quaternion

In the meantime over in another branch of mathematics, William Hamilton was trying to extend complex numbers, with their elegant rotational multiplication, into three dimensions by proposing three orthogonal imaginary dimensions, i, j,k,  each of which behaves like the imaginary dimension i, and they interact with the peculiar circular rule that i x j = k, j x k = i, and k x i = j. Here again we see another example of mathematical closure, a curious property which turns out to be very significant.

But Hamilton ran into a problem defining division for these imaginary vectors because the quotient was not unique. Imaginary vectors A and B, each composed of (i,j,k) components, multiply meaningfully as in A x B = C, but the inverse, C / B does not produce a single unique value but a whole range of possible values. This algebra lacked closure, it only computes one way, you cannot calculate backwards, as in moving terms back and forth across the equals sign.

BroomBridgePlaque

After many years of frustration, in a flash of intuition (immortalized by a plaque on the Broom Bridge in Dublin where the intuition first struck him) Hamilton realized that he needed one more scalar value to provide a scale for his complex vectors, so he defined a compound number of the form v = a + bi + cj + dk, which could be both multiplied and divided, and the quaternion was born!

All this occurred in the era when the theory of relativity was first emerging, and GimbalLockHamilton incorporated a relativistic concept in his quaternions by expressing rotations not with reference to a global x,y,z coordinate frame, but relative to the current orientation. For example if the orientation of an aircraft in flight is expressed in “Euler angles” as a triplet of roll, pitch, and yaw angles in absolute coordinates, there is a problem known as “gimbal lock” when the aircraft is heading either straight up, or straight down, where it has no defined yaw angle, or heading. Instead, quaternions employ a coordinate system that rotates with the aircraft, as perceived by the pilot in the aircraft, where concepts of “pull up”, “roll left”, and “yaw right” are meaningful whatever the current orientation of the aircraft.

Hamilton introduced another innovative departure from conventional mathematics by proposing a CayleyTableQuaternionmultiplication which was not commutative, i.e. that a x b is not equal to b x a, but neither are they unrelated, but in fact a x b = -(b x a), where negation corresponds to a reversal in the direction of rotation, just as negation of a real vector reverses its orientation. These intriguing concepts were incorporated into Clifford Algebra.

Closure

ClosureNaturals

Now a word on the concept of closure, which will turn out to be significant throughout this presentation. In algebra closure refers to operations on an algebra that remain within the algebra. For example the natural numbers are closed under addition because the sum of any two natural numbers is also a natural number, but they are not closed under subtraction, because if you subtract enough you can fall right off the end of the natural number scale.

ClosureIntegers

Likewise, the integers are closed under addition, subtraction, and multiplication, but they are not closed under division because certain quotients fall between the cracks of the integers. But that is not the only kind of closure in math.

0 1 2 3 4 5 6 7 8 9

There is closure in our numeral system, where when we run out of digits, we just put a zero and carry to the next column.

ClosureOdometer

There is closure in an odometer where each wheel flips from 9 to 0, and the whole register flips from 99999 +1 to 00000.

ClosureDigital

There is closure in digital registers that also flip from FFFF +1 to 0000.

It’s a computational principle that prevents the calculation from “running off the edge of the page”, or the register, allowing infinite calculation within a finite representation.

sinusoid

ClosureCircularMultiplication

And there is closure in a multiplication that goes round and round instead of in and out. It defines a continuous space like a section of the x axis, but it is a closed dimension, that is finite, but boundless. This will turn out to be very significant.

 

Hermann Günther Grassmann

GrassmanMeantime Hermann  Grassmann, the inventor of linear algebra, proposed an alternative to Gibbs’ flawed cross product, in the form of the exterior product, or wedge product, whereby the wedge product of two vectors defines a patch of surface whose area is equal to the product of the two vectors, as if one vector was “swept” along the other (or the other “swept” along the first), and that surface is within the plane that contains both of the original vectors.  Just as a vector has magnitude and orientation, but it has no defined location because it is always at the “origin”, in the same way, the bivector, or wedge product of two vectors has an orientation and an area, but it has no location, and neither does it have a shape. It is an oriented area.

WedgePainting

These bivectors can be added and subtracted just like regular vectors, and if a bivector is multiplied WedgeProductby a vector, its surface is “swept” along that vector in the same manner to define the volume spanned by the three component vectors, an entity known as a trivector. In other words, this is an algebra that generalizes to higher dimensions by the same exact principles that apply at the lower dimensions, and this provides an algebraic entity for scalars, vectors, bivectors, trivectors, and there is no limit to the number of dimensions it can be extended to.

AdditionBivectors

Like Hamilton’s quaternions, Grassman’s wedge product is anti-commutative, whereby a^b = -(b^WedgePropertiesa). And it also incorporated a kind of closure whereby (in three dimensions) a^b^c makes a trivector, but a^b^c^d collapses back down to a scalar so as to prevent runaway expansion into ever higher dimensions.  

Clifford CliffordPainting

William Kingdon Clifford

William Kingdon Clifford was the man who took all the best ideas from previous work to achieve a single consistent formalism that generalizes to arbitrary numbers of dimensions. Clifford defined a hierarchy of compound number knows as “clifs”, or “multivectors”, that range from zero dimensions (scalar) to one dimension (vector) to two dimensions (bivector), to  three (trivector), and on upward as far as you care to go. In Clifford Algebra dimensions are referred to as “grades”, so a scalar is grade zero, a vector is grade 1, etc.

ScaVecBivecTrivec

In order to attain the kind of closure seen in quaternions, you have to decide from the outset how many dimensions you want to use for your problem, so for example two-dimensional Clifford algebra, or Cl2 wraps around at two dimensions so as not to protrude out of the plane into the third, whereas Cl3 has closure in three dimensions, so as not to protrude into the fourth.

Just as a real number can be considered as a complex number with zero imaginary component, a clif ClifHierarchycan be considered to be composed of higher order clifs up to the grade of the algebra you choose, even if many of them happen to have zero coefficient for any particular problem. Clifford Algebra of zero dimensions, Cl0, is just regular scalar algebra. Clifford Algebra of one dimension, Cl1, is composed of a scalar and a vector. Cl2 is composed of a scalar, two vectors, and a bivector. Cl3 is composed of a scalar, three vectors, three bivectors, and a trivector, and that same scheme extends upward to higher dimensions by the same principle.

Here we see the hierarchy of Clifford Algebras each with its own characteristic pattern of components, that appear in numbers corresponding to Pascal’s triangle. Two-dimensional clifs, Cl2 (the even sub-algebra) are mathematically isomorphic to complex numbers. Three-dimensional clifs, Cl3 are isomorphic toBinomialGradesPyramid Pauli matrices used to model subatomic particles. Cl4 is isomorphic to Dirac matrices that model relativistic subatomic particles.

Clifford3D

Lets take a closer look at Cl3, Clifford Algebra in three dimensions. There is a scalar, e, then three orthogonal basis vectors e1, e2, e3, then three bivectors obtained by pairwise multiplication of the basis vectors, and finally a trivector defined by the wedge product of all three basis vectors. Each bivector has a kind of twist that represents a rotation by 90 degrees, for example bivector e1^e2 represents the right-angled turn from the direction e1 to e2, while its negation, -(e1^e2) rotates by the same angle but in the opposite direction.

Multiplication of all three basis vectors (e1^e2^e3) produces a three-dimensional volume segment or trivector, with unit cubed volume. This trivector has some peculiar properties that represent the scale of the whole space, it is often called the pseudoscalar of the space, I, it performs the function of the imaginary number i, but extended into three dimensions. Multiplication by the trivector represents a 90 degree turn in all three dimensions. Therefore two such 90 degree turns in each of the three dimensions results in a total reversal of direction, which is equivalent to a simple negation, and thus I**2 = -1. Clifford Algebra eliminates the mystery of the concept of the imaginary number, which becomes a simple rotation by 90 degrees.

InteractionClifsAddTractionMultipliVision

For all the variety of different clifs of their various grades, there  are basically  two  ways that clifs can interact, one is addition/subtraction (add-traction?) and the other is multiplication/division (multipli-vision?). Addition represents a kind of summation of independent or successive processes, whereas multiplication represents a simultaneous modulation of one clif by another; if either clif is negative the product is negative, but if both are negative the product is positive again, another manifestation of closure. In fact analog modulation as in AM radio, or linear gain in amplification, is defined exactly as analog multiplication.

AppliedToClifs

These two very basic and primal operations can be applied between clifs of any grade, and they can be applied across different grades, and in every case they produce results that seem intuitively consistent and reasonable as one might expect. Addition of scalars and vectors produces a compound scalar and vector product. Addition of vectors proceeds logically as in Gibbs’ vectors. Bivectors add to other bivectors to produce a sum bivector.

A scalar times a vector scales the vector in length, and reverses its direction if negative. A vector times a vector makes a bivector with a twist that turns from the direction of one to that of the other. A scalar times a bivector scales its area.  A vector times a bivector, or the product of three vectors produces a trivector. A vector times a trivector does not  expand to a quadrivector, but rather it collapses back down to a scalar, thus maintaining closure in three dimensions.

There is an interesting interaction that occurs across grades seen for example when a scalar, a non-spatial entity, multiplies a vector which has linear extent, it changes the spatial length by the magnitude determined by the scalar value. Likewise, taking the magnitude of a vector v as in ||v|| summarizes the spatial extent of that spatial vector with a non-spatial scalar magnitude. A bivector B can also be reduced to a scalar magnitude by taking its magnitude ||B||, which provides an abstract measure of the magnitude of the bivector which is proportional to its area. These are manifestations of inter-grade communication, whereby the scalar value can be seen as the most abstract representation, reducing clifs to a single scalar value that records their magnitude, and thus scalar algebra can be seen as an abstraction of the principles of vector algebra, preserving the corresponding magnitudes but discarding spatial extent.

MultVecParallelMultVecAngled

Lets take a closer look at the product of two vectors. If the two vectors are parallel, the product collapses to a scalar, yet another manifestation of closure. A vector times itself collapses to a scalar value one, meaning the vector is a perfect match to itself. If the vectors are pointing in different directions, the product includes a bivector with a twist proportional to the area spanned by the two vectors.

MultVectorTwistWe can see the effects of the twist by multiplying a different vector by the bivector, which rotates the vector through the same angle as that between the original vectors. Vector a times bivector c (= a x b) rotates a through the angle from a to b, which leaves it equal to b. Vector b times bivector c produces d, rotated from b through the same angle as that between a and b. As with quaternions,

Since Clifford multiplication is anti-commutative, it is important to distinguish a*b from b*a, depending on which is the pre-multiplier and which the post-multiplier. For example a*b is a rotation from a to b, when applied to a, as in a*(a*b) it rotates a into b, or b = a*(a*b). But the term can be grouped differently by moving the parentheses, i.e. (a*a)*b. Since a*a = 1, (a*a)*b = b, which produces the same result, so everything works out right in the end.

AntiCommutative

The Geometric Product

GeometricProduct InnerOuterProduct

As with Gibbs’ vectors with its distinction between the dot and cross products, Clifford multiplication, known as the geometric product, is actually a compound multiplication composed of the sum of a dot product and a wedge product. Like Gibbs’ vectors, this product captures two aspects of multiplication. The dot product is a measure of similarity between two vectors, and is a scalar quantity, whereas the wedge product is a measure of difference, or what you’d have to do to one to transform it into the other. These are complementary operations, each one capturing what the other misses. Significantly, both are spatial projective operations, one is grade-reducing projection, the other is grade-expanding sweep. The inner product projects one vector onto the other like casting a shadow, although the shadow is then projected again to a scalar magnitude. The outer product spans the space between the vectors, a spatial sweep-like operation that is grade-increasing.

These two operations are not just complementary by design, but by definition. The dot product is computed as the (average of the) product, a*b, added to its reverse b*a. Adding a product to its reverse cancels out any component that is asymmetrical, i.e. the clockwise twist cancels its counter-clockwise reverse, leaving only the symmetrical component, which is the dot product, or what the two vectors share in common. It is a little peculiar to call this operation a “multiplication”, because multiplication is generally thought of as producing a multiplicity of its multiplicands; it is generally an expansive operation (unless the multiplicands are less than one), whereas the dot product is more like a collapse to lower grade, more akin to what we think of as division.

Complementary

The wedge product is defined as the (average of the) difference between the product and its reverse, an operation that eliminates the symmetrical component, but the reversal of the reverse by negation makes them both rotate in the same direction, whose average preserves only the asymmetrical component, that represents the difference between the vectors, or how one is twisted from the other. The dot and wedge products are therefore like symmetry filters that filter the symmetrical and asymmetrical components of their multiplicands, respectively.

DotWedgeReduceIncrease A (scalar ^ a vector) makes a vector. A (vector ^ a vector) makes a bivector. A (bivector ^ a vector) makes a trivector. The wedge product is a grade-increasing operation. A trivector dot a vector collapses the dotted dimension. Trivector (P^Q^R) . R collapses the R dimension to make bivector P^Q. Bivector (P^Q) . Q collapses to P. Vector P dot P collapses to 1. The dot product therefore seems more akin to division than to multiplication.

Generator

It is interesting to note that a scalar * scalar * scalar * scalar is still a scalar! You need to have at least one spatial dimension to start expanding in grade. The basis vectors e1 e2 e3 can be thought of as pre-existing “generators” capable of generating a vector as soon as they are supplied with a non-zero coefficient.

DotWedgeDemo

Here is an animation of the product of the two red vectors as one rotates around the other, showing the complementarity of the dot and wedge products. (The dot product is depicted here as a vertical vector, to show its magnitude, although it is actually supposed to be a scalar quantity) Note the several polarity reversals of both the dot and wedge products as as the vectors go around, along with a reversal in the rotational orientation, or “twist” of the bivector.

Clifford Vectors Analog Electronics Analogy

This series of phase reversals, and the concept of a generator, is highly suggestive of a cyclic phasic representation not unlike the trace on an oscilloscope, as demonstrated in the above op-amp circuit. A sawtooth waveform generator at the upper-left generates the sawtooth wave plotted on the lower left, which is split into x and y streams each of which can be modulated by the potentiometers toward the right to produce X and Y traces whose amplitude can be modulated (and reversed) with the X and Y sliders to the right, plotted at the lower center of the screen. The X and Y signals are then plotted against each other at the lower right, showing a “flying spot” starting at the origin and flying cyclically toward the upper-right, tracing out the vector represented by the oscillations in the system. If you reverse the X slider the vector rotates into the second quadrant. If you then reverse the Y slider the vector rotates into the third quadrant, if you reverse the X slider back to positive the vector rotates into the fourth quadrant, and if you bring Y back to positive the vector returns to the first quadrant. The sawtooth waves that control the “flying spot” that traces out the vector correspond to the basis vectors e1 and e2, which are constantly cycling, but only produce a trace when their coefficient is non-zero.

The basic principles behind Clifford Algebra appear rather simple, which makes it all the more wonderous what complex computations they can achieve.

ReflectionAlgebra

Clifford Algebra has been characterized as a “reflection algebra” because its most primal operation, vector multiplication, seems to mimic a simple reflection. If red vector c = b*a*b is the product of b times (a*b), it is a reflection of a through b, because the angle from c to b is the same as the angle from b to a. (We are dealing here with unit vectors so as to avoid any additional scaling, resulting in pure rotation)

This Clifford Vector Multiplication Animation shows how the reflection of a in b occurs like a reflection in a plane surface normal to vector b.

The rich and powerful operation of that rotational Clifford multiplication can be reduced to a simple reflection!

NonlinearOptics

This rotational multiplication by reflection is reminiscent of a phenomenon in nonlinear optics when two laser beams cross in space, as shown for beams B1 and B2 above. An interference pattern appears through the zone of their intersection due to constructive and destructive interference. If modeled in a Reciprocal Lattice representation where each beam is represented by a vector, as shown by K1 and K2 in C above, the emerging interference pattern can itself be described as the difference vector K2 – K1 that closes the wave vector diagram.

If the crossing occurs in empty space it has no effect on anything else. However if the crossing takes place in the transparent volume of a nonlinear optical materal (and most any glass goes nonlinear with sufficient amplitude) the interference pattern warps the glass in the shape of the pattern, by the optical Kerr effect, which defines parallel planes of alternating refractive index in the glass.

FourWaveMixing

This reified interference pattern in turn is able to deflect, or reflect a third beam, B3 above, producing a fourth reflected beam B4 whose direction and magnitude can also be computed as the vector that closes the wave vector diagram in the reciprocal lattice representation in B above, i.e. such that K1+K2+K3+K4 = 0. This is the principle behind phase conjugation, a mechanism by which the angle between two vectors controls the reflection of a third, reminiscent of the bivector and its effect on vectors that are multiplied with it.

Maxwell’s Equations in Clifford Algebra

Maxwells4

The power of the geometric product is demonstrated most dramatically in the example of Maxwell’s four Equations of Electromagnetism. These describe the curl of electric and magnetic fields using cross-product terms, and the divergence of the electric and magnetic fields using dot product terms.

MagneticFlipRightHandLeftHandRule

The magnetic field must be described by a “pseudo-vector” field because unlike a plain vector, as with the electric field, the magnetic field cannot survive an “improper rotation” i.e. a reflection without requiring an additional change of sign. (The mirror image of your right hand demonstrating the right-hand rule is your left hand, but that demonstrates a left-hand rule!)

Maxwells1

In Clifford Algebra these four equations reduce to a single equation, the rest is implicit in the math! The magnetic field is described by a bivector, which has the sign-flipping automatically built-in. The geometric product product automatically multiplies the wedge product terms for the curl, and the dot product terms for divergence, all in a single equation.

Algebraic / Spatial Concepts

AlgebraicSpatial

There are a number of algebraic concepts, some of which are familiar in scalar algebra, that are revealed by Clifford Algebra to be actually algebraic / spatial concepts. For example the reflection of a vector about the origin is equivalent to negation. Reflection is negation! Clifford Algebra is a reflection algebra. Rotation by 180 degrees is also a negation! Rotation by 90 degrees is equivalent to multiplication by i, the square root of minus one, because two of those multiplications reverse the direction which is also negation. This removes the mystery behind that peculiar notion of the square root of minus one, and reveals it to be a simple rotation. Furthermore, negation is also rotational reversal, thus drawing an equivalence between the open translational dimensions and the closed circular dimensions. This is very strange! Its profound significance will be discussed below.

This is simultaneously an algebrification of geometry, and the geometrification of algebra, it suggest a fundamentally spatial computational mechanism behind the principles of algebra. The similarity between numbers arrayed along the number line, and the lengths of corresponding vectors from the origin, is no mere coincidence, it reveals spatial vectors as the true basis underlying even scalar algebra.

AlgebraicSpatial1

It is a peculiar characteristic of Clifford Algebra that angles are not represented directly as angles, expressed in degrees or radians, but rather, angles are expressed by their X and Y components, a rectilinear coordinate system for expressing angles. This is significant because it makes a connection between the egocentric “dartboard” polar coordinate system where the origin is a special unique place, and the allocentric “city-block” Cartesian coordinate system in which every point is identical, and the origin is no longer special. Clifford algebra expresses one in terms of the other, thus mapping them to each other.

AlgebraicSpatial2

Another curious algebraic / spatial concept is the Dual, indicated by a superscript* asterisk. Every Clifford Algebra entity has its “orthogonal complement”, like the particle and its antiparticle, or the yin and its yang. For example the dual of a vector is a bivector, the wedge product of a pair of vectors that are orthogonal to it, and the dual of the bivector is its normal vector. The area of the bivector that is the dual of a vector is proportional to the magnitude of the vector.

AlgebraicSpatial3

The dual of a scalar, which has no spatial extent, is the pseudoscalar, which has all the spatial extent, and the dual of the pseudoscalar is a scalar.

The dual of a clif is easy to calculate, you just divide by the pseudoscalar, and this is a consequence of closure, because a vector times itself collapses to a scalar, so multiplying by the pseudoscalar collapses all vectors that are non-zero, leaving only those that were zero to begin with. It flips the whole pattern into its opposite, and the opposite of the opposite is back again to the apposite, the thing you began with in the first place.

AlgebraicSpatial6

Another algebraic / spatial concept is the reverse. For example the reverse of a*b is b*a. The reverse of a*b*c*d is d*c*b*a. Its like multiplying yourself back out again in the reverse sequence than the way you got in. We have already seen the utility of the reverse in defining the dot product and the wedge product by symmetry and anti-symmetry respectively.

AlgebraicSpatial4

Another interesting concept is the Nullspace, defined for a Clif as the set of all vectors that evaluate to zero for some function. For example the Inner Product Nullspace (IPNS) of a vector v is the set of all vectors whose dot product with v = 0, which consists of the plane that is orthogonal to v. This is in contrast to the dual of that same vector, which is a bivector normal to the vector, i.e. within the plane of the IPNS, but with an area proportional to the length of the vector, whereas the IPNS of a vector is a plane that extends to infinity. This is a generalization of the outer product to infinity. (Note that the NULL in the nullspace is a negation, thus the Inner Product NullSpace resembles an OUTER product, while the Outer Product NullSpace resembles an INNER product)

AlgebraicSpatial5

The Outer Product Nullspace (OPNS) of a vector is the set of vectors whose outer product is zero, i.e. the infinite line within which the finite vector is embedded. Again, this contrasts with the dual of a bivector which is a vector whose length is proportional to the area, whereas the OPNS of a bivector is a line that stretches to infinity in opposite directions.

These are all examples of the principle of reification, extrapolating a given local pattern outward to infinity by the same rules. A vector expands to an infinite line, a bivector surface segment expands to an infinite plane. It is easy enough to comprehend and to describe this kind of reification, but very hard to implement in any kind of finite mechanism, except by a parallel analog spatial principle like an optical mirror system.

Projection1Projection2

Projections are so fundamental to Clifford Algebra that they can be expressed very simply using dot and wedge products.

For example a vector a can be decomposed into parallel and perpendicular components to a plane defined by bivector B, where the parallel component, “a par B” = a.B/B, whereas the perpendicular component “a perp B” = a^B/B. David Hestenes calls this powerful pair of complementary concepts “projection” and “rejection”.

ReflectionAlgebra Reflection

We have seen how reflections can be performed by multiplication. Reflections can also be computed from simple projections. For example the reflection of vector a in bivector U above can be calculated as the component parallel to the plane minus the component perpendicular to it, i.e. “parperp”.

Rot1Rot2

Rotation by reflection produces a mirror-image reversal in the reflection, as does a normal mirror. This is not readily apparent in the case of vectors due to their one-dimensional symmetry, but is of significance for higher order clifs.

Rot3

A more general concept of rotation is derived by two reflections through two vectors, which flips the reflection back again, resulting in a rotation without flipping. For example vector “bab” which is (b*a*b) is a reflection of vector a through b, and similarly, the reflection of bab on vector c is computed as c*bab*c, a double reflection “sandwich”

Rot4

This concept extends naturally into 3-D. For example vector a is reflected through n by the rotation n*a*n, (start with n, then rotate through the angle from a to n) and then that vector “nan” is reflected through another vector m, resulting in a final product of m*nan*m, or m*n*a*n*m.

MeetJoin

Another algebraic / spatial concept  is the concept of the “meet” and the “join” between two Clifs corresponds to the Intersection and Union of the component entities. These too have simple formulas in Clifford Algebra.

The Inverse Function

Inverse1

Now we come to the concept of inversion, 1/x, a concept you learned so long ago that you probably can’t even remember learning it, but in all the time since then, nobody ever pointed out to you that it is a conceptual impossibility! Supposedly for every value x that can range from one to INFINITY, there is a reciprocal value 1/x that is confined to the interval between zero and one. That suggests a one-to-one mapping from an infinite range to a finite range between zero and unity!

Inverse2 Inverse4

This is demonstrated here by plotting in red the reciprocal function between zero and one, i.e. the number whose inverse maps to it. For example ½ maps to 2, 1/3 maps to 3, ¼ maps to 4, and so forth, showing how the inverse function (the red plot line between zero and one) is like a conformal reflection of the number line (the black line plotted from one towards infinity) reflected through the unit boundary although squashed by a conformal mapping.

nlr NumLinRef

 

Its as if you took the number line from one to infinity, made a mirror-image reflection of it, take the reciprocal of that, Then we effectively put a bracket BEYOND INFINITY (the arrow coming in from the left) and squash the reflection back down to a finite range so that the entire reflection is squashed into the unit interval. This is a completely impossible operation because it pretends that it is possible to place a bracket beyond infinity and to squash infinity back to “finity”, a finite range. And on our familiar number line the same operation is done in the negative direction too. This creates a double mirror image of the whole number line from negative to positive infinity excluding the unit radius, all packed within the finite range of the unit radius from -1 to +1. This is an extraordinary paradoxical impossibility, but it is the impossibility that brings closure to multiplication, that offers a reciprocal to multiplication as if every positive and negative number had a reciprocal value that falls between positive and negative unity, and the fact that every number has its reciprocal is what makes it possible to multiply and divide both sides across the equals sign, to calculate forward to compute implications, as well as backward to impute original causes.

Inverse5

This incredible “impossible” reciprocal function was already present in scalar algebra that we learned in grade school. What Clifford Algebra adds to this concept is a circular symmetry, like a set of number lines rotated through all orientations, tracing a unit-radius circle at the center, within which is a conformal reflection of the infinite surrounding space. For every (x,y) point in two-dimensional space that falls on some radial ray from the origin, there is a reciprocal point that falls on the same ray in the same direction from the origin, but with radial distance from the origin that is the reciprocal of the distance to the point, just as occurs on the regular number line itself. If the original point is greater than unity, then its reciprocal is always less than unity, and vice-versa, because by symmetry, the reciprocal of a reciprocal gets back to itself. Clifford Algebra generalizes the algebra on the familiar number line to an algebra that occurs symmetrically at all orientations equally, and thus merges algebra with its parent geometry to define an algebra of space. And this same concept extends naturally into three dimensions and higher, where the central unit-radius sphere, or hyper-sphere, contains within it a reciprocal inverse conformal reflection of the entire space outside the sphere squashed into a finite spherical volume.

Play around with MathForum.org‘s Inversion of A Point Demo and observe that when point x and its inverse point 1/x are close to the circumference of the unit circle, they are mirror-reflections of each other across the unit circle, showing how multiplication is reflection near the unit boundary. When you slide point x  off outward towards infinity, its reciprocal point 1/x begins to approach zero, but never gets there unless you could slide x all the way out to infinity! Now if you slide x back from infinity and make it cross the unit circle, it changes place with its reciprocal doppelgänger like Alice changing places with her own reflection in a mirror, and now as  x approaches the central origin, its reciprocal shoots off towards infinity. The difference this time is that you can move point x exactly to zero, which means that its reciprocal must have arrived at actual infinity, although no computer display could possibly show it there, we just stop accounting for it when it runs off the edge of our screen. 

Alexandre Duret -Stereographic projection

Inverse7

Alexandre Duret’s photo art Stereographic Projection gives an impression of how this idea would look extend into three dimensions, with a spherical boundary at a unit distance from some origin, containing an inverse conformal reflection of the surrounding world.  See the tall tower at 2 o’clock, blocking the sun, and its inverse reflection within the unit radius in the 2 o’clock direction, with a peculiar inversion: the tower itself extends outward from the center above its base (“up” is “outward”). In the reflection the tower extends inward from the base toward the center, (i.e. “up” is now “inward”) because in the inverse world, the direction towards the circumference of the circle is proximal, whereas the direction towards the center of the circle is distal, with the bizarre peculiarity that the singular point at the very center of the picture represents infinity in all directions! This is a very strange singular structure to be found at the very core of our number system! It is not there by accident. It provides a lever balance across the unit boundary between a value x and its reciprocal 1/x.

The inverse function embodies an assumption that all of infinity in every direction can be packaged as its reciprocal within a finite unitary range, the finite range from zero to one reflects the entire world from one to infinity.  And even more outrageous to common sense, is the fact that although every direction in space points outward towards its own unique infinity in that direction, in the reciprocal reflection they all map to a single central point, which represents not only infinity, but all of the infinities in all directions simultaneously!

inverse8

In my next post I will show how the impossibility of the inverse function suggests that the number line should not be conceived as infinite, but merely a pseudo-infinity that represents the entire range from one to infinity, all squashed into a finite range, a mirror-image of its conformal reflection, as suggested in non-euclidean geometries.

inverse9

And of course the same thing would be required in the negative direction. That would render the point-for-point mapping between x and its inverse 1/x  no longer an impossible paradox, but now perfectly possible, because it is now a point-for-point mapping from a finite range to another finite range. The existence of the paradox of the inverse function is evidence that our true representation of mathematics in our mind does not use a representation that extends to infinity (how could it?) but it simulates infinity within a finite representation that does not incorporate a paradoxical impossibility. 

In fact this much should have been obvious by inspection of our world of perceptual experience, which itself seems to be trapped in some kind of egocentric warp. The sides of a long straight road converge to a point on the horizon before us, and if we turn around, they converge to a point back there too! And yet they appear to be straight and parallel and equidistant throughout their length. This reveals a conformal warp in our very perception of space, such that lines that curve along with the warp are by definition “straight” in that space, and they terminate at (pseudo-) “infinity” at either end. The dome of the sky marks the outer boundary of our perceptual bubble, the maximal extent of our spatial experience, no matter how large a space we are exposed to.

bubblepersp

The reason for the warp in our perceptual bubble is clearly to allow a finite spatial representation to depict a practically infinite surrounding space. This is yet another manifestation of closure, with remarkable similarities to the true nature of the number line as revealed by Clifford Algebra.

conf2

In my next posting I will show how the similarity with perception does not end there, and that the conformal mapping in Geometric Algebra suggests a similar inversion as a part of perception, except extended out into three dimensions, and the purpose of that inverse representation is the same purpose it serves in mathematics, it reveals certain regularities and symmetries that are not readily apparent in the non-inverse world.

Conclusion

The history of algebra has been the history of an incremental discovery of an evidently pre-existing structure.  Clifford Algebra has turned out to be the lynchpin that shows how all the previous discoveries are  interrelated within a single self-consistent scheme whose laws operate the same in all directions.  It is the very simplicity and generality of Clifford Algebra that confirms its “truth”. But truth to what? What is it that mathematics represents? What must it remain true to? This gets to the question of, as Lakoff and Núñez (2000) called it in the title of their book, “Where Mathematics Comes From“. If algebra is the discovery of a pre-existing structure, then what is that structure and where is it located? Plato and his many modern adherents believe mathematics to be an objective eternal Truth that exists independently of human minds, although it is only accessible through the human mind. It is true that mathematics is not a human invention, but more of a discovery, and thus has objective existence in that sense. But to declare the magnificent edifice of Mathematics to inhabit an orthogonal dimension that is inaccessible to scientific scrutiny, is a hypothesis that cannot in principle be falsified, and thus, it is not a scientific hypothesis but more of a belief, for those who are inclined to believe it.  I demand a more scientifically sound falsifiable hypothesis for the ultimate nature of mathematics that gives it objective existence in the universe known to science. I agree with Lakoff and Núñez that mathematics is an artifact of how our mind makes sense of reality, and that therefore mathematics has physical existence or instantiation within the human brain. Our view of the world is not direct, we see the world indirectly, through a representation, or model of the world constructed in our brain, and that model is painted out in the geometric primitives of points and lines and planes, which are the elemental features of perception, and those geometric primitives correspond closely to the algebra which was ultimately derived from them. Since Clifford Algebra offers such a clear view of the essential principles of mathematics, it thereby also offers a clear view of the principles of visual perception and the way we conceptualize shapes in space, revealing algebra to be at the root of it a spatial process of spatial operations that operate on spatial structures. The scalar algebra that we learn first in school is an abstraction of the vector algebra that underlies it.

PeriodicitySymmetryAlternation

The periodicity of the number line, the alternation between even and odd, the concepts of negation and inversion, are all strongly suggestive of a phasic cyclic oscillatory phenomenon which must ultimately reside in the brain. The fact that Clifford Algebra reveals all of algebra to be a spatial phenomenon at the root of it, suggests that the computational processes of the human brain are themselves spatial in nature, like the computational operations of nonlinear optics and phase conjugation which they resemble, where spatial waves interact with other waves to produce modulated waves. The fact that Clifford algebra is particularly good at modeling phasic / cyclic phenomena such as the “spin” of elementary particles, all suggests that the human brain operates with a spatial representation based on cyclic oscillations and standing waves in the brain, which just happens to be similar to the cyclic resonances of subatomic particles. The equivalence found in Clifford Algebra between the linear and rotational domains, how negation maps also to rotational reversal, and translation along a linear axis maps to angular rotation about the origin, is surely further evidence for a wave based  principle of computation in the brain. Light waves come in the form of transverse waves that oscillate vertically or horizontally, but it also manifests in the form of rotational oscillations whereby the photon spirals either clockwise or counter-clockwise as it travels through space. It is the essential equivalence between linear and rotational oscillations that reflects their equivalence in Clifford Algebra.

The many manifestations of closure seen in different forms throughout algebra suggests a computational principle that makes optimal use of a finite representational resource, like the odometer whose individual dials each form closed loops, as does the odometer as a whole, and thus the mechanism never “runs off the end”, it just wraps around again. This is not a strategy for an accurate representation of an effectively infinite universe, as we discover whenever our odometer “rolls over” to zero, but rather it is a strategy for a wise design of a limited representational resource. It is an artifact of the computational mechanism of our numerical mind with which we represent the world, not a property of the world itself. But there is also a certain invariance to a rotational representation that resolves the problem of the “infinities” found at both ends of every number line. The equivalence between linear and rotational dimensions suggests that our mind never actually uses linear dimensions like the X axis, but approximates them in a circular dimension to avoid the problem of “infinities”.

PsychoMathematical

This entire analysis of Clifford Algebra was based on my own foundational assumption that mathematics is not a human invention, but more of a discovery of the essential principles of computation in the brain. If this hypothesis is correct, then it should be possible to reverse engineer the principles of operation of the brain with guidance from the properties of mathematics as revealed through Clifford Algebra. I propose the next step in investigating the computational principles of perception would be to devise oscillatory circuits such as this Clifford Vectors Analog Electronics Analogy, to see what is possible using waves as a principle of spatial representation and computation. When we discover what kinds of things can be computed using a cyclic / phasic analog system built to emulate Clifford Algebra, only then will we be ready to hypothesize the computational function of the oscillations found in the brain.

This concludes my introduction to Clifford Algebra, but this is by no means the end of the story! This narrative continues with the story of Geometric Algebra, the modern reformulations and some extraordinary extensions to Clifford’s and Grassman’s work, largely due to David Hestenes, that reveal the true potential of Clifford Algebra and its intimate connection with perception. David Hestenes saw fit to rename Clifford Algebra to Geometric Algebra, which it turns out was Clifford’s own choice, because Hestenes wanted to emphasize the fact that Clifford Algebra is not just another algebra, but a radical discovery of the true roots of all algebras, and those roots are geometric in nature.

BigRedDog

 

The story continues with Geometric Algebra: Projective Geometry.

The final chapter is Geometric Algebra: Conformal Geometry.

Posted in Uncategorized | 70 Comments

Learn some unix Mac user!

A short hands-on introduction to the concept of unix for the Mac user.


Hey, Mac user. Did you know that there is a foundation of Unix underneath your Mac OSX operating system? Unix? What’s that? Unix was an important part of how computer operating systems came to be what they are. And unix harkens back to the old days of computing, when communication with your computer was by way of a keyboard and text screen. You type commands to your computer and it responds with text on the screen.  Besides its nostalgic appeal and historical interest, there is a great deal of raw computational power in a text based command system that unix made possible, and that is still useful to this day, and thus, the Mac user should take the opportunity learn a little history of some revolutionary principles that unix introduced to the world of computers, while learning to control your computer in a completely different way.

Unix is not any one single operating system or user interface, but a whole family of them, related in an evolutionary hierarchy with ever growing branches. In that sense unix is more of a concept than any one particular software package. The revolutionary and evolutionary aspect of unix is its fundamental reprogrammability. The user is encouraged from the outset to customize their environment by defining environment variables and aliases, writing shell scripts and c programs, to expand on and improve on the basic original unix, and besides the hard-core kernel of unix that does the lowest level tasks, the great majority of the unix interface is an accumulation of scripts and programs that people have written over the years, and are still writing, that expand on and improve on the system. If you don’t like the way a command works, redefine it to make it work the way you want. And that was the beginning of a long evolution of a number of different variations of unix all evolving in parallel, while also borrowing from each other their best features, and that evolution continues to this day.

To open a unix command window on your Mac use Finder to find to your

Applications > Utilities > Terminal.app,

or click the Terminal icon     Screen shot 2014-02-25 at 7.30.49 AM    on your command bar, if it is there. This will open a text window that speaks unix!

First, type “whoami”. This is what happens when I do it. (The $ [dollar] sign below is the original standard unix prompt, although on your Mac the prompt is more likely “slehars-MacBook:~ slehar$” or something similar.)

$ whoami
slehar

It answers that I am slehar, the username I chose for myself when I set up my account. Next, type “pwd” which means “print working directory” or print the name of the directory that I am currently working in. Here’s what happens when I type it.

$ pwd
/Users/slehar

Now lets see what is in this directory, lets get a directory listing, which is done with the command “ls”. Here’s what my directory contained when I wrote this.

$ ls
Applications Library Public bubw2
Desktop Movies Sites cprogs
Documents Music bin sandbox
Downloads Pictures bp tst

These are all files or folders in my directory. We can get a clearer picture of what they are with the “-F” command-line argument to the “ls” command, by typing “ls -F” which yields

$ ls -F
Applications/ Library/ Public/ bubw2/
Desktop/ Movies/ Sites/ cprogs/
Documents/ Music/ bin/ sandbox/
Downloads/ Pictures/ bp@ tst*

The names that have a trailing/ slash/ are directories that contain files or other directories, whereas the names without a trailing slash are the names of files. Here’s another variation on the ls command using the “-a” command-line argument to show all files and folders. There is an old unix convention that any filenames that .begin .with .a .dot are “invisible” files, they are not normally listed in a directory listing, but they can be made visible again with the -a flag as shown below

ls -a
. Documents Music
.. Downloads Pictures
.CFUser TextEncoding Library Public
Desktop Movies Sites

Here we see new files like .CFUser. There are also always two special files in every directory, one called . (dot), which means THIS directory, the other called .. (dot dot) which means the parent of this directory. Typing “ls” is equivalent to typing “ls .” which means list THIS directory.

To get the most detailed directory listing use the “-l” long listing command-line flag

$ ls -l
drwxr-xr-x   2 slehar  staff    68 Mar  6 13:49 Applications
drwx------+  4 slehar  staff   136 Mar 28 06:59 Desktop
drwx------+ 16 slehar  staff   544 Mar 28 06:57 Documents
drwx------+ 59 slehar  staff  2006 Mar 31 06:48 Downloads
drwx------+ 38 slehar  staff  1292 Mar 21 19:48 Library
drwx------+  7 slehar  staff   238 Feb  2 14:20 Movies
drwx------+  8 slehar  staff   272 Feb  2 14:22 Music
drwx------+ 16 slehar  staff   544 Mar 22 16:21 Pictures
drwxr-xr-x+  5 slehar  staff   170 Jan  9 19:33 Public
drwxr-xr-x+  5 slehar  staff   170 Jan  9 19:33 Sites
drwxr-xr-x  27 slehar  staff   918 Mar 20 16:03 bin
lrwxr-xr-x   1 slehar  staff    13 Feb 23 20:19 bp -> .bash_profile
drwxr-xr-x  35 slehar  staff  1190 Jan 10 21:28 bubw2
drwxr-xr-x   3 slehar  staff   102 Feb 12 08:06 cprogs
drwxr-xr-x   9 slehar  staff   306 Feb 21 13:37 sandbox
-rwxr-xr-x   1 slehar  staff    72 Feb 18 08:29 tst

This gives you a lot of detailed information about the files.

File Types and Permissions

The first letter on the left indicates whether its a regular file “-” or a directory “d”. (or l for a symbolic link). The next group of letters record the read/write/execute permissions on each file or directory for user/group/other with the code rwx (read, write, execute) for the user, rwx for the group, and rwx for other, in a single string. For example the string rwxrwxrwx means that everyone has permission for everything, whereas with these letters replaced with a minus, e.g. rw-rw-rw- means user group and other all have read/write permission but none can execute, whereas rwxrwx— means user and group have read/write/execute permission, but other has no permissions for anything.

The next colums give the file size in k bytes, the owner, the group, the date and time of modification, and finally the file or directory name, and for symbolic links, the -> file to which they are linked. Thats about all the information the unix operating system stores about the file, besides the data it contains.

The command-line arguments to the ls command exemplify a common feature of many unix commands, a way to modify the command with extra flags like -F or -a to modify the function of the command. The flags can be provided in any order, ls -l -a does the same thing as ls -a -l, and they can even be combined as in  ls -al in any order, ls -la to provide some specific desired behavior, ls -laF.

Another fundamental flexibility inherent in the design of unix was the possibility to change the behavior of the commands to suite your personal preferences. For example if you prefer the format of “ls -F” (which is the format I prefer) then you can redefine the ls command for yourself by defining an alias, like this

$ alias ls=‘ls -F’

This says any time I type “ls” behave as if I had typed “ls -F”. If you want to preserve the original behavior of ls (which is usually a good idea) it is better practice to define your own new command, for example call it “lf” to mean “ls -F” as distinct from “ls”.

Type this command into your terminal:

$ alias lf=‘ls -F’

Note no spaces either side of the=equals=sign. Now type

$ lf

and see what happens. Do you get the  same thing you get when you type “ls -F”?

An alias redefines a command. You can see what aliases you have defined by just typing alias without an argument

$ alias
alias lf=‘ls -F’

Now lets try out the history feature. Hit up-arrow to recall the last command. If you hit Enter it will repeat the last command as if you had typed it in again. If you hit up-arrow more than once, you go back to earlier commands and execute them with Return. And you can edit those previous commands to make new ones.

For example hit up-arrow until you recall this command

$ alias lf=‘ls -F’

then hit left arrow and type “a” to edit the command to

$ alias lf=‘ls -aF’

or

$ alias lf=‘ls -laF’

You can also type “history” and get a history listing of all your previous commands in this session, in a numbered list, and you can recall any command from the list by typing ! and the list number.

This makes it easy to do quick trial-and-error experiments to find out what works and what doesn’t.

Now before we start exploring our directory structure, let us set up a fancy lf alias that will show the path to the directory in a ====[ header line ]==== over the directory listing. Copy and paste this command (without the $) into your terminal window and hit Return.

$ alias lf='echo =====[ `pwd` ]=====; ls -F'

alias lf='echo =====[ `pwd` ]=====; ls -F'
 

Try it out. Does it work like this?

$ lf
=====[ /Users/slehar ]=====
Applications/    Documents/    Library/    Music/    Public/
Desktop/    Downloads/    Movies/    Pictures/    Sites/

Type the command “pwd” which means “print working directory” and you should get something like this:

$ pwd
/Users/slehar

Now type this:

$ echo pwd
pwd

The echo command simply echos back what is given to it.

$ echo `pwd`
/Users/slehar

The `back ticks` (or `back quotes`) have a special meaning, they execute the command between the `back ticks` as if it had been typed to the terminal, and returns the text returned by the command. In this case pwd, when typed in as a command, prints the working directory, “/Users/slehar” which echo then echos.

Now type the command

$ lf -a
=====[ /Users/slehar ]=====
./    .dvdcss/    Documents/
../    .fontconfig/    Downloads/
.CFUserTextEncoding    .jnlp-applet/    Library/
.DS_Store    .serverauth.218    Movies/
.Trash/    .serverauth.363    Music/
.Xauthority    .ssh/    Pictures/
.bash_history    .viminfo    Public/
.cups/    Applications/    Sites/
.cvspass    Desktop/

and we see a lot of “invisible” files and directories whose names start with a .dot they only are visible with the -a (all) flag to ls. Among them are two special directories that appear as

./
../

The trailing/ slash/ indicates that they are directories, their real names are just . and .. respectively. “.” means this directory, the present working directory, the one we are in. And the special name “..” means the directory above us, our “parent” directory, in this case it is /User, under which we exist as /User/AGuest.

Type

$ lf ..
=====[ /Users/slehar]=====
AGuest/    Shared/    andy/    gregmillington/    slehar/

The ==[ path in the header line ]== is wrong, this is a listing of its parent directory, /Users, as you can see by typing these commands

$ cd ..
$ lf
=====[ /Users ]=====
AGuest/    Shared/    andy/    gregmillington/    slehar/

which shows the correct path in the header line. We can go one higher with the command

$ cd ..
$ lf
=====[ / ]=====
Applications/    dev/
Developer/    etc@
Library/    home/
Network/    mach_kernel
Nik Software/    net/
System/    private/
User Guides And Information@    sbin/
Users/    tmp@
Volumes/    usr/
bin/    var@
cores/

This is the root directory, “/”, the root of the whole tree. Don’t mess with these folders, this is system stuff that you should not monkey with. Lets go back to your home directory.

Type the following commands:

$ echo $HOME
/Users/slehar

HOME is an “environment variable” whose value is retrieved by prepending a $dollar. You can use echo to check what the value of $HOME is, or you can use it directly in a command to go back to your home directory.

$ cd $HOME

$ lf
=====[ /Users/slehar ]=====
Applications/    Documents/    Library/    Music/    Public/
Desktop/    Downloads/    Movies/    Pictures/    Sites/

And if you’re not back home where you started, you’ve done something wrong. If you get real messed up, just open another terminal window Shell > New Window > Terminal > Basic and start from scratch.

Well thats enough unix for the first lesson, perhaps I might be motivated to add another later.

Posted in Uncategorized | Leave a comment

Experience the Transcendent Moment of Cosmic Consciousness

In his book This Is It: and Other Essays on Zen and Spiritual Experience (1958) Alan Watts discusses the experience of “cosmic consciousness” reported “from all historical times and cultures, of the same unmistakable sensation emerging, as a rule, quite suddenly and unexpectedly and from no clearly understood cause.

To the individual thus enlightened it appears as a vivid and overwhelming certainty that the universe, precisely as it is at this moment, is so completely right as to need no explanation or justification beyond what it simply is. … the mind is so wonder-struck at the self-evident and self-sufficient fitness of things as they are … that they cannot find any word strong enough to express the perfection and beauty of the experience” (p. 11)

I have had that experience of cosmic consciousness on more than one occasion, and indeed, I believe I can intellectualized it so that anyone can have that experience by just adopting the right perspective.

In our normal everyday experience of the world, everything seems pedantic, perfectly normal, nothing going on here. I am now sitting in my armchair at home, on a perfectly normal morning before going off to work to my normal daily job, and besides the writing of this blog, I can report that “nothing happened” this morning, it was just another day.

And yet, there is another totally different perspective that you can adopt any time you choose to. Just ask yourself some basic foundational questions, and you will run right into the wonder of Cosmic Consciousness. What exactly is this “normal” day that is happening here? Well, I am a man, that is, a semi-intelligent ape-man, evolved over millions of years from apes that lived in the trees, who in turn evolved from early mammals who evolved from reptiles who evolved from fish who evolved from slugs and slime  and amoebas that emerged spontaneously from the primal goo. Primal goo? Where did that even come from? Well we live on a planet, a giant ball of red hot magma with a huge iron core floating in empty space, with a very thin crust or veneer of solid rock that is wrinkled and rumpled by the convection currents in the viscous semi-liquid magma. Life is sustained by a GIANT ball of fire, I mean really GIANT, humongous, incredibly vast and huge beyond our capacity to imagine it in all its glory. And that ball of fire is fueled by nuclear reactions going on in its core, that have been going on for about four and a half BILLION years! BILLION, I tell you! I’m sure you know how many zeros it has, but I’ll bet you have NO IDEA how long a billion years really is! And that star formed from the collapse of clouds of gas expelled from other stars, which in turn were formed from the hydrogen gas that resulted from the original Big Bang.  Big Bang? Is that for real? The entire universe appeared spontaneously out of nothing in the middle of nowhere, and now here it is? Are we supposed to believe that? Is that really credible at any level?

And perhaps the most incredible of all the mysteries of the universe is the fact that a semi-intelligent ape-man whose brain is made of living tissue, can have a conscious experience of himself and of a local piece of the universe as if his mind can extend out of his skull and make direct contact with the world around him. Of all possible things that could possibly have happened, I find myself in a universe that exploded into existence spontaneously out of nowhere. What are the odds of that? And of all the stars and planets in all the galaxies of the universe, I happen to exist on the planet where life emerged spontaneously out of nowhere, picked itself up right out of the primal goo and started evolving. And of all the living creatures that have lived or will live on this planet, I happen to be a human, the master species and ruler of this planet,  and living in a time of peace and prosperity as has never been known before. And I was born in the most extraordinary era that has ever happened in the history of the earth, with technology exploding into extraordinary new possibilities, the internet that I saw emerge in my lifetime, uniting the information from all the libraries of the world to a giant super-super-library that we can access immediately from a little device that fits in my pocket!

Not only that, but I also have a job that I go to every day, that pays the bills and lets me enjoy the privilege of sitting in my chair on an ordinary morning of an ordinary day before work, and enjoy a quiet little moment of Cosmic Consciousness right here in my armchair!

The ignorant man marvels at the exceptional; the wise man marvels at the common.
– Jonathan Edwards

 The most incomprehensible thing about the world is that it is comprehensible.

– Albert Einstein

Two men look out through the same bars: One sees the mud, and one the stars.

– Frederick Langbridge

Posted in Uncategorized | 2 Comments

The World In Your Head

Look into a bright light bulb or a camera flash, then look away and examine the after-image. What is it exactly that you are looking at? It is a patch of color due to saturation of the retina by the bright light. But think about it — are you looking at your retina when you view that colored patch? No, because my retina is up there in the back of my eyeball, but this image is out there in space before me, although it jumps to wherever I turn my gaze, as if it were being projected out of my retina into empty space. Is that what is going on? Well, to trace the causal chain of vision, light from the world enters your eye, where it is transduced to an electrochemical signal which is transmitted up the optic nerve to your brain. The colored patch that you see is the effect of the retinal saturation on the image sent from the eye to the brain. But my brain is back here inside my skull, and that image is hanging in space out in front of my eyes!

Consider another peculiarity of vision: Close your eyes and see what happens. The world you saw around you suddenly disappears, as if your eyelids were blocking the view from your eyeballs so all you can see is the inside of the closed lids. Is that what is really happening? Lets think about it: The world around you can be factored into objective and subjective components. There is the world itself that exists independent of my experience of it, and then there is my experience of the world as I see it with eyes open. When I close my eyes, the objective world continues to exist uninterrupted, but my subjective experience of the world has blinked out of existence due to the blockage of my view by my eyelids. So the colored three-dimensional world that blinks out of existence when we lower our lids, whose existence is causally dependent on the state of my eyelids, that is the subjective world of my experience, a view of the world from my perspective. How can three-dimensional colored moving images exist in the seething grey matter of my brain? Or are the images of our experience projected out of our head to appear superimposed on the world around us?

There is a third peculiarity of vision that you can see if you stand in a long hallway. Does the far end of the hallway look smaller than the nearer portions? Do the sides of the hallway seem to converge in the distance? Do the sides of the hallway actually converge into the distance? If not, then why do they appear as if they do?  And when you stand on a long straight road or a railway track, the sides of the road appear to converge to a point on the horizon.

Subjects in a hallway are presented with three cardboard models, and asked which model most resembled their experience of the hallway. Most subjects picked model B.

They were then offered a third model with grid lines overlaid, and they were told that this is a scale model, but that the scale varies with depth into the model. In other words this model embodies the same duality in size perception plainly evident in the hallway itself: Things in the distance appear smaller by perspective, but at the same time they appear undiminished in size!

When offered this alternative, 90% of the subjects chose this model as the best representation of their experience of the hallway.

This experiment reveals that our experience has a variable representational scale, in other words, the spatial scale of our experience gets smaller and smaller into the distance, reaching perceptual infinity at the dome of the sky, where the distant stars appear as if on a spherical surface.

Nowhere in the objective world of external reality is there anything remotely resembling perspective as we observe it in phenomenal experience. The prominant violation of Euclidean geometry in phenomenal perspective is perhaps the clearest evidence for the world of experience as an internal rather than an external entity, for the curvature of perceived space is clearly not a property of the world itself, only of our perceptual representation of it.

The Curvature of Perceived Space

What does it mean for a space to be curved? If it is the space itself which is curved, rather than just the objects within that space, then it is the definition of straightness itself which is curved in that space. In other words if the space were filled with a set of grid-lines marking straight lines with uniform spacing, those lines themselves would be curved rather than straight, as they are in Euclidean space. However the curvature would not be apparent to creatures who live in that curved space, because the curves that are followed by those grid lines are the very definition of straightess in that space. In other words a curved object in that curved space would be defined as perfectly straight, as long as the curvature of the object exactly matched the curvature of the space it was in. If you are having difficulty picturing this paradoxical concept, and suspect that it embodies a contradiction in terms, just look at phenomenal perspective which has exactly that paradoxical property. For phenomenal perspective embodies exactly that same contradiction in terms, with parallel lines meeting at two points while passing to either side of the percipient, and while being perceived to be straight and parallel and equidistant throughout their length. This absurd contradiction is clearly not a property of the physical world, which is measurably Euclidean at least at the familiar scale of our everyday environment. Therefore that curvature must be a property of perceived space, thereby confirming that perceived space is not the same as the external space of which it is an imperfect replica.

In fact, the observed warping of perceived space is exactly the property that allows the finite representational space to encode an infinite external space. This property is achieved by using a variable representational scale, i.e. the ratio of the physical distance in the perceptual representation relative to the distance in external space that it represents. This scale is observed to vary as a function of distance from the center of our perceived world, such that objects close to the body are encoded at a larger representational scale than objects in the distance, and beyond a certain limiting distance the representational scale, at least in the depth dimension, falls to zero, i.e. objects beyond a certain distance lose all perceptual depth. This is seen for example where the sun and moon and distant mountains appear as if cut out of paper and pasted against the dome of the sky.

The world really is all in your head!

Posted in Uncategorized | 1 Comment