Suppose $x = (x_1, x_2, \dots, x_n)^t \in \mathbb{R}^n$. The Probability distribution function of $x$ is $f(x)$. My goal is to minimize the following function, \begin{equation} \underset{a \in \mathbb{R}^n}{\arg\min} \;E\frac{\|x-a\|^2}{\|x-a_p\|}, \end{equation} where $E$ denotes the expected value and $a_p$ is any given value of $a$. My approach is,
\begin{equation} \nabla_{a} E\frac{\|x-a\|^2}{\|x-a_p\|}=0 \end{equation} \begin{equation} -E \frac{x-a}{\|x-a_p\|}=0 \end{equation} I want to derive an iterative approach to calculate an optimum value of a. But after the last expression, I am stuck.