How Can You Differentiate the Minimum of Functions?

  • Thread starter Thread starter LeBrad
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
To differentiate a minimum function, the derivative dy/dx cannot be directly applied due to potential non-differentiable points where multiple functions yield the same minimum value. The discussion highlights that while the minimum function can be expressed in a differentiable form, the derivative may not exist at points where two or more functions are equal but have different derivatives. The example provided illustrates that for a simple case like y = min(0, x), the derivative is defined except at the point where x equals zero. The conversation also touches on the recursive nature of the minimum function, suggesting that it can be broken down into smaller components for differentiation. Understanding these nuances is crucial for effectively differentiating minimum functions across multiple elements.
LeBrad
Messages
214
Reaction score
0
I'm trying to take the derivative of a min function.

I have some function that depends on the variable x and a set of parameters x_i = x_1, x_2, ... .

f_i(x) = g(x,x_i)

and then

y = min_i(f_i(x))

So I'm finding the minimum value of f over all the x_i for some particular x value. Now I want to take dy/dx.

Is there some definition of min that allows differentiation? Like maybe calling it the \frac{1}{\infty} norm. Although I don't think that would help since I probably can't differentiate infinite exponents. I don't think d/dx can pass through the min because that would just give me the minimum derivative value corresponding to one of the x_i, but what I want is how the minimum over all i changes as x moves relative to the x_i.

Any help?
 
Physics news on Phys.org
Remeber min(a,b)=.5(a+b-|a-b|)
In other words it is easy to differentiate min, but the derivative will not exist at points where two values are equal but the derivatives are not. This is clear as min often has corners. Also of interest is min(a(i))=-max(-a(i)).
Example y=min(0,x)=x x<=0, 0 x>=0
y'=1 x<0, 0 x>0 (undefined for x=0)
 
lurflurf said:
Remeber min(a,b)=.5(a+b-|a-b|)

That's what I was looking for. Now how about for many elements, i.e. min(a,b,c,d,e...)?
 
min(a, b, c) = min(min(a, b), c)
and so on
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K