Parametric space curves: vector integration

Vector integrals

A parametric space curve 𝐫(t)=(x(t),y(t),z(t)) has a definite vector integral that is defined componentwise:

∫ab𝐫(t)dt=(∫abx(t)dt,∫aby(t)dt,∫abz(t)dt).

The vector integral relates directly to the componentwise derivative 𝐫′(t) by a vector form of the Fundamental Theorem of Calculus:

∫ab𝐫(t)dt=𝐑(b)βˆ’π‘(a)

where 𝐑(t) is a vector antiderivative of 𝐫(t), meaning that 𝐑′(t)=𝐫(t).

Using the standard calculus argument applied to each component separately, one has the fact that:

𝐑1β€²(t)=𝐑1β€²(t)βŸΉπ‘1(t)=𝐑1(t)+𝐜,

where 𝐜=(c1,c2,c3) is some constant vector. This means that if 𝐑′(t)=𝐫(t), so 𝐑(t) is a particular antiderivative of 𝐫(t), then the general antiderivative is given by 𝐑(t)+𝐜 for a constant vector 𝐜. So we can write the indefinite vector integral:

∫𝐫(t)dt=𝐑(t)+𝐜.

The vector integral ∫abv(t)dt may be interpreted as the total motion of a particle whose velocity is given by v(t).

Integration for components, not coordinates

If a parametric curve is given using spherical coordinate functions, for example (r(t),ΞΈ(t),Ο†(t)), then the componentwise derivatives and integrals do not have vector interpretations as tangent vector and total motion vector. The meaning of vector derivative and integral depends on the componentwise addition and scaling operations applicable to vectors.

Example

Indefinite vector integral calculation

Problem: Compute the indefinite vector integral: ∫(et,t12,cos⁑(t))dt.

Solution: The vector integral is given by computing ordinary integrals in each component. We have:

∫(et,t12,cos⁑(t))dt=(∫etdt,∫t12dt,∫cos⁑(t)dt)=(et+c1,23t32+c2,sin⁑(t)+c3)=(et,23t32,sin⁑(t))+𝐜.
Exercise 06A-01

Indefinite vector integrals

Compute the indefinite vector integrals:

  • (a) ∫11+t2𝐞𝐒+tet2𝐞𝐣+t𝐞𝐀dt
  • (b) ∫(tcos⁑(t2),tβˆ’1,sec2⁑(t))dt
Exercise 06A-02

Definite vector integrals

Compute the definite vector integrals:

  • (a) ∫ab(1,t2,sin⁑(t))dt
  • (b) ∫01(11+s2,s1+s2)ds
  • (c) ∫01teβˆ’t2𝐞𝐒+tln⁑(t2+1)𝐞𝐣dt
  • (d) ∫0t(3s,6s2,9)ds

Position, velocity, acceleration

If the position of a moving particle is identified using the vector-valued parametric function 𝐫(t), then its velocity is given by 𝐫′(t) and its vector acceleration is 𝐫′′(t).

The definite vector integral reverses this progression. We have ∫ab𝐫′′(t)dt=𝐫′(b)βˆ’π«β€²(a), the total change in velocity over the time interval a≀t≀b. Similarly ∫ab𝐫′(t)dt=𝐫(b)βˆ’π«(a), the total change in position over the same interval.

Particle position from velocity: differential equation

Problem: Suppose that the path of a particle is given by 𝐫(t) and that its velocity satisfies 𝐫′(t)=(1βˆ’6sin⁑(3t),4t,et), and suppose the particle passes through the point (4,1,2) at t=0. Find 𝐫(t) and use your formula to find the position of the particle at t=2.

Solution: By taking the indefinite vector integral of both sides of 𝐫′(t)=(1βˆ’6sin⁑(3t),4t,et), we obtain the general solution:

𝐫(t)=(t+2cos⁑(3t),2t2,et)+𝐜.

We can solve for 𝐜 by setting 𝐫(0)=(4,1,2):

(4,1,2)=(2,0,1)+𝐜

