Combinations of variables that satisfy my inequality

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite












This question is a continuation to one answered by kglr here.



In the following situation, I find that given my assumptions, it is indeed possible for $g$ to be negative.



g = f - (-1 + f) P + (-2 f + 2 f P) w
Assuming[0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1 , FullSimplify@Reduce[g < 0]]
P + f (-1 + P) (-1 + 2 w) < 0


Given this finding, can Mathematica output combinations of regions of P, f, and w, that give the specified result $P + f (-1 + P) (-1 + 2 w) < 0$ ?







share|improve this question


















  • 1




    Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
    – rhermans
    Aug 10 at 13:29










  • @rhermans Thank you. I will keep that in mind.
    – user120911
    Aug 10 at 13:32














up vote
4
down vote

favorite












This question is a continuation to one answered by kglr here.



In the following situation, I find that given my assumptions, it is indeed possible for $g$ to be negative.



g = f - (-1 + f) P + (-2 f + 2 f P) w
Assuming[0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1 , FullSimplify@Reduce[g < 0]]
P + f (-1 + P) (-1 + 2 w) < 0


Given this finding, can Mathematica output combinations of regions of P, f, and w, that give the specified result $P + f (-1 + P) (-1 + 2 w) < 0$ ?







share|improve this question


















  • 1




    Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
    – rhermans
    Aug 10 at 13:29










  • @rhermans Thank you. I will keep that in mind.
    – user120911
    Aug 10 at 13:32












up vote
4
down vote

favorite









up vote
4
down vote

favorite











This question is a continuation to one answered by kglr here.



In the following situation, I find that given my assumptions, it is indeed possible for $g$ to be negative.



g = f - (-1 + f) P + (-2 f + 2 f P) w
Assuming[0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1 , FullSimplify@Reduce[g < 0]]
P + f (-1 + P) (-1 + 2 w) < 0


Given this finding, can Mathematica output combinations of regions of P, f, and w, that give the specified result $P + f (-1 + P) (-1 + 2 w) < 0$ ?







share|improve this question














This question is a continuation to one answered by kglr here.



In the following situation, I find that given my assumptions, it is indeed possible for $g$ to be negative.



g = f - (-1 + f) P + (-2 f + 2 f P) w
Assuming[0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1 , FullSimplify@Reduce[g < 0]]
P + f (-1 + P) (-1 + 2 w) < 0


Given this finding, can Mathematica output combinations of regions of P, f, and w, that give the specified result $P + f (-1 + P) (-1 + 2 w) < 0$ ?









share|improve this question













share|improve this question




share|improve this question








edited Aug 10 at 13:07

























asked Aug 10 at 13:02









user120911

32417




32417







  • 1




    Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
    – rhermans
    Aug 10 at 13:29










  • @rhermans Thank you. I will keep that in mind.
    – user120911
    Aug 10 at 13:32












  • 1




    Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
    – rhermans
    Aug 10 at 13:29










  • @rhermans Thank you. I will keep that in mind.
    – user120911
    Aug 10 at 13:32







1




1




Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
– rhermans
Aug 10 at 13:29




Thanks for accepting my answer, but I think you were too hasty doing that. While accepting is one of the things to do after your question is answered, we recommend that users should test answers before voting and wait 24 hours before accepting the best one. That allows people in all timezones to answer your question and an opportunity for other users to point alternatives, caveats or limitations of the available answers.
– rhermans
Aug 10 at 13:29












@rhermans Thank you. I will keep that in mind.
– user120911
Aug 10 at 13:32




@rhermans Thank you. I will keep that in mind.
– user120911
Aug 10 at 13:32










2 Answers
2






active

oldest

votes

















up vote
4
down vote













FullSimplify @ Reduce[P + f (-1 + P) (-1 + 2 w) < 0, 
0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1, P, f, w]



0 <= P < 1/2 &&

-(P/(-1 + P)) < f <= 1 &&

(f + P - f P)/(
2 f - 2 f P) < w <= 1







