
Matrices and Vectors
How to input matrices and vectors in math input fields
Matrices and Vectors
The MathMatize math engine supports both matrices and vectors with some limitations. We treat matrices as elements of ℝmxn and vectors as elements of ℝn. Matrices cannot be added or multiplied to vectors. Moreover, the engine can only simplify and evaluate constant expressions involving matrices and vectors. The math engine will error when attempting operations on matrices/vectors containing variable elements.
Matrices
Matrices can be entered manually from the physical keyboard by using the standard LaTeX matrix notation.
For example, the following will create a 2 x 3 matrix:
\begin{pmatrix}
1 & 2 & 3 \\
4 & 5 & 6
\end{pmatrix}
Matrices can also be conveniently entered using the matrix layer of the MathMatize virtual keyboard. The matrix layer is selected by clicking the matrix icon [ : : ]. See matrix functions available to content creators.
Vectors
Vectors can be entered manually from the physical keyboard by entering a square bracket delimited, comma separated list of elements.
For example, the following will create a vector with 3 elements:
[ a, b, c ]
Multiplication between vectors is treated as a dot product.
Note
- When grading responses, matrices in ℝ1x1 and vectors in ℝ1 are treated as equal to scalars.
See also: