What exactly is a [linear algebra] vector?

What exactly is a vector?

Physics Professional Perspective

From a physics professional point of view, a vector is an arrow in space, and the characteristics that determine the vector are its length and its direction. As long as these two characteristics are the same, you can freely move a vector and keep it unchanged.

A vector in a plane is two-dimensional, while a vector in the space we live in is three-dimensional.

Computer professional perspective

From a computer professional perspective, a vector is an ordered list of numbers.

For example, assuming an analysis of house prices, a house can be modeled with a two-dimensional vector. The first number indicates the size of the house and the second number indicates the price.

Here, "vector" is just a fancy word for "list".

The reason this vector is two-dimensional is because the list is of length 2.
insert image description here

Mathematics Professional Perspective

From a mathematical perspective, a vector can make anything, as long as it makes sense.

Coordinates of a 2D vector

The coordinates of a vector consist of a logarithm that guides you from the origin (the start of the vector) to its tip (the end of the vector).

The first number tells you along xxHow far along the x -axis, the second number tells you alongyyHow far the y -axis goes.

For example, the following vector is along xxx - axis go− 2.0 -2.02.0 units of length, then along yyy axis goes− 1.5 -1.51.5 unit length . When the length is negative, it is walking in the opposite direction to the positive direction.

insert image description here

Coordinates of a 3D vector

On the basis of the two-dimensional coordinate system, add perpendicular to xxx - axis andyyThe third axis of the y -axis, call itzzz- axis.
insert image description here

In this case, each vector has an ordered tri-primitive array corresponding to it. The first number tells you along xxHow far along the x -axis, the second number tells you alongyyhow far the y axis goes, the third number tells you along thezzHow far the z -axis goes.
insert image description here

Vector Addition and Vector Multiplication

vector addition

Assuming the addition of two vectors in the figure, we evaluate the second vector so that its start point coincides with the end point of the first vector.
insert image description here
Then draw a vector that starts from the start of the first vector and points to the end of the second vector.
insert image description here
This vector is their sum.
Numerically, the coordinates of the first vector are [ 1 2 ] \left[\begin{array}{l}1 \\2\end{array}\right][12] , the coordinates of the second vector are[ 3 − 1 ] \left[\begin{array}{l}3 \\-1\end{array}\right][31] .
insert image description here
It's not hard to find that the sum vector is equal to moving to the right first( 1 + 3 ) (1+3)(1+3 ) steps, then move up( 2 − 1 ) (2-1)(21 ) step.
insert image description here
So the sum vector is:
[ 1 2 ] + [ 3 − 1 ] = [ 1 + 3 2 + ( − 1 ) ] \left[\begin{array}{l}1 \\2\end{array}\right] +\left[\begin{array}{l}3 \\-1\end{array}\right]=\left[\begin{array}{l}1+3 \\2+(-1)\end {array}\right][12]+[31]=[1+32+(1)]

The addition of vectors is to add up the corresponding numbers.
[ x 1 y 1 ] + [ x 2 y 2 ] = [ x 1 + x 2 y 1 + y 2 ] \left[\begin{array}{l}x_{1} \\y_{1}\end{ array}\right]+\left[\begin{array}{l}x_{2} \\y_{2}\end{array}\right]=\left[\begin{array}{l}x_{1 }+x_{2} \\y_{1}+y_{2}\end{array}\right][x1y1]+[x2y2]=[x1+x2y1+y2]

vector multiplication

Vector multiplication is to stretch the vector n times its original size.
For example: nn
insert image description here
insert image description here
heren does not have the characteristics of a vector, it is calleda scalar.

Coordinate System

In general, xxA vector of length 1 in the positive direction of the x -axis and yyA vector with a length of 1 in the positive direction of the y -axis forms a coordinate system, but we can also customize these two unit vectors to change our coordinate system.

Zhang Cheng's space

v ⃗ \ vec {v}v w ⃗ \ vec {w}w The vector set composed of all linear combinations is called "the space of Zhangcheng".

v ⃗ \ vec {v}v w ⃗ \ vec {w}w When they are not collinear, the space of Zhang Cheng is a plane.

v ⃗ \ vec {v}v w ⃗ \ vec {w}w When collinear, the space of Zhang Cheng is a straight line.

v ⃗ \ vec {v}v w ⃗ \ vec {w}w Both are 0 ⃗ \vec{0}0 , the space of Zhang Cheng is the origin.

Of course, this also applies to 3D coordinate systems.

v ⃗ \ vec {v}v w ⃗ \ vec {w}w u ⃗ \ vec {u}u The vector set composed of all linear combinations is called "the space of Zhangcheng".

Guess you like

Origin blog.csdn.net/qq_36286039/article/details/124273483