Vectors

Math · Precalculus

Question 1 of 10

0

    What is the magnitude of the vector ?

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Vectors explained

    A vector has both a size (magnitude) and a direction, so it describes a movement or a force rather than a plain amount. It is written as a pair of components, such as (3, 4), which says how far to move across and how far to move up. The key operations are adding vectors, finding a vector's magnitude, and the dot product of two vectors.

    • Magnitude: the length of v⃗=(x,y)\vec{v} = (x, y) is ∣v⃗∣=x2+y2|\vec{v}| = \sqrt{x^2 + y^2}, which is Pythagoras' theorem applied to the components.
    • Addition: add the components one by one, so (1,2)+(3,−5)=(4,−3)(1, 2) + (3, -5) = (4, -3).
    • Dot product: multiply matching components and add: (x1,y1)⋅(x2,y2)=x1x2+y1y2(x_1, y_1) \cdot (x_2, y_2) = x_1x_2 + y_1y_2. The answer is a number, not a vector.
    • If the dot product of two non-zero vectors is zero, the vectors are perpendicular.

    Worked example

    Let v⃗=(3,−4)\vec{v} = (3, -4) and w⃗=(2,5)\vec{w} = (2, 5).

    1. Magnitude: ∣v⃗∣=32+(−4)2=9+16=25=5|\vec{v}| = \sqrt{3^2 + (-4)^2} = \sqrt{9 + 16} = \sqrt{25} = 5.
    2. Dot product: v⃗⋅w⃗=3×2+(−4)×5=6−20=−14\vec{v} \cdot \vec{w} = 3 \times 2 + (-4) \times 5 = 6 - 20 = -14.

    A common mistake is mishandling negative components. The square of −4-4 is +16+16, not −16-16. Another error is adding the components before squaring, which gives the wrong length, so square each component first.

    Key facts

    • A vector written (x,y)(x, y) means "move xx across and yy up". Negative components mean left or down.
    • Add or subtract vectors one component at a time. Multiplying by a number kk multiplies both components by kk.
    • Magnitude: ∣(x,y)∣=x2+y2|(x, y)| = \sqrt{x^2 + y^2}. Do all the adding, subtracting and multiplying first, then find the magnitude of the result.
    • The magnitude of a sum is not the sum of the magnitudes.
    • Two non-zero vectors are perpendicular when their dot product is 00.
    • On this page the practice questions write vectors as (x,y)(x, y). The hard magnitude question asks for 2 decimal places.

    Worked example 2

    Let u=(5,−2)\mathbf{u} = (5, -2) and v=(−3,6)\mathbf{v} = (-3, 6). Find the magnitude of 2u−v2\mathbf{u} - \mathbf{v}, to 2 decimal places.

    1. Multiply first: 2u=(10,−4)2\mathbf{u} = (10, -4).
    2. Subtract v\mathbf{v} component by component: (10−(−3), −4−6)=(13,−10)(10 - (-3),\ -4 - 6) = (13, -10).
    3. Magnitude: 132+(−10)2=169+100=269\sqrt{13^2 + (-10)^2} = \sqrt{169 + 100} = \sqrt{269}.
    4. 269=16.4012…\sqrt{269} = 16.4012\ldots
    5. ∣2u−v∣=16.40|2\mathbf{u} - \mathbf{v}| = 16.40 to 2 decimal places.

    Subtracting a negative number adds: 10−(−3)=1310 - (-3) = 13. Most lost marks in this topic come from that line.

    Worked example 3

    Let u=(−4,7)\mathbf{u} = (-4, 7) and v=(6,−2)\mathbf{v} = (6, -2). Find ∣u−v∣|\mathbf{u} - \mathbf{v}|, to 2 decimal places.

    1. Subtract first: u−v=(−4−6, 7−(−2))=(−10,9)\mathbf{u} - \mathbf{v} = (-4 - 6,\ 7 - (-2)) = (-10, 9).
    2. Square each component. A negative squared is positive: (−10)2=100(-10)^2 = 100 and 92=819^2 = 81.
    3. ∣u−v∣=100+81=181|\mathbf{u} - \mathbf{v}| = \sqrt{100 + 81} = \sqrt{181}.
    4. 181=13.4536…\sqrt{181} = 13.4536\ldots
    5. ∣u−v∣=13.45|\mathbf{u} - \mathbf{v}| = 13.45 to 2 decimal places.

    Compare the wrong shortcut. ∣u∣=65=8.0622…|\mathbf{u}| = \sqrt{65} = 8.0622\ldots and ∣v∣=40=6.3245…|\mathbf{v}| = \sqrt{40} = 6.3245\ldots. Subtracting those gives 1.741.74, which is nowhere near 13.4513.45, because the magnitude of a difference depends on the directions as well as the lengths.

    Worked example 4

    The vector (k,9)(k, 9) has magnitude 130\sqrt{130} and kk is positive. Find kk.

    1. Square both sides of ∣(k,9)∣=130|(k, 9)| = \sqrt{130}: k2+92=130k^2 + 9^2 = 130.
    2. k2=130−81=49k^2 = 130 - 81 = 49.
    3. k=49=7k = \sqrt{49} = 7 (the negative root −7-7 is rejected because kk is positive).

    Check: 72+92=49+81=130\sqrt{7^2 + 9^2} = \sqrt{49 + 81} = \sqrt{130}.

    For a perpendicular version, take (k,5)(k, 5) and (10,−4)(10, -4). The dot product is 10k−2010k - 20. Setting 10k−20=010k - 20 = 0 gives k=2k = 2.

    Common mistakes

    • Squaring a negative component and keeping the minus sign: (−10)2(-10)^2 is 100100, not −100-100.
    • Finding ∣u∣−∣v∣|\mathbf{u}| - |\mathbf{v}| instead of ∣u−v∣|\mathbf{u} - \mathbf{v}|. Subtract the vectors first.
    • Subtracting in the wrong order. u−v\mathbf{u} - \mathbf{v} and v−u\mathbf{v} - \mathbf{u} have the same magnitude but opposite components, so the order matters if the vector itself is asked for.
    • Mishandling a double negative, such as 7−(−2)7 - (-2).
    • Adding components before squaring. (−10+9)2\sqrt{(-10 + 9)^2} is not the magnitude of (−10,9)(-10, 9).
    • Stopping at k2=49k^2 = 49 without taking the square root.

    Exam tips

    • Write the combined vector on its own line in brackets before you find its magnitude. It earns a method mark even if the magnitude goes wrong.
    • Put brackets round negative numbers when you substitute: (−10)2(-10)^2, not −102-10^2.
    • If the answer is a square root of a whole number, leave 181\sqrt{181} visible before you round, then give 2 decimal places only at the end.
    • For "find kk" questions, finish with a check by substituting your value back.
    • A dot product that equals zero means the vectors meet at a right angle. Use that if a question says "perpendicular".

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      What is the magnitude of the vector (4, 5)?

    • Medium

      What is the dot product of (4, 0) and (0, 4)?

    • Hard

      Vectors u = (9, -7) and v = (-7, 8). What is the magnitude of u − v? Give your answer to 2 decimal places.