What is the difference between scalar values and vectors?

What is a scalar?

Stated simply a scalar has a magnitude, only. Typically scalar values are real numbers. For example, the number four is a scalar value, where four is the magnitude.

What is a vector?

A vector has a magnitude like a scalar, but it also has a direction. For example, a vector might be expressed as <2, 3>. This notation breaks down the vector into its components. Another notation for vectors is polar notation. An example of polar notation is 4 at angle 45 degrees. This notation identifies the magnitude and the direction.

In practice, both scalars and vectors typically also are expressed with units. For example, saying the length of something is four is meaningless without units. Saying something is 4 meters in length makes the value usable.

Converting vectors to scalars

Sometimes we are not concerned with the direction of a vector, and simply want to know it's magnitude. In this case, we can take magnitude of the vector. In polar notation getting a magnitude of a vector is relatively simple. In the example above of four at angle 45°, the magnitude is four.

In the other vector example above, <2, 3>, to get the magnitude, we can employ trigonometry. The two magnitudes two and three can be envisioned as forming the adjacent at opposite sides of a triangle. Then the vector's magnitude is the length of the hypotenuse of the triangle. So, by the Pythagorean theorem, we know that the link to the hypotenuse would be sqrt(2*2 + 3*3) or sqrt(4+9) or sqrt(13).

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <p> <b> <i>
  • You may quote other posts using [quote] tags.
  • Filtered words will be replaced with the filtered version of the word.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.