We know the function $f(x)=\frac{1}{x}$ is convex when $x$ is positive and concave when $x$ is negative.
I want to show if $\mathbb{E}[\frac{1}{x}]$ is bigger than or smaller than $\frac{1}{\mathbb{E}[x]}$ using Jensen's inequality but what happens if $x$ is on the range for example $-1<x<1$ so that it is concave on some portion and convex on some portion? How do I know the direction of the inequality?
Does the range of the function matter? For example when there are more positives than negatives $-1<x<2$ versus when there are more negative than positive $-2<x<1$?
Thank you so much!