Single variable or double?

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











up vote
0
down vote

favorite












I have the following problem and I don't know which way to go. The problem is about building a card minimizing the amount of paper used subject to this:



1-The area must be 100cm**2
2-Upper edge is 2cm and lower one is 3cm
3-Righ and left edges are 5cm each



After making it abstract, I get the following, being x the vertical side, y the horizontal one, x0 the vertical side minus the edges, y0 the horizontal one minus the edges:



x•y = 100
x = x0 + 2 + 3, x = x0 + 5
y = y0 + 2•5, y = y0 + 10



which leads me to:



(x0 + 5)•(y0 + 10) = 100,
x0•y0 + 5y0 + 10x0 + 50 = 100
x0•y0 + 5y0 + 10x0 = 50



my problem comes after here, because if I want to use a single variable setting y0 after x0 i get this:



(x0 + 5)•y0 = 50 - 10x0,
y0 = 10•((5-2x0)/(x0 + 5)),
y0 = 10•((-2) + (15/(x0 + 5))),
f(x) = (-20) + (150/(x0 + 5))



then I want to optimize it, and I get



f'(x) = 0 - 150•(1/((x0+5)**2))



which, when equalled to 0 results wrong ly:



f'(x) = 0 = 150•(1/((x0+5)**2)),
0 = 1/((x0+5)**2),
0 = 1, which is impossible.



Therefore, I have to assume it's impossible to optimize.



Should I proceed using 2-variables optization or did I commit any procedure error? Thanks for your answers



Also, excuse my bad writting but I'm using the mobile app for the first time and I don't know how to set subindexes and such. Also, my language is a portmanteau of my maths knowledge, which is in Spanish, so I can't do much about it at the moment







share|cite|improve this question
























    up vote
    0
    down vote

    favorite












    I have the following problem and I don't know which way to go. The problem is about building a card minimizing the amount of paper used subject to this:



    1-The area must be 100cm**2
    2-Upper edge is 2cm and lower one is 3cm
    3-Righ and left edges are 5cm each



    After making it abstract, I get the following, being x the vertical side, y the horizontal one, x0 the vertical side minus the edges, y0 the horizontal one minus the edges:



    x•y = 100
    x = x0 + 2 + 3, x = x0 + 5
    y = y0 + 2•5, y = y0 + 10



    which leads me to:



    (x0 + 5)•(y0 + 10) = 100,
    x0•y0 + 5y0 + 10x0 + 50 = 100
    x0•y0 + 5y0 + 10x0 = 50



    my problem comes after here, because if I want to use a single variable setting y0 after x0 i get this:



    (x0 + 5)•y0 = 50 - 10x0,
    y0 = 10•((5-2x0)/(x0 + 5)),
    y0 = 10•((-2) + (15/(x0 + 5))),
    f(x) = (-20) + (150/(x0 + 5))



    then I want to optimize it, and I get



    f'(x) = 0 - 150•(1/((x0+5)**2))



    which, when equalled to 0 results wrong ly:



    f'(x) = 0 = 150•(1/((x0+5)**2)),
    0 = 1/((x0+5)**2),
    0 = 1, which is impossible.



    Therefore, I have to assume it's impossible to optimize.



    Should I proceed using 2-variables optization or did I commit any procedure error? Thanks for your answers



    Also, excuse my bad writting but I'm using the mobile app for the first time and I don't know how to set subindexes and such. Also, my language is a portmanteau of my maths knowledge, which is in Spanish, so I can't do much about it at the moment







    share|cite|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have the following problem and I don't know which way to go. The problem is about building a card minimizing the amount of paper used subject to this:



      1-The area must be 100cm**2
      2-Upper edge is 2cm and lower one is 3cm
      3-Righ and left edges are 5cm each



      After making it abstract, I get the following, being x the vertical side, y the horizontal one, x0 the vertical side minus the edges, y0 the horizontal one minus the edges:



      x•y = 100
      x = x0 + 2 + 3, x = x0 + 5
      y = y0 + 2•5, y = y0 + 10



      which leads me to:



      (x0 + 5)•(y0 + 10) = 100,
      x0•y0 + 5y0 + 10x0 + 50 = 100
      x0•y0 + 5y0 + 10x0 = 50



      my problem comes after here, because if I want to use a single variable setting y0 after x0 i get this:



      (x0 + 5)•y0 = 50 - 10x0,
      y0 = 10•((5-2x0)/(x0 + 5)),
      y0 = 10•((-2) + (15/(x0 + 5))),
      f(x) = (-20) + (150/(x0 + 5))



      then I want to optimize it, and I get



      f'(x) = 0 - 150•(1/((x0+5)**2))



      which, when equalled to 0 results wrong ly:



      f'(x) = 0 = 150•(1/((x0+5)**2)),
      0 = 1/((x0+5)**2),
      0 = 1, which is impossible.



      Therefore, I have to assume it's impossible to optimize.



      Should I proceed using 2-variables optization or did I commit any procedure error? Thanks for your answers



      Also, excuse my bad writting but I'm using the mobile app for the first time and I don't know how to set subindexes and such. Also, my language is a portmanteau of my maths knowledge, which is in Spanish, so I can't do much about it at the moment







      share|cite|improve this question












      I have the following problem and I don't know which way to go. The problem is about building a card minimizing the amount of paper used subject to this:



      1-The area must be 100cm**2
      2-Upper edge is 2cm and lower one is 3cm
      3-Righ and left edges are 5cm each



      After making it abstract, I get the following, being x the vertical side, y the horizontal one, x0 the vertical side minus the edges, y0 the horizontal one minus the edges:



      x•y = 100
      x = x0 + 2 + 3, x = x0 + 5
      y = y0 + 2•5, y = y0 + 10



      which leads me to:



      (x0 + 5)•(y0 + 10) = 100,
      x0•y0 + 5y0 + 10x0 + 50 = 100
      x0•y0 + 5y0 + 10x0 = 50



      my problem comes after here, because if I want to use a single variable setting y0 after x0 i get this:



      (x0 + 5)•y0 = 50 - 10x0,
      y0 = 10•((5-2x0)/(x0 + 5)),
      y0 = 10•((-2) + (15/(x0 + 5))),
      f(x) = (-20) + (150/(x0 + 5))



      then I want to optimize it, and I get



      f'(x) = 0 - 150•(1/((x0+5)**2))



      which, when equalled to 0 results wrong ly:



      f'(x) = 0 = 150•(1/((x0+5)**2)),
      0 = 1/((x0+5)**2),
      0 = 1, which is impossible.



      Therefore, I have to assume it's impossible to optimize.



      Should I proceed using 2-variables optization or did I commit any procedure error? Thanks for your answers



      Also, excuse my bad writting but I'm using the mobile app for the first time and I don't know how to set subindexes and such. Also, my language is a portmanteau of my maths knowledge, which is in Spanish, so I can't do much about it at the moment









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 27 at 16:43









      Phazoning

      33




      33

























          active

          oldest

          votes











          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: "69"
          ;
          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: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896389%2fsingle-variable-or-double%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896389%2fsingle-variable-or-double%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Mutual Information Always Non-negative

          Why am i infinitely getting the same tweet with the Twitter Search API?