Vector ベクトル
Vector as a collection of numbers
数の集まりとしてのベクトル
Draw a number line and place the number 0, or the origin, in the middle. To the right is the positive direction, and to the left is negative. A position on this line can be represented by a single real number.
数直線を描いて、真ん中に0、または原点を置きます。右がプラス、左がマイナス。直線上の位置は実数ひとつで表すことができます。
Draw another number line vertically, orthogonal to the first one. Either direction is fine, but let’s assume that the top is positive and the bottom is negative. With two real numbers, a point on a plane can be represented.
最初の数直線に直交するように、縦の数直線をもう一本引きます。向きはどちらでも良いのですが、上がプラス、下がマイナスとしましょう。実数が2つあれば平面上の点を表すことができます。
By adding another line perpendicular to the first two number lines, we can now represent a point in three dimensions using three real numbers.
2本の数直線に直交する垂直線をもう一本引きます。実数が3つで3次元上の点が表せるようになりました。
A vector is a tuple of several numbers put together like these, and each number in a vector is called a component.
このようにいくつかの数をひとまとめにしたものをベクトルと呼び、それぞれの数を成分と呼びます。
Vector is defined differently depending on the field, especially in mathematics, where we sometimes consider a more abstract vector space.
ベクトルの定義や意味は分野によって異なっていて、特に数学ではもっと抽象的なベクトル空間というものを考えたりします。
Vectors don’t always have to represent positions in space. For example, the RGB or HSB values of a color can also be thought of as a three-dimensional vector. Conversely, any data consisting of multiple numbers can be mapped to a space, or we can think of some kind of space they live. Colors mapped to a space is called a color space, and we can think about the distance or orientation between colors.
ベクトルが表すものは空間上の位置だけではありません。例えば色のRGBやHSBの値も3次元のベクトルだと考えることができます。逆にどんなものでも複数の数の組からなるデータであれば空間に対応させる、またはある種の空間を考えることができて、色を空間にマップしたものは色空間と呼ばれます。色と色の間の距離や向きを考えることもできます。
Vector as an arrow
矢印としてのベクトル
A vector is often described as a quantity with direction and magnitude as well. We can think of a vector as an arrow, with the length of the arrow being the magnitude and each component being the projection of the arrow onto its respective axis. This is easier to understand when considering velocity, force, etc. Try clicking randomly on the canvas in the demo below.
ベクトルは向きと大きさをもった量と説明されることもあります。ベクトルを矢印のイメージで考えて、矢印の長さが大きさ、各成分は矢印をそれぞれの軸に投影したものになります。速度や力などを考えると、このイメージが理解しやすくなります。下のデモでキャンバスをランダムにクリックしてみてください。
(In Euclidean space) The magnitude of a vector is the square root of each component squared and added together. This is an extension of the Pythagorean theorem to multiple dimensions. This can be thought as the length of the diagonal of a rectangle, a cuboid, or an n-dimensional cuboid with each component as a side.
(ユークリッド空間では)ベクトルの大きさは各成分を2乗して足し合わせたものの平方根を取ります。ピタゴラスの定理を多次元に拡張した形です。成分を各辺とした長方形、直方体、n次元直方体の対角線の長さを求めるイメージです。
Vector Operations
ベクトルの操作
Vectors can be added and subtracted. To calculate this, you can simply add or subtract corresponding components. This picture illustrates what it means spatially. Assuming vectors are arrows, if you follow , then , the vector from the starting point to where you end up is the .
ベクトルは足し算や引き算ができます。単純に対応する成分どうしを足し引きします。このように絵に描くと空間的な意味もわかりやすいでしょう。ベクトルを矢印と考えて 、それから に沿って進むと、出発点からその点までのベクトルが になります。
A vectors can be also multiplied by a scalar. A scalar is a quantity that has no direction, which is just a number. You can double or halve the length of a vector, or multiply by any number. The calculation is simply to multiply all components by the same number.
ベクトルはスカラー倍にすることもできます。スカラーというのは向きを持たない量のことで、つまりただの数です。ベクトルの長さを2倍にしたり半分にしたり、好きな数を掛けることができます。計算としては全ての成分に同じ数を掛けるだけです。
For other operations, please take a look at Vector operations.
これ以外の操作についてはベクトルの操作をご覧ください。






