Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

kirbykirby

  • 3 years ago

Is there a way to optimize (find global max and min) a function given a boundary (such as by a triangle x=0, y=0, y=-x+3) on Wolfram Alpha?

  • This Question is Closed
  1. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I just need a way to verify if my answer is correct... They have a way to determine it if the boundary is just one "function" (equation), like a circle. But I don't know how to define it if I have some triangle defined by 3 separate functions.

  2. seitys
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Check where the first derivative is 0 or undefined to find the critical points and plug those and the end points into the function to find the max.

  3. seitys
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    and min

  4. Jusaquikie
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    http://www.wolframalpha.com/input/?i=plot%3A+x%3D0%2C+y%3D0%2C+y%3D-x%2B3

  5. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    ^ Do you know how to combine that with asking Wolfram to optimize a function given that boundary?

  6. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    For example, Wolfram provides this example: http://www.wolframalpha.com/input/?i=maximize+e%5Ex+sin+y+on+x%5E2%2By%5E2%3D1&lk=3

  7. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    I tried putting "on x=0,y=0,y=-x+3" but it doesn't give a max or min... which seems fishy

  8. Jusaquikie
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    the ones i tried don't look right either, sorry.

  9. Jusaquikie
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    the ones i tried don't look right either, sorry.

  10. Jusaquikie
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 1

    http://www.wolframalpha.com/input/?i=optimization&lk=4&num=1

  11. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    Ohh wait I figured it out :) I had to say "on x>=0,y>=0,y<=-x+3"

  12. kirbykirby
    • 3 years ago
    Best Response
    You've already chosen the best response.
    Medals 0

    which makes sense loll. thanks for everyone's help though

  13. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Sign Up
Find more explanations on OpenStudy
Privacy Policy