Minimum point of a quadratic with a pre-stated constraint?
$begingroup$
How do you I approach the following question:
Find the smallest possible value of $x^2 + y^2$ given that $x + y = 10$.
I can use my common sense and deduce that the minimum value is $5^2 + 5^2 = 50$. But how do you approach this mathematically?
Thanks in advance.
derivatives maxima-minima
$endgroup$
add a comment |
$begingroup$
How do you I approach the following question:
Find the smallest possible value of $x^2 + y^2$ given that $x + y = 10$.
I can use my common sense and deduce that the minimum value is $5^2 + 5^2 = 50$. But how do you approach this mathematically?
Thanks in advance.
derivatives maxima-minima
$endgroup$
add a comment |
$begingroup$
How do you I approach the following question:
Find the smallest possible value of $x^2 + y^2$ given that $x + y = 10$.
I can use my common sense and deduce that the minimum value is $5^2 + 5^2 = 50$. But how do you approach this mathematically?
Thanks in advance.
derivatives maxima-minima
$endgroup$
How do you I approach the following question:
Find the smallest possible value of $x^2 + y^2$ given that $x + y = 10$.
I can use my common sense and deduce that the minimum value is $5^2 + 5^2 = 50$. But how do you approach this mathematically?
Thanks in advance.
derivatives maxima-minima
derivatives maxima-minima
asked 10 hours ago
RamanaRamana
948
948
add a comment |
add a comment |
8 Answers
8
active
oldest
votes
$begingroup$
Take the vectors $u=(1,1)$ and $v=(x,y)$ then apply Cauchy-Schwarz inequality. It comes: $2(x^2+y^2)geq (x+y)^2=100$ and for $x=y=5$ the equality holds. The minimum value is therefore $50$.
$endgroup$
add a comment |
$begingroup$
Since the condition $x+y=10$ is simple and allows easy elemination of one variable, one possible approach is to put the resulting $y=10-x$ into the term to mimimize:
$$x^2+y^2=x^2+(10-x)^2:=f(x)$$
You now have a function in one variable (named $f(x)$) where you are looking for the minimal value over all real $x$.
Since this is a quadratice function, it can be minimized with a bit of algebra and without calculus:
$$f(x)=x^2+(10-x)^2=2x^2-20x+100=2(x^2-10x)+100 = 2(x^2-10x+25) + 50 = 2(x-5)^2+50 ge 50.$$
So we have $f(x)ge 50$ and equality happens at $x=5$ (which implies $y=5$).
Since the tag "derivatives" is used, I'll also use the usual calculus approach:
We have $f(x) = 2x^2-20x+100$, which implies $f'(x)=4x-20$ and $f''(x)=4$.
A local mimimum $x_m$ has $f'(x_m)=0$ as necessay condition, and $4x_m-20=0$ easily leads to the only solution $x_m=5$ and $f''(x_m)=4 > 0$ shows this is a local mimimum, with $f(x_m)=f(5)=50$.
Also, one needs to check the behaviour of $f(x)$ when $x$ tends to $+infty$ and $-infty$, as $f'(x_m)=0$ only finds local extrema. Since $f(x)$ is a quadratic with positive constant before $x^2$, the function tends to $+infty$ in either case, so no interference with the looked for minimum.
$endgroup$
add a comment |
$begingroup$
You can approach it geometrically.
Condition $x+y=10$ means that the solution lies on the line $y = -x + 10$. $x^2+y^2$ is the square of distance between $(0,0)$ and $(x, y)$. That means that you want the closest point on the line $y = -x + 10$ to the origin. To get this, project the origin onto the line to get $(5,5)$.
$endgroup$
add a comment |
$begingroup$
The general, "If all you have is a hammer, everything looks like a nail" method requiring very little creative thinking is to use Lagrange multipliers.
(Note that there are some nontrivial conditions on when the method of Lagrange multipliers can be used; for example things get a bit messier if $nabla g(x,y) = 0$ is possible when $g(x,y)=0$.)
You want to minimize $f(x,y) = x^2 + y^2$ subject to the condition $g(x,y)=x+y-10 = 0$. The point of using Lagrange multipliers is that you get simple conditions for the critical point of the constrained problem with the cost of having to add another unknown, $lambda$, to the problem:
$$
begin{align*}
frac{partial}{partial x} f(x,y) &= lambda frac{partial}{partial x} g(x,y), \
frac{partial}{partial y} f(x,y) &= lambda frac{partial}{partial y} g(x,y), \
g(x,y) &= 0.
end{align*}
$$
Plugging in $f$ and $g$ there gives
$$
begin{align*}
2x &= lambda, \
2y &= lambda, \
x+y - 10 &= 0,
end{align*}
$$
which is a system of linear equations for $3$ variables, giving you $x=y=5$.
This method might seem like an overkill for such a simple problem, but once you're familiar with it, it's quite straightforward and effortless to write down the equations.
$endgroup$
add a comment |
$begingroup$
Showing the problem graphically

