Derivatives of functions of products of variables

Click For Summary
SUMMARY

The discussion centers on deriving the total derivatives of functions of the form f(xy(x) + z(x)). The participants confirm that the correct formula for the total derivative is given by df/dx = ∂f/∂x + ∂f/∂y (dy/dx) + ∂f/∂z (dz/dx). They illustrate this with a specific example where y = 2x and z = x², leading to the derivative df/dx = 6x. Mathematica's output aligns with the derived formula, reinforcing its validity.

PREREQUISITES
  • Understanding of total derivatives in calculus
  • Familiarity with the chain rule for functions of several variables
  • Basic knowledge of functions and their derivatives
  • Experience with symbolic computation tools like Mathematica
NEXT STEPS
  • Study the chain rule for functions of multiple variables in depth
  • Explore the use of Mathematica for symbolic differentiation
  • Investigate advanced topics in multivariable calculus
  • Practice deriving total derivatives with various function forms
USEFUL FOR

Mathematics students, educators, and professionals in fields requiring calculus, particularly those focusing on multivariable functions and their derivatives.

chipotleaway
Messages
174
Reaction score
0
Is there a general formula for (total) derivatives of functions of the form [itex]f(xy(x)+z(x)[/itex]?

I tried the most simple function of that form [itex]f(xy(x)+z(x))=xy(x)+z(x)[/itex] and the formula I got was [itex]\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y} \frac{dy}{dx}+\frac{\partial f}{\partial z}\frac{dz}{dx}[/itex] though I'm unsure if it's even close to what I'm after. The formula Mathematica gave is [itex]y\frac{\partial f}{\partial x}+x\frac{\partial f}{\partial y} \frac{dy}{dx}+\frac{\partial f}{\partial z}\frac{dz}{dx}[/itex]

Thanks
 
Physics news on Phys.org
chipotleaway said:
Is there a general formula for (total) derivatives of functions of the form [itex]f(xy(x)+z(x)[/itex]?
You have a missing right parenthesis here. Do you mean "f(xy(x)+ z(x))"? And do you mean y(x) and z(x) as functions of x rather that y times x and z times x? Assuming that, the usual "chain rule" for functions of several variables applies:
[tex]\frac{df}{dx}= \frac{\partial f}{\partial x}+ \frac{\partial f}{\partial y}\frac{dy}{dx}+ \frac{\partial f}{\partial z}\frac{dz}{dx}[/tex]
In this case, writing f' as the derivative of f(u) with respec to u, that becomes
[tex]\frac{df}{dx}= f'(xy+ z)y+ f'(xy+ z)x\frac{dy}{dx}+ f'(xy+z)\frac{dz}{dx}[/tex].

I tried the most simple function of that form [itex]f(xy(x)+z(x))=xy(x)+z(x)[/itex] and the formula I got was [itex]\frac{\partial f}{\partial x}+\frac{\partial f}{\partial y} \frac{dy}{dx}+\frac{\partial f}{\partial z}\frac{dz}{dx}[/itex] though I'm unsure if it's even close to what I'm after.
Well, that's what I wrote before but with f(u)= u, as here, f'= 1 so that is
[tex]\frac{df}{dx}= y+ x\frac{dy}{dx}+ \frac{dz}{dx}[/tex].

As a check you can take [tex]y= 2x[/tex] and [tex]z= x^2[/tex]
Then [tex]f(xy+ z)= xy+ z= 2x^2+ x^2= 3x^2[/tex] which has derivative 6x.

In this example, dy/dx= 2 and dz/dx= 2x so the formula above would give
[tex]\frac{df}{dx}= y+ x\frac{dy}{dx}+ \frac{dz}{dx}= 2x+ x(2)+ 2x= 6x[/tex]

The formula Mathematica gave is [itex]y\frac{\partial f}{\partial x}+x\frac{\partial f}{\partial y} \frac{dy}{dx}+\frac{\partial f}{\partial z}\frac{dz}{dx}[/itex]

Thanks
Yes, that is precisely the formula I gave!
 
  • Like
Likes   Reactions: 1 person

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K