mathlib3 documentation

linear_algebra.cross_product

Cross products #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

This module defines the cross product of vectors in $R^3$ for $R$ a commutative ring, as a bilinear map.

Main definitions #

Main results #

Notation #

The locale matrix gives the following notation:

Tags #

crossproduct

def cross_product {R : Type u_1} [comm_ring R] :
(fin 3 R) →ₗ[R] (fin 3 R) →ₗ[R] fin 3 R

The cross product of two vectors in $R^3$ for $R$ a commutative ring.

Equations
theorem cross_apply {R : Type u_1} [comm_ring R] (a b : fin 3 R) :
(cross_product a) b = ![a 1 * b 2 - a 2 * b 1, a 2 * b 0 - a 0 * b 2, a 0 * b 1 - a 1 * b 0]
@[simp]
theorem cross_anticomm {R : Type u_1} [comm_ring R] (v w : fin 3 R) :
theorem neg_cross {R : Type u_1} [comm_ring R] (v w : fin 3 R) :

Alias of cross_anticomm.

@[simp]
theorem cross_anticomm' {R : Type u_1} [comm_ring R] (v w : fin 3 R) :
@[simp]
theorem cross_self {R : Type u_1} [comm_ring R] (v : fin 3 R) :
@[simp]
theorem dot_self_cross {R : Type u_1} [comm_ring R] (v w : fin 3 R) :

The cross product of two vectors is perpendicular to the first vector.

@[simp]
theorem dot_cross_self {R : Type u_1} [comm_ring R] (v w : fin 3 R) :

The cross product of two vectors is perpendicular to the second vector.

Cyclic permutations preserve the triple product. See also triple_product_eq_det.

theorem triple_product_eq_det {R : Type u_1} [comm_ring R] (u v w : fin 3 R) :

The triple product of u, v, and w is equal to the determinant of the matrix with those vectors as its rows.

The scalar quadruple product identity, related to the Binet-Cauchy identity.

The cross product satisfies the Leibniz lie property.

def cross.lie_ring {R : Type u_1} [comm_ring R] :

The three-dimensional vectors together with the operations + and ×₃ form a Lie ring. Note we do not make this an instance as a conflicting one already exists via lie_ring.of_associative_ring.

Equations

Jacobi identity: For a cross product of three vectors, their sum over the three even permutations is equal to the zero vector.