Skip to content
    Greek Mathematician Mascot - Daskalos
    Mathimatikos

    60% off your first year

    Terms

    Student Pro: €35.60 for the first year instead of €89

    Teacher Pro: €75.60 for the first year instead of €189

    Code LAG60. One use per account. Renews automatically at the regular price. Cancel anytime.

    View plans

    Dot product and angle between vectors

    Calculate the dot product of two vectors in the plane and find the angle between them in degrees.

    Calculate the result

    Angle between two vectors with the same starting pointVectors u = (3, 0) and v = (1, 1) start at the same point and form a 45° angle.xyuvθ
    Illustrative diagram. Vectors u = (3, 0) and v = (1, 1) start at the same point and form a 45° angle.
    u⋅v=uxvx+uyvycos⁡θ=u⋅v∣u∣∣v∣

    Worked example

    Problem

    Compute the dot product and the angle of the vectors u(3, 0) and v(1, 1).

    The vectors u(3, 0) and v(1, 1) have inner product 3 and form an angle of 45°.

    1. Multiply the corresponding components

      u⋅v=3⋅1+0⋅1=3
    2. Divide by the product of the magnitudes

      cos⁡θ=332=22
    3. Find the angle

      θ=45∘
    Ask AI for a step-by-step solution

    Common mistake

    For two nonzero vectors, zero dot product means perpendicularity. With the zero vector the product is zero and the angle is undefined.