so 𝐜=(2,1,1) gives the particular solution satisfying the initial condition 𝐫(0)=(4,1,2).

Exercise 06A-03

Differential equations

For the differential equations below, find the general solution, and find the particular solution that satisfies the given initial condition:

  • (a) d𝐫dt=(1βˆ’3t,4t),𝐫(0)=(3,1)
  • (b) 𝐫′=t2𝐞𝐒+5t𝐞𝐣+𝐞𝐀,𝐫(1)=𝐞𝐣+2𝐞𝐀
  • (c) 𝐫′′(t)=(e2tβˆ’2,t2βˆ’1,2),𝐫(0)=(1,0,0),𝐫′(0)=(0,1,0)

Kepler’s Law of Ellipses

Isaac Newton’s laws of motion were used to derive and explain Johannes Kepler’s observed law that planets orbit the sun with elliptical orbits. We can use vector integration to solve a differential equation coming from Newton’s laws to give a modern derivation of this law of elliptical orbits.

Set the sun at the origin (0,0,0), and let 𝐫(t) describe the orbit of some planet. Let G be the gravitational constant, M the mass of the sun, and m the mass of the planet. Let 𝐅(t) be the total force vector on the planet. By Newton’s law of gravitation:

𝐅=βˆ’GMm|𝐫|2𝐞𝐫.

By Newton’s law of motion, 𝐅=m𝐚 where the acceleration is 𝐚(t)=𝐫′′(t). By identifying the force in each equation, we obtain the vector differential equation:

𝐫′′(t)=βˆ’GM|𝐫(t)|2𝐞𝐫(t)=βˆ’GM|𝐫(t)|3𝐫(t).
Exercise 06A-04

Prepare to explain the following reasoning in class:

Planet motion stays in some plane: 𝐫×𝐫′=𝐧

Consider the following calculation:

ddt(𝐫×𝐫′)=𝐫′×𝐫′+𝐫×𝐫′′=0+𝐫×(βˆ’GM|𝐫|3𝐫)=0.

By integrating both sides of this vector equation, we find 𝐫×𝐫′=𝐧 for some constant vector 𝐧. So 𝐧 is perpendicular to 𝐫(t) for all t, which means 𝐫(t) lies in the plane through the origin with normal vector 𝐧.

Exercise 06A-05

Prepare to explain the following reasoning in class:

Equation to integrate: (𝐫′×𝐧)β€²=GMπžπ«β€²

Next we verify this equation. The product rule gives (𝐫′×𝐧)β€²=𝐫′′×𝐧. Now compute this using the vector differential equation and the definition of 𝐧:

𝐫′′×𝐧=βˆ’GM|𝐫|3𝐫×(𝐫×𝐫′).

Expand the triple product with the Lagrange triple product identity πšΓ—(π›Γ—πœ)=𝐛(πšβ‹…πœ)βˆ’πœ(πšβ‹…π›), and let r=|𝐫|, so 𝐫=r𝐞𝐫, and calculate:

βˆ’GM|𝐫|3𝐫×(𝐫×𝐫′)=βˆ’GMr3(𝐫(𝐫⋅𝐫′)βˆ’π«β€²(𝐫⋅𝐫))=βˆ’GMr3(r𝐞𝐫(rπžπ«β‹…(rβ€²(t)𝐞𝐫+rπžπ«β€²))βˆ’(rβ€²(t)𝐞𝐫+rπžπ«β€²)r2)=βˆ’GMr(𝐞𝐫(rβ€²(t)+0)βˆ’rβ€²(t)πžπ«βˆ’rπžπ«β€²)=GMπžπ«β€².
Exercise 06A-06

Prepare to explain the following reasoning in class:

Result of integration: 𝐫′×𝐧=GM𝐞𝐫+𝐜

Take the indefinite vector integral on both sides of (𝐫′×𝐧)β€²=GMπžπ«β€² and obtain 𝐫′×𝐧=GM𝐞𝐫+𝐜 where 𝐜 is some constant vector.

