Cross products | Chapter 10, Essence of linear algebra

3Blue1Brown
31 Aug 201608:53

Summary

TLDRThis video script delves into the concept of cross products, starting with a basic introduction for two-dimensional vectors by visualizing the parallelogram formed and explaining how orientation affects the sign of the cross product. It emphasizes the importance of determinants in calculating the area of this parallelogram, which serves as the magnitude of the cross product. The script then transitions to the true three-dimensional cross product, where a new vector is derived, perpendicular to the original vectors, with magnitude equal to the parallelogram's area and direction determined by the right-hand rule. The video promises a deeper exploration of the cross product's geometric and linear transformational significance in a follow-up video, hinting at the elegance of the underlying mathematical concepts.

Takeaways

  • 📚 The video script provides an introduction to the concept of the cross product, with a standard explanation and a deeper understanding in the context of linear transformations.
  • 📏 The cross product is initially discussed in two dimensions, involving two vectors and the parallelogram they define.
  • 📈 The cross product of two vectors v and w is related to the area of the parallelogram spanned by these vectors, with the sign depending on the orientation (v to the right of w gives a positive area, and vice versa).
  • 🔄 The order of the vectors in the cross product matters; swapping them changes the sign of the result.
  • 🧭 The orientation can be remembered using the right-hand rule, with the cross product of the basis vectors i-hat and j-hat being positive.
  • 🔢 The determinant is used to calculate the cross product in 2D, by placing the vectors as columns in a matrix and computing the determinant.
  • 📉 The determinant measures how areas change due to a transformation, which is why it's used to find the area of the parallelogram resulting from the transformation of a unit square.
  • 📊 The cross product is not just a number but also a vector in 3D, with its magnitude being the area of the parallelogram and its direction perpendicular to the plane of the two original vectors.
  • ✋ The right-hand rule is used to determine the direction of the cross product vector in 3D, ensuring it is perpendicular to both original vectors.
  • 🔄 The script mentions a 3D determinant process for calculating the cross product, which involves a matrix with the basis vectors and the vectors being crossed.
  • 🤔 The deeper understanding of the cross product in relation to linear transformations and the underlying geometry will be discussed in a follow-up video.

Q & A

  • What is the cross product of two vectors?

    -The cross product of two vectors v and w is a vector that is perpendicular to both v and w, with a magnitude equal to the area of the parallelogram defined by v and w. Its direction is determined by the right-hand rule.

  • Why is the order of vectors important in the cross product?

    -The order of vectors is important because it determines the orientation of the resulting cross product. If v cross w is positive, then v is on the right of w. If v is on the left of w, then v cross w is negative.

  • How does the orientation of vectors affect the cross product?

    -The orientation affects the sign of the cross product. If the vectors are in a right-handed orientation (v on the right of w), the cross product is positive. If they are in a left-handed orientation (v on the left of w), the cross product is negative.

  • What is the relationship between the cross product and the determinant?

    -The cross product can be computed using the determinant of a matrix where the columns represent the vectors being crossed. The determinant measures how areas change due to a transformation, and in the case of the cross product, it gives the area of the parallelogram formed by the vectors.

  • How can you remember the correct order for the cross product of the basis vectors i-hat and j-hat?

    -You can remember the correct order by noting that the result of i-hat cross j-hat should be positive. Since i-hat is on the right of j-hat, v cross w should be positive when v is on the right of w.

  • What happens to the cross product if one of the vectors is scaled?

    -If one of the vectors, say v, is scaled up by a factor of k (e.g., k*v), the cross product is also scaled up by that same factor. So, k*v cross w will be k times the value of v cross w.

  • What is the geometric interpretation of the cross product vector?

    -The cross product vector geometrically represents a vector that is perpendicular to the plane containing the original vectors v and w. Its magnitude is equal to the area of the parallelogram spanned by v and w.

  • How does the right-hand rule help in determining the direction of the cross product?

    -The right-hand rule helps in determining the direction of the cross product by pointing the forefinger of your right hand in the direction of vector v, and the middle finger in the direction of vector w. The direction of the thumb points in the direction of the cross product.

  • What is the significance of the parallelogram area in the cross product?

    -The area of the parallelogram, which is spanned by the two vectors being crossed, is significant because it determines the magnitude of the cross product vector.

  • How is the cross product computed in three dimensions?

    -In three dimensions, the cross product is computed using a 3x3 matrix where the first column contains the basis vectors i-hat, j-hat, and k-hat, and the second and third columns contain the coordinates of vectors v and w. The determinant of this matrix gives a linear combination of the basis vectors, which defines the cross product vector.

  • What is the connection between the cross product and linear transformations?

    -The cross product is related to linear transformations through the determinant, which measures how areas change due to a transformation. The cross product vector is a result of such a transformation, where the original unit square is transformed into a parallelogram whose area is given by the determinant.