The line is defined by the equation $f: x + y = 10$. Minimizing $x^2 + y^2$ amounts to finding the smallest circle around the origin touching the line. Since all radii are perpendicular, we search for the intersection of $f$ and $y - x = 0$ which is solved by $B: x = y = 5$.
$endgroup$
add a comment |
$begingroup$
To minimize $f(x,y) = x^2+y^2$; given that $y=10-x$.
Then:
$$f(x,10-x)=x^2+(x-10)^2$$
$f$ is minimized for $f'=0$, so:
$$f'=2x+2(x-10)=0$$
Gives:
$$x=5land y=5$$
Thus we have:
$$min (x^2+y^2)=5^2+5^2=50$$
$endgroup$
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
add a comment |
$begingroup$
$large text{How about this approach:}$
$
x + y = 10, text{ so } y = 10 - x \
x^2 + y^2 = k, y = sqrt{k - x^2}\
rightarrow 10 - x = sqrt{k - x^2}\
rightarrow 100 - 20x + x^2 = k - x^2\
rightarrow 2x^2 - 20x + 100 = k\
fprime = 4x - 20\
text{When x is 5, } fprime = 0\~\
text{Testing values on the right and left: }\
f(4) = 62, f(6) = 52\~\
therefore textbf{There is a minimum point at } x = 5, textbf{ hence } y = 5.\
5^2 + 5^2 = 50
$
$endgroup$
add a comment |
$begingroup$
$$x^2+y^2:=: (x+y)^2-2xy :=: 100 -2xy$$
is minimal if $,xy,$ is maximal (hence $x,ygeqslant 0$). Which is maximal if $,sqrt{xy}:$ is maximal.
The inequality of arithmetic and geometric means
$$sqrt{xy}:leqslant:frac{x+y}2 :=: 5$$
gets an equality only for $y=x$, which means the LHS is maximal.
Thus your common sense is mathematically, especially algebraically, confirmed $:ddotsmile$
$endgroup$
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%2f3108814%2fminimum-point-of-a-quadratic-with-a-pre-stated-constraint%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
8 Answers
8
active
oldest
votes
8 Answers
8
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Take the vectors $u=(1,1)$ and $v=(x,y)$ then apply Cauchy-Schwarz inequality. It comes: $2(x^2+y^2)geq (x+y)^2=100$ and for $x=y=5$ the equality holds. The minimum value is therefore $50$.
$endgroup$
add a comment |
$begingroup$
Take the vectors $u=(1,1)$ and $v=(x,y)$ then apply Cauchy-Schwarz inequality. It comes: $2(x^2+y^2)geq (x+y)^2=100$ and for $x=y=5$ the equality holds. The minimum value is therefore $50$.
$endgroup$
add a comment |
$begingroup$
Take the vectors $u=(1,1)$ and $v=(x,y)$ then apply Cauchy-Schwarz inequality. It comes: $2(x^2+y^2)geq (x+y)^2=100$ and for $x=y=5$ the equality holds. The minimum value is therefore $50$.
$endgroup$
Take the vectors $u=(1,1)$ and $v=(x,y)$ then apply Cauchy-Schwarz inequality. It comes: $2(x^2+y^2)geq (x+y)^2=100$ and for $x=y=5$ the equality holds. The minimum value is therefore $50$.
answered 10 hours ago
HAMIDINE SOUMAREHAMIDINE SOUMARE
58428
58428
add a comment |
add a comment |
$begingroup$
Since the condition $x+y=10$ is simple and allows easy elemination of one variable, one possible approach is to put the resulting $y=10-x$ into the term to mimimize:
$$x^2+y^2=x^2+(10-x)^2:=f(x)$$
You now have a function in one variable (named $f(x)$) where you are looking for the minimal value over all real $x$.
Since this is a quadratice function, it can be minimized with a bit of algebra and without calculus:
$$f(x)=x^2+(10-x)^2=2x^2-20x+100=2(x^2-10x)+100 = 2(x^2-10x+25) + 50 = 2(x-5)^2+50 ge 50.$$
So we have $f(x)ge 50$ and equality happens at $x=5$ (which implies $y=5$).
Since the tag "derivatives" is used, I'll also use the usual calculus approach:
We have $f(x) = 2x^2-20x+100$, which implies $f'(x)=4x-20$ and $f''(x)=4$.
A local mimimum $x_m$ has $f'(x_m)=0$ as necessay condition, and $4x_m-20=0$ easily leads to the only solution $x_m=5$ and $f''(x_m)=4 > 0$ shows this is a local mimimum, with $f(x_m)=f(5)=50$.
Also, one needs to check the behaviour of $f(x)$ when $x$ tends to $+infty$ and $-infty$, as $f'(x_m)=0$ only finds local extrema. Since $f(x)$ is a quadratic with positive constant before $x^2$, the function tends to $+infty$ in either case, so no interference with the looked for minimum.
$endgroup$
add a comment |
$begingroup$
Since the condition $x+y=10$ is simple and allows easy elemination of one variable, one possible approach is to put the resulting $y=10-x$ into the term to mimimize:
$$x^2+y^2=x^2+(10-x)^2:=f(x)$$
You now have a function in one variable (named $f(x)$) where you are looking for the minimal value over all real $x$.
Since this is a quadratice function, it can be minimized with a bit of algebra and without calculus:
$$f(x)=x^2+(10-x)^2=2x^2-20x+100=2(x^2-10x)+100 = 2(x^2-10x+25) + 50 = 2(x-5)^2+50 ge 50.$$
So we have $f(x)ge 50$ and equality happens at $x=5$ (which implies $y=5$).
Since the tag "derivatives" is used, I'll also use the usual calculus approach:
We have $f(x) = 2x^2-20x+100$, which implies $f'(x)=4x-20$ and $f''(x)=4$.
A local mimimum $x_m$ has $f'(x_m)=0$ as necessay condition, and $4x_m-20=0$ easily leads to the only solution $x_m=5$ and $f''(x_m)=4 > 0$ shows this is a local mimimum, with $f(x_m)=f(5)=50$.
Also, one needs to check the behaviour of $f(x)$ when $x$ tends to $+infty$ and $-infty$, as $f'(x_m)=0$ only finds local extrema. Since $f(x)$ is a quadratic with positive constant before $x^2$, the function tends to $+infty$ in either case, so no interference with the looked for minimum.
$endgroup$
add a comment |
$begingroup$
Since the condition $x+y=10$ is simple and allows easy elemination of one variable, one possible approach is to put the resulting $y=10-x$ into the term to mimimize:
$$x^2+y^2=x^2+(10-x)^2:=f(x)$$
You now have a function in one variable (named $f(x)$) where you are looking for the minimal value over all real $x$.
Since this is a quadratice function, it can be minimized with a bit of algebra and without calculus:
$$f(x)=x^2+(10-x)^2=2x^2-20x+100=2(x^2-10x)+100 = 2(x^2-10x+25) + 50 = 2(x-5)^2+50 ge 50.$$
So we have $f(x)ge 50$ and equality happens at $x=5$ (which implies $y=5$).
Since the tag "derivatives" is used, I'll also use the usual calculus approach:
We have $f(x) = 2x^2-20x+100$, which implies $f'(x)=4x-20$ and $f''(x)=4$.
A local mimimum $x_m$ has $f'(x_m)=0$ as necessay condition, and $4x_m-20=0$ easily leads to the only solution $x_m=5$ and $f''(x_m)=4 > 0$ shows this is a local mimimum, with $f(x_m)=f(5)=50$.
Also, one needs to check the behaviour of $f(x)$ when $x$ tends to $+infty$ and $-infty$, as $f'(x_m)=0$ only finds local extrema. Since $f(x)$ is a quadratic with positive constant before $x^2$, the function tends to $+infty$ in either case, so no interference with the looked for minimum.
$endgroup$
Since the condition $x+y=10$ is simple and allows easy elemination of one variable, one possible approach is to put the resulting $y=10-x$ into the term to mimimize:
$$x^2+y^2=x^2+(10-x)^2:=f(x)$$
You now have a function in one variable (named $f(x)$) where you are looking for the minimal value over all real $x$.
Since this is a quadratice function, it can be minimized with a bit of algebra and without calculus:
$$f(x)=x^2+(10-x)^2=2x^2-20x+100=2(x^2-10x)+100 = 2(x^2-10x+25) + 50 = 2(x-5)^2+50 ge 50.$$
So we have $f(x)ge 50$ and equality happens at $x=5$ (which implies $y=5$).
Since the tag "derivatives" is used, I'll also use the usual calculus approach:
We have $f(x) = 2x^2-20x+100$, which implies $f'(x)=4x-20$ and $f''(x)=4$.
A local mimimum $x_m$ has $f'(x_m)=0$ as necessay condition, and $4x_m-20=0$ easily leads to the only solution $x_m=5$ and $f''(x_m)=4 > 0$ shows this is a local mimimum, with $f(x_m)=f(5)=50$.
Also, one needs to check the behaviour of $f(x)$ when $x$ tends to $+infty$ and $-infty$, as $f'(x_m)=0$ only finds local extrema. Since $f(x)$ is a quadratic with positive constant before $x^2$, the function tends to $+infty$ in either case, so no interference with the looked for minimum.
answered 9 hours ago
IngixIngix
3,939146
3,939146
add a comment |
add a comment |
$begingroup$
You can approach it geometrically.
Condition $x+y=10$ means that the solution lies on the line $y = -x + 10$. $x^2+y^2$ is the square of distance between $(0,0)$ and $(x, y)$. That means that you want the closest point on the line $y = -x + 10$ to the origin. To get this, project the origin onto the line to get $(5,5)$.
$endgroup$
add a comment |
$begingroup$
You can approach it geometrically.
Condition $x+y=10$ means that the solution lies on the line $y = -x + 10$. $x^2+y^2$ is the square of distance between $(0,0)$ and $(x, y)$. That means that you want the closest point on the line $y = -x + 10$ to the origin. To get this, project the origin onto the line to get $(5,5)$.
$endgroup$
add a comment |
$begingroup$
You can approach it geometrically.
Condition $x+y=10$ means that the solution lies on the line $y = -x + 10$. $x^2+y^2$ is the square of distance between $(0,0)$ and $(x, y)$. That means that you want the closest point on the line $y = -x + 10$ to the origin. To get this, project the origin onto the line to get $(5,5)$.
$endgroup$
You can approach it geometrically.
Condition $x+y=10$ means that the solution lies on the line $y = -x + 10$. $x^2+y^2$ is the square of distance between $(0,0)$ and $(x, y)$. That means that you want the closest point on the line $y = -x + 10$ to the origin. To get this, project the origin onto the line to get $(5,5)$.
answered 9 hours ago
enedilenedil
1,059618
1,059618
add a comment |
add a comment |
$begingroup$
The general, "If all you have is a hammer, everything looks like a nail" method requiring very little creative thinking is to use Lagrange multipliers.
(Note that there are some nontrivial conditions on when the method of Lagrange multipliers can be used; for example things get a bit messier if $nabla g(x,y) = 0$ is possible when $g(x,y)=0$.)
You want to minimize $f(x,y) = x^2 + y^2$ subject to the condition $g(x,y)=x+y-10 = 0$. The point of using Lagrange multipliers is that you get simple conditions for the critical point of the constrained problem with the cost of having to add another unknown, $lambda$, to the problem:
$$
begin{align*}
frac{partial}{partial x} f(x,y) &= lambda frac{partial}{partial x} g(x,y), \
frac{partial}{partial y} f(x,y) &= lambda frac{partial}{partial y} g(x,y), \
g(x,y) &= 0.
end{align*}
$$
Plugging in $f$ and $g$ there gives
$$
begin{align*}
2x &= lambda, \
2y &= lambda, \
x+y - 10 &= 0,
end{align*}
$$
which is a system of linear equations for $3$ variables, giving you $x=y=5$.
This method might seem like an overkill for such a simple problem, but once you're familiar with it, it's quite straightforward and effortless to write down the equations.
$endgroup$
add a comment |
$begingroup$
The general, "If all you have is a hammer, everything looks like a nail" method requiring very little creative thinking is to use Lagrange multipliers.
(Note that there are some nontrivial conditions on when the method of Lagrange multipliers can be used; for example things get a bit messier if $nabla g(x,y) = 0$ is possible when $g(x,y)=0$.)
You want to minimize $f(x,y) = x^2 + y^2$ subject to the condition $g(x,y)=x+y-10 = 0$. The point of using Lagrange multipliers is that you get simple conditions for the critical point of the constrained problem with the cost of having to add another unknown, $lambda$, to the problem:
$$
begin{align*}
frac{partial}{partial x} f(x,y) &= lambda frac{partial}{partial x} g(x,y), \
frac{partial}{partial y} f(x,y) &= lambda frac{partial}{partial y} g(x,y), \
g(x,y) &= 0.
end{align*}
$$
Plugging in $f$ and $g$ there gives
$$
begin{align*}
2x &= lambda, \
2y &= lambda, \
x+y - 10 &= 0,
end{align*}
$$
which is a system of linear equations for $3$ variables, giving you $x=y=5$.
This method might seem like an overkill for such a simple problem, but once you're familiar with it, it's quite straightforward and effortless to write down the equations.
$endgroup$
add a comment |
$begingroup$
The general, "If all you have is a hammer, everything looks like a nail" method requiring very little creative thinking is to use Lagrange multipliers.
(Note that there are some nontrivial conditions on when the method of Lagrange multipliers can be used; for example things get a bit messier if $nabla g(x,y) = 0$ is possible when $g(x,y)=0$.)
You want to minimize $f(x,y) = x^2 + y^2$ subject to the condition $g(x,y)=x+y-10 = 0$. The point of using Lagrange multipliers is that you get simple conditions for the critical point of the constrained problem with the cost of having to add another unknown, $lambda$, to the problem:
$$
begin{align*}
frac{partial}{partial x} f(x,y) &= lambda frac{partial}{partial x} g(x,y), \
frac{partial}{partial y} f(x,y) &= lambda frac{partial}{partial y} g(x,y), \
g(x,y) &= 0.
end{align*}
$$
Plugging in $f$ and $g$ there gives
$$
begin{align*}
2x &= lambda, \
2y &= lambda, \
x+y - 10 &= 0,
end{align*}
$$
which is a system of linear equations for $3$ variables, giving you $x=y=5$.
This method might seem like an overkill for such a simple problem, but once you're familiar with it, it's quite straightforward and effortless to write down the equations.
$endgroup$
The general, "If all you have is a hammer, everything looks like a nail" method requiring very little creative thinking is to use Lagrange multipliers.
(Note that there are some nontrivial conditions on when the method of Lagrange multipliers can be used; for example things get a bit messier if $nabla g(x,y) = 0$ is possible when $g(x,y)=0$.)
You want to minimize $f(x,y) = x^2 + y^2$ subject to the condition $g(x,y)=x+y-10 = 0$. The point of using Lagrange multipliers is that you get simple conditions for the critical point of the constrained problem with the cost of having to add another unknown, $lambda$, to the problem:
$$
begin{align*}
frac{partial}{partial x} f(x,y) &= lambda frac{partial}{partial x} g(x,y), \
frac{partial}{partial y} f(x,y) &= lambda frac{partial}{partial y} g(x,y), \
g(x,y) &= 0.
end{align*}
$$
Plugging in $f$ and $g$ there gives
$$
begin{align*}
2x &= lambda, \
2y &= lambda, \
x+y - 10 &= 0,
end{align*}
$$
which is a system of linear equations for $3$ variables, giving you $x=y=5$.
This method might seem like an overkill for such a simple problem, but once you're familiar with it, it's quite straightforward and effortless to write down the equations.
edited 7 hours ago
answered 7 hours ago
JiKJiK
4,8041231
4,8041231
add a comment |
add a comment |
$begingroup$
Showing the problem graphically

The line is defined by the equation $f: x + y = 10$. Minimizing $x^2 + y^2$ amounts to finding the smallest circle around the origin touching the line. Since all radii are perpendicular, we search for the intersection of $f$ and $y - x = 0$ which is solved by $B: x = y = 5$.
$endgroup$
add a comment |
$begingroup$
Showing the problem graphically

The line is defined by the equation $f: x + y = 10$. Minimizing $x^2 + y^2$ amounts to finding the smallest circle around the origin touching the line. Since all radii are perpendicular, we search for the intersection of $f$ and $y - x = 0$ which is solved by $B: x = y = 5$.
$endgroup$
add a comment |
$begingroup$
Showing the problem graphically

The line is defined by the equation $f: x + y = 10$. Minimizing $x^2 + y^2$ amounts to finding the smallest circle around the origin touching the line. Since all radii are perpendicular, we search for the intersection of $f$ and $y - x = 0$ which is solved by $B: x = y = 5$.
$endgroup$
Showing the problem graphically

The line is defined by the equation $f: x + y = 10$. Minimizing $x^2 + y^2$ amounts to finding the smallest circle around the origin touching the line. Since all radii are perpendicular, we search for the intersection of $f$ and $y - x = 0$ which is solved by $B: x = y = 5$.
answered 7 hours ago
WorldSEnderWorldSEnder
360212
360212
add a comment |
add a comment |
$begingroup$
To minimize $f(x,y) = x^2+y^2$; given that $y=10-x$.
Then:
$$f(x,10-x)=x^2+(x-10)^2$$
$f$ is minimized for $f'=0$, so:
$$f'=2x+2(x-10)=0$$
Gives:
$$x=5land y=5$$
Thus we have:
$$min (x^2+y^2)=5^2+5^2=50$$
$endgroup$
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
add a comment |
$begingroup$
To minimize $f(x,y) = x^2+y^2$; given that $y=10-x$.
Then:
$$f(x,10-x)=x^2+(x-10)^2$$
$f$ is minimized for $f'=0$, so:
$$f'=2x+2(x-10)=0$$
Gives:
$$x=5land y=5$$
Thus we have:
$$min (x^2+y^2)=5^2+5^2=50$$
$endgroup$
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
add a comment |
$begingroup$
To minimize $f(x,y) = x^2+y^2$; given that $y=10-x$.
Then:
$$f(x,10-x)=x^2+(x-10)^2$$
$f$ is minimized for $f'=0$, so:
$$f'=2x+2(x-10)=0$$
Gives:
$$x=5land y=5$$
Thus we have:
$$min (x^2+y^2)=5^2+5^2=50$$
$endgroup$
To minimize $f(x,y) = x^2+y^2$; given that $y=10-x$.
Then:
$$f(x,10-x)=x^2+(x-10)^2$$
$f$ is minimized for $f'=0$, so:
$$f'=2x+2(x-10)=0$$
Gives:
$$x=5land y=5$$
Thus we have:
$$min (x^2+y^2)=5^2+5^2=50$$
edited 10 hours ago
answered 10 hours ago
MaxMax
39414
39414
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
add a comment |
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
$begingroup$
Thanks, I fixed it.
$endgroup$
– Max
10 hours ago
add a comment |
$begingroup$
$large text{How about this approach:}$
$
x + y = 10, text{ so } y = 10 - x \
x^2 + y^2 = k, y = sqrt{k - x^2}\
rightarrow 10 - x = sqrt{k - x^2}\
rightarrow 100 - 20x + x^2 = k - x^2\
rightarrow 2x^2 - 20x + 100 = k\
fprime = 4x - 20\
text{When x is 5, } fprime = 0\~\
text{Testing values on the right and left: }\
f(4) = 62, f(6) = 52\~\
therefore textbf{There is a minimum point at } x = 5, textbf{ hence } y = 5.\
5^2 + 5^2 = 50
$
$endgroup$
add a comment |
$begingroup$
$large text{How about this approach:}$
$
x + y = 10, text{ so } y = 10 - x \
x^2 + y^2 = k, y = sqrt{k - x^2}\
rightarrow 10 - x = sqrt{k - x^2}\
rightarrow 100 - 20x + x^2 = k - x^2\
rightarrow 2x^2 - 20x + 100 = k\
fprime = 4x - 20\
text{When x is 5, } fprime = 0\~\
text{Testing values on the right and left: }\
f(4) = 62, f(6) = 52\~\
therefore textbf{There is a minimum point at } x = 5, textbf{ hence } y = 5.\
5^2 + 5^2 = 50
$
$endgroup$
add a comment |
$begingroup$
$large text{How about this approach:}$
$
x + y = 10, text{ so } y = 10 - x \
x^2 + y^2 = k, y = sqrt{k - x^2}\
rightarrow 10 - x = sqrt{k - x^2}\
rightarrow 100 - 20x + x^2 = k - x^2\
rightarrow 2x^2 - 20x + 100 = k\
fprime = 4x - 20\
text{When x is 5, } fprime = 0\~\
text{Testing values on the right and left: }\
f(4) = 62, f(6) = 52\~\
therefore textbf{There is a minimum point at } x = 5, textbf{ hence } y = 5.\
5^2 + 5^2 = 50
$
$endgroup$
$large text{How about this approach:}$
$
x + y = 10, text{ so } y = 10 - x \
x^2 + y^2 = k, y = sqrt{k - x^2}\
rightarrow 10 - x = sqrt{k - x^2}\
rightarrow 100 - 20x + x^2 = k - x^2\
rightarrow 2x^2 - 20x + 100 = k\
fprime = 4x - 20\
text{When x is 5, } fprime = 0\~\
text{Testing values on the right and left: }\
f(4) = 62, f(6) = 52\~\
therefore textbf{There is a minimum point at } x = 5, textbf{ hence } y = 5.\
5^2 + 5^2 = 50
$
answered 10 hours ago
RamanaRamana
948
948
add a comment |
add a comment |
$begingroup$
$$x^2+y^2:=: (x+y)^2-2xy :=: 100 -2xy$$
is minimal if $,xy,$ is maximal (hence $x,ygeqslant 0$). Which is maximal if $,sqrt{xy}:$ is maximal.
The inequality of arithmetic and geometric means
$$sqrt{xy}:leqslant:frac{x+y}2 :=: 5$$
gets an equality only for $y=x$, which means the LHS is maximal.
Thus your common sense is mathematically, especially algebraically, confirmed $:ddotsmile$
$endgroup$
add a comment |
$begingroup$
$$x^2+y^2:=: (x+y)^2-2xy :=: 100 -2xy$$
is minimal if $,xy,$ is maximal (hence $x,ygeqslant 0$). Which is maximal if $,sqrt{xy}:$ is maximal.
The inequality of arithmetic and geometric means
$$sqrt{xy}:leqslant:frac{x+y}2 :=: 5$$
gets an equality only for $y=x$, which means the LHS is maximal.
Thus your common sense is mathematically, especially algebraically, confirmed $:ddotsmile$
$endgroup$
add a comment |
$begingroup$
$$x^2+y^2:=: (x+y)^2-2xy :=: 100 -2xy$$
is minimal if $,xy,$ is maximal (hence $x,ygeqslant 0$). Which is maximal if $,sqrt{xy}:$ is maximal.
The inequality of arithmetic and geometric means
$$sqrt{xy}:leqslant:frac{x+y}2 :=: 5$$
gets an equality only for $y=x$, which means the LHS is maximal.
Thus your common sense is mathematically, especially algebraically, confirmed $:ddotsmile$
$endgroup$
$$x^2+y^2:=: (x+y)^2-2xy :=: 100 -2xy$$
is minimal if $,xy,$ is maximal (hence $x,ygeqslant 0$). Which is maximal if $,sqrt{xy}:$ is maximal.
The inequality of arithmetic and geometric means
$$sqrt{xy}:leqslant:frac{x+y}2 :=: 5$$
gets an equality only for $y=x$, which means the LHS is maximal.
Thus your common sense is mathematically, especially algebraically, confirmed $:ddotsmile$
answered 4 hours ago
HannoHanno
2,213427
2,213427
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.
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%2f3108814%2fminimum-point-of-a-quadratic-with-a-pre-stated-constraint%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