Notice that πœβŸ‚π§ by taking βˆ’β‹…π§ on both sides of the stated equation, using that πžπ«βŸ‚π§. This means 𝐜 lies in the same plane of the orbit that 𝐫(t) lies in.

Let c:=|𝐜| and let θ(t) be the angle between 𝐫(t) and 𝐜 in the plane perpendicular to 𝐧. Also let n:=|𝐧|.

Exercise 06A-07

Prepare to explain the following reasoning in class:

Triple product for scalar equation

We take the dot product π«β‹…βˆ’ on both sides of the previous stated equation, and rearrange the triple product, in order to find a scalar equation:

𝐫⋅(𝐫′×𝐧)=GMπ«β‹…πžπ«+π«β‹…πœπ§β‹…(𝐫×𝐫′)=GMr+rccos⁑(ΞΈ).

Since 𝐫×𝐫′=𝐧 and 𝐧⋅𝐧=n2, we have:

n2=r(GM+ccos⁑(θ)),

so:

r=n2GM(11+ecos⁑(θ)),

where e:=cGM is defined to simplify the expression. This, now, is the polar equation of an ellipse with eccentricity e.

Line integrals I: scalar fields

A scalar line integral is the integral of a function over the length of a curve.

A line integral sums the values of a scalar function on space multiplied over the length of some curve in space. This would be an ordinary integral if the curve were stretched out onto an x-axis and the function values plotted on the y-axis.

Line integral with parametrization 𝐫(t) Suppose f:ℝ3→ℝ is a function on space with values given by f(x,y,z), where (x,y,z) are the coordinates of the input point in space. Suppose a curve C is the image of a parametric curve given with component functions by 𝐫(t)=(x(t),y(t),z(t)), and assume C is traversed exactly once by 𝐫(t). Then we compute the line integral of f over C using the formula:

∫Cf(x,y,z)ds=∫abf(𝐫(t))β‹…|𝐫′(t)|dt.

This formula uses our expression for infinitesimal distance traveled:

ds=|𝐫′(t)|dt=xβ€²(t)2+yβ€²(t)2+zβ€²(t)2dt.

Rigorous definition idea A rigorous definition of the line integral ∫Cfds would divide the curve C into n segments joined at the points (xi,yi,zi), with segment length Ξ”si, then take the Riemann sum:

βˆ‘i=1nf(xi,yi,zi)Ξ”si,

and finally take the limit as the number of segments goes to infinity.

Line integral with arc length parametrization If we start with a curve 𝐫(s) parametrized by arc length, the line integral is very simply given by:

∫Cfds=∫abf(𝐫(s))ds,

where f is a scalar function of points in ℝ3.

In fact, the line integral ∫Cfds is sometimes called the line integral with respect to arc length.

Line integral with respect to x, y, or z A related construction is the line integral with respect to some coordinate. For example, the line integral of f over a curve C with respect to x is given by the formula:

∫Cfdx=∫abf(𝐫(t))β‹…xβ€²(t)dt.

Sometimes a sum of such integrals is written with shorthand notation as a single integral:

∫Cfdx+gdy=∫abf(𝐫(t))β‹…xβ€²(t)+g(𝐫(t))β‹…yβ€²(t)dt.

When C is traversed by 𝐫(t), this shorthand can be remembered with formulas using Leibniz notation:

dx=xβ€²(t)dt,dy=yβ€²(t)dt,dz=zβ€²(t)dt.

Example

Line integral in the plane

Problem: Compute the line integral:

∫Cydx+zdy+xdz

where C is the line segment with endpoints (2,0,0) and (3,4,5). Solution: We use the formula 𝐫(t)=(1βˆ’t)𝐫0+t𝐫1 for a line passing through 𝐫0 and 𝐫1. This gives 𝐫(t)=(2+t,4t,5t). We also have dx=dt, dy=4dt, dz=5dt. Plugging everything in:

∫Cydx+zdy+xdz=∫014t+5tβ‹…4+(2+t)β‹…5dt=∫0110+29tdt=24.5.

Example

Total mass of parabolic cable

