How Do You Calculate the Gradient of Multivariable Functions?

  • Thread starter Thread starter vorcil
  • Start date Start date
  • Tags Tags
    Gradient
vorcil
Messages
395
Reaction score
0

Homework Statement



Find the gradients of the following functions:

When I say gradient, I'm not just differentiating the functions, apparently I have to do it this way (because it's in my physics book)

f(x,y,z) = x^2 + y^3 + z^4
f(x,y,z) = x^2 y^3 z^4
f(x,y,z) = e^x sin(y) ln(z)

Homework Equations



\nabla {\bf r} = \frac{\partial r}{\partial x} \hat{x} + \frac{\partial r}{\partial y} \hat{y} + \frac{\partial r}{\partial z} \hat{z}

I'm not just differentiating the functions

where \frac{r}{|r|} = gradient

The Attempt at a Solution



for the first question, finding the gradient of
f(x,y,z) = x^2 + y^3 + z^4

\nabla {\bf f(x,y,z) } = \frac{\partial r}{\partial x} \hat{x} + \frac{\partial r}{\partial y} \hat{y} + \frac{\partial r}{\partial z} \hat{z}

differentiating partially,\nabla
\nabla<br /> (x^2 + y^3 + z^4) = 2x \hat{x} + 3y^2 \hat{y} + 4z^3 \hat{z}

finding the magnitude of the function
\sqrt{(x^2)^2 + (y^3)^2 + (z^4)^2} = \sqrt{x^4 + y^6 + z^8}

using the formula to find the gradient,
\frac{r}{|r|} = \frac{\nabla (x^2 + y^3 + z^4) }{\sqrt{x^4 + y^6 + z^8}} = \frac{2x \hat{x} + 3y^2 \hat{y} + 4z^3 \hat{z}}{\sqrt{x^4 + y^6 + z^8}}

not sure if this is right or not, also I don't know if I can simplifier it further and if this satisfies as an answer,
my book has no answers in the back to check, and solutions manuals are impossible to get to students, and the only way to find out if I'm right is to either post it here, or ask my lecturer, and I feel that this is a question that most people should be able to do, so it's embarrassing for me to ask my lecturer at tutorials
 
Last edited:
Physics news on Phys.org
[edit] fixed the latex
 
Last edited:
i may be missing something, but why not just use the cartesian form of the gradient

\nabla = \begin{pmatrix} <br /> \frac{\partial }{\partial x} \\ <br /> \frac{\partial }{\partial y} \\ <br /> \frac{\partial }{\partial z} <br /> \end{pmatrix}
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top