Outlines

00:00

📚 Introduction to Cross Products

This paragraph introduces the concept of cross products in the context of linear transformations, with a plan to explore it in two parts. The first part explains the standard introduction to cross products, starting from two-dimensional vectors and the parallelogram they form. It discusses the orientation and the order of vectors, emphasizing that the cross product is positive when v is on the right of w and negative otherwise. The determinant is introduced as a method to calculate the cross product, relating it to linear transformations and changes in area. An example with specific vector coordinates is used to illustrate the computation of the cross product using determinants. The paragraph concludes with observations about the properties of the cross product, such as its magnitude being larger when vectors are closer to being perpendicular and its behavior under scalar multiplication.

05:02

📐 The True Cross Product in 3D

The second paragraph delves into the true cross product, which is a vector operation in three dimensions. It explains that the cross product results in a vector whose magnitude is the area of the parallelogram defined by the two input vectors, and whose direction is perpendicular to that plane, determined by the right-hand rule. The paragraph provides a concrete example with vectors pointing in the z and y directions, resulting in a cross product pointing in the negative x direction. It also discusses the computation of the cross product using a 3D determinant involving basis vectors. The paragraph hints at a deeper understanding of this computation through the concept of duality, which will be explored in a separate video. The importance of understanding the geometric representation of the cross product vector is emphasized, inviting viewers to delve deeper into the mathematical elegance behind the operation.

Mindmap

Keywords

💡Dot Product

The dot product, also known as the scalar product, is an algebraic operation that takes two equal-length sequences of numbers (usually coordinate vectors) and returns a single number. In the context of the video, the dot product was previously discussed in relation to linear transformations, serving as a comparison to the cross product which is the main focus of the video's discussion.

💡Cross Product

The cross product is a binary operation on two vectors in a three-dimensional space, resulting in a vector which is perpendicular to the plane containing the two original vectors. It is central to the video's theme, as the script delves into the standard introduction of the concept and a deeper geometric understanding involving linear transformations.

💡Parallelogram

A parallelogram is a four-sided figure with opposite sides that are equal in length and parallel. In the script, the parallelogram is used to visualize the geometric interpretation of the cross product, where the area it spans with two vectors, v and w, is a key component in understanding the magnitude of the cross product.

💡Orientation

Orientation refers to the arrangement or position of an object in space. The script mentions that the cross product takes into account the order of the vectors, which determines the orientation and consequently the sign (positive or negative) of the cross product.

💡Determinant

The determinant is a scalar value that is a function of the entries of a square matrix. It's used in the context of the video to calculate the area of the parallelogram formed by two vectors in 2D space, which is essential for understanding the computation of the cross product.

💡Basis Vectors

Basis vectors are the fundamental building blocks of a vector space. In the script, the basis vectors i-hat and j-hat are used to define the orientation and to compute the cross product through the determinant of a matrix formed by the coordinates of vectors v and w.

💡Right Hand Rule

The right-hand rule is a common mnemonic for understanding the direction of the cross product. The script describes using the right hand to determine the direction of the cross product vector, which is perpendicular to the plane formed by the original vectors v and w.

💡Perpendicular

Perpendicular refers to a line or plane that forms a right angle (90 degrees) with another. The script uses the concept of perpendicularity to explain how the cross product results in a vector that is perpendicular to the plane containing the original vectors.

💡Linear Transformation

A linear transformation is a function that maps vectors from one vector space to another while preserving the operations of vector addition and scalar multiplication. The script hints at the deeper connection between linear transformations and the cross product, suggesting a more advanced mathematical concept that will be explored in a follow-up video.

💡Duality

Duality in the context of the video refers to a concept in linear algebra where certain properties or operations have analogous counterparts. The script mentions duality as a concept that will be used to explain the deeper geometric meaning behind the computation of the cross product in a separate follow-on video.

Highlights

Introduction to the concept of the cross product in relation to linear transformations.

Explanation of the cross product in two dimensions using the parallelogram spanned by two vectors v and w.

Cross product's dependence on vector orientation, with v cross w being positive when v is on the right of w.

Importance of order in cross product calculations, where swapping vectors results in a negative value.

Memory aid for cross product ordering using the basis vectors i-hat and j-hat.

