One last optimization problems

  • Thread starter Thread starter physicsed
  • Start date Start date
  • Tags Tags
    Optimization
physicsed
Messages
52
Reaction score
0
[SOLVED] one last optimization problems

Homework Statement



find two positive numbers such that the sum of the number and its reciprocal is as small as possible.

Homework Equations



x+(1/x) = s

f' =1 + ln x

The Attempt at a Solution



lost
 
Physics news on Phys.org
you've got it right so far. What happens to the derivative when something is at a minimum or a maximum?
 
1 + ln x =0
-1 = ln x

thats about all i can do
 
did you say there that
d/dx (1/x) = ln (x)?
 
physicsed ... you took the antiderivative ...
 
you have to take the derivative, not the integral
 
do u want me to use the quo rule for 1/x which is -1/x^2?
 
that is the correct answer, but you don't have to use the quotient rule to find it...
1/x = x^(-1) ... d/dx (1/x) = (-1)x^(-2) = -(1/x^2)
 
thats what i got to so far
(x^2 + 1)/ x

0=({{2x^2}-{x^2}+{1}})/{x^2}

which is undifined...
NO answer
 
Last edited:
  • #10
physicsed said:
thats what i got to so far
(x^2 + 1)/ x

0=({{2x^2}-{x^2}+{1}})/{x^2}

which is undifined...
NO answer
You are missing ( ) in that. The derivative of (x2+ 1)/x, using the quotient rule, is
\frac{(x^2+ 1)&#039;(x)- (x^2+ 1)(x)&#039;}{x^2}= \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}= 0[/itex]<br /> when x= 1 or -1.<br /> <br /> Although it would be simpler, as others have pointed out, to write the function as x+ x<sup>-1</sup> so its derivative is 1- x<sup>-1</sup> which is 0 when x= 1 or -1.
 
  • #11
whaaat
 
Last edited:
  • #12
HallsofIvy said:
You are missing ( ) in that. The derivative of (x2+ 1)/x, using the quotient rule, is
\frac{(x^2+ 1)&#039;(x)- (x^2+ 1)(x)&#039;}{x^2}= \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}= 0[/itex]<br /> when x= 1 or -1.<br /> <br /> Although it would be simpler, as others have pointed out, to write the function as x+ x<sup>-1</sup> so its derivative is 1- x<sup>-1</sup> which is 0 when x= 1 or -1.
<br /> <br /> <br /> <br /> \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}<br /> <br /> how are those equal?
 
Last edited:
  • #13
A slight mistake there (probably a typo), it should be:
\frac{(2x^2)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}

(\frac{d}{dx}(x^2+1)) (x) = (2x)(x) = 2x^2
 
Last edited:
  • #14
how are they equall?
 
  • #15
As I said, HallsOfIvy made a little mistake (typo probably) in the calculation of the derivative.
He forgot to multiply the derivative of (x^2 + 1) with x.
 
  • #16
so, i was right?
 
  • #17
No.

You're answer was:
\frac{2x^2 - x^2 + 1}{x^2} = 0 which indeed does not have a solution.

The correct answer however should be:
\frac{2x^2 - (x^2 + 1)}{x^2} = 0 (there is one very important difference!)
 
  • #18
<br /> \frac{2x^2- (x^2+ 1)}{x^2}= \frac{x^2-1}{x^2}<br />

how are they equall?
 
  • #19
(Is the forum messing up or are we just posting too fast?? :P)

\frac{2x^2 - (x^2 + 1)}{x^2} = \frac{2x^2 - x^2 - 1}{x^2} = \frac{x^2 - 1}{x^2}

\frac{x^2 - 1}{x^2} = 0 \ \rightarrow \ x^2 - 1 = 0 \ \rightarrow \ x = \pm \sqrt(1) = \pm 1
 
Last edited:
  • #20
<br /> 2x^2 - x^2 - 1 = x^2 - 1<br />

it might sound childish, but how is that equal?

you can't factor anything or simplify it
 
  • #21
Surely you can substract 1x^2 from 2x^2?

2x^2 - x^2 = (2-1)x^2 = 1x^2 = x^2. I can't write it out any more than that.
 
  • #22
am soo stupid...thanks
 
  • #23
No problem, it happens ;)
 
Back
Top