# Complex analysis: Counting zeros using the argument principle

## Homework Statement

Gamelin VIII.1.6 (8.1.6)
"For a fixed number a, find the number of solutions of
$$z^5+2z^3-z^2+z=a$$ satisfying Re z > 0"

## Homework Equations

The argument principle relating the change in the argument to the number of zeros and poles of the function on the domain.

## The Attempt at a Solution

This is obviously equivalent to finding the number of zeros of $$f(z)= z^5+2z^3-z^2+z-a$$
So we consider the (open) half circle with radius R in the right half-plane. We break it up in two paths, 1) counterclockwise along the boundary of the half circle and 2) the one along the imaginary axis from R to -R. Along 1) we parametrize by:
$$z=Re^{it}$$ where t ranges from -pi/2 to pi/2. Now the z^5 dominates the polynomial, so the increase in argument along this path is approx. equal to the increase in argument along z^5. The change in argument is therefore 5pi along this path.
Along 2) we parametrize by z=it and get that:
$$f(z) = t^2 - a + it(t^2-1)^2$$. Now obviously we have to consider several cases of the fixed value of a, as the roots of the real and imaginary parts are dependent of a. For a<=0 the change in argument is -pi, so that the total is 4pi => 2 zeros in the domain. for a>0, but different from 1, we get that the change of argument is pi, so that the total is 6pi => 3 zeros. For a=1 I am having problems. As t is positive and large, the values of f(z) is in the first quadrant. As the value of t is negative and large the values are in the fourth quadrant, and since t=-1 is origo we get another -pi/2. Now for t=1 the function maps to origo and so the change is -pi/2. For t=0 we get the point (-1,0), and here I am a bit uncertain of the change in argument.
1. Is it zero, since both the starting point and ending point are at the real axis?
2. Is it pi, since it is a counterclockwise rotation along a half circle-ish shape?

However, both of these reasonings are wrong, for the answer to be correct, I need the contribution of this circle-ish curve to be -2pi. I can't get it to work.
Also, second question: If one were to consider a horizontal strip-domain. How would one choose to parametrize it?

Why not use Rouche's Theorem?

One could of course use Rouche's theorem, but this exercise is given in the section before Rouche's theorem. So it is possible to solve it without. Also, I've dived so deep into this exercise that I really want to know what I've done wrong.