What is the method to solve $min(5-15a-18b+15a^2+45ab+45b^2)$
Let $(a,b)in mathbb{R}$
$A:=5-15a-18b+15a^2+45ab+45b^2$
My question is how to find $min(A)$
I know the method is to rearrange this expression in
$A=(A_1 )^2+ (A_2)^2+alpha$
My question is :is there a method?
algebra-precalculus arithmetic
add a comment |
Let $(a,b)in mathbb{R}$
$A:=5-15a-18b+15a^2+45ab+45b^2$
My question is how to find $min(A)$
I know the method is to rearrange this expression in
$A=(A_1 )^2+ (A_2)^2+alpha$
My question is :is there a method?
algebra-precalculus arithmetic
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22
add a comment |
Let $(a,b)in mathbb{R}$
$A:=5-15a-18b+15a^2+45ab+45b^2$
My question is how to find $min(A)$
I know the method is to rearrange this expression in
$A=(A_1 )^2+ (A_2)^2+alpha$
My question is :is there a method?
algebra-precalculus arithmetic
Let $(a,b)in mathbb{R}$
$A:=5-15a-18b+15a^2+45ab+45b^2$
My question is how to find $min(A)$
I know the method is to rearrange this expression in
$A=(A_1 )^2+ (A_2)^2+alpha$
My question is :is there a method?
algebra-precalculus arithmetic
algebra-precalculus arithmetic
asked Dec 11 '18 at 22:14
Stu
1,1741413
1,1741413
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22
add a comment |
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22
add a comment |
2 Answers
2
active
oldest
votes
You can complete the squares. First write
$$5-15a-18b+15a^2+45ab+45b^2=5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2$$
where I chose $(a+2b)^2$ because the $ab$ and $b^2$ terms will have the same coefficient. That got rid of the cross term. Now we can write
$$5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2=frac {45}4(a+2b)^2-9(a+2b)+frac {15}4a^2-6a+5$$
and you can make terms $(a+2b+c)^2$ and $(a+d)^2$ and sort out what the left over constant is. Then set $a=-d, b=frac 12(-c-a)$ to zero out the squares and you are left with the constant.
add a comment |
Ok here are two methods.
The first and imo easiest is to consider this as two single variable problems. Consider
$$z= Ax^2+Bxy+Cy^2+Dx+Ey+F$$ you could rewrite this as $$z=Ax^2+(By+D)x+(Cy^2+Ey+F)$$ which is a parabola with a vertex at $x=frac{-(By+D)}{2A}$ if you consider $y$ a constant and $x$ a variable. You can then consider $x$ a constant and $y$ a variable to get another parabola with a vertex at $y=frac{-(Bx+E)}{2C}$. Then you solve the simultaneous equation $x=frac{-(By+D)}{2A}$,$y=frac{-(Bx+E)}{2C}$. If both parabolas are concave down you get a maximum, and if both are concave up you'll get a minimum. You can plug in the $x$ and $y$ values to solve for $z$
The second method is rewriting $z$ in terms of new variables so you don't need to deal with the $xy$ term. This makes the problem much easier as you can then just complete the square in each individual variable to get a minimum. To do this you rotate the $x$ and $y$ axis around by some angle $theta$ to get a new $X$ and $Y$ axis.
Now it turns out that $x=Xcostheta-Ysintheta$ and $y=Xsintheta + Ycostheta$. And it also turns out that there will be no $XY$ term if $cot 2theta =frac{A-C}{B}$. For explanations of this I will refer you to pdf that explains it better than I would. Once you do that you'll have something like this. $$z=aX^2+cY^2+dX+eY+f$$
and you can complete the square to get $$z=a(X-u)^2+b(X-v)^2+w$$ and the minimum (if there is one) will just be $w$. It would be a good exercise to give both of these a go to see if you get the same answer.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035907%2fwhat-is-the-method-to-solve-min5-15a-18b15a245ab45b2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can complete the squares. First write
$$5-15a-18b+15a^2+45ab+45b^2=5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2$$
where I chose $(a+2b)^2$ because the $ab$ and $b^2$ terms will have the same coefficient. That got rid of the cross term. Now we can write
$$5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2=frac {45}4(a+2b)^2-9(a+2b)+frac {15}4a^2-6a+5$$
and you can make terms $(a+2b+c)^2$ and $(a+d)^2$ and sort out what the left over constant is. Then set $a=-d, b=frac 12(-c-a)$ to zero out the squares and you are left with the constant.
add a comment |
You can complete the squares. First write
$$5-15a-18b+15a^2+45ab+45b^2=5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2$$
where I chose $(a+2b)^2$ because the $ab$ and $b^2$ terms will have the same coefficient. That got rid of the cross term. Now we can write
$$5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2=frac {45}4(a+2b)^2-9(a+2b)+frac {15}4a^2-6a+5$$
and you can make terms $(a+2b+c)^2$ and $(a+d)^2$ and sort out what the left over constant is. Then set $a=-d, b=frac 12(-c-a)$ to zero out the squares and you are left with the constant.
add a comment |
You can complete the squares. First write
$$5-15a-18b+15a^2+45ab+45b^2=5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2$$
where I chose $(a+2b)^2$ because the $ab$ and $b^2$ terms will have the same coefficient. That got rid of the cross term. Now we can write
$$5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2=frac {45}4(a+2b)^2-9(a+2b)+frac {15}4a^2-6a+5$$
and you can make terms $(a+2b+c)^2$ and $(a+d)^2$ and sort out what the left over constant is. Then set $a=-d, b=frac 12(-c-a)$ to zero out the squares and you are left with the constant.
You can complete the squares. First write
$$5-15a-18b+15a^2+45ab+45b^2=5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2$$
where I chose $(a+2b)^2$ because the $ab$ and $b^2$ terms will have the same coefficient. That got rid of the cross term. Now we can write
$$5-15a-18b+frac {45}4(a+2b)^2+frac {15}4a^2=frac {45}4(a+2b)^2-9(a+2b)+frac {15}4a^2-6a+5$$
and you can make terms $(a+2b+c)^2$ and $(a+d)^2$ and sort out what the left over constant is. Then set $a=-d, b=frac 12(-c-a)$ to zero out the squares and you are left with the constant.
answered Dec 12 '18 at 6:35
Ross Millikan
292k23197371
292k23197371
add a comment |
add a comment |
Ok here are two methods.
The first and imo easiest is to consider this as two single variable problems. Consider
$$z= Ax^2+Bxy+Cy^2+Dx+Ey+F$$ you could rewrite this as $$z=Ax^2+(By+D)x+(Cy^2+Ey+F)$$ which is a parabola with a vertex at $x=frac{-(By+D)}{2A}$ if you consider $y$ a constant and $x$ a variable. You can then consider $x$ a constant and $y$ a variable to get another parabola with a vertex at $y=frac{-(Bx+E)}{2C}$. Then you solve the simultaneous equation $x=frac{-(By+D)}{2A}$,$y=frac{-(Bx+E)}{2C}$. If both parabolas are concave down you get a maximum, and if both are concave up you'll get a minimum. You can plug in the $x$ and $y$ values to solve for $z$
The second method is rewriting $z$ in terms of new variables so you don't need to deal with the $xy$ term. This makes the problem much easier as you can then just complete the square in each individual variable to get a minimum. To do this you rotate the $x$ and $y$ axis around by some angle $theta$ to get a new $X$ and $Y$ axis.
Now it turns out that $x=Xcostheta-Ysintheta$ and $y=Xsintheta + Ycostheta$. And it also turns out that there will be no $XY$ term if $cot 2theta =frac{A-C}{B}$. For explanations of this I will refer you to pdf that explains it better than I would. Once you do that you'll have something like this. $$z=aX^2+cY^2+dX+eY+f$$
and you can complete the square to get $$z=a(X-u)^2+b(X-v)^2+w$$ and the minimum (if there is one) will just be $w$. It would be a good exercise to give both of these a go to see if you get the same answer.
add a comment |
Ok here are two methods.
The first and imo easiest is to consider this as two single variable problems. Consider
$$z= Ax^2+Bxy+Cy^2+Dx+Ey+F$$ you could rewrite this as $$z=Ax^2+(By+D)x+(Cy^2+Ey+F)$$ which is a parabola with a vertex at $x=frac{-(By+D)}{2A}$ if you consider $y$ a constant and $x$ a variable. You can then consider $x$ a constant and $y$ a variable to get another parabola with a vertex at $y=frac{-(Bx+E)}{2C}$. Then you solve the simultaneous equation $x=frac{-(By+D)}{2A}$,$y=frac{-(Bx+E)}{2C}$. If both parabolas are concave down you get a maximum, and if both are concave up you'll get a minimum. You can plug in the $x$ and $y$ values to solve for $z$
The second method is rewriting $z$ in terms of new variables so you don't need to deal with the $xy$ term. This makes the problem much easier as you can then just complete the square in each individual variable to get a minimum. To do this you rotate the $x$ and $y$ axis around by some angle $theta$ to get a new $X$ and $Y$ axis.
Now it turns out that $x=Xcostheta-Ysintheta$ and $y=Xsintheta + Ycostheta$. And it also turns out that there will be no $XY$ term if $cot 2theta =frac{A-C}{B}$. For explanations of this I will refer you to pdf that explains it better than I would. Once you do that you'll have something like this. $$z=aX^2+cY^2+dX+eY+f$$
and you can complete the square to get $$z=a(X-u)^2+b(X-v)^2+w$$ and the minimum (if there is one) will just be $w$. It would be a good exercise to give both of these a go to see if you get the same answer.
add a comment |
Ok here are two methods.
The first and imo easiest is to consider this as two single variable problems. Consider
$$z= Ax^2+Bxy+Cy^2+Dx+Ey+F$$ you could rewrite this as $$z=Ax^2+(By+D)x+(Cy^2+Ey+F)$$ which is a parabola with a vertex at $x=frac{-(By+D)}{2A}$ if you consider $y$ a constant and $x$ a variable. You can then consider $x$ a constant and $y$ a variable to get another parabola with a vertex at $y=frac{-(Bx+E)}{2C}$. Then you solve the simultaneous equation $x=frac{-(By+D)}{2A}$,$y=frac{-(Bx+E)}{2C}$. If both parabolas are concave down you get a maximum, and if both are concave up you'll get a minimum. You can plug in the $x$ and $y$ values to solve for $z$
The second method is rewriting $z$ in terms of new variables so you don't need to deal with the $xy$ term. This makes the problem much easier as you can then just complete the square in each individual variable to get a minimum. To do this you rotate the $x$ and $y$ axis around by some angle $theta$ to get a new $X$ and $Y$ axis.
Now it turns out that $x=Xcostheta-Ysintheta$ and $y=Xsintheta + Ycostheta$. And it also turns out that there will be no $XY$ term if $cot 2theta =frac{A-C}{B}$. For explanations of this I will refer you to pdf that explains it better than I would. Once you do that you'll have something like this. $$z=aX^2+cY^2+dX+eY+f$$
and you can complete the square to get $$z=a(X-u)^2+b(X-v)^2+w$$ and the minimum (if there is one) will just be $w$. It would be a good exercise to give both of these a go to see if you get the same answer.
Ok here are two methods.
The first and imo easiest is to consider this as two single variable problems. Consider
$$z= Ax^2+Bxy+Cy^2+Dx+Ey+F$$ you could rewrite this as $$z=Ax^2+(By+D)x+(Cy^2+Ey+F)$$ which is a parabola with a vertex at $x=frac{-(By+D)}{2A}$ if you consider $y$ a constant and $x$ a variable. You can then consider $x$ a constant and $y$ a variable to get another parabola with a vertex at $y=frac{-(Bx+E)}{2C}$. Then you solve the simultaneous equation $x=frac{-(By+D)}{2A}$,$y=frac{-(Bx+E)}{2C}$. If both parabolas are concave down you get a maximum, and if both are concave up you'll get a minimum. You can plug in the $x$ and $y$ values to solve for $z$
The second method is rewriting $z$ in terms of new variables so you don't need to deal with the $xy$ term. This makes the problem much easier as you can then just complete the square in each individual variable to get a minimum. To do this you rotate the $x$ and $y$ axis around by some angle $theta$ to get a new $X$ and $Y$ axis.
Now it turns out that $x=Xcostheta-Ysintheta$ and $y=Xsintheta + Ycostheta$. And it also turns out that there will be no $XY$ term if $cot 2theta =frac{A-C}{B}$. For explanations of this I will refer you to pdf that explains it better than I would. Once you do that you'll have something like this. $$z=aX^2+cY^2+dX+eY+f$$
and you can complete the square to get $$z=a(X-u)^2+b(X-v)^2+w$$ and the minimum (if there is one) will just be $w$. It would be a good exercise to give both of these a go to see if you get the same answer.
edited Dec 12 '18 at 6:32
answered Dec 12 '18 at 6:13
B.Martin
134119
134119
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3035907%2fwhat-is-the-method-to-solve-min5-15a-18b15a245ab45b2%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I guess its a problem of Relative minima
– Yadati Kiran
Dec 11 '18 at 22:16
I haven't studied yet this topics
– Stu
Dec 11 '18 at 22:22