Can Derivatives be Taken with Respect to Functions?

  • Context: Undergrad 
  • Thread starter Thread starter Char. Limit
  • Start date Start date
  • Tags Tags
    Derivatives Functions
Click For Summary

Discussion Overview

The discussion centers around the concept of taking derivatives with respect to functions rather than just variables, exploring both differentiation and integration in this context. Participants provide examples and references, and consider implications for mathematical operations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions whether it is possible to take a derivative with respect to a function, providing an example involving sine functions.
  • Another participant suggests that differentiating with respect to functions can be straightforward using the chain rule, although they express uncertainty about the integration aspect.
  • A participant references the concept of functional derivatives, noting that the example given does not involve a functional.
  • One participant explains a method for differentiating a function with respect to another function, detailing the relationship between their derivatives.
  • Another participant mentions that integrals can also be expressed in terms of derivatives of functions, suggesting a method that avoids repeated substitution.
  • Some participants discuss the relationship between functional derivatives and ordinary differentiation, clarifying that the example provided does not fit the definition of a functional.
  • There is mention of integrating in terms of differentials of trigonometric functions, indicating a practical application in physics contexts.
  • Several participants note that the process described is akin to substitution and the chain rule in reverse.

Areas of Agreement / Disagreement

Participants express a range of views on the topic, with some agreeing on the applicability of the chain rule and substitution methods, while others challenge the classification of certain derivatives and integrals. The discussion remains unresolved regarding the broader implications and definitions involved.

Contextual Notes

Participants highlight limitations in understanding functional derivatives versus ordinary derivatives, and the discussion reflects varying levels of familiarity with the concepts involved.

Char. Limit
Gold Member
Messages
1,222
Reaction score
23
Is it possible to take a derivative with respect to a function, rather than just a variable? I'll give a simple example of how I imagine such a thing would work to try to explain...

[tex]\frac{d}{d(sin(x))}\left(sin^2(x)\right) = 2 sin(x)[/tex]

Can you take a derivative this way?

Also, can you write an equivalent integral as such?

[tex]\int 2 sin(x) d(sin(x)) = sin^2(x) + C[/tex]
 
Physics news on Phys.org
I was thinking the same thing after looking at https://www.physicsforums.com/showthread.php?t=422688".

I found this site about differentiating with respect to functions:
http://www.transtutors.com/calculus-homework-help/differentiation/differentiation-with-respect-to-another-function.aspx
Looks quite easy just using the chain rule.

As far as integrating, no clue so far.
 
Last edited by a moderator:
Sounds like you're looking for http://en.wikipedia.org/wiki/Functional_derivative" .
 
Last edited by a moderator:
ross_tang said:
To differentiate f(x) w.r.t g(x), just do the following:

[tex]\frac{d f(x)}{d g(x)}[/tex]

[tex]=\frac{d f(x)}{d x}\frac{d x}{d g(x)}[/tex]

[tex]=\frac{d f(x)}{d x}\left(\frac{d g(x)}{d x}\right)^{-1}[/tex]

Char. Limit, for the integration, what you have written is the standard way I learned to do integration. The general form is:

[tex]\int g(x) f'(x)d x=\int g(x)d f(x)[/tex]

For example, by using the property of differential, [tex]d x^2/2 = x d x[/tex]

[tex]\int e^{x^2}x \text{dx}[/tex]

[tex]=\frac{1}{2}\int e^{x^2}\text{dx}^2[/tex]

[tex]=\frac{1}{2}e^{x^2}+C[/tex]

This method of doing integration is much better than using substitution in many situations. Since if the integral is complicated, you don't have to do substitution repeatedly.
 
alxm said:
Sounds like you're looking for http://en.wikipedia.org/wiki/Functional_derivative" .

no, it is just parametric ordinary differentiation.

[tex] w = f(u) = u^{2}, u(x) = \sin{(x)} \Rightarrow \frac{dw}{du} = f'(u) = 2 u = 2 \sin{(x)}[/tex]

Functional derivatives are derivatives of functionals with respect to functions. [itex]\sin^{2}{(x)}[/itex] is not a functional.
 
Last edited by a moderator:
Dickfore said:
Functional derivatives are derivatives of functionals with respect to functions. [itex]\sin^{2}{(x)}[/itex] is not a functional.

Ah yes, silly me.. Guess I've been reading too many DFT papers lately.
 
You'll even see things such as integrals over volumes, [tex]d^3x[/tex], done in terms of [tex]d(cos(\theta))[/tex] instead of just [tex]d\theta[/tex]. So instead of [tex]r^2sin(\theta)drd\theta d\phi[/tex], you can change your limits of integration to be [tex]r^2drd(cos(\theta))d\phi[/tex]. My first encounter, and I bet a lot of physics majors first encounter, is integrating Legendre Polynomials that are dependent on [tex]cos(\theta)[/tex] so it is only natural.
 
It's basically the method of substitution "on the go".
 
It's really just the chain rule. The "derivative of f(x) with respect to g(x)" is
[tex]\frac{df}{dg}= \frac{df}{dx}\frac{dx}{df}= \frac{\frac{df}{ex}}{\frac{dg}{dx}}[/tex].
It is simply "the rate of change of f compared to that of g" or "the rate of change of f divided by the rate of change of g".

And, as others have said, integration in that form is just "substitution" which is, itself, the "chain rule in reverse".
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K