I am trying to find a vector derivative of $f(x)=(A+x \mathbb{1}^T)^{-1} b$ where $A \in \mathbb{R}^{n \times n}$ and $b \in \mathbb{R}^n$. Assume that all vectors a column. Also $\mathbb{1}$ is a vector of all ones.
I was trying to use the properties of vector derivatives that can be found here.
However, I could find a property I need.
I think it should be some thing of the form \begin{align} (A+x \mathbb{1}^T)^{-1} b \mathbb{1}^T (A+x \mathbb{1}^T)^{-1} \end{align}
Let's consider a more general problem by replacing $1$ with any constant column vector $c$. Then$$0=\partial_ib_j=\partial_i[(A_{jk}+x_jc_k)f_k]=(A_{jk}+x_jc_k)\partial_if_k+\delta_{ij}c_kf_k.$$The matrix $\partial f$ of $_{ik}$ index $\partial_if_k$ satisfies$$0=\partial f(A^T+cx^T)+(c\cdot f)I\implies\partial f=-(c\cdot f)(A^T+cx^T)^{-1}=-(A+xc^T)^{-1}bc^T(A^T+cx^T)^{-1}.$$