Partial Differentiation -- y deleted or ignored?

Click For Summary

Homework Help Overview

The discussion revolves around the concept of partial differentiation, specifically focusing on the function z = f(x,y) = x^2 - y^2 and its partial derivative with respect to x. The original poster expresses confusion about why the partial derivative results in 2x, questioning the treatment of y as a constant and its implications in different examples.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to understand the reasoning behind the partial derivative results, questioning why y is treated as a constant in one case but appears differently in another example. Some participants clarify that when taking the partial derivative with respect to x, y is indeed treated as a constant, leading to different outcomes based on the function's structure.

Discussion Status

The discussion includes attempts to clarify the concept of partial derivatives and how constants are treated within different functions. Some participants provide examples to illustrate the reasoning, while the original poster continues to seek understanding of the underlying principles.

Contextual Notes

There is an emphasis on the treatment of variables as constants during partial differentiation, and the discussion reflects a need for clarity on how this affects the results in various scenarios. The original poster's repeated questions indicate a struggle with the foundational concepts of partial derivatives.

Prof. 27
Messages
49
Reaction score
1

Homework Statement


Given: z = f(x,y) = x^2-y^2
To take the partial derivative of f with respect to x hold y constant then take the derivative of x.
∂f/∂x = 2x

What I don't understand is why such would equal 2x, when the y is still there it just isn't variable and is ignored. Wouldn't it be:

2x - y^2

where y is a constant squared?
In another example this kind of thing occurred:
z = f(x,y) = x^3*y
∂f/∂x = 3x^2*y

where y is a constant unknown.

So why the different pertaining to y in these two answers?

Thanks so much, Bertrand Russell

Homework Equations


None really.

The Attempt at a Solution


http://en.wikipedia.org/wiki/Partial_derivative
http://www.centerofmath.org/mc_pdf/sec2_1.pdf [/B]
 
Last edited by a moderator:
Physics news on Phys.org
Prof. 27 said:

Homework Statement


Given: z = f(x,y) = x^2-y^2
To take the partial derivative of f with respect to x hold y constant then take the derivative of x.
∂f/∂x = 2x

What I don't understand is why such would equal 2x, when the y is still there it just isn't variable and is ignored. Wouldn't it be:

2x - y^2

where y is a constant squared?
In another example this kind of thing occurred:
z = f(x,y) = x^3*y
∂f/∂x = 3x^2*y

where y is a constant unknown.

So why the different pertaining to y in these two answers?

Thanks so much, Bertrand Russell

Homework Equations


None really.

The Attempt at a Solution


http://en.wikipedia.org/wiki/Partial_derivative
http://www.centerofmath.org/mc_pdf/sec2_1.pdf [/B]
We take the partial derivative of the entire function..So for f(x,y)=x2-y2, the derivative of x^2 is 2x but the derivative of y^2 w.r.t.x must be 0 since it is constant..Same goes for 3x^2*y..
 
Last edited by a moderator:
  • Like
Likes   Reactions: Prof. 27
Got it. Thanks so much.
 
Prof. 27 said:

Homework Statement


Given: z = f(x,y) = x^2-y^2
To take the partial derivative of f with respect to x hold y constant then take the derivative of x.
∂f/∂x = 2x

What I don't understand is why such would equal 2x, when the y is still there it just isn't variable and is ignored. Wouldn't it be:

2x - y^2

where y is a constant squared?
In another example this kind of thing occurred:
z = f(x,y) = x^3*y
∂f/∂x = 3x^2*y

where y is a constant unknown.

So why the different pertaining to y in these two answers?

Thanks so much, Bertrand Russell

Homework Equations


None really.

The Attempt at a Solution


http://en.wikipedia.org/wiki/Partial_derivative
http://www.centerofmath.org/mc_pdf/sec2_1.pdf [/B]

First, in both cases y is treated as a constant. For example:

##\frac{d}{dx}(x^2 + a^2) = 2x##

And

##\frac{d}{dx}(x^3a) = 3xa##

On your main point: a partial derivative (wrt x) is the gradient of the curve you get when you hold y constant. You could think of taking y = 0, 1, 2... and see what curves you get. Whatever value of y you choose, you get a parabola ##z = x^2 + n^2## where ##n## is whatever value of y you are considering. This curve has the usual derivative and does not get steeper as y increases: it's the same shape for any value of y.

Whether y appears in the partial derivative depends on whether the value of y affects the derivative. For ##z = x^2 + y^2## it doesn't: the partial derivative is independent of y. But for ##z = x^3y## the partial derivative wrt x does depend on y.

It's exactly the same as whether a constant ##a## affects the ordinary derivative of a function of x.
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K
Replies
26
Views
4K
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K