Question about Variable Change used in Differentiation

Click For Summary
SUMMARY

The discussion centers on the implications of changing the variable in differentiation, specifically when substituting ##x = -u##. The correct application of the chain rule reveals that the derivative transforms as ##h'(u) = -f'(-u)##, leading to the conclusion that ##\frac{df(-x)}{dx} = -\frac{df(x)}{dx}##. However, this notation can be misleading, particularly in physics contexts, where it is common to see ambiguous expressions. Participants emphasize the importance of clarity in notation to avoid confusion.

PREREQUISITES
  • Understanding of differentiation and derivatives
  • Familiarity with the chain rule in calculus
  • Knowledge of function composition
  • Basic understanding of variable substitution in mathematical expressions
NEXT STEPS
  • Study the application of the chain rule in various contexts
  • Explore the implications of variable substitution in calculus
  • Learn about common notational conventions in physics and mathematics
  • Investigate the properties of even and odd functions in relation to differentiation
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus, as well as professionals in physics who require a clear understanding of differentiation and variable changes.

hokhani
Messages
581
Reaction score
20
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   Reactions: 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   Reactions: 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##.
 
  • Like
Likes   Reactions: PeroK

Similar threads

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