Show that for $z \in \Bbb{C}\backslash\Bbb{R\_}$ $$ Log(z) = \int_{\langle 1,z \rangle} \frac{dz}{z}, $$ where $Log(z)$ is the principal branch and $\langle 1,z \rangle$ is the line segment from 1 to $z$.
Since $\langle 1,z\rangle$ is a line segment, I thought it was ok to parameterize $\langle 1,z \rangle$ such that $\gamma:[0,1]\to \Bbb{C},\quad \gamma(t) = (1-t) + tz, \quad \gamma'(t) = (z-1), \quad t\in [0,1].$ Then I computed the integral using substitution: $$ \int_{\langle 1,z \rangle} \frac{dz}{z} =(z-1)\int_{0}^1\frac{1}{1-t+tz}dt = \int_{1}^z \frac{1}{u} du$$ But here I got in trouble. Why can't this be done?