Thread Closed

Defining a Gradient

 
Share Thread Thread Tools
Feb21-06, 08:13 PM   #1
 

Defining a Gradient


One last question for tonight... If you let f: R^n ---> R (Euclidean n-space to real numbers) and f(x) = ||x-a|| for some fixed a, how would you define the gradient in terms of symbols and numbers (not words)?
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Bird's playlist could signal mental strengths and weaknesses
>> Minus environment, patterns still emerge: Computational study tracks E. coli cells' regulatory mechanisms
>> Bacterium uses natural 'thermometer' to trigger diarrheal disease, scientists find
Feb21-06, 08:18 PM   #2
 
Recognitions:
Science Advisor Science Advisor
Start by writing out the definition for ||x - a||
Feb21-06, 08:21 PM   #3
 
forgot to add that it's for all x not equal to a
Feb21-06, 08:31 PM   #4
 

Defining a Gradient


||x-a|| = sqrt[(xsub1 - a)^2 +...+ (xsubn - a)^2]

so gradient = (partial derivative of sqrt[(xsub1 - a)^2] , ... , partial derivative of sqrt[(xsubn - a)^2])?
Feb21-06, 08:45 PM   #5
 
Recognitions:
Homework Helper Homework Help
For [tex]f(x)=\| x-a\| = \sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2}[/tex]

we have

[tex]\nabla f(x) = \left< \frac{\partial }{\partial x_1},\ldots , \frac{\partial }{\partial x_n}\right>\cdot \sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2} [/tex]
[tex]\left< \frac{\partial }{\partial x_1}\sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2},\ldots , \frac{\partial }{\partial x_n}\sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2}\right> [/tex]
[tex]= \left< \frac{x_1-a_1 }{\sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2}},\ldots , \frac{x_n-a_n }{\sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2}}\right> [/tex]
[tex]= \frac{1}{\sqrt{(x_1-a_1)^2+\cdots +(x_n-a_n)^2}}\left< x_1-a_1 ,\ldots , x_n-a_n \right> [/tex]
[tex]= \frac{x-a}{\| x-a\| }[/tex]

which is a unit vector in the direction of x-a.
Thread Closed
Thread Tools


Similar Threads for: Defining a Gradient
Thread Forum Replies
Defining SR and GR? Special & General Relativity 35
defining the measure. Calculus 4
Defining Torque Introductory Physics Homework 5
Defining Free Will General Discussion 3
Defining force Classical Physics 2