evan's notes
cal 3discreteodeenv systems

On this page

  • Differentiation rules
  • Sums and scalar multiples
  • Dot and cross products
  • The chain rule
  • Example: changing the parameter of a helix
  • Constant length and perpendicular velocity
  • Example: a curve on the unit sphere
  • Integrating vector-valued functions
  • Example: recover position from acceleration
  • Arc length: add up speed

Intermediate Calculus

§7 Derivatives, Integrals, and Arc Length

Evan Luo · Sep 28, 2026

Intermediate Calculus

§7 Derivatives, Integrals, and Arc Length

Evan Luo2 days ago

9 min read

A vector derivative tells us how a point moves along a curve. We can now use it in familiar calculus operations: differentiate products and compositions, integrate to recover motion, and add up speed to measure distance traveled.

Differentiation rules

Let u(t)\mathbf u(t)u(t) and v(t)\mathbf v(t)v(t) be differentiable vector-valued functions, let f(t)f(t)f(t) be a differentiable scalar-valued function, and let ccc be a constant real number. The usual sum, product, and chain rules still work. The main extra care is deciding which kind of multiplication is involved.

Sums and scalar multiples

Differentiate sums component by component. A constant scalar stays outside the derivative:

ddt(u(t)+v(t))=u′(t)+v′(t),\frac{d}{dt}\bigl(\mathbf u(t)+\mathbf v(t)\bigr) =\mathbf u'(t)+\mathbf v'(t), dtd​(u(t)+v(t))=u′(t)+v′(t), ddt(cu(t))=cu′(t).\frac{d}{dt}\bigl(c\mathbf u(t)\bigr)=c\mathbf u'(t). dtd​(cu(t))=cu′(t).

If the scalar changes with ttt, use the product rule instead:

ddt(f(t)u(t))=f′(t)u(t)+f(t)u′(t).\boxed{ \frac{d}{dt}\bigl(f(t)\mathbf u(t)\bigr) =f'(t)\mathbf u(t)+f(t)\mathbf u'(t). } dtd​(f(t)u(t))=f′(t)u(t)+f(t)u′(t).​

Each term on the right is a scalar times a vector, so the result is a vector.

Dot and cross products

A dot product is scalar-valued. Its derivative is

ddt(u(t)⋅v(t))=u′(t)⋅v(t)+u(t)⋅v′(t).\boxed{ \frac{d}{dt}\bigl(\mathbf u(t)\cdot\mathbf v(t)\bigr) =\mathbf u'(t)\cdot\mathbf v(t) +\mathbf u(t)\cdot\mathbf v'(t). } dtd​(u(t)⋅v(t))=u′(t)⋅v(t)+u(t)⋅v′(t).​

For vectors in R3\mathbb R^3R3, a cross product is vector-valued:

ddt(u(t)×v(t))=u′(t)×v(t)+u(t)×v′(t).\boxed{ \frac{d}{dt}\bigl(\mathbf u(t)\times\mathbf v(t)\bigr) =\mathbf u'(t)\times\mathbf v(t) +\mathbf u(t)\times\mathbf v'(t). } dtd​(u(t)×v(t))=u′(t)×v(t)+u(t)×v′(t).​

Keep the factors in their original order in both terms. Swapping the factors of a cross product changes its sign; unlike a dot product, it is not commutative.

The chain rule

In a composition u(f(t))\mathbf u(f(t))u(f(t)), the scalar function fff changes the input to the vector function u\mathbf uu. Assume the values of fff lie in the domain of u\mathbf uu. Then

ddtu(f(t))=u′(f(t))f′(t).\boxed{ \frac{d}{dt}\mathbf u(f(t))=\mathbf u'(f(t))f'(t). } dtd​u(f(t))=u′(f(t))f′(t).​

The final multiplication is scalar multiplication, not a dot product: u′(f(t))\mathbf u'(f(t))u′(f(t)) is a vector and f′(t)f'(t)f′(t) is a real number.

To see why the rule works, write u(t)=⟨x(t),y(t),z(t)⟩\mathbf u(t)=\langle x(t),y(t),z(t)\rangleu(t)=⟨x(t),y(t),z(t)⟩. Applying the ordinary chain rule to each component gives

