I wish to differentiate $x^TAx$ wrt. $x_i$ where $x_i$ is the $i$-th element in the vector $x$. I realise when differentiating wrt. $x$ alone the answer is $2Ax$. How would this change when it's $x_i$?
2026-03-25 07:38:53.1774424333
Differentiate matrix quadratic
66 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in MATRICES
- How to prove the following equality with matrix norm?
- I don't understand this $\left(\left[T\right]^B_C\right)^{-1}=\left[T^{-1}\right]^C_B$
- Powers of a simple matrix and Catalan numbers
- Gradient of Cost Function To Find Matrix Factorization
- Particular commutator matrix is strictly lower triangular, or at least annihilates last base vector
- Inverse of a triangular-by-block $3 \times 3$ matrix
- Form square matrix out of a non square matrix to calculate determinant
- Extending a linear action to monomials of higher degree
- Eiegenspectrum on subtracting a diagonal matrix
- For a $G$ a finite subgroup of $\mathbb{GL}_2(\mathbb{R})$ of rank $3$, show that $f^2 = \textrm{Id}$ for all $f \in G$
Related Questions in MULTIVARIABLE-CALCULUS
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- $\iint_{S} F.\eta dA$ where $F = [3x^2 , y^2 , 0]$ and $S : r(u,v) = [u,v,2u+3v]$
- Proving the differentiability of the following function of two variables
- optimization with strict inequality of variables
- How to find the unit tangent vector of a curve in R^3
- Prove all tangent plane to the cone $x^2+y^2=z^2$ goes through the origin
- Holding intermediate variables constant in partial derivative chain rule
- Find the directional derivative in the point $p$ in the direction $\vec{pp'}$
- Check if $\phi$ is convex
- Define in which points function is continuous
Related Questions in PARTIAL-DERIVATIVE
- Equality of Mixed Partial Derivatives - Simple proof is Confusing
- Proving the differentiability of the following function of two variables
- Partial Derivative vs Total Derivative: Function depending Implicitly and Explicitly on Variable
- Holding intermediate variables constant in partial derivative chain rule
- Derive an equation with Faraday's law
- How might we express a second order PDE as a system of first order PDE's?
- Partial derivative of a summation
- How might I find, in parametric form, the solution to this (first order, quasilinear) PDE?
- Solving a PDE given initial/boundary conditions.
- Proof for f must be a constant polynomial
Related Questions in SCALAR-FIELDS
- Replace $X$ with $\mbox{diag}(x)$ in trace matrix derivative identity
- Derivative of bilinear form
- Index notation for vector calculus proof
- Gradient of $\mathbf{x} \mapsto(\mathbf a - \mathbf x)^\top\mathbf M^{-1}(\mathbf a-\mathbf x)$
- Recover scalar field from gradient
- Standard result for the gradient of a multidimensional Gaussian
- Visualizing a Scalar Field: $T(x,y,z)=10e^{-(x^2+y^2+z^2)}$
- Gradient of $X \mapsto \mbox{Tr}(AX)$
- Scalar fields whose gradient lies on a plane?
- What kind of projection does a specific map (3D -> 2D) correspond to?
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Actually, the vector derivative of $x^TAx$ with respect to $x$ is $(A+A^T)x$. It's only $2Ax$ when $A$ is symmetric.
As for your question, when in doubt, remember you can always expand all vector and matrix notation into components:
$$(Ax)_i = \sum_{j=1}^n A_{ij}x_j$$ $$x^TAx = \sum_{i=1}^n\sum_{j=1}^n x_iA_{ij}x_j.$$
Now if you want to differentiate with respect to $x_k$, you get $$\frac{d}{dx_k}x^TAx = \sum_{j=1}^n A_{kj}x_j + \sum_{i=1}^n x_iA_{ik} = A_{k*}\cdot x + A_{*k}\cdot x,$$ where $A_{k*}$ is the $k$th row of $A$, and $A_{*k}$ is the $k$th column.