Question about Variable Change used in Differentiation

Click For Summary
Changing the variable from x to -u in differentiation alters the expression, leading to the application of the chain rule. Specifically, if x = -u, the derivative transforms to h'(u) = -f'(-u), indicating that the derivative of the function at -u is the negative of the derivative at u. This results in the relationship f'(-x) = -f'(x), though this notation can be misleading in some contexts. The discussion emphasizes the importance of clarity in notation and the correct application of the chain rule to avoid confusion. Proper understanding of these transformations is crucial in calculus, especially when dealing with even functions.
hokhani
Messages
566
Reaction score
19
Homework Statement
variable change of a differentiation
Relevant Equations
##\frac{df(x)}{dx}##
Consider differentiation ##\frac{df(x)}{dx}##. If we change the variable as ##x=-u## how does the differentiation change? Does it change as ##\frac{df(-u)}{-du}##?
 
Physics news on Phys.org
hokhani said:
Homework Statement: variable change of a differentiation
Relevant Equations: ##\frac{df(x)}{dx}##

Consider differentiation ##\frac{df(x)}{dx}##. If we change the variable as ##x=-u## how does the differentiation change? Does it change as ##\frac{df(-u)}{-du}##?
You must consider what a change of variable means. In general, you have a function ##x = g(u)##. That allows us to define a new function by composition:
$$h(u) = f(x) = f(g(u))$$We can now apply the chain rule to get:
$$h'(u) = f'(g(u))g'(u)$$In the case where ##g(u) = -u##, we have ##g'(u) = -1## and:
$$h'(u) = -f'(-u)$$Note that many textbooks will use the same function symbol ##f## for both the original function and the composite function ##h## here. And you end up with $$f'(-x) = -f'(x)$$or $$\frac{df(-x)}{dx} = - \frac{df(x)}{dx}$$PS note that, strictly speaking, these last two are wrong - but they are very common, especially in physics textbooks.
 
Last edited:
  • Like
Likes hokhani, BvU and FactChecker
You need to be careful, especially for even functions, with how you interpret your expression, ##\frac{df(-u)}{-du}##. You have not indicated what you think this means as a function of ##u##. I think that you should apply the Chain rule as @PeroK describes. That will help you to keep the calculations straight.
 
PeroK said:
You must consider what a change of variable means. In general, you have a function ##x = g(u)##. That allows us to define a new function by composition:
$$h(u) = f(x) = f(g(u))$$We can now apply the chain rule to get:
$$h'(u) = f'(g(u))g'(u)$$In the case where ##g(u) = -u##, we have ##g'(u) = -1## and:
$$h'(u) = -f'(-u)$$Note that many textbooks will use the same function symbol ##f## for both the original function and the composite function ##h## here. And you end up with $$f'(-x) = -f'(x)$$or $$\frac{df(-x)}{dx} = - \frac{df(x)}{dx}$$PS note that, strictly speaking, these last two are wrong - but they are very common, especially in physics textbooks.
Thanks, by ##f'(-u)## do you mean ##\frac{df(-u)}{d(-u)}## or ##\frac{df(-u)}{d(u)}##?
 
## f'(-u) ## means ## \frac{df(-u)}{d(-u)} ##.
 
hokhani said:
Thanks, by ##f'(-u)## do you mean ##\frac{df(-u)}{d(-u)}## or ##\frac{df(-u)}{d(u)}##?
I don't really use that notation myself. Given a differentiable function ##f##, ##f' \equiv \frac {df}{dx}## is a well-defined function. Where the second formulation entails the use of a dummy variable ##x##. Both ##f## and ##f'## can be applied to any variable, so we can write:
$$f(u), f'(u) \equiv \frac{df}{dx}(u) \equiv \frac{df}{dx}\bigg |_u$$I avoid things like ##\frac{df(-u)}{d(-u)}##, as they are ambiguous and confusing to me.
 
  • Like
Likes FactChecker
Let's take an example and let ##f(x) = \sin x##, so that ##f'(x) \equiv \frac{df}{dx} = \cos x##. In this case:
$$f(-u) = \sin(-u), \text{and} \ f'(-u) = \cos(-u)$$However, if we define:
$$h(u) = \sin(-u)$$then$$h'(u) \equiv \frac{dh}{du} = -\cos(-u) = -f'(u)$$Everything else involves an abuse of notation to some extent - which I prefer to avoid.
 
Gavran said:
## f'(-u) ## means ## \frac{df(-u)}{d(-u)} ##.
... and ## -f'(-u) ## means ## \frac{df(-u)}{du} ##.
 
IMO, ##f'(-u)## is well defined as ##f'(x)## evaluated at ##x=-u##. I'm not familiar with an official definition of ##df(-u)## or ##df(-u)/du##.
 

Similar threads

  • · Replies 23 ·
Replies
23
Views
2K
Replies
26
Views
3K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K