Partial derivative of radial basis function

In summary, the partial derivatives of f with respect to x and y can be calculated using the chain rule and the given equation for f. The summation and power to 3/2 can be handled by taking the partial derivative under the sum and using the chain rule multiple times.
  • #1
Fritzmit
2
0

Homework Statement



Calculate the partial derivatives (∂f/∂x & ∂f/∂y)

Homework Equations

261hoq9.png

The Attempt at a Solution



really confusing me with the use of the summation and power to 3/2. This is my attempt, most definitely wrong but still tried.

∂f/∂x = x + c1*(2*(x-x1))*([( x-x1 )^2 + (y-y1)^2)]^(1/2)) + ... + cN*(2*(x-xN))*([( x - xN )^2 + (y-yN)^2)]^(1/2))

∂f/∂y = y + c1*(2*(y-y1))*([( x-x1 )^2 + (y-y1)^2)]^(1/2)) + ... + cN*(2*(y-yN))*([( x - xN )^2 + (y-yN)^2)]^(1/2))

sorry, I probably should know this, but I can't really think straight right now -_-
not sure if its just double chain rule or what...

thank you for any help
 
Physics news on Phys.org
  • #2
looks close
[tex]
f(x,y) = a + b_1x + b_2y + \sum_{j=1}^{N}c_j((x-x_j)^2+(y-y_j)^2)^{\frac{3}{2}}
[/tex]

there's no problem taking the partial derivative under the sum, so as you say it just becomes a chain rule question
[tex]
f_x = \frac{\partial}{\partial x}f(x,y) = \frac{\partial}{\partial x}(a + b_1x + b_2y + \sum_{j=1}^{N}c_j((x-x_j)^2+(y-y_j)^2)^\frac{3}{2}
[/tex]

[tex]
f_x = b_1 + \sum_{j=1}^{N}\frac{\partial}{\partial x}c_j((x-x_j)^2+(y-y_j)^2)^\frac{3}{2}
[/tex]

using the chain rule once gives
[tex]
f_x = b_1 + \sum_{j=1}^{N}\frac{3}{2}c_j((x-x_j)^2+(y-y_j)^2)^\frac{1}{2} \frac{\partial}{\partial x}((x-x_j)^2+(y-y_j)^2)
[/tex]

second time
[tex]
f_x = b_1 + \sum_{j=1}^{N}\frac{3}{2}c_j((x-x_j)^2+(y-y_j)^2)^\frac{1}{2} 2(x-x_j)\frac{\partial}{\partial x}(x-x_j)
[/tex]
 
  • #3
Much appreciated lanedance, cheers
 

Related to Partial derivative of radial basis function

1. What is a radial basis function?

A radial basis function (RBF) is a mathematical function that maps input data from a high-dimensional space to a lower-dimensional space, often used for interpolation and approximation tasks.

2. How is the partial derivative of an RBF calculated?

The partial derivative of an RBF is calculated by taking the derivative with respect to one of its input variables while holding all other variables constant. This can be done using the chain rule and the derivative of the RBF function itself.

3. What is the significance of the partial derivative of an RBF?

The partial derivative of an RBF is used to determine the direction of steepest descent for a given point in the function. It is also used in optimization algorithms to find the minimum or maximum value of the function.

4. How does the choice of RBF affect the partial derivative?

The choice of RBF can greatly affect the partial derivative, as different RBFs have different shapes and properties that can impact the direction and magnitude of the derivative. It is important to select an appropriate RBF for the specific task at hand.

5. Can the partial derivative of an RBF be negative?

Yes, the partial derivative of an RBF can be negative. This indicates that the function is decreasing in that direction. However, the magnitude of the derivative can vary depending on the specific RBF and its parameters.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
591
  • Calculus and Beyond Homework Help
Replies
5
Views
790
  • Calculus and Beyond Homework Help
Replies
3
Views
810
  • Calculus and Beyond Homework Help
Replies
6
Views
900
  • Calculus and Beyond Homework Help
Replies
8
Views
530
  • Calculus and Beyond Homework Help
Replies
23
Views
1K
Replies
9
Views
760
  • Calculus and Beyond Homework Help
Replies
4
Views
592
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
3
Views
398
Back
Top