Chuyển đến nội dung

Bài 8 · Vectors and Curves in Space

Vector Functions and Space Curves

Describe curves in space with vector-valued functions r(t), differentiate and integrate them, and compute tangent vectors, velocity and acceleration with Python.

To describe a moving particle you give its position at every time t. A vector-valued function does that: r(t) = ⟨x(t), y(t), z(t)⟩. As t varies, the tip of r(t) traces a space curve. Calculus works one component at a time, which makes derivatives and integrals of such functions easy to compute.

Examples of curves

  • A line: r(t) = ⟨1, 2, 3⟩ + t⟨1, -1, 2⟩.
  • A circle in the xy-plane: r(t) = ⟨cos t, sin t, 0⟩.
  • A helix: r(t) = ⟨cos t, sin t, t⟩, a spiral staircase of radius 1 that climbs at a constant rate.
  • A twisted cubic: r(t) = ⟨t, t², t³⟩.

The same curve can have many parametrizations. ⟨cos 2t, sin 2t, 0⟩ traces the same circle twice as fast.

Python Plot a helix and a twisted cubic

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Limits and derivatives

The limit and the derivative are taken component by component:

Text
r'(t) = ⟨x'(t), y'(t), z'(t)⟩ = lim (r(t + h) - r(t)) / h

The vector r'(t) is tangent to the curve at the point r(t) and points in the direction of motion. If r(t) is a position, then:

  • velocity v(t) = r'(t),
  • speed |v(t)|,
  • acceleration a(t) = r''(t).

Worked example: for the helix r(t) = ⟨cos t, sin t, t⟩:

Text
v(t) = ⟨-sin t, cos t, 1⟩
speed = √(sin²t + cos²t + 1) = √2   (constant)
a(t) = ⟨-cos t, -sin t, 0⟩

The acceleration points horizontally toward the axis, which is why you feel pushed toward the center when riding a spiral.

The unit tangent vector is T(t) = r'(t) / |r'(t)|. For the helix, T = ⟨-sin t, cos t, 1⟩ / √2.

Python Differentiate a curve symbolically

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Rules of differentiation

If u and v are differentiable vector functions, c a scalar and f(t) a scalar function:

Text
(u + v)' = u' + v'
(f u)'   = f' u + f u'
(u · v)' = u' · v + u · v'
(u × v)' = u' × v + u × v'
(u(f(t)))' = f'(t) u'(f(t))

A useful consequence: if |r(t)| is constant then r · r = c, so 2 r · r' = 0, meaning r' is perpendicular to r. (Think of motion on a sphere: the velocity is tangent to the sphere.)

Tangent lines and integrals

The tangent line to the curve at t = t₀ is L(s) = r(t₀) + s r'(t₀). For the twisted cubic at t = 1: r(1) = ⟨1, 1, 1⟩ and r'(t) = ⟨1, 2t, 3t²⟩, so r'(1) = ⟨1, 2, 3⟩, and the tangent line is ⟨1 + s, 1 + 2s, 1 + 3s⟩.

Integrals are also componentwise: ∫₀¹ ⟨1, 2t, 3t²⟩ dt = ⟨1, 1, 1⟩. If you know the acceleration and the initial conditions, you recover velocity and position by integrating, just like a projectile problem.

Worked example: a ball has acceleration a = ⟨0, 0, -9.8⟩ m/s², starts at r(0) = ⟨0, 0, 0⟩ with v(0) = ⟨10, 0, 20⟩ m/s. Then v(t) = ⟨10, 0, 20 - 9.8 t⟩ and r(t) = ⟨10 t, 0, 20 t - 4.9 t²⟩. It lands when z = 0: t = 20/4.9 ≈ 4.08 s, at horizontal distance ≈ 40.8 m.

Python Projectile from integrated acceleration

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Always check the speed |r'(t)|. If it is zero at some t, the curve may have a sharp corner there, and the tangent vector is not defined. A curve is called smooth if r' is continuous and never zero.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. What is r'(t) for r(t) = ⟨t², sin t, e^t⟩?

    Differentiate each component separately.
  2. 2. The speed of the particle r(t) = ⟨3t, 4t, 0⟩ is

    v = ⟨3, 4, 0⟩, and |v| = √(9 + 16) = 5.
  3. 3. If |r(t)| is constant, then r'(t) is

    Differentiating r · r = c gives 2 r · r' = 0.
  4. 4. The tangent line to r(t) = ⟨t, t², t³⟩ at t = 1 has direction

    r'(t) = ⟨1, 2t, 3t²⟩, so r'(1) = ⟨1, 2, 3⟩.

Summary

  • A vector function r(t) traces a space curve; limits, derivatives and integrals act componentwise.
  • r'(t) is the tangent (velocity) vector; |r'| is the speed; r'' is acceleration.
  • Product rules exist for dot and cross products.
  • Integrating acceleration with initial conditions yields velocity and position.

Next: Arc Length and Curvature

Theo dõi tiến độ của bạn

Tạo tài khoản miễn phí để đánh dấu bài đã học và tiếp tục từ chỗ bạn dừng lại trên mọi thiết bị.