share|improve this answer



























    up vote
    3
    down vote













    region = ImplicitRegion[
    P + f (-1 + P) (-1 + 2 w) < 0
    , P, f, w
    ]

    RegionPlot3D[
    P + f (-1 + P) (-1 + 2 w) < 0
    , P, -3, 3
    , f, -3, 3
    , w, -3, 3
    ]


    Mathematica graphics






    share|improve this answer




















      Your Answer




      StackExchange.ifUsing("editor", function ()
      return StackExchange.using("mathjaxEditing", function ()
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      );
      );
      , "mathjax-editing");

      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "387"
      ;
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function()
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled)
      StackExchange.using("snippets", function()
      createEditor();
      );

      else
      createEditor();

      );

      function createEditor()
      StackExchange.prepareEditor(
      heartbeatType: 'answer',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f179824%2fcombinations-of-variables-that-satisfy-my-inequality%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      4
      down vote













      FullSimplify @ Reduce[P + f (-1 + P) (-1 + 2 w) < 0, 
      0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1, P, f, w]



      0 <= P < 1/2 &&

      -(P/(-1 + P)) < f <= 1 &&

      (f + P - f P)/(
      2 f - 2 f P) < w <= 1







      share|improve this answer
























        up vote
        4
        down vote













        FullSimplify @ Reduce[P + f (-1 + P) (-1 + 2 w) < 0, 
        0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1, P, f, w]



        0 <= P < 1/2 &&

        -(P/(-1 + P)) < f <= 1 &&

        (f + P - f P)/(
        2 f - 2 f P) < w <= 1







        share|improve this answer






















          up vote
          4
          down vote










          up vote
          4
          down vote









          FullSimplify @ Reduce[P + f (-1 + P) (-1 + 2 w) < 0, 
          0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1, P, f, w]



          0 <= P < 1/2 &&

          -(P/(-1 + P)) < f <= 1 &&

          (f + P - f P)/(
          2 f - 2 f P) < w <= 1







          share|improve this answer












          FullSimplify @ Reduce[P + f (-1 + P) (-1 + 2 w) < 0, 
          0 <= w <= 1 && 0 <= P <= 1 && 0 <= f <= 1, P, f, w]



          0 <= P < 1/2 &&

          -(P/(-1 + P)) < f <= 1 &&

          (f + P - f P)/(
          2 f - 2 f P) < w <= 1








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 10 at 13:25









          kglr

          157k8182379




          157k8182379




















              up vote
              3
              down vote













              region = ImplicitRegion[
              P + f (-1 + P) (-1 + 2 w) < 0
              , P, f, w
              ]

              RegionPlot3D[
              P + f (-1 + P) (-1 + 2 w) < 0
              , P, -3, 3
              , f, -3, 3
              , w, -3, 3
              ]


              Mathematica graphics






              share|improve this answer
























                up vote
                3
                down vote













                region = ImplicitRegion[
                P + f (-1 + P) (-1 + 2 w) < 0
                , P, f, w
                ]

                RegionPlot3D[
                P + f (-1 + P) (-1 + 2 w) < 0
                , P, -3, 3
                , f, -3, 3
                , w, -3, 3
                ]


                Mathematica graphics






                share|improve this answer






















                  up vote
                  3
                  down vote










                  up vote
                  3
                  down vote









                  region = ImplicitRegion[
                  P + f (-1 + P) (-1 + 2 w) < 0
                  , P, f, w
                  ]

                  RegionPlot3D[
                  P + f (-1 + P) (-1 + 2 w) < 0
                  , P, -3, 3
                  , f, -3, 3
                  , w, -3, 3
                  ]


                  Mathematica graphics






                  share|improve this answer












                  region = ImplicitRegion[
                  P + f (-1 + P) (-1 + 2 w) < 0
                  , P, f, w
                  ]

                  RegionPlot3D[
                  P + f (-1 + P) (-1 + 2 w) < 0
                  , P, -3, 3
                  , f, -3, 3
                  , w, -3, 3
                  ]


                  Mathematica graphics







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 10 at 13:21









                  rhermans

                  21.6k439103




                  21.6k439103



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f179824%2fcombinations-of-variables-that-satisfy-my-inequality%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Comments

                      Popular posts from this blog

                      What does second last employer means? [closed]

                      List of Gilmore Girls characters

                      Confectionery