Alright, sorry my bad I didn't explain correctly. First of all, yes this is a complex problem. So we are assuming that [tex]z \in Z[/tex]. And yes you are correct it is differentiable at f(z) at z=1, again I forgot to put the modulus signs around it.
Alright now that everything is cleared up, so the line z=2+ix.
Plugging this into [tex]|f(z)|=|(2+ix-1)(2+ix-4)^2=|(1+ix)(-x^2-4ix+4)|=|-x^2-4ix+4-ix^3+4x^2+4ix|=|-ix^3+3x^2+4|=\sqrt{(3x^2+4)^2+(x^3)^2}=[/tex]
Then this reduces to
[tex]\sqrt{9x^4+24x^2+16+x^6}=\sqrt{(x^4+8x^2+16)(x^2+1)}=\sqrt{(x^2+4)^2(x^2+1)}=(x^2+4)\sqrt{x^2+1}.[/tex]
Then the derivative of this would be:
[tex]2x\sqrt{x^2+1}+\frac{1}{\sqrt{x^2+1}}[x^3+4x].[/tex]
Then setting this equal to zero and solving we get:
[tex]2x\sqrt{x^2+1}=-\frac{1}{\sqrt{x^2+1}}[x^3+4x],[/tex] giving [tex]2x^3+2x=-x^3-4x, x(3x^2+6)=0[/tex]
Thus our solutions are x=0 and x=square root of (-1/2) but this is a complex number and x is a real number so this cannot happen.
Thus our solution is x=0.
Looking at the derivative again, and then taking this value for x=0 we get |f''(z)|=2 which is positive. Thus the line x=0 is a minimum.
Thus the line z=2 contains a relative minimum.
Is this correct. And therefore there are no relative maximum?