Problem: A cable lies in ℝ2 in the shape of a parabola satisfying y=x2. The density of the cable is given by ρ(x,y)=y/x. Compute the total mass of the cable between x=0 and x=4. Solution: We use the parametrization of the parabola P given by 𝐫(t)=(t,t2) with 0≀t≀4. The total mass M is given by the integral of density over the arc length of the curve:

M=∫Pρ(x,y)ds=∫04ρ(t,t2)β‹…|(1,2t)|dt=∫04t1+4t2dtβ‰ˆ43.6.
Exercise 06B-01

Line integrals with respect to arc length

Compute the line integrals of the given function over the specified curve:

  • (a) f(x,y,z)=x2+y2+z2 over the image of 𝐫(t)=(cos⁑(t),sin⁑(t),t) for 0≀t≀π
  • (b) f(x,y)=1+9xy over y=x3 for 0≀x≀1
  • (c) f(x,y,z)=2x2+8z over 𝐫(t)=(et,t2,t) for 0≀t≀1
Exercise 06B-02

Electric potential from charged cable

The electric potential Vp at a point p=(a,b,c) in space is sourced by a charged circular wire with charge density ρ(x,y,z)=(2βˆ’xR). The wire C is located at (Rcos⁑(t),Rsin⁑(t),0). The potential is given by the line integral:

Vp=k∫Cρ(x,y,z)dpds

where k is a constant, dp is the distance from p to (x,y,z), and C is a circle parametrized by (Rcos⁑(t),Rsin⁑(t),0). Find the electric potential at the point p=(0,0,c).

Exercise 06B-03

Line integrals compressed notation

Compute the following line integrals in the plane:

  • (a) ∫Cydx+zdy+xdz for 𝐜(t)=(2+tβˆ’1,t3,t2), 0≀t≀1
  • (b) ∫Cβˆ’ydx+xdyx2+y2 for the line segment with endpoints (1,0) and (0,1)
Exercise 06B-04

Line integrals in the plane

Compute the following line integral in the plane:

∫C(x+2y)dx+x2dy

where C is the following curve:

Problems due 30 Sep 2023, 8:00pm

By Kepler’s First Law, a planetary orbit is an ellipse, which lies in a plane. Assume this plane is the xy-plane, so 𝐫(t)=(x(t),y(t),0). Therefore 𝐧=𝐫×𝐫′ may be written 𝐧=(0,0,n). Now rotate the xy-coordinates so that 𝐜=(c,0,0) and therefore the angle ΞΈ between 𝐫 and 𝐜 is also the polar angle of 𝐫, so 𝐫(t)=(r(t)cos⁑(ΞΈ(t)),r(t)sin⁑(ΞΈ(t)),0) where (r(t),ΞΈ(t)) describes the trajectory in polar coordinates in the xy-plane.

Problem 06-01

Kepler’s Second Law

This law states that the area swept out by a planet (in sectors drawn from the sun) is proportional to the time of travel (equal time, equal area), regardless of the point in the orbit. Verify this law in two steps:

  • (a) Show that 𝐧=r2ΞΈβ€²(t)𝐞𝐀 and thus n=r2ΞΈβ€²(t).
  • (b) Let A(t) be the area swept out in the time interval [t0,t] for a fixed t0. By calculating this area in polar coordinates, show that Aβ€²(t)=12r2ΞΈβ€²(t), and thus Aβ€²(t)=12n, a constant.
Problem 06-02

Kepler’s Third Law

This law states that the total orbit time squared is proportional to the major axis cubed. Verify this law in three steps:

Let T be the total orbit time, and 2a the major axis, and 2b the minor axis.

  • (a) Use the fact that Aβ€²(t)=12n to show T=1n2Ο€ab.
  • (b) Show that n2GM=b2a by converting the polar form of an ellipse to the rectangular form.
  • (c) Show that T2=(4Ο€2GM)a3, and note that (4Ο€2GM) does not depend on the planet.
β˜… Problem 06-03

Write and submit solutions to Exercises 06A-02, -03 and 06B-02, -04.