Getting the final solution for the subgradient of function $F(x) := max 0, frac12(x^2 - 1)$
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have to find the subgradients of the following function.
$$F(x) := max left0, frac12(x^2 - 1)right$$
Analytically I can see subdifferentials at $x=-1$ is $nabla f(-1) in [-1 ,0] $ and at $x =1$ is $nabla f(1) in [0,1]$.
I am facing difficulties while obtaining these subdifferentials ($v$) using following inequality, $f(x) - f(bar x) ge langle v,x-bar x rangle, xin R$.
If I apply $bar x = -1$ what should be my $f(x)$?
Similarly what should be the $f(x)$ at $bar x =1$?
How can we obtain above-observed subdifferential using the definition of subdifferential? (above inequality)
convex-analysis convex-optimization subgradient
add a comment |Â
up vote
0
down vote
favorite
I have to find the subgradients of the following function.
$$F(x) := max left0, frac12(x^2 - 1)right$$
Analytically I can see subdifferentials at $x=-1$ is $nabla f(-1) in [-1 ,0] $ and at $x =1$ is $nabla f(1) in [0,1]$.
I am facing difficulties while obtaining these subdifferentials ($v$) using following inequality, $f(x) - f(bar x) ge langle v,x-bar x rangle, xin R$.
If I apply $bar x = -1$ what should be my $f(x)$?
Similarly what should be the $f(x)$ at $bar x =1$?
How can we obtain above-observed subdifferential using the definition of subdifferential? (above inequality)
convex-analysis convex-optimization subgradient
use max, langle and rangle
– LinAlg
Jul 30 at 15:25
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have to find the subgradients of the following function.
$$F(x) := max left0, frac12(x^2 - 1)right$$
Analytically I can see subdifferentials at $x=-1$ is $nabla f(-1) in [-1 ,0] $ and at $x =1$ is $nabla f(1) in [0,1]$.
I am facing difficulties while obtaining these subdifferentials ($v$) using following inequality, $f(x) - f(bar x) ge langle v,x-bar x rangle, xin R$.
If I apply $bar x = -1$ what should be my $f(x)$?
Similarly what should be the $f(x)$ at $bar x =1$?
How can we obtain above-observed subdifferential using the definition of subdifferential? (above inequality)
convex-analysis convex-optimization subgradient
I have to find the subgradients of the following function.
$$F(x) := max left0, frac12(x^2 - 1)right$$
Analytically I can see subdifferentials at $x=-1$ is $nabla f(-1) in [-1 ,0] $ and at $x =1$ is $nabla f(1) in [0,1]$.
I am facing difficulties while obtaining these subdifferentials ($v$) using following inequality, $f(x) - f(bar x) ge langle v,x-bar x rangle, xin R$.
If I apply $bar x = -1$ what should be my $f(x)$?
Similarly what should be the $f(x)$ at $bar x =1$?
How can we obtain above-observed subdifferential using the definition of subdifferential? (above inequality)
convex-analysis convex-optimization subgradient
edited Jul 30 at 18:45
VHarisop
804421
804421
asked Jul 30 at 10:10


Malintha
1276
1276
use max, langle and rangle
– LinAlg
Jul 30 at 15:25
add a comment |Â
use max, langle and rangle
– LinAlg
Jul 30 at 15:25
use max, langle and rangle
– LinAlg
Jul 30 at 15:25
use max, langle and rangle
– LinAlg
Jul 30 at 15:25
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
For $barx=-1$ you get:
$$f(x) - f(-1) geq langle v,x-(-1) rangle$$
$$f(x) geq langle v,x+1 rangle$$
Clearly $v=0$ is a subdifferential, because $f(x) geq 0$ for all $x in mathbbR$. But also $v=-1$ is a subdifferential because $f(x) geq -x-1$ for all $x in mathbbR$ (just draw a plot of $F$ and of $g(x) = -x-1$).
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
For $barx=-1$ you get:
$$f(x) - f(-1) geq langle v,x-(-1) rangle$$
$$f(x) geq langle v,x+1 rangle$$
Clearly $v=0$ is a subdifferential, because $f(x) geq 0$ for all $x in mathbbR$. But also $v=-1$ is a subdifferential because $f(x) geq -x-1$ for all $x in mathbbR$ (just draw a plot of $F$ and of $g(x) = -x-1$).
add a comment |Â
up vote
1
down vote
accepted
For $barx=-1$ you get:
$$f(x) - f(-1) geq langle v,x-(-1) rangle$$
$$f(x) geq langle v,x+1 rangle$$
Clearly $v=0$ is a subdifferential, because $f(x) geq 0$ for all $x in mathbbR$. But also $v=-1$ is a subdifferential because $f(x) geq -x-1$ for all $x in mathbbR$ (just draw a plot of $F$ and of $g(x) = -x-1$).
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
For $barx=-1$ you get:
$$f(x) - f(-1) geq langle v,x-(-1) rangle$$
$$f(x) geq langle v,x+1 rangle$$
Clearly $v=0$ is a subdifferential, because $f(x) geq 0$ for all $x in mathbbR$. But also $v=-1$ is a subdifferential because $f(x) geq -x-1$ for all $x in mathbbR$ (just draw a plot of $F$ and of $g(x) = -x-1$).
For $barx=-1$ you get:
$$f(x) - f(-1) geq langle v,x-(-1) rangle$$
$$f(x) geq langle v,x+1 rangle$$
Clearly $v=0$ is a subdifferential, because $f(x) geq 0$ for all $x in mathbbR$. But also $v=-1$ is a subdifferential because $f(x) geq -x-1$ for all $x in mathbbR$ (just draw a plot of $F$ and of $g(x) = -x-1$).
answered Jul 30 at 15:31
LinAlg
5,4111319
5,4111319
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%2f2866857%2fgetting-the-final-solution-for-the-subgradient-of-function-fx-max-0-f%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
use max, langle and rangle
– LinAlg
Jul 30 at 15:25