1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Langrange multipliers - check my soluton please

  1. Oct 21, 2008 #1
    i need find an expression in terms of v for the minimum value of (x^t)x subject to the constraint (v^t)x = k

    v is a fixed vector in R^n
    k is a real constant

    I need to use langrange multitpliers to solve this.

    My solution

    I let L(x,lambda) = (x^t)x + lambda*(k - (v^t)x)
    so therefore grad L = 2x - lambda*v = 0

    so i therefore let x = 1/2*lambda*v and put this into the constraint to get

    (v^t)*1/2*v*lambda = k
    so 1/2*lamda*(v^t)*v = k in terms of v

    To verify this is the min, i differentiated grad L again to get 2 >0 so this is convex and hence a global minimizer.


    Can some one please check my solution, i was getting whether to differentiate with respect to v as well as it is a vector, but wasnt too sure?.. if some one can give me some advise that would be great thanks
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted