To evaluate \(\int_C f \, ds\) over \(C = C_1 \cup C_2\text{,}\) we compute the line integrals along \(C_1\) and \(C_2\) separately and add the results together:
\begin{gather*}
\int_C f \, ds = \int_{C_1} f \, ds + \int_{C_2} f \, ds
\end{gather*}
Start by integrating over
\(C_1\text{.}\)
On
\(C_1\text{,}\) we have
\(\vec{r}_1(t) = \langle t, t^2, 0 \rangle\) for
\(0 \leq t \leq 1\text{.}\) Thus,
\(x = t\text{,}\) \(y = t^2\text{,}\) and
\(z = 0\text{.}\)
Evaluating the function along \(C_1\text{:}\)
\begin{gather*}
f(\vec{r}_1(t)) = t + \sqrt{t^2} - 0^2 = t + t = 2t
\end{gather*}
The velocity vector is \(\vec{r}_1'(t) = \langle 1, 2t, 0 \rangle\text{,}\) so:
\begin{gather*}
ds = |\vec{r}_1'(t)| \, dt = \sqrt{1^2 + (2t)^2 + 0^2} \, dt = \sqrt{1 + 4t^2} \, dt
\end{gather*}
Setting up and evaluating the integral using \(u\)-substitution with \(u = 1 + 4t^2\) (\(du = 8t \, dt\)):
\begin{align*}
\int_{C_1} f \, ds \amp = \int_0^1 2t \sqrt{1 + 4t^2} \, dt\\
\amp = \frac{1}{4} \int_0^1 \sqrt{1 + 4t^2} \, (8t \, dt)\\
\amp = \left[ \frac{1}{4} \cdot \frac{2}{3} (1 + 4t^2)^{3/2} \right]_0^1\\
\amp = \frac{1}{6} \left( 5^{3/2} - 1 \right) = \frac{5\sqrt{5} - 1}{6}
\end{align*}
On
\(C_2\text{,}\) we have
\(\vec{r}_2(t) = \langle 1, 1, t \rangle\) for
\(0 \leq t \leq 1\text{.}\) Thus,
\(x = 1\text{,}\) \(y = 1\text{,}\) and
\(z = t\text{.}\)
Evaluating the function along \(C_2\text{:}\)
\begin{gather*}
f(\vec{r}_2(t)) = 1 + \sqrt{1} - t^2 = 2 - t^2
\end{gather*}
The velocity vector is \(\vec{r}_2'(t) = \langle 0, 0, 1 \rangle\text{,}\) so:
\begin{gather*}
ds = |\vec{r}_2'(t)| \, dt = \sqrt{0^2 + 0^2 + 1^2} \, dt = dt
\end{gather*}
Evaluating the integral:
\begin{align*}
\int_{C_2} f \, ds \amp = \int_0^1 (2 - t^2) \, dt\\
\amp = \left[ 2t - \frac{t^3}{3} \right]_0^1 = 2 - \frac{1}{3} = \frac{5}{3}
\end{align*}
Combining both parts gives:
\begin{gather*}
\int_C f \, ds = \frac{5\sqrt{5} - 1}{6} + \frac{5}{3} = \frac{5\sqrt{5} + 9}{6}
\end{gather*}