Ma · Mathematics

How to Find the Angle Between Two Parametric Vectors

Published By the 9to5Science editorial team

At a glance

  1. 1. Identify the vectors

    Write each vector in component form and determine which parameter values are being used.

  2. 2. Evaluate the components

    Substitute the specified parameter values; for tangent vectors, differentiate the position vectors first.

  3. 3. Use the dot product

    Divide the vectors’ dot product by the product of their magnitudes.

  4. 4. Take the inverse cosine

    Apply arccos to get the angle, and check whether the question asks for an angle between lines instead.

The phrase “angle between two parametric vectors” can mean vectors whose components depend on parameters, or the angle between two parametric curves. In either case, the dot product is the main tool. The key is to identify which vectors—and which parameter values—you are comparing.

The angle formula

For nonzero vectors u\mathbf{u} and v\mathbf{v} in two or three dimensions, their angle θ\theta satisfies

cos⁡θ=u⋅v∥u∥ ∥v∥,θ=arccos⁡(u⋅v∥u∥ ∥v∥).\cos\theta=\frac{\mathbf{u}\cdot\mathbf{v}}{\|\mathbf{u}\|\,\|\mathbf{v}\|}, \qquad \theta=\arccos\left(\frac{\mathbf{u}\cdot\mathbf{v}}{\|\mathbf{u}\|\,\|\mathbf{v}\|}\right).

Here, u⋅v\mathbf{u}\cdot\mathbf{v} is the dot product and ∥u∥\|\mathbf{u}\| is the magnitude. The usual angle between vectors is in the range 0≤θ≤π0\leq\theta\leq\pi radians (or 0∘0^\circ to 180∘180^\circ). The formula requires both vectors to be nonzero; a zero vector has no direction, so its angle with another vector is undefined.

When the vectors depend on parameters

Suppose the vectors are given by

u(t)=⟨u1(t),u2(t),u3(t)⟩,v(s)=⟨v1(s),v2(s),v3(s)⟩.\mathbf{u}(t)=\langle u_1(t),u_2(t),u_3(t)\rangle, \qquad \mathbf{v}(s)=\langle v_1(s),v_2(s),v_3(s)\rangle.

Their angle depends on the parameter values. Substitute the values specified by the problem to get two ordinary vectors, then use the angle formula. If no parameter values are given, the answer is generally a function of the parameters, not one fixed angle:

θ(t,s)=arccos⁡(u(t)⋅v(s)∥u(t)∥ ∥v(s)∥).\theta(t,s)=\arccos\left(\frac{\mathbf{u}(t)\cdot\mathbf{v}(s)}{\|\mathbf{u}(t)\|\,\|\mathbf{v}(s)\|}\right).

If the vectors share a parameter, use the same value for both when the question calls for comparison at that parameter. Do not assume that two differently named parameters have the same value unless the problem says so.

Worked example

Let

u(t)=⟨1,t,2⟩,v(s)=⟨s,1,0⟩.\mathbf{u}(t)=\langle 1,t,2\rangle, \qquad \mathbf{v}(s)=\langle s,1,0\rangle.

Find their angle at t=2t=2 and s=3s=3. First substitute those values:

u(2)=⟨1,2,2⟩,v(3)=⟨3,1,0⟩.\mathbf{u}(2)=\langle 1,2,2\rangle, \qquad \mathbf{v}(3)=\langle 3,1,0\rangle.

Calculate the dot product and magnitudes:

u(2)⋅v(3)=1(3)+2(1)+2(0)=5,∥u(2)∥=12+22+22=3,∥v(3)∥=32+12+02=10.\begin{aligned} \mathbf{u}(2)\cdot\mathbf{v}(3)&=1(3)+2(1)+2(0)=5,\\ \|\mathbf{u}(2)\|&=\sqrt{1^2+2^2+2^2}=3,\\ \|\mathbf{v}(3)\|&=\sqrt{3^2+1^2+0^2}=\sqrt{10}. \end{aligned}

Therefore,

θ=arccos⁡(5310)≈58.2∘.\theta=\arccos\left(\frac{5}{3\sqrt{10}}\right)\approx 58.2^\circ.

The angle is acute because the dot product is positive. A negative dot product would give an obtuse angle; a zero dot product means the nonzero vectors are perpendicular.

If you mean the angle between two parametric curves

A curve’s direction at a point is given by its tangent vector. For a curve r(t)\mathbf{r}(t), the tangent vector is r′(t)\mathbf{r}'(t), provided that derivative is nonzero. To find the angle at which two curves meet, find their tangent vectors at the relevant parameter values and apply the same dot-product formula.

For instance, if r1(t)\mathbf{r}_1(t) and r2(s)\mathbf{r}_2(s) meet at a point, identify parameter values t0t_0 and s0s_0 for that point. Then compare r1′(t0)\mathbf{r}_1'(t_0) with r2′(s0)\mathbf{r}_2'(s_0). If either tangent vector is zero, the formula does not determine the tangent direction there; the curve may need separate analysis.

Common mistakes

  • Skipping parameter substitution: A formula containing parameters does not give a numerical angle until the relevant values are known.
  • Using the wrong vectors for curves: Compare tangent vectors, not position vectors, when finding the angle between curves at an intersection.
  • Forgetting the magnitudes: The dot product alone is not the cosine of the angle unless both vectors are unit vectors.
  • Mixing up vectors and lines: The standard vector angle ranges from 0∘0^\circ to 180∘180^\circ. The smaller angle between two unoriented lines is usually taken between 0∘0^\circ and 90∘90^\circ; for direction vectors, calculate it using arccos⁡(∣u⋅v∣∥u∥∥v∥)\arccos\left(\frac{|\mathbf{u}\cdot\mathbf{v}|}{\|\mathbf{u}\|\|\mathbf{v}\|}\right).
  • Rounding too early: Keep the exact dot product and magnitudes through the calculation, then round the final angle.

Check that the value passed to arccos⁡\arccos lies between −1-1 and 11. A value outside this interval usually signals an arithmetic error or premature rounding.

References

  1. OpenStax, Calculus Volume 3: The Dot Product

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.