Simple way of denoting a condition on a long equation
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have a few equations that are rather long. They are 0 if the long part would become negative. Let's say they look something like
$$ x =begincases a+b-cd &quad textif a+b-cd > 0\0 &quad textotherwise.endcases $$
Now I would prefer not to write the whole long part again. Is there a simple way of writing this? I was looking for something like
$$ x =begincases a+b-cd &quad textif x>0\0 &quad textotherwise.endcases$$
In my case there is no way of simplifying the expression $a+b-cd$.
Thanks for your help.
notation
add a comment |Â
up vote
2
down vote
favorite
I have a few equations that are rather long. They are 0 if the long part would become negative. Let's say they look something like
$$ x =begincases a+b-cd &quad textif a+b-cd > 0\0 &quad textotherwise.endcases $$
Now I would prefer not to write the whole long part again. Is there a simple way of writing this? I was looking for something like
$$ x =begincases a+b-cd &quad textif x>0\0 &quad textotherwise.endcases$$
In my case there is no way of simplifying the expression $a+b-cd$.
Thanks for your help.
notation
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have a few equations that are rather long. They are 0 if the long part would become negative. Let's say they look something like
$$ x =begincases a+b-cd &quad textif a+b-cd > 0\0 &quad textotherwise.endcases $$
Now I would prefer not to write the whole long part again. Is there a simple way of writing this? I was looking for something like
$$ x =begincases a+b-cd &quad textif x>0\0 &quad textotherwise.endcases$$
In my case there is no way of simplifying the expression $a+b-cd$.
Thanks for your help.
notation
I have a few equations that are rather long. They are 0 if the long part would become negative. Let's say they look something like
$$ x =begincases a+b-cd &quad textif a+b-cd > 0\0 &quad textotherwise.endcases $$
Now I would prefer not to write the whole long part again. Is there a simple way of writing this? I was looking for something like
$$ x =begincases a+b-cd &quad textif x>0\0 &quad textotherwise.endcases$$
In my case there is no way of simplifying the expression $a+b-cd$.
Thanks for your help.
notation
edited Aug 13 at 14:06
asked Aug 13 at 8:49
user3460824
133
133
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11
add a comment |Â
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
accepted
Superscript $cdot^+$ is the way to go
$$
x = (a + b - cd)^+ := max(0, a + b - cd).
$$
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
accepted
Superscript $cdot^+$ is the way to go
$$
x = (a + b - cd)^+ := max(0, a + b - cd).
$$
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
add a comment |Â
up vote
3
down vote
accepted
Superscript $cdot^+$ is the way to go
$$
x = (a + b - cd)^+ := max(0, a + b - cd).
$$
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
add a comment |Â
up vote
3
down vote
accepted
up vote
3
down vote
accepted
Superscript $cdot^+$ is the way to go
$$
x = (a + b - cd)^+ := max(0, a + b - cd).
$$
Superscript $cdot^+$ is the way to go
$$
x = (a + b - cd)^+ := max(0, a + b - cd).
$$
answered Aug 13 at 9:01
pointguard0
1,269821
1,269821
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
add a comment |Â
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
that's exactly the definition of superscript +, as indicated in my answer.
â pointguard0
Aug 13 at 9:13
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%2f2881141%2fsimple-way-of-denoting-a-condition-on-a-long-equation%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
This notation doesn't work because the value of $x$ is still undefined when you compare it to $0$.
â Yves Daoust
Aug 13 at 9:11