Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Physics[Vectors][`+`] - add algebraic Vectors
Physics[Vectors][`.`] - compute the dot product of algebraic Vectors
Physics[Vectors][`&x`] - compute the cross product of algebraic Vectors
Calling Sequence
A + B
A . B
A &x B
Parameters
A, B
-
any algebraic expressions, including explicit (projected) or implicit (non-projected) vectors
Description
The addition, subtraction, dot and cross product of the algebraic vectors of the Physics[Vectors] subpackage are accomplished by the operators +, -, ., and &x respectively. When entering &x, it is recommended to make explicit the precedence of operations by using parentheses ( ) because the infix operators & have higher precedence than the standard operations [+, *, -, ^].
The `%+` `%.` and `%&x` are the inert forms of `+` `.` and &x, that is: if used as in a function call, such as `%.`(A, B), they represent the same mathematical operations while holding the operations unperformed. To activate the operations use value.
Since the representation for vectors is algebraic, there is computationally no difference between a formal zero vector and the number and the additive inverse of a vector, say , can also be represented directly by .
These operations commands of the Physics[Vectors] subpackage are designed to work with non-projected vector functions, as well as with cartesian, cylindrical or spherical projections (see Physics[Vectors]). In the case of projected vector functions, it is required that the vectors entering a given expression are all projected into one and the same orthonormal vector base.
Both projected and nonprojected vectors of the Physics[Vectors] subpackage can also represent 3-D-vectorial noncommutative quantum operators - see for instance the Quantum Mechanics section, of Physics, examples (this page opens only in the Standard Graphical User Interface). In this case, the scalar product of two vectorial quantum operators is defined as follows.
When the quantum operator vectors A_ and B_ are not projected, the product operations return unevaluated
When the and are projected, that is, their components in one of the cartesian, cylindrical, or spherical bases are known, the scalar and cross products of these noncommutative quantum operators are respectively symmetrized and anit symmetrized as follows:
Examples of the use of 3-D vectorial quantum operators are found in the Quantum Mechanics section of Physics, examples.
All the received arguments are checked for consistency before a result is returned; no matter the complexity of (maybe) nested expressions. For instance, if the addition of a vector with a scalar, or the standard product * between two vectors is found inside an expression, the calculations are interrupted and an error message is presented.
To multiply a scalar function times a vector you can use either . or the usual multiplication operator *.
Examples
Operations between non-projected vectors are implemented. For that purpose, either set the postfix identification for non-projected vectors using the Setup command, or use the default loaded with the Vectors package, that is the underscore _. For illustration purposes we set this postfix identification here again, and so objects like , and represent non-projected vectors, with the underscore representing a mimicry for the usual "arrow on top"
The following could be any sequence of characters.
The basic operation with non-projected vectors return normalized so mathematically equivalent expressions written in different manners are identified as mathematically equal.
Normal form for dot product of Vectors.
Normal form for cross product of Vectors.
Basic identities are recognized.
Expansion rules
The triple product has the cyclic property
See Also
Physics, Physics conventions, Physics examples, Physics[Vectors], VectorCalculus
Download Help Document