Use of determinants for calculating the 2D cross product.

Connection between the determinant, linear transformations, and area changes.

Example calculation of the cross product using determinants with given vector coordinates.

Geometric interpretation of the cross product, including its magnitude and direction.

Demonstration of how the cross product changes with vector scaling.

Introduction to the true 3D cross product, which results in a vector.

Description of the right-hand rule for determining the direction of the cross product vector.

Example using the right-hand rule with perpendicular vectors to find the cross product vector.

Discussion of the 3D determinant process for computing the cross product.

Explanation of the notational trick involving basis vectors in the cross product computation.

Promise of a deeper exploration of the cross product in a follow-up video.

Invitation for curious learners to understand the geometric connection behind the cross product computation.

Transcripts

play00:09

Last video I talked about the dot product, showing both the standard introduction

play00:13

to the topic, as well as a deeper view of how it relates to linear transformations.

play00:18

I'd like to do the same thing for cross products,

play00:21

which also have a standard introduction, along with a deeper understanding

play00:24

in the light of linear transformations, but this time I'm dividing it into

play00:27

two separate videos.

play00:29

Here, I'll try to hit the main points that students are usually shown

play00:33

about the cross product, and in the next video I'll be showing a view

play00:36

which is less commonly taught, but really satisfying when you learn it.

play00:40

We'll start in two dimensions.

play00:42

If you have two vectors, v and w, think about the parallelogram that they span out.

play00:47

What I mean by that is that if you take a copy of v and move its tail to the tip of w,

play00:53

and you take a copy of w and move its tail to the tip of v,

play00:56

the four vectors now on the screen enclose a certain parallelogram.

play01:02

The cross product of v and w, written with the x-shaped multiplication symbol,

play01:06

is the area of this parallelogram.

play01:10

Well, almost.

play01:11

We also need to consider orientation.

play01:14

Basically, if v is on the right of w, then v cross w

play01:17

is positive and equal to the area of the parallelogram.

play01:21

But if v is on the left of w, then the cross product is negative,

play01:25

namely the negative area of that parallelogram.

play01:28

Notice this means that order matters.

play01:31

If you swapped v and w, instead taking w cross v,

play01:33

the cross product would become the negative of whatever it was before.

play01:39

The way I always remember the ordering here is that when you take the cross product

play01:43

of the two basis vectors in order, i-hat cross j-hat, the result should be positive.

play01:48

In fact, the order of your basis vectors is what defines orientation.

play01:52

So since i-hat is on the right of j-hat, I remember that v

play01:56

cross w has to be positive whenever v is on the right of w.

play02:01

So for example, with the vectors shown here, I'll just

play02:04

tell you that the area of that parallelogram is seven.

play02:07

And since v is on the left of w, the cross product should be negative.

play02:11

So v cross w is negative seven.

play02:15

But of course, you want to be able to compute this without someone telling you the area.

play02:20

This is where the determinant comes in.

play02:23

So if you didn't see chapter five of this series,

play02:25

where I talk about the determinant, now would be a really good time to go take a look.

play02:29

Even if you did see it, but it was a while ago,

play02:31

I'd recommend taking another look just to make sure those ideas are fresh in your mind.

play02:37

For the 2D cross product, v cross w, what you do is you write the coordinates

play02:41

of v as the first column of a matrix, and you take the coordinates of w

play02:45

and make them the second column, then you just compute the determinant.

play02:51

This is because a matrix whose columns represent v and w corresponds with a

play02:56

linear transformation that moves the basis vectors i-hat and j-hat to v and w.

play03:06

The determinant is all about measuring how areas change due to a transformation,

play03:11

and the prototypical area that we look at is the unit square resting on i-hat and j-hat.

play03:17

After the transformation, that square gets turned

play03:19

into the parallelogram that we care about.

play03:22

So the determinant, which generally measures the factor by which areas are changed,

play03:26

gives the area of this parallelogram, since it evolved from a square that started with

play03:31

area one.

play03:32

What's more, if v is on the left of w, it means that orientation was flipped during

play03:37

that transformation, which is what it means for the determinant to be negative.

play03:43

As an example, let's say v has coordinates negative 3, 1, and w has coordinates 2, 1.

play03:50

The determinant of the matrix with those coordinates as columns

play03:56

is negative 3 times 1 minus 2 times 1, which is negative 5.

play04:01

So evidently, the area of the parallelogram they define is 5,

play04:05

and since v is on the left of w, it should make sense that this value is negative.

play04:11

