One last optimization problems

In summary, the conversation discussed finding two positive numbers that would yield the smallest sum when added to its reciprocal. The solution involved finding the derivative of the function and setting it to 0, resulting in the numbers x = 1 and x = -1. However, it was pointed out that the function could be simplified to x + 1/x, making the solution x = 1 or x = -1 more apparent.
  • #1
physicsed
52
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
  • #2
you've got it right so far. What happens to the derivative when something is at a minimum or a maximum?
 
  • #3
1 + ln x =0
-1 = ln x

thats about all i can do
 
  • #4
did you say there that
d/dx (1/x) = ln (x)?
 
  • #5
physicsed ... you took the antiderivative ...
 
  • #6
you have to take the derivative, not the integral
 
  • #7
do u want me to use the quo rule for 1/x which is -1/x^2?
 
  • #8
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)
 
  • #9
thats what i got to so far
(x^2 + 1)/ x

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

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

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

which is undifined...
NO answer
You are missing ( ) in that. The derivative of (x2+ 1)/x, using the quotient rule, is
[tex]\frac{(x^2+ 1)'(x)- (x^2+ 1)(x)'}{x^2}= \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}= 0[/itex]
when x= 1 or -1.

Although it would be simpler, as others have pointed out, to write the function as x+ x-1 so its derivative is 1- x-1 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
[tex]\frac{(x^2+ 1)'(x)- (x^2+ 1)(x)'}{x^2}= \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}= 0[/itex]
when x= 1 or -1.

Although it would be simpler, as others have pointed out, to write the function as x+ x-1 so its derivative is 1- x-1 which is 0 when x= 1 or -1.



[tex] \frac{(2x)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2} [/tex]

how are those equal?
 
Last edited:
  • #13
A slight mistake there (probably a typo), it should be:
[tex]\frac{(2x^2)- (x^2+1)}{x^2}= \frac{x^2- 1}{x^2}[/tex]

[tex](\frac{d}{dx}(x^2+1)) (x) = (2x)(x) = 2x^2[/tex]
 
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:
[tex]\frac{2x^2 - x^2 + 1}{x^2} = 0[/tex] which indeed does not have a solution.

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

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

[tex]\frac{2x^2 - (x^2 + 1)}{x^2} = \frac{2x^2 - x^2 - 1}{x^2} = \frac{x^2 - 1}{x^2}[/tex]

[tex]\frac{x^2 - 1}{x^2} = 0 \ \rightarrow \ x^2 - 1 = 0 \ \rightarrow \ x = \pm \sqrt(1) = \pm 1[/tex]
 
Last edited:
  • #20
[tex]
2x^2 - x^2 - 1 = x^2 - 1
[/tex]

it might sound childish, but how is that equal?

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

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

1. What is an optimization problem?

An optimization problem is a mathematical or computational problem where the goal is to find the best solution among all possible solutions. This is achieved by maximizing or minimizing a certain objective function while satisfying given constraints.

2. What is the importance of optimizing solutions?

Optimizing solutions is important because it allows us to find the most efficient or effective solution to a problem. This can save time, resources, and money, and can also lead to better outcomes and results.

3. What are some common techniques used to solve optimization problems?

Some common techniques used to solve optimization problems include linear programming, dynamic programming, gradient descent, and genetic algorithms. These techniques use mathematical and computational methods to iteratively improve solutions and find the optimal solution.

4. How is optimization used in different fields of science?

Optimization is used in various fields of science, such as engineering, economics, physics, and computer science. It can be applied to problem-solving in areas such as resource allocation, scheduling, data analysis, and machine learning.

5. Can optimization solve real-world problems?

Yes, optimization can be used to solve real-world problems in many different industries and fields. It has been successfully applied to optimize supply chains, transportation networks, energy systems, and more. However, it is important to carefully consider the constraints and limitations of the problem before applying optimization techniques.

Similar threads

  • Calculus and Beyond Homework Help
Replies
1
Views
546
  • Calculus and Beyond Homework Help
Replies
4
Views
823
  • Calculus and Beyond Homework Help
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
676
  • Calculus and Beyond Homework Help
Replies
2
Views
814
  • Calculus and Beyond Homework Help
Replies
1
Views
490
Back
Top