Finding the positive number that minimizes sum with its reciprocal

  • Context: Undergrad 
  • Thread starter Thread starter rumaithya
  • Start date Start date
  • Tags Tags
    Optimization
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
rumaithya
Messages
20
Reaction score
0
How to find a positive number such that the sum of the number and its reciprocal is as small as possible ?
 
Physics news on Phys.org
Let y = x + 1/x. Find the local minimum of y in the first quadrant and you're done. I suggest you also graph y to get a visual.
 
thank you.

I was thinking about that before..
In the graph it shows that x = +- 1
but x is +1 when it's local minimum, and x is -1 when it's local maximum.

So the answer would be x = -1

Am I right ?
 
rumaithya said:
So the answer would be x = -1
Am I right ?

You were looking for a positive number, right? :smile:
 
Oh calculus is going to make me feels sick :)
 
Both -1 and +1 are local minima. Ther maxima are at 0 and [tex]\infty[/tex]
 
Last edited: