Let g(x, y, z) = e^(x)y + z ln(y). Calculate the gradient of g.
what are the partials ?
dg/dx dg/dy dg/dz those :)
i calculate each of the partials and thats the gradient?
yes
http://betterexplained.com/articles/vector-calculus-understanding-the-gradient/
so like dg/dx is e^x*y etc
g(x,y,z) = e^(x)y + z ln(y) dg/dx = y e^x(y) + 0 ;consider all other variables as a constant
e^(x)2 derives to: 2 e^(x)2 if I see it right
if its: (e^x)y then it derives to (e^x)y ..
(e^(x))*y + z ln y. its e raised to the x times y
ahhhh then in dg/dx, treat all variable that are not "x" as a constant dg/dy
dg/dx = y (e^x) + 0 dg/dy = e^x + z/y dg/dz = 0 + ln(y)
gotcha!
the gradient can be expressed as an equation that combines all these or as a vector of the form <dg/dx, dg/dy, dg/dz>
Well, it's not technically an equation but a summation of vectors to define a further vector.
Join our real-time social learning platform and learn together with your friends!