PRODUCTS
Products Overview
Mathematica
Mathematica for Students
Mathematica Home Edition
Wolfram
CDF Player
(free download)
Computable Document Format (CDF)
web
Mathematica
grid
Mathematica
Wolfram
Workbench
Mathematica
Add-Ons
Wolfram|Alpha Products
SOLUTIONS
Solutions Overview
Engineering
Aerospace Engineering & Defense
Chemical Engineering
Control Systems
Electrical Engineering
Image Processing
Industrial Engineering
Materials Science
Mechanical Engineering
Operations Research
Optics
Petroleum Engineering
Biotechnology & Medicine
Bioinformatics
Medical Imaging
Finance, Statistics & Business Analysis
Actuarial Sciences
Data Analysis & Mining
Econometrics
Economics
Financial Engineering & Mathematics
Financial Risk Management
Statistics
Software Engineering & Content Delivery
Authoring & Publishing
Interface Development
Software Engineering
Web Development
Science
Astronomy
Biological Sciences
Chemistry
Environmental Sciences
Geosciences
Social & Behavioral Sciences
Design, Arts & Entertainment
Game Design, Special Effects & Generative Art
Education
STEM Education Initiative
Higher Education
Community & Technical College Education
Primary & Secondary Education
Students
Technology
Computable Document Format (CDF)
High-Performance & Parallel Computing (HPC)
See Also: Technology Guide
PURCHASE
Online Store
Other Ways to Buy
Volume & Site Licensing
Contact Sales
Software
Service
Upgrades
Training
Books
SUPPORT
Support Overview
Knowledge Base
Learning Center
Community & Forums
Training & Free Seminars
Does My Site Have a License?
Wolfram User Portal
COMPANY
About Wolfram Research
News & Events
Wolfram Blog
Partnerships
Employment Opportunities
History of
Mathematica
Stephen Wolfram's Home Page
Contact Us
OUR SITES
All Sites
Wolfram|Alpha
Demonstrations Project
MathWorld
Integrator
Wolfram Functions Site
Mathematica Journal
Wolfram Media
Wolfram
Tones
Wolfram Science
Stephen Wolfram
DOCUMENTATION CENTER SEARCH
New to
Mathematica
?
Find your learning path
»
Mathematica
>
Visualization and Graphics
>
Computational Geometry
>
Geometric Transforms
>
ReflectionMatrix
>
Mathematica
>
Visualization and Graphics
>
Symbolic Graphics Language
>
Graphics Transformations
>
Geometric Transforms
>
ReflectionMatrix
>
BUILT-IN MATHEMATICA SYMBOL
ReflectionTransform
RotationMatrix
See Also »
|
Geometric Transforms
More About »
ReflectionMatrix
ReflectionMatrix
[
v
]
gives the matrix that represents reflection of points in a mirror normal to the vector
v
.
MORE INFORMATION
The reflection is in a mirror that goes through the origin.
ReflectionMatrix
works in any number of dimensions. In 2D it reflects in a line; in 3D it reflects in a plane.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Reflect along the
axis, or equivalently reflect in the
axis:
Reflect along the vector
or equivalently in the plane given by
:
Reflect along the
axis, or equivalently reflect in the
axis:
In[1]:=
Out[1]//MatrixForm=
In[2]:=
Out[2]=
Reflect along the vector
or equivalently in the plane given by
:
In[1]:=
Out[1]//MatrixForm=
Scope
(4)
Reflect along the vector
or equivalently in the plane given by
:
Points in the reflection plane remain fixed:
Points outside the reflection plane get reflected in the plane:
Reflection matrix for symbolic unit vector
:
Vectors normal to
remain unchanged:
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
Applications
(1)
Flipping a surface:
Properties & Relations
(3)
The determinant of a reflection matrix is
:
The inverse of a reflection matrix is the matrix itself:
Reflection can be thought of as a special case of scaling:
Possible Issues
(1)
Reflection changes the orientation of polygons:
Neat Examples
(1)
Reflections of a cuboid in vertical planes:
SEE ALSO
ReflectionTransform
RotationMatrix
MORE ABOUT
Geometric Transforms
New in 6