Find the 10 lowest values of the function

  • Thread starter Thread starter TobeHode
  • Start date Start date
  • Tags Tags
    Function
Click For Summary

Homework Help Overview

The problem involves finding the 10 lowest values of the function f(x,y) = A(1 + (x^2/4) + (y^2/9), where A is a constant and x, y are positive integers starting from 1. The original poster expresses uncertainty about the best approach to solve this problem, having initially used Excel for evaluation.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss various methods for identifying the lowest values of the function, including the use of spreadsheets and the consideration of the function's behavior in relation to integer values of x and y. Some participants suggest that the problem can be simplified by focusing on the structure of the function and its minimum values based on distance from the origin.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations of the function and its parameters. Some guidance has been offered regarding the use of spreadsheets and the nature of the function's minimum values, but no consensus has been reached on a specific method or solution.

Contextual Notes

There is some confusion regarding the definition of the variables and the initial conditions, particularly with respect to the inclusion of zero in the context of integer values. Participants are questioning the assumptions about the function's continuity and the applicability of certain mathematical methods.

TobeHode
Messages
11
Reaction score
0

Homework Statement


Hi. I came across this problem last week and in order to solve it, I had to resort to excel. I believe there is a smarter way, but I can't seem to figure it out.

Given

[tex]f(x,y)=A(1+\frac{x^2}{4}+\frac{y^2}{9})[/tex]

Where "A" is a constant, "x" and "y" are integer valued starting at 1 (1,2,3,...,n).

Determine the 10 lowest values of f(x,y).


Homework Equations





The Attempt at a Solution



To solve this, I used excel to quickly look at the first 10 or so values of f(x,y) for a specified x or y. For instance, I set x=1 and evaluated f(1,y) for y=1..10. I then set x=2 and repeated.

My first thought was to use Lagrange multipliers but I don't think that applies here because f(x,y) is not continuous. I am rusty on the method of Lagrange multipliers to minimize a function, so perhaps I am wrong.

Can anyone lend a hint as to a clever way to solve this?
 
Physics news on Phys.org
not A is increasing with both |x| and |y|, in fact the first 10 minimum values of x^2 + y^2 will be the first 10 minimums of A(x,y). And x^2 + y^2 is just the square of the distance from the origin...

it should be clear that (0,0) is the local (and global) minimum of A(x,y) considering it as a continuous function

then the next lowest values will be conatained in the positive quadrant with a given radius:
r = 1
(0,1), (0,1)
then r=sqrt(2)
(1,1)
and so on...

so i think the easiest way to do this is in essence just to count up the first 10
 
Thanks for the reply. I don't think I am following what you are saying. I shouldn't have used x and y. Let me write this problem in a different way:

[tex]f_{n_1,n_2} = \frac{n^{2}_{1}}{4}+\frac{n^{2}_{2}}{9}[/tex]

where n_1 and n_2 are positive real integers

[tex]n_1:\left\{1, 2, 3,...,N}\right\}[/tex]
[tex]n_2:\left\{1, 2, 3,...,N}\right\}[/tex]

The first few lowest [tex]f_{n_1,n_2}s[/tex] are given by:


f_11
f_12
f_21
f_13
f_22
f_23
f_14
 
What you have here is a function that is defined on a lattice of integer values. The simplest thing to do IMO is put the formula in a spreadsheet and note which values of x and y give you the smallest function values.

Assuming you have x values 1, 2, 3, ... going across the top of the spreadsheet, and y values 1, 2, 3, ... going down the left side, the smallest function values are going to be in the upper left corner. The smallest value is when x = 1, y = 1, and the next smallest is when x = 1, y = 2.
 
yeah sorry i included 0 by mistake, otherwise everything i said applies
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
8
Views
2K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 17 ·
Replies
17
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K