Is there a way to analytically find a stationary point along an arbitrary line in a multivariable quadratic function? Let's say I'm working with a quadratic function with an equation of f(x)=1/2 x^T Ax-b^T x.

kemecryncqe9

kemecryncqe9

Answered question

2022-11-14

Is there a way to analytically find a stationary point along an arbitrary line in a multivariable quadratic function?
Let's say I'm working with a quadratic function with an equation of f ( x ) = 1 2 x T A x b T x . Now, let's take a direction p and transform the function into one a one dimensional one such that f ( α ) = f ( x 0 + α p ) , where x 0 is some starting point.
Is there a way to analytically find an α which minimizes or maximizes f ( α )? What is instead of arbitrary direction p we have p = f ( x 0 )?
(Yes, this is for an optimization problem)

Answer & Explanation

dobradisamgn

dobradisamgn

Beginner2022-11-15Added 17 answers

Step 1
Yes, there is...
f ( x ) = 1 2 x T A x b T x
f ( x ) = A x b
g ( α ) = f ( x 0 + α p )
g ( α ) = 1 2 x 0 T A x 0 + α p T A x 0 + 1 2 α 2 p T A p b T x 0 α b T p
Step 2
Looking for extremum: g ( α ) = 0
g ( α ) = α p T A p + p T A x 0 b T p = 0
α = p T A x 0 b T p p T A p = p T ( A x 0 b ) p T A p = p T f ( x 0 ) p T A p
And If p = f ( x 0 )
α = p T p p T A p

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?