How to express log(1/x-1) in the CVX? Many thanks!

It can be seen that the function log(1/x-1) is convex with respect to variable x, but i wonder to konw that how to express this function in the CVX?Many thanks!

How do conclude that it is convex? See

Edit:

Note

ln(1/x-1) =ln((1-x)/x)=ln(1-x)-ln(x)

from which it is easy to prove the non convexity too.

1 Like

ohhhhh! I checked my derivation and found some errors.It’s not convex!Thank you very much!