What is the derivative of max(u(x),v(x)) when u(x) and v(x) are given functions?

  • Context: Undergrad 
  • Thread starter Thread starter Dansuer
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary
SUMMARY

The derivative of the function f(x) = max(u(x), v(x)) depends on the relationship between the two functions u(x) and v(x). Specifically, the derivative can be determined by analyzing the cases where u(x) > v(x) and v(x) > u(x). Notably, f(x) can be differentiable even when u(x) and v(x) are not continuous, as demonstrated by the examples where u(x) = 0 for rational x and u(x) = 1 otherwise, and vice versa for v(x). Additionally, there are scenarios where f(x) is not differentiable, such as when u(x) = x and v(x) = -x, resulting in f(x) = |x|, which is not differentiable at x = 0.

PREREQUISITES
  • Understanding of calculus concepts, specifically derivatives
  • Familiarity with piecewise functions
  • Knowledge of continuity and differentiability
  • Basic understanding of real-valued functions
NEXT STEPS
  • Study the properties of piecewise functions and their derivatives
  • Learn about the implications of continuity on differentiability
  • Explore the concept of subderivatives in non-differentiable points
  • Investigate the applications of max functions in optimization problems
USEFUL FOR

Students and professionals in mathematics, particularly those studying calculus, as well as software developers working on algorithms that involve optimization and piecewise functions.

Dansuer
Messages
81
Reaction score
1
What is the derivative of the function f(x)= max(u(x),v(x)) ?
where u(x) and v(x) are two given function
 
Physics news on Phys.org
Try looking at the two cases when u(x)>v(x) and when v(x)>u(x)
 
Office_Shredder said:
Try looking at the two cases when u(x)>v(x) and when v(x)>u(x)

That is a good place to start, but max(u(x),v(x)) can be differentiable when u(x) and v(x) are not even continuous.

For example
u(x) = 0 when x is rational, u(x) = 1 otherwise
v(x) = 1 when x is rational , v(x) = 0 otherwise
 
AlephZero said:
That is a good place to start, but max(u(x),v(x)) can be differentiable when u(x) and v(x) are not even continuous.

For example
u(x) = 0 when x is rational, u(x) = 1 otherwise
v(x) = 1 when x is rational , v(x) = 0 otherwise

Or max(u(x),v(x)) can not be differentiable, while u(x) and v(x) are:

For example:
u(x)=x and v(x)=-x

Then max(u(x),v(x))=|x| which is not differentiable in 0.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
909
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 15 ·
Replies
15
Views
2K