ddtu(f(t))=ddt⟨x(f(t)),y(f(t)),z(f(t))⟩=⟨x′(f(t))f′(t),y′(f(t))f′(t),z′(f(t))f′(t)⟩=u′(f(t))f′(t).\begin{aligned} \frac{d}{dt}\mathbf u(f(t)) &=\frac{d}{dt}\langle x(f(t)),y(f(t)),z(f(t))\rangle\\ &=\langle x'(f(t))f'(t),y'(f(t))f'(t),z'(f(t))f'(t)\rangle\\ &=\mathbf u'(f(t))f'(t). \end{aligned} dtd​u(f(t))​=dtd​⟨x(f(t)),y(f(t)),z(f(t))⟩=⟨x′(f(t))f′(t),y′(f(t))f′(t),z′(f(t))f′(t)⟩=u′(f(t))f′(t).​

Example: changing the parameter of a helix

Take

u(t)=⟨cos⁡t,sin⁡t,t⟩,f(t)=t2.\mathbf u(t)=\langle\cos t,\sin t,t\rangle, \qquad f(t)=t^2. u(t)=⟨cost,sint,t⟩,f(t)=t2.

The composition is

u(f(t))=⟨cos⁡(t2),sin⁡(t2),t2⟩.\mathbf u(f(t))=\langle\cos(t^2),\sin(t^2),t^2\rangle. u(f(t))=⟨cos(t2),sin(t2),t2⟩.

First differentiate the outer function, then evaluate that derivative at t2t^2t2, and finally multiply by 2t2t2t:

ddtu(t2)=⟨−sin⁡(t2),cos⁡(t2),1⟩(2t)=⟨−2tsin⁡(t2),2tcos⁡(t2),2t⟩.\begin{aligned} \frac{d}{dt}\mathbf u(t^2) &=\langle-\sin(t^2),\cos(t^2),1\rangle(2t)\\ &=\boxed{\langle-2t\sin(t^2),2t\cos(t^2),2t\rangle.} \end{aligned} dtd​u(t2)​=⟨−sin(t2),cos(t2),1⟩(2t)=⟨−2tsin(t2),2tcos(t2),2t⟩.​​

Differentiating the three components directly gives the same answer. The factor 2t2t2t belongs in every component, including the last one.

Constant length and perpendicular velocity

If the length of a position vector stays constant, its endpoint cannot move toward or away from the origin. Its velocity must point along the sphere instead.

More precisely, if r\mathbf rr is differentiable and ∥r(t)∥=c\lVert\mathbf r(t)\rVert=c∥r(t)∥=c is constant, then

