MHB What is the Maximum Value of 1/𝑥 + 1/𝑦 with x+y=5 and Positive Integers?

  • Thread starter Thread starter prasadini
  • Start date Start date
Click For Summary
The maximum value of 1/x + 1/y, given that x + y = 5 and both x and y are positive integers, can be determined by evaluating the possible pairs of integers that sum to 5. The pairs (1,4), (2,3), (3,2), and (4,1) yield different values for the expression. After calculating, the pair (2,3) or (3,2) provides the highest value of 1/x + 1/y, which is 5/6. This approach involves systematically testing each integer combination to find the optimal solution. The maximum value of the expression is thus 5/6.
prasadini
Messages
9
Reaction score
0
If 𝑥+𝑦=5 and 𝑥 and 𝑦 are positive integers, then the largest possible value of 1/𝑥 + 1/y is
 
Physics news on Phys.org
prasadini said:
If 𝑥+𝑦=5 and 𝑥 and 𝑦 are positive integers, then the largest possible value of 1/𝑥 + 1/y is
There are not many ways of expressing 5 as the sum of two positive integers. I suggest that you look at each of them in turn, and find which one gives the best result for 1/𝑥 + 1/y.
 
Basically, you have to do two additions of fractions.
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
5
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
2K