As with any new operation you learn, I'd recommend playing

play04:13

around with this notion a bit in your head, just to get kind

play04:16

of an intuitive feel for what the cross product is all about.

play04:19

For example, you might notice that when two vectors are perpendicular,

play04:23

or at least close to being perpendicular, their cross product is larger than

play04:27

it would be if they were pointing in very similar directions,

play04:30

because the area of that parallelogram is larger when the sides are closer to

play04:34

being perpendicular.

play04:37

Something else you might notice is that if you were to scale up one of those vectors,

play04:42

perhaps multiplying v by 3, then the area of that parallelogram

play04:46

is also scaled up by a factor of 3.

play04:49

So what this means for the operation is that 3v

play04:52

cross w will be exactly 3 times the value of v cross w.

play04:58

Now, even though all of this is a perfectly fine mathematical operation,

play05:01

what I just described is technically not the cross product.

play05:05

The true cross product is something that combines

play05:08

two different 3d vectors to get a new 3d vector.

play05:12

Just as before, we're still going to consider the parallelogram

play05:15

defined by the two vectors that we're crossing together,

play05:18

and the area of this parallelogram is still going to play a big role.

play05:22

To be concrete, let's say that the area is 2.5 for the vectors shown here.

play05:27

But as I said, the cross product is not a number, it's a vector.

play05:30

This new vector's length will be the area of that parallelogram,

play05:34

which in this case is 2.5, and the direction of that new vector is going to be

play05:39

perpendicular to the parallelogram.

play05:42

But which way, right?

play05:44

I mean, there are two possible vectors with length

play05:46

2.5 that are perpendicular to a given plane.

play05:50

This is where the right hand rule comes in.

play05:53

Point the forefinger of your right hand in the direction of v,

play05:56

then stick out your middle finger in the direction of w.

play05:59

Then, when you point up your thumb, that's the direction of the cross product.

play06:08

For example, let's say that v was a vector with length 2 pointing straight up in

play06:12

the z direction, and w is a vector with length 2 pointing in the pure y direction.

play06:17

The parallelogram that they define in this simple example is actually a square,

play06:21

since they're perpendicular and have the same length, and the area of that square is 4.

play06:26

So their cross product should be a vector with length 4.

play06:29

Using the right hand rule, their cross product should point in the negative x direction.

play06:36

So the cross product of these two vectors is negative 4 times i-hat.

play06:45

For more general computations, there is a formula that you could memorize if you wanted,

play06:49

but it's common and easier to instead remember a certain

play06:52

process involving the 3D determinant.

play06:55

Now, this process looks truly strange at first.

play06:59

You write down a 3D matrix where the second and

play07:01

third columns contain the coordinates of v and w.

play07:05

But for that first column, you write the basis vectors i-hat, j-hat, and k-hat.

play07:11

Then you compute the determinant of this matrix.

play07:15

The silliness is probably clear here.

play07:17

What on earth does it mean to put in a vector as the entry of a matrix?

play07:20

Students are often told that this is just a notational trick.

play07:25

When you carry out the computations as if i-hat, j-hat, and k-hat were numbers,

play07:29

then you get some linear combination of those basis vectors.

play07:35

And the vector defined by that linear combination, students are told to just believe,

play07:40

is the unique vector perpendicular to v and w,

play07:43

whose magnitude is the area of the appropriate parallelogram,

play07:46

and whose direction obeys the right hand rule.

play07:51

And sure, in some sense this is just a notational trick,

play07:54

but there is a reason for doing it.

play07:58

It's not just a coincidence that the determinant is once again important.

play08:01

And putting the basis vectors in those slots is not just a random thing to do.

play08:06

To understand where all of this comes from, it helps to

play08:09

use the idea of duality that I introduced in the last video.

play08:12

This concept is a little bit heavy though, so I'm putting it in a

play08:15

separate follow-on video for any of you who are curious to learn more.

play08:19

Arguably, it falls outside the essence of linear algebra.

play08:23

The important part here is to know what that cross

play08:25

product vector geometrically represents.

play08:28

So if you want to skip that next video, feel free.

play08:30

But for those of you who are willing to go a bit deeper,

play08:33

and who are curious about the connection between this computation and the underlying

play08:36

geometry, the ideas that I'll talk about in the next video are just a really

play08:40

elegant piece of math.

Rate This

5.0 / 5 (0 votes)

Related Tags
Cross ProductLinear AlgebraVector GeometryDeterminantOrientationParallelogramRight Hand Rule3D VectorsAlgebraic OperationMathematics Education