Optimization Problem Homework: Find Largest Positive Number

In summary: The derivative of x - x2 is 1 - 2x, which is 0 when x = 1/2.Therefore the largest value of x - x2 is x - x2 = 1/2 - (1/2)2 = 1/4.[color=green]In summary, the problem is to find the largest value of x - x2, which is equivalent to finding the largest positive number that exceeds its square. Differentiating x - x2 and setting it equal to 0 gives us the value of x at its maximum, which is 1/2. Therefore, the largest number that exceeds its square by the largest amount is 1/4.
  • #1
Lorek
8
0

Homework Statement



Find the positive number that exceeds its square by the largest amount. Obviously this is on the open interval (0,1).

Homework Equations



The Attempt at a Solution



[tex] F(x) = ( \frac{1}{n} ) ^2 - n \Rightarrow F'(x) = \frac{-2}{n^3} - 1 = 0
\Rightarrow 1 = \frac{-2}{n^3} \Rightarrow n^3 = -2 [/tex]

This is where I'm stuck. Taking the Cubic Root of a Negative number only nets
me a complex number. The answer at the back says its 1/2.
 
Physics news on Phys.org
  • #2
Hi Lorek! :smile:
Lorek said:
Find the positive number that exceeds its square by the largest amount. Obviously this is on the open interval (0,1).

why are you using 1/n2 instead of x2 ?? :confused:

but if you must, you should use 1/n also, not n :wink:
 
  • #3
I don't understand why you need to use [tex] \frac{1}{x} [/tex] instead of x.

Its asking for the positive number that is greater than its square at its maximum.

[tex] x^2 = x [/tex]

Since its number can only be greater than its square as a fraction I used (1/x)^2.

Your saying I should set it up as
[tex] \frac{1}{x^2} - \frac{1}{x} [/tex] ?

I don't understand why though.
 
  • #4
Hi Lorek! :smile:

Sorry, I don't understand any of your reasoning. :redface:

It's much easier to use the number x itself than its reciprocal, ie to differentiate x2 - x …

if you must use the reciprocal, y = 1/x, then it's 1/y2 - 1/y …

you'll just have to think about this until you see it :smile:
 
  • #5
We're looking for the largest number x that is greater than its square.

Setting the problem up as [tex] x^2 -x [/tex] and then differentiating says its maximum
is at 1/2.

The problem I see with that setup is if you take 0.99 and square it you get .9801. (original number larger than its square)
0.99 is larger than 1/2 (0.5).
Since we're looking for the largest number x that is greater than its square, and .99 falls into that category seeing as .99^2 = .9801.
0.99 > 0.9801 so it qualifies. Shouldn't the answer be The limit as x -> infinity of 1/1+(1/x).
 
Last edited:
  • #6
No, 0.99 - 0.992 = 0.99 - 0.9801 = 0.0099. :wink:
 
  • #7
x^2 = x. We're looking for the largest number that that holds true.

rearranging we got x^2-x = 0.

Plugging in 0.99 to x nets us:
0.99^2 - 0.99 = -0.0099 (not quite 0 but pretty close)

Since -0.0099 != 0 that's a problem.

.5 ^2 - .5 = -.25
-.25 != 0. (no where near 0).

The closest number which gets to x^2 = x is [tex] \lim_{x \rightarrow \infty} \frac{1}{1 + \frac{1}{x}} [/tex]

Update: I'm heading into bed. I'll just ask my math teacher when I see him tomorrow. Its a tough problem for being problem #1 in the book.
 
Last edited:
  • #8
Lorek said:
Find the positive number that exceeds its square by the largest amount.
Lorek said:
x^2 = x. We're looking for the largest number that that holds true.

No, you're looking for the largest value of x - x2.
 

FAQ: Optimization Problem Homework: Find Largest Positive Number

What is an optimization problem?

An optimization problem is a mathematical or computational problem that involves finding the best solution from all possible solutions. The goal is to maximize or minimize a given objective function while satisfying a set of constraints.

How do you approach an optimization problem?

To solve an optimization problem, you first need to define the objective function and any constraints. Then, you can use mathematical techniques such as calculus, linear algebra, or computer algorithms to find the best solution.

What is a positive number?

A positive number is any number that is greater than zero. It is denoted by the symbol "+".

How do you find the largest positive number in an optimization problem?

To find the largest positive number in an optimization problem, you can use techniques such as gradient descent, linear programming, or dynamic programming. These methods will help you iterate through all possible solutions and find the one that maximizes the objective function.

Can an optimization problem have multiple solutions?

Yes, an optimization problem can have multiple solutions. Depending on the constraints and the shape of the objective function, there may be more than one optimal solution. In some cases, there may be an infinite number of solutions.

Similar threads

Back
Top