Finding the maximum of a function

Click For Summary
The discussion centers on why a function f attains its local maximum at a point r' within the interval (p, q). It is suggested that this occurs because f(x) is less than or equal to f(r') for all x in the interval (p, p+delta). The participants confirm that equality holds at the maximum point. The clarification emphasizes the relationship between the function's values and the definition of a local maximum. Understanding these conditions is crucial for analyzing local maxima in mathematical functions.
ratio
Messages
2
Reaction score
0
Screenshot (200).png

Why does f attain its local maximum at r' in (p,q). Is it because we have f(x)<= f(r') for all x in (p,p+delta)?
 
Physics news on Phys.org
ratio said:
View attachment 292298
Why does f attain its local maximum at r' in (p,q). Is it because we have f(x)<= f(r') for all x in (p,p+delta)?
We have equality, but, yes.
 
Thanks for you answer^^
 
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 9 ·
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 16 ·
Replies
16
Views
4K
Replies
1
Views
2K
  • · Replies 25 ·
Replies
25
Views
4K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K