Partial derivative

  • Thread starter rovaniemi
  • Start date
  • #1
10
0

Main Question or Discussion Point

Hi everyone,

Z=y+x^2*y+x^2+x^3+x^4+5

I would like to find the partial derivative of:
diff(z,x) ?
diff(z,y)?

Kindly give me a step by step solution.

Hope to hear from you soon. Thanking you all in advance for your replies.
 

Answers and Replies

  • #2
Mentallic
Homework Helper
3,798
94
What does it mean to take the partial derivative of a function?
 
  • #3
UltrafastPED
Science Advisor
Gold Member
1,912
216
The partial derivative is a "directional derivative" in one of the given coordinate directions. Since you are working in orthogonal coordinates you can ignore the ones not being used ...

Thus for diff(Z,x) you simply treat y as a constant and then differentiate wrt x as normal:
diff(Z,x) = 2xy + 2x + 3x^2 +4x^3.

Now you do diff(Z,y)!
 
  • #4
10
0
Thank you ultrafastped for your reply. Could please explain what you meant by orthogonal corodinates? I would be highly grateful if you can show me step by step. Thank you.


The partial derivative is a "directional derivative" in one of the given coordinate directions. Since you are working in orthogonal coordinates you can ignore the ones not being used ...

Thus for diff(Z,x) you simply treat y as a constant and then differentiate wrt x as normal:
diff(Z,x) = 2xy + 2x + 3x^2 +4x^3.

Now you do diff(Z,y)!
 
  • #5
CAF123
Gold Member
2,902
88
Could please explain what you meant by orthogonal corodinates?
Orthogonal coordinates are a special case of curvilinear coordinates. A set of orthogonal coordinates means that the coordinates that make up the basis of your coordinate system are, well, orthogonal. The most obvious example (and the case in question) is the Cartesian system defined by the ##\left\{i,j,k\right\}## basis.

Other examples you may have seen include spherical and cylindrical coordinates.
 
  • #6
Mentallic
Homework Helper
3,798
94
I would be highly grateful if you can show me step by step. Thank you.
It's easier than it seems!

If you have the function

y = 3 + x^2*3 + x^2 + x^3 + x^4 + 5

Then what is dy/dx?

Now, I'm sure you can find that, so once you do, since you considered 3 to be a constant, do the same for y when taking the partial derivative dz/dx of the function

Z=y+x^2*y+x^2+x^3+x^4+5

3 is just like y. You treat it like a constant. Then to find dz/dy, just treat x as a constant.
 
  • Like
Likes 1 person
  • #7
chiro
Science Advisor
4,790
131
To follow up on orthogonality: orthogonal means independence.

If two vectors are orthogonal then they are independent and this translates to the situation where changing one vector won't have any impact on changing the other.

In a non-orthogonal situation, changing one quantity will change another in the general situation.
 
  • Like
Likes 1 person
  • #8
10
0
It's easier than it seems!

If you have the function

y = 3 + x^2*3 + x^2 + x^3 + x^4 + 5

Then what is dy/dx?

Now, I'm sure you can find that, so once you do, since you considered 3 to be a constant, do the same for y when taking the partial derivative dz/dx of the function

Z=y+x^2*y+x^2+x^3+x^4+5

3 is just like y. You treat it like a constant. Then to find dz/dy, just treat x as a constant.
Thank you so much for the reply.
When
y = 3 + x^2*3 + x^2 + x^3 + x^4 + 5

Should the answer be like this:
dy/dx =6x +2x+3x^2+4x^3 when i consider 3 as constant and is it like 5(number alone without x or y variable) should also be ignored.
 
  • #9
HallsofIvy
Science Advisor
Homework Helper
41,833
955
You don't need to "consider 3 as constant"- it is constant!

What they mean is that z= 3xy+ 2x^2- 4xy^2+ x^2y^2, would be thought of as
1) (differentiating with respect to x) z= Ax+ Bx^2- Cx+ Dx^2, where A= 3y, B= 2, C= 4y^2, and D= y^2 are "constants", so that z_x= A+ 2Bx- C+ 2Dx= 3y+ 4x- y^2+ 2y^2x.

2) (differentiating with respect to y) z= Ay+ B- Cy^2+ Dy^2, where now A= 3x, B= 2x^2, C= 4x, and D= x^2 are "constants", so that z_y= A- 2Cy+ 2Dy= 3x- 2x^2y+ 2x^2y.
 

Related Threads on Partial derivative

  • Last Post
Replies
5
Views
772
  • Last Post
Replies
14
Views
2K
  • Last Post
Replies
6
Views
772
  • Last Post
Replies
2
Views
5K
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
6
Views
233
  • Last Post
Replies
6
Views
829
Replies
2
Views
2K
Replies
3
Views
1K
Replies
5
Views
2K
Top