How Can You Differentiate the Minimum of Functions?

  • Context: Graduate 
  • Thread starter Thread starter LeBrad
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary

Discussion Overview

The discussion revolves around the differentiation of a minimum function, specifically how to take the derivative of a function defined as the minimum of several other functions. Participants explore the implications of differentiating a minimum function in the context of variable dependencies and the behavior of the function at critical points.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • One participant presents a scenario where they need to differentiate a function defined as the minimum of several other functions, questioning whether a specific definition of minimum allows for differentiation.
  • Another participant suggests a formula for differentiating the minimum of two values, noting that the derivative may not exist at points where the two values are equal but have different derivatives.
  • A follow-up comment reiterates the formula for the minimum function and seeks clarification on how to extend this to multiple elements.
  • Another participant responds by indicating that the minimum function can be recursively defined, suggesting a method for handling the minimum of multiple values.

Areas of Agreement / Disagreement

Participants express varying degrees of understanding regarding the differentiation of minimum functions, with some agreeing on the formula for two elements while others seek clarification on its application to more than two elements. The discussion remains unresolved regarding a comprehensive method for differentiation across multiple functions.

Contextual Notes

Participants highlight the potential for undefined derivatives at critical points and the need for careful consideration of the behavior of the minimum function as the input variables change.

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, ... .

[tex]f_i(x) = g(x,x_i)[/tex]

and then

[tex]y = min_i(f_i(x))[/tex]

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 [tex]\frac{1}{\infty}[/tex] 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
4K
  • · Replies 24 ·
Replies
24
Views
4K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 30 ·
2
Replies
30
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K