r(t)⋅r′(t)=0.\boxed{\mathbf r(t)\cdot\mathbf r'(t)=0.} r(t)⋅r′(t)=0.​

Thus r(t)\mathbf r(t)r(t) and r′(t)\mathbf r'(t)r′(t) are orthogonal. A vector can change direction even when its length does not change; constant length does not mean constant vector.

Constant distance from the origin

Constant distance from the originA sphere centered at the origin. A radial position vector meets a tangent velocity vector at a right angle on the surface. The rear equator is dashed.
r(t)\mathbf r(t)r(t)
r′(t)\mathbf r'(t)r′(t)
OOO
A curve on a sphere has velocity perpendicular to its radius: r(t)⋅r′(t)=0\mathbf r(t)\cdot\mathbf r'(t)=0r(t)⋅r′(t)=0. The position vector keeps its length while its direction changes.

The dot-product rule makes the proof short. Instead of differentiating a square root, differentiate the squared length:

r(t)⋅r(t)=c2.\mathbf r(t)\cdot\mathbf r(t)=c^2. r(t)⋅r(t)=c2.

Because ccc is constant,

0=ddt(r(t)⋅r(t))=r′(t)⋅r(t)+r(t)⋅r′(t)=2r(t)⋅r′(t).\begin{aligned} 0 &=\frac{d}{dt}\bigl(\mathbf r(t)\cdot\mathbf r(t)\bigr)\\ &=\mathbf r'(t)\cdot\mathbf r(t) +\mathbf r(t)\cdot\mathbf r'(t)\\ &=2\mathbf r(t)\cdot\mathbf r'(t). \end{aligned} 0​=dtd​(r(t)⋅r(t))=r′(t)⋅r(t)+r(t)⋅r′(t)=2r(t)⋅r′(t).​

Dividing by 222 gives the result. When c>0c>0c>0, the curve lies on the sphere of radius ccc centered at the origin. If r′(t)≠0\mathbf r'(t)\ne\mathbf0r′(t)=0, it gives a tangent direction there. The dot-product identity still holds when the derivative is zero, but the zero vector has no direction. If c=0c=0c=0, the position vector is identically zero.

Example: a curve on the unit sphere

Consider

r(t)=⟨cos⁡2t,cos⁡tsin⁡t,sin⁡t⟩.\mathbf r(t)=\langle\cos^2t,\cos t\sin t,\sin t\rangle. r(t)=⟨cos2t,costsint,sint⟩.

Its components do not look like a simple circle, but its squared length simplifies:

∥r(t)∥2=cos⁡4t+cos⁡2tsin⁡2t+sin⁡2t=cos⁡2t(cos⁡2t+sin⁡2t)+sin⁡2t=cos⁡2t+sin⁡2t=1.\begin{aligned} \lVert\mathbf r(t)\rVert^2 &=\cos^4t+\cos^2t\sin^2t+\sin^2t\\ &=\cos^2t(\cos^2t+\sin^2t)+\sin^2t\\ &=\cos^2t+\sin^2t\\ &=1. \end{aligned} ∥r(t)∥2​=cos4t+cos2tsin2t+sin2t=cos2t(cos2t+sin2t)+sin2t=cos2t+sin2t=1.​

So its endpoint stays on the unit sphere, and the theorem tells us immediately that r(t)⋅r′(t)=0\mathbf r(t)\cdot\mathbf r'(t)=0r(t)⋅r′(t)=0. There is no need to expand the derivative just to establish orthogonality.

Integrating vector-valued functions

Integration works component by component too. If v(t)=⟨v1(t),v2(t),v3(t)⟩\mathbf v(t)=\langle v_1(t),v_2(t),v_3(t)\ranglev(t)=⟨v1​(t),v2​(t),v3​(t)⟩ and V1V_1V1​, V2V_2V2​, and V3V_3V3​ are antiderivatives of its components, then

∫v(t) dt=⟨V1(t),V2(t),V3(t)⟩+C,\int\mathbf v(t)\,dt =\langle V_1(t),V_2(t),V_3(t)\rangle+\mathbf C, ∫v(t)dt=⟨V1​(t),V2​(t),V3​(t)⟩+C,

where C=⟨C1,C2,C3⟩\mathbf C=\langle C_1,C_2,C_3\rangleC=⟨C1​,C2​,C3​⟩ is an arbitrary constant vector. Each component has its own constant; there is no reason for the three constants to be equal.

For continuous components on [a,b][a,b][a,b], the definite integral is

∫abv(t) dt=⟨∫abv1(t) dt,∫abv2(t) dt,∫abv3(t) dt⟩.\int_a^b\mathbf v(t)\,dt =\left\langle \int_a^b v_1(t)\,dt, \int_a^b v_2(t)\,dt, \int_a^b v_3(t)\,dt \right\rangle. ∫ab​v(t)dt=⟨∫ab​v1​(t)dt,∫ab​v2​(t)dt,∫ab​v3​(t)dt⟩.

The Fundamental Theorem of Calculus (FTC) applies componentwise. In particular, if r\mathbf rr is continuously differentiable on [a,b][a,b][a,b], then

∫abr′(t) dt=r(b)−r(a).\boxed{\int_a^b\mathbf r'(t)\,dt=\mathbf r(b)-\mathbf r(a).} ∫ab​r′(t)dt=r(b)−r(a).​

For motion, integrating velocity gives displacement: the change from the initial position to the final position. This is a vector, not the total distance traveled along the curve.

Example: recover position from acceleration

A particle moves for t≥0t\ge0t≥0 with acceleration

a(t)=r′′(t)=⟨cos⁡t,0,1(1+t)2⟩.\mathbf a(t)=\mathbf r''(t) =\left\langle\cos t,0,\frac1{(1+t)^2}\right\rangle. a(t)=r′′(t)=⟨cost,0,(1+t)21​⟩.

Its initial velocity and position are

v(0)=⟨0,1,−1⟩,r(0)=⟨1,1,0⟩,\mathbf v(0)=\langle0,1,-1\rangle, \qquad \mathbf r(0)=\langle1,1,0\rangle, v(0)=⟨0,1,−1⟩,r(0)=⟨1,1,0⟩,

where v=r′\mathbf v=\mathbf r'v=r′ is velocity and a=v′\mathbf a=\mathbf v'a=v′ is acceleration. We need two integrations: one to find velocity, then another to find position. Each integration introduces a new constant vector.

First integrate acceleration:

v(t)=⟨sin⁡t+C1, C2, −11+t+C3⟩.\mathbf v(t) =\left\langle \sin t+C_1,\ C_2,\ -\frac1{1+t}+C_3 \right\rangle. v(t)=⟨sint+C1​, C2​, −1+t1​+C3​⟩.

Set t=0t=0t=0 and match the components to the initial velocity:

v(0)=⟨C1,C2,C3−1⟩=⟨0,1,−1⟩,\mathbf v(0)=\langle C_1,C_2,C_3-1\rangle =\langle0,1,-1\rangle, v(0)=⟨C1​,C2​,C3​−1⟩=⟨0,1,−1⟩,

so C1=0C_1=0C1​=0, C2=1C_2=1C2​=1, and C3=0C_3=0C3​=0. Therefore

v(t)=⟨sin⁡t,1,−11+t⟩.\mathbf v(t)=\left\langle\sin t,1,-\frac1{1+t}\right\rangle. v(t)=⟨sint,1,−1+t1​⟩.

Now integrate velocity, using fresh constants:

r(t)=⟨−cos⁡t+C4,t+C5,−ln⁡(1+t)+C6⟩.\mathbf r(t)=\langle-\cos t+C_4,t+C_5,-\ln(1+t)+C_6\rangle. r(t)=⟨−cost+C4​,t+C5​,−ln(1+t)+C6​⟩.

Because t≥0t\ge0t≥0, we have 1+t>01+t>01+t>0, so the logarithm does not need absolute-value bars on this interval. Apply the initial position:

r(0)=⟨C4−1,C5,C6⟩=⟨1,1,0⟩.\mathbf r(0)=\langle C_4-1,C_5,C_6\rangle =\langle1,1,0\rangle. r(0)=⟨C4​−1,C5​,C6​⟩=⟨1,1,0⟩.

This gives C4=2C_4=2C4​=2, C5=1C_5=1C5​=1, and C6=0C_6=0C6​=0, hence

r(t)=⟨2−cos⁡t,t+1,−ln⁡(1+t)⟩,t≥0.\boxed{ \mathbf r(t)=\langle2-\cos t,t+1,-\ln(1+t)\rangle, \qquad t\ge0. } r(t)=⟨2−cost,t+1,−ln(1+t)⟩,t≥0.​

Check the answer in both directions. At t=0t=0t=0 it gives the required initial position. Differentiating once gives the velocity above, including its initial value, and differentiating twice gives the specified acceleration. In particular, the second position component must be t+1t+1t+1: its derivative has to be the constant velocity 111.

Arc length: add up speed

To find how far a particle travels, we need the length along the curve, not just the distance between its endpoints. A particle can return to its starting point with zero displacement after traveling a nonzero distance.

Let r(t)\mathbf r(t)r(t) be a continuously differentiable curve for a≤t≤ba\le t\le ba≤t≤b, with a<ba<ba<b. Its speed is ∥r′(t)∥\lVert\mathbf r'(t)\rVert∥r′(t)∥. Over a short forward interval from t1t_1t1​ to t2t_2t2​, set Δt=t2−t1>0\Delta t=t_2-t_1>0Δt=t2​−t1​>0. If speed changes little over that interval, then

distance over the short interval≈∥r′(t1)∥Δt.\text{distance over the short interval} \approx\lVert\mathbf r'(t_1)\rVert\Delta t. distance over the short interval≈∥r′(t1​)∥Δt.

This is the familiar “speed times time” calculation. It is exact at constant speed and an approximation when we use the speed at the start of a varying-speed interval.

A short distance is approximately speed times time

A short distance is approximately speed times timeA curve with endpoints a and b and nearby parameter values t1 and t2. The highlighted short arc is approximated by a tangent step whose vector is velocity at t1 times the small parameter change.
r(a)\mathbf r(a)r(a)
r(t1)\mathbf r(t_1)r(t1​)
r(t2)\mathbf r(t_2)r(t2​)
r(b)\mathbf r(b)r(b)
r′(t1)Δt\mathbf r'(t_1)\Delta tr′(t1​)Δt
r(t)\mathbf r(t)r(t)
The arrow represents r′(t1)Δt\mathbf r'(t_1)\Delta tr′(t1​)Δt, a tangent approximation to the short motion. Its length is ∥r′(t1)∥Δt\lVert\mathbf r'(t_1)\rVert\Delta t∥r′(t1​)∥Δt. Adding these estimates and taking a limit gives arc length.

Divide the full interval into nnn equal pieces, with endpoints ti=a+iΔtt_i=a+i\Delta tti​=a+iΔt and Δt=(b−a)/n\Delta t=(b-a)/nΔt=(b−a)/n. Adding the short-distance estimates gives

L≈∑i=1n∥r′(ti−1)∥Δt.L\approx\sum_{i=1}^{n}\lVert\mathbf r'(t_{i-1})\rVert\Delta t. L≈i=1∑n​∥r′(ti−1​)∥Δt.

As n→∞n\to\inftyn→∞, the pieces become smaller and this Riemann sum approaches the arc length of the parametrized motion:

L=∫ab∥r′(t)∥ dt.\boxed{L=\int_a^b\lVert\mathbf r'(t)\rVert\,dt.} L=∫ab​∥r′(t)∥dt.​

In three dimensions, this is

L=∫ab(x′(t))2+(y′(t))2+(z′(t))2 dt.L=\int_a^b\sqrt{(x'(t))^2+(y'(t))^2+(z'(t))^2}\,dt. L=∫ab​(x′(t))2+(y′(t))2+(z′(t))2​dt.

The order of operations matters: take the length of the velocity vector before integrating. Compare

∫abr′(t) dt⏟displacement vectorand∫ab∥r′(t)∥ dt⏟distance traveled.\underbrace{\int_a^b\mathbf r'(t)\,dt}_{\text{displacement vector}} \qquad\text{and}\qquad \underbrace{\int_a^b\lVert\mathbf r'(t)\rVert\,dt}_{\text{distance traveled}}. displacement vector∫ab​r′(t)dt​​anddistance traveled∫ab​∥r′(t)∥dt​​.

If the parametrization retraces part of the curve, the length integral counts that travel again. It measures the full motion, not just the length of the set of distinct points visited.

For the helix r(t)=⟨cos⁡t,sin⁡t,t⟩\mathbf r(t)=\langle\cos t,\sin t,t\rangler(t)=⟨cost,sint,t⟩, the speed is the constant 2\sqrt22​. One turn, from t=0t=0t=0 to t=2πt=2\pit=2π, therefore has length

L=∫02π2 dt=2π2.L=\int_0^{2\pi}\sqrt2\,dt=2\pi\sqrt2. L=∫02π​2​dt=2π2​.

Here speed times time gives the exact answer because the speed is constant.

Source: https://notes.ohevan.com/notes/intermediate-calculus/07-derivatives-integrals-and-arc-length

© 2026 Evan Luo. All rights reserved.

Back to Intermediate Calculus

0 reads

·Last edited Today
  • newsletter

  • about me

  • sponsor

© 2026 Evan Luo. All rights reserved.