We can verify that the complex potential for a line source flow is given by
\begin{equation}
f(z) = \frac{Q}{2\pi} \log z\tag{4.3.5}
\end{equation}
The complex logarithm is an example of a function that is not analytic at the isolated point
\(z = 0\) where it possesess a
branch point. However, it still provides a permissible analytic function away from the origin.
The evaluation of the complex logarithm can be performed via the definition
\begin{equation}
\log z = \log r + \im \theta,\tag{4.3.6}
\end{equation}
where \(z = r\e^{\im \theta}\) is the polar form representation of \(z\text{.}\) In particular \(log z\) is a multi-function with a branch point at the origin.
With the above decomposition of the logarithm in mind, notice that we can then conclude that the velocity potential and streamfunction are given by
\begin{equation*}
\phi = \Re[f] = \frac{Q}{2\pi} \log r \quad \text{and} \quad
\psi = \Im[f] = \frac{Q}{2\pi} \theta.
\end{equation*}
Indeed the streamlines are along the rays \(\theta\) constant.
From
(4.3.5), we can also compute the velocities using the relationship
(4.3.4). We thus have
\begin{equation*}
u - \im v = \frac{Q}{2\pi} \frac{1}{z} = \frac{Q}{2\pi} \frac{x - \im y}{(x^2 + y^2)},
\end{equation*}
once we have multiplied the top and bottom by the conjugate of \(z\text{.}\)