q(t) in the expression is the variable, and the whole expression is convex, but when I put it in CVX, it tells me that the content in the red box is “Disciplined convex programming error: Illegal operation: pow_p( {convex}, {-1} )”. How do I represent this whole convex expression?
Thanks a lot for your replying! But the whole expression is indeed a convex one. And my expression is different from the special form that you give. Here is the graph of my expression
This is the second derivative of my expression and it is >0 at any point. The term in the expression is like (x-a)^2+b but not simple x^2, so the second derivative is different.
I mean it is like (x-a)^2+b but not simple x^2, so the second derivative is different.
For this function,
when x->any point, second derivative is always > 0
here is the second derivative of my expression.
Let me correct that ( I just edited my preceding post). I think it may be convex for H > 0, even for vector q(t). It is neither convex nor concave when H = 0.
\frac{\partial ^2\frac{1}{\log \left(\frac{1}{b+x^2}+1\right)}}{\partial x^2}=\frac{2 \left(b^2-2 b x^2+b-3 x^4-x^2\right) \log \left(\frac{1}{b+x^2}+1\right)+8 x^2}{\left(b+x^2\right)^2 \left(b+x^2+1\right)^2 \log ^3\left(\frac{1}{b+x^2}+1\right)}. Can anyone prove \left(b^2-2 b x^2+b-3 x^4-x^2\right) \log \left(\frac{1}{b+x^2}+1\right)+4 x^2>0 for all x or prove the original function is convex? because this is very important for the trajectory design of moving basestation in wireless communication domain, which I believe the poster is working on.
For this,
we can prove mathematically that it’s positive or negative. But, it’s a little bit complicated, so I get it by drawing it, and it’s positive when any b>0.