Gradient derived from Jacobian?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:
$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$
How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.
calculus nonlinear-optimization gradient-descent jacobian
add a comment |Â
up vote
2
down vote
favorite
I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:
$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$
How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.
calculus nonlinear-optimization gradient-descent jacobian
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:
$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$
How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.
calculus nonlinear-optimization gradient-descent jacobian
I was reading this wikipedia page on gradient descent (section: Solution of non-linear system) when I came across this formula:
$nabla F(mathbf x ^(0))=J_G(mathbf x ^(0))^mathrm T G(mathbf x ^(0))$
How did this equation come about? Sorry for my shaky calculus if this sounds stupid, but this is the only point in this section that I don't understand.
calculus nonlinear-optimization gradient-descent jacobian
asked Jul 18 at 4:59
Chav Likit
495
495
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35
add a comment |Â
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
From the article
$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$
Take the derivative w.r.t to $x_i$
begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray
where the $(i,j)$-th component of matrix $J_G$ is defined as
$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$
Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get
$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
From the article
$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$
Take the derivative w.r.t to $x_i$
begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray
where the $(i,j)$-th component of matrix $J_G$ is defined as
$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$
Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get
$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$
add a comment |Â
up vote
2
down vote
accepted
From the article
$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$
Take the derivative w.r.t to $x_i$
begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray
where the $(i,j)$-th component of matrix $J_G$ is defined as
$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$
Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get
$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
From the article
$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$
Take the derivative w.r.t to $x_i$
begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray
where the $(i,j)$-th component of matrix $J_G$ is defined as
$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$
Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get
$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$
From the article
$$
F(bf x) = frac12G^T(bf x) G(bf x) = frac12sum_j G_j(bf x) G_j(bf x) tag1
$$
Take the derivative w.r.t to $x_i$
begineqnarray
fracpartial Fpartial x_i &=&
frac12sum_j fracpartialpartial x_ileft[G_j(bf x) G_j(bf x) right] = sum_j colorbluefracpartial G_j(bf x)partial x_i G_j(bf x) \
&=& sum_j colorblue[J_G(bf x)]_ij G_j(bf x) = [J_G(bf x) G(bf x)]_i tag2
endeqnarray
where the $(i,j)$-th component of matrix $J_G$ is defined as
$$
[J_G(bf x)]_ij = fracpartial G_j(bf x)partial x_i tag3
$$
Eq. (2) tells you what the $i$-th component of the gradient is, if you put them all together you get
$$
nabla F(bf x) = J_G(bf x) G(bf x) tag4
$$
answered Jul 18 at 15:00
caverac
11k2927
11k2927
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2855207%2fgradient-derived-from-jacobian%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
It would help to mention in the body of the question that $F(x) = (1/2) G(x)^T G(x)$.
– littleO
Jul 18 at 5:08
related question: math.stackexchange.com/questions/2818147/…
– Chav Likit
Jul 18 at 7:35