Verify Cauchy's Theorem for the function $3z^2 + iz -4$, where $C$ is the square with vertices at $1+i,\ 1-i,\ -1+i,\ -1-i$
I'm not asking for help with Cauchy's formula, simply with the parameterization of complex lines.
I can see from looking at these points drawn that the segment from $[-1-i, 1-i]$ can be written as $z(t)=t-i$, but what I don't understand is how to use the general case of $$z(t) = (1-t)z_0+tz_1$$
If I plug in $z_0=(-1-i)$ and $z_1=(1-i)$, I clearly don't arrive at $z(t)=t-i$
What are $z_0\ and\ z_1$?
Just divide the square to 4 parts - one part for each segment - and parametrize them independently in such a way that all-in-all $t$ runs from $0$ to $1$.