# Partial derivative

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.

Mentallic
Homework Helper
What does it mean to take the partial derivative of a function?

UltrafastPED
Gold Member
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)!

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)!

CAF123
Gold Member
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.

Mentallic
Homework Helper
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.

• 1 person
chiro
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.

• 1 person
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.

HallsofIvy