I have an inequality consisted only of seven parameters as follows:
$(1 + g)^{-(m+w)}\big[\big\{a+(1-a)(1 + g)^m\big\}(1 + p q)Q - (1 + g)^w \big\{(1 + g)^m (1 + q)-(1-p)q\big\} Q\big] < 0$
Parameters, $g$, $w$, and $m$, are subject to the following restrictions:
$0<g$, $0<w$, $0<m$, $0<Q$
That is, these four parameters are all positive.
Now, we can manually verify that this inequality holds under the above parameter restrictions. And I would like to confirm this with Mathematica.
My codes for the assumptions:
$Assumptions = 0 < g && 0 < w && 0 < m && 0 < Q
And as for checking if the inequality holds, I used Refine
and If
as follows:
Refine[If[(1 + g)^(-m - w) ((a - (-1 + a) (1 + g)^m) (1 + p q) Q - (1 + g)^w ((-1 + p) q + (1 + g)^m (1 + q)) Q)<0, Print[True], Print[False]]]
Since the condition is true, the result I expect is True
. But what I get is a simple repetition of the If
bracket:
If[(1 + g)^(-m - w) ((a - (-1 + a) (1 + g)^m) (1 + p q) Q - (1 + g)^w ((-1 + p) q + (1 + g)^m (1 + q)) Q) < 0, Print[Yes], Print[No]]
When I use a little simpler, but similar, type of inequality, it gives me either True
or False
depending on the specific form of inequality I use. But it seems Mathematica is not able to figure out whether the above inequality, which is too complex (maybe?), is true or false.
Or am I missing something? Can anyone help? Thank you so much.
Refine
either, but I expect that part of the answer will be that you need to also tell Mma that pk, q, and Q are Real (and not Complex), since comparison with zero isn't well-defined for complex numbers. $\endgroup$If
andPrint
statements. IfRefine
works it will returnTrue
! $\endgroup${g -> 0.001, m -> 0.001, w -> 0.001, Q -> -10^7, a -> 1, p -> 1, q -> 1}
. Then the LHS gives 39.98, which is more than 0. So I think you have some unstated assumptions. $\endgroup${g -> 0.01, m -> 0.01, w -> 0.01, Q -> 1, p -> -10^8, a -> 0.01, q -> 0.01}
$\endgroup$