Question about Variable Change used in Differentiation

  • #1
hokhani
504
8
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
  • #2
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
  • #3
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.
 
  • #4
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)}##?
 
  • #5
## f'(-u) ## means ## \frac{df(-u)}{d(-u)} ##.
 
  • #6
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
  • #7
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.
 
  • #8
Gavran said:
## f'(-u) ## means ## \frac{df(-u)}{d(-u)} ##.
... and ## -f'(-u) ## means ## \frac{df(-u)}{du} ##.
 
  • #9
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 PeroK

FAQ: Question about Variable Change used in Differentiation

What is the purpose of variable change in differentiation?

Variable change in differentiation is used to simplify the process of finding derivatives by transforming the function into a form that is easier to differentiate. This technique often involves substituting one variable for another, which can make the differentiation process more straightforward, especially for complex functions.

How do you perform a variable change when differentiating?

To perform a variable change, you typically start by defining a new variable in terms of the original variable. For example, if you have a function f(x), you might let u = g(x) for some function g. Then, you express the derivative of f with respect to x in terms of u, applying the chain rule: df/dx = (df/du) * (du/dx).

When should I use variable change in differentiation?

You should consider using variable change when the function you are differentiating is complicated, or when it involves products, quotients, or compositions of functions that might be hard to differentiate directly. It is particularly useful in cases where the substitution can lead to a simpler expression or when dealing with integrals that require differentiation as part of the solution.

Can variable change be applied to implicit differentiation?

Yes, variable change can be applied to implicit differentiation. When dealing with equations where y is defined implicitly as a function of x, you can introduce a new variable to simplify the equation. This allows you to differentiate both sides with respect to the new variable and then solve for dy/dx more easily.

What are some common mistakes to avoid when using variable change in differentiation?

Common mistakes include failing to properly substitute back to the original variable after differentiation, neglecting to apply the chain rule correctly, and making errors in the algebraic manipulation of the expressions. It's also important to ensure that the new variable is defined correctly and that its relationship to the original variable is maintained throughout the differentiation process.

Similar threads

Back
Top