Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Hopefully this kind of question is ok, have seen a couple of other WA-queries that hasn't been downvoted. Apologies if not.

I'm trying to find the max/min of a complex function over certain domains, the unit disk or circle for example. It doesn't seem as though Wolfram Alpha understands what I'm trying to say though.

For example if I try $4z^2 +1, |z|=1$, WA just ignores the absolute value restriction. I've tried mod(z), abs(z), $\{|z|=1\}$ and some other stuff. Documentation only seems to contain examples over the reals. Any guesses?

share|improve this question
1  
"min 4z^2+1 with |z|=1" seems to work –  FPE Jan 5 at 8:44
    
If $z \in \mathbb C$, then what does it mean to ask for the "maximum" of $4z^2 + 1$? $\mathbb C$ is not an ordered field. –  heropup Jan 5 at 8:49
    
Good point but I think it's clearly implied that it's the maximum of the modulus we're looking for. Antoine's suggestion worked fine! Although strictly speaking, I guess min |4z^2 +1| with |z|=1 would be more correct. –  Benjamin Lindqvist Jan 5 at 8:58
    
"min |4z^2+1| with |z|=1" indicates that the minimum is 5, yet $|4i^2+1|=3$, which is less than 5. Thus, it seems that WA is assuming the input is real. –  Mark McClure Jan 5 at 14:38

1 Answer 1

up vote 1 down vote accepted

Optimization problems generally assume real input an output. Accordingly, WolframAlpha assumes this type of input. You can get around this issue by recasting your problem in terms of real real variables. For example:

minimize |4 (x + I*y)^2 + 1| for x^2+y^2==1

enter image description here

or

minimize |4*exp(I*t) + 1|

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.