Would this be a general formula for the gradient of a function r^n?

grandpa2390
Messages
473
Reaction score
14
Had to find the general formula for the gradient of a function r^n. r is the length of the vector connecting (x,y,z) with (x',y',z')

I took the gradient of r^n and simplified it. If I plug in any number for in in r^n and go through the process, I will get the same result as if I take this function and plug that number into n at the end.
Does that make sense? Would this be considered the general formula.
 
Physics news on Phys.org
I moved the thread to our homework section.

It would help to see the formulas you got.

In general, it should not matter when you plug in values - and in the general case you don't even have to do that.
 
mfb said:
I moved the thread to our homework section.

It would help to see the formulas you got.

In general, it should not matter when you plug in values - and in the general case you don't even have to do that.

I plugged in values to check.

let R be the vector (x-x')+(y-y')+(z-z')
let r be the length (sqrt of (x-x')^2...
R' be the unit vector

I get the general formula for del(r^n) as (n*R)/(n^(2-n)) or (n*R')/(r^(1-n))
I plugged in a number for n to check if my result would give me the same answer as if I used that number instead of n and it does. Does that mean that this is a general formula?
 
grandpa2390 said:
(n*R)/(n^(2-n))
I guess you mean (n*R)/(r^(2-n)).
In LaTeX, you have
##\nabla|\vec R|^n=n\vec R|\vec R|^{n-2}##, right?
 
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