The length of the curve (and thus the total distance traveled by the particle along the curve) is
[tex]\displaystyle\int_0^{3\pi}\sqrt{x'(t)^2+y'(t)^2}\,\mathrm dt[/tex]
We have
x(t) = 3 sin²(t ) ==> x'(t) = 6 sin(t ) cos(t ) = 3 sin(2t )
y(t) = 3 cos²(t ) ==> y'(t) = -6 cos(t ) sin(t ) = -3 sin(2t )
Then
√(x'(t) ² + y'(t) ²) = √(18 sin²(2t )) = 18 |sin(2t )|
and the arc length is
[tex]\displaystyle 18 \int_0^{3\pi} |\sin(2t)| \,\mathrm dt[/tex]
Recall the definition of absolute value: |x| = x if x ≥ 0, and |x| = -x if x < 0.
Now,
• sin(2t ) ≥ 0 for t ∈ (0, π/2) U (π, 3π/2) U (2π, 5π/2)
• sin(2t ) < 0 for t ∈ (π/2, π) U (3π/2, 2π) U (5π/2, 3π)
so we split up the integral as
[tex]\displaystyle 18 \left(\int_0^{\pi/2} \sin(2t) \,\mathrm dt - \int_{\pi/2}^\pi \sin(2t) \,\mathrm dt + \cdots - \int_{5\pi/2}^{3\pi} \sin(2t) \,\mathrm dt\right)[/tex]
which evaluates to 18 × (1 - (-1) + 1 - (-1) + 1 - (-1)) = 18 × 6 = 108.