Why Does Rewriting a Function Change the Partial Derivative Outcome?

Click For Summary
SUMMARY

The discussion centers on the behavior of partial derivatives in the context of functions that depend on multiple variables. Specifically, when analyzing the function f(x, y(x), y'(x)), where y'(x) is the derivative of y with respect to x, it is established that ∂f/∂x equals zero when f does not explicitly depend on x. However, when y is defined as a function of x, such as y(x) = x, the total derivative df/dx yields a non-zero result. This illustrates that rewriting a function can lead to different outcomes in derivative calculations due to the dependence of variables.

PREREQUISITES
  • Understanding of partial derivatives and total derivatives
  • Familiarity with the chain rule in calculus
  • Knowledge of functions of multiple variables
  • Basic concepts of differentiation in mathematical analysis
NEXT STEPS
  • Study the chain rule in calculus for functions of multiple variables
  • Explore the concept of implicit differentiation and its applications
  • Learn about the differences between partial and total derivatives
  • Investigate examples of functions with dependencies on multiple variables
USEFUL FOR

Students of calculus, mathematicians, and anyone involved in mathematical modeling or analysis of functions with multiple variables will benefit from this discussion.

AlexChandler
Messages
281
Reaction score
0
I have come to a bit of a misunderstanding with partial derivatives. I will try to illustrate my problem. Say we have a function f(x, y(x), y'(x)) where y'(x)=dy/dx. Now suppose that f does not explicitly depend on x. My physics book says at this point that ∂f/∂x=0, even though y(x) and y'(x) may depend on x.
Suppose f=y2
Then ∂f/∂x=0
but if we have y(x)=x, then we can write f as:
f=x2 and we have
∂f/∂x=2x
How can we have two different answers for the same derivative by simply rewriting the function in a different way?
I apologize in advance if the answer is obvious and I am being a bit annoying by asking. But if you do have a helpful comment to post, I would greatly appreciate it!
-Alex
 
Physics news on Phys.org
In the first case, ∂f/∂y = 2y. Note that (I'll ignore y' since it is irrelevant):
df/dx = ∂f/∂x + (∂f/∂y)(dy/dx). Therefore the final result is the same in both cases.
 
The partial derivative of f "with respect to y" assumes y is independent of x or any other variables. If, in fact, f is a function of both x and y, and y is a function of x, then
[tex]\frac{df}{dx}= \frac{\partial f}{\partial x}+ \frac{\partial f}{\partial y}\frac{dy}{dx}[/tex]

In your example, with [itex]f(x,y)= y^2[/itex] and y= x,
[tex]\frac{\partial f}{\partial x}= 0[/tex]
[tex]\frac{\partial f}{\partial y}= 2y[/tex]
and
[tex]\frac{df}{dx}= 0+ (2y)(1)= 2x[/tex].
 

Similar threads

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