How can I maximize the area of a rectangular base and semicircular top when perimeter is not given












1












$begingroup$


enter image description here



I know that the perimeter would be $(2x+y)+pi r=P$



I am confused in these kinds of optimization problems, which variable to solve for.



I know that area is $xy+frac{pi r^2}{2}$



If I solve for r, I get $r = frac{P-(2x+y)}{pi}$



Then $A = xy+ frac{pi (frac{P-(2x+y)}{pi})^{2}}{2}$



Am I supposed to take the derivative now? I am very confused any help would be appreciated. Thanks!



EDIT: $P = 2xr+pi r = 2x+r(1+pi)$



$A = xr +frac{pi r^2}{2}$



$x = frac{P-r(1+pi)}{x}$



$A = frac{P-r(1+pi)}{x} r + frac{pi r^2}{2}$



$A = frac{P-r^2+2pi r^2}{2}$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – Aloizio Macedo
    Jan 26 at 10:22
















1












$begingroup$


enter image description here



I know that the perimeter would be $(2x+y)+pi r=P$



I am confused in these kinds of optimization problems, which variable to solve for.



I know that area is $xy+frac{pi r^2}{2}$



If I solve for r, I get $r = frac{P-(2x+y)}{pi}$



Then $A = xy+ frac{pi (frac{P-(2x+y)}{pi})^{2}}{2}$



Am I supposed to take the derivative now? I am very confused any help would be appreciated. Thanks!



EDIT: $P = 2xr+pi r = 2x+r(1+pi)$



$A = xr +frac{pi r^2}{2}$



$x = frac{P-r(1+pi)}{x}$



$A = frac{P-r(1+pi)}{x} r + frac{pi r^2}{2}$



$A = frac{P-r^2+2pi r^2}{2}$










share|cite|improve this question











$endgroup$












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – Aloizio Macedo
    Jan 26 at 10:22














1












1








1





$begingroup$


enter image description here



I know that the perimeter would be $(2x+y)+pi r=P$



I am confused in these kinds of optimization problems, which variable to solve for.



I know that area is $xy+frac{pi r^2}{2}$



If I solve for r, I get $r = frac{P-(2x+y)}{pi}$



Then $A = xy+ frac{pi (frac{P-(2x+y)}{pi})^{2}}{2}$



Am I supposed to take the derivative now? I am very confused any help would be appreciated. Thanks!



EDIT: $P = 2xr+pi r = 2x+r(1+pi)$



$A = xr +frac{pi r^2}{2}$



$x = frac{P-r(1+pi)}{x}$



$A = frac{P-r(1+pi)}{x} r + frac{pi r^2}{2}$



$A = frac{P-r^2+2pi r^2}{2}$










share|cite|improve this question











$endgroup$




enter image description here



I know that the perimeter would be $(2x+y)+pi r=P$



I am confused in these kinds of optimization problems, which variable to solve for.



I know that area is $xy+frac{pi r^2}{2}$



If I solve for r, I get $r = frac{P-(2x+y)}{pi}$



Then $A = xy+ frac{pi (frac{P-(2x+y)}{pi})^{2}}{2}$



Am I supposed to take the derivative now? I am very confused any help would be appreciated. Thanks!



EDIT: $P = 2xr+pi r = 2x+r(1+pi)$



$A = xr +frac{pi r^2}{2}$



$x = frac{P-r(1+pi)}{x}$



$A = frac{P-r(1+pi)}{x} r + frac{pi r^2}{2}$



$A = frac{P-r^2+2pi r^2}{2}$







calculus






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 24 at 17:21







user8358234

















asked Jan 24 at 17:09









user8358234user8358234

342110




342110












  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – Aloizio Macedo
    Jan 26 at 10:22


















  • $begingroup$
    Comments are not for extended discussion; this conversation has been moved to chat.
    $endgroup$
    – Aloizio Macedo
    Jan 26 at 10:22
















$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– Aloizio Macedo
Jan 26 at 10:22




$begingroup$
Comments are not for extended discussion; this conversation has been moved to chat.
$endgroup$
– Aloizio Macedo
Jan 26 at 10:22










1 Answer
1






active

oldest

votes


















1












$begingroup$

$P=2x+y+pi r=2x+2r+pi r$ because the horizontal dimension of the rectangle is equal in length to the diameter of the semi-circle.$$A=xy+pi r^2/2=2rx+pi r^2/2$$



Substitute $2x$ from the first equation: $2x=P-2r-pi r$, to get$$A(r)=r[P-(2+pi)r]+pi r^2/2$$Differentiate with respect to $r$ and equate to $0$, giving$$A'(r)=P-2(2+pi)r+pi r=0implies r=frac P{4+pi}$$Ensure that this is the value of $r$ that gives the maximum area, then use the first equation to get the corresponding $x$. You could have expressed the area as a function of $x$ by substituting for $r$ too, and then differentiated with respect to $x$ to land at the same answer.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
    $endgroup$
    – user8358234
    Jan 24 at 17:55












  • $begingroup$
    @user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
    $endgroup$
    – Shubham Johri
    Jan 24 at 17:57












  • $begingroup$
    ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
    $endgroup$
    – user8358234
    Jan 24 at 17:58










  • $begingroup$
    @user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
    $endgroup$
    – Shubham Johri
    Jan 24 at 18:03











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3086131%2fhow-can-i-maximize-the-area-of-a-rectangular-base-and-semicircular-top-when-peri%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1












$begingroup$

$P=2x+y+pi r=2x+2r+pi r$ because the horizontal dimension of the rectangle is equal in length to the diameter of the semi-circle.$$A=xy+pi r^2/2=2rx+pi r^2/2$$



Substitute $2x$ from the first equation: $2x=P-2r-pi r$, to get$$A(r)=r[P-(2+pi)r]+pi r^2/2$$Differentiate with respect to $r$ and equate to $0$, giving$$A'(r)=P-2(2+pi)r+pi r=0implies r=frac P{4+pi}$$Ensure that this is the value of $r$ that gives the maximum area, then use the first equation to get the corresponding $x$. You could have expressed the area as a function of $x$ by substituting for $r$ too, and then differentiated with respect to $x$ to land at the same answer.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
    $endgroup$
    – user8358234
    Jan 24 at 17:55












  • $begingroup$
    @user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
    $endgroup$
    – Shubham Johri
    Jan 24 at 17:57












  • $begingroup$
    ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
    $endgroup$
    – user8358234
    Jan 24 at 17:58










  • $begingroup$
    @user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
    $endgroup$
    – Shubham Johri
    Jan 24 at 18:03
















1












$begingroup$

$P=2x+y+pi r=2x+2r+pi r$ because the horizontal dimension of the rectangle is equal in length to the diameter of the semi-circle.$$A=xy+pi r^2/2=2rx+pi r^2/2$$



Substitute $2x$ from the first equation: $2x=P-2r-pi r$, to get$$A(r)=r[P-(2+pi)r]+pi r^2/2$$Differentiate with respect to $r$ and equate to $0$, giving$$A'(r)=P-2(2+pi)r+pi r=0implies r=frac P{4+pi}$$Ensure that this is the value of $r$ that gives the maximum area, then use the first equation to get the corresponding $x$. You could have expressed the area as a function of $x$ by substituting for $r$ too, and then differentiated with respect to $x$ to land at the same answer.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
    $endgroup$
    – user8358234
    Jan 24 at 17:55












  • $begingroup$
    @user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
    $endgroup$
    – Shubham Johri
    Jan 24 at 17:57












  • $begingroup$
    ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
    $endgroup$
    – user8358234
    Jan 24 at 17:58










  • $begingroup$
    @user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
    $endgroup$
    – Shubham Johri
    Jan 24 at 18:03














1












1








1





$begingroup$

$P=2x+y+pi r=2x+2r+pi r$ because the horizontal dimension of the rectangle is equal in length to the diameter of the semi-circle.$$A=xy+pi r^2/2=2rx+pi r^2/2$$



Substitute $2x$ from the first equation: $2x=P-2r-pi r$, to get$$A(r)=r[P-(2+pi)r]+pi r^2/2$$Differentiate with respect to $r$ and equate to $0$, giving$$A'(r)=P-2(2+pi)r+pi r=0implies r=frac P{4+pi}$$Ensure that this is the value of $r$ that gives the maximum area, then use the first equation to get the corresponding $x$. You could have expressed the area as a function of $x$ by substituting for $r$ too, and then differentiated with respect to $x$ to land at the same answer.






share|cite|improve this answer









$endgroup$



$P=2x+y+pi r=2x+2r+pi r$ because the horizontal dimension of the rectangle is equal in length to the diameter of the semi-circle.$$A=xy+pi r^2/2=2rx+pi r^2/2$$



Substitute $2x$ from the first equation: $2x=P-2r-pi r$, to get$$A(r)=r[P-(2+pi)r]+pi r^2/2$$Differentiate with respect to $r$ and equate to $0$, giving$$A'(r)=P-2(2+pi)r+pi r=0implies r=frac P{4+pi}$$Ensure that this is the value of $r$ that gives the maximum area, then use the first equation to get the corresponding $x$. You could have expressed the area as a function of $x$ by substituting for $r$ too, and then differentiated with respect to $x$ to land at the same answer.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 24 at 17:46









Shubham JohriShubham Johri

5,262718




5,262718












  • $begingroup$
    thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
    $endgroup$
    – user8358234
    Jan 24 at 17:55












  • $begingroup$
    @user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
    $endgroup$
    – Shubham Johri
    Jan 24 at 17:57












  • $begingroup$
    ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
    $endgroup$
    – user8358234
    Jan 24 at 17:58










  • $begingroup$
    @user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
    $endgroup$
    – Shubham Johri
    Jan 24 at 18:03


















  • $begingroup$
    thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
    $endgroup$
    – user8358234
    Jan 24 at 17:55












  • $begingroup$
    @user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
    $endgroup$
    – Shubham Johri
    Jan 24 at 17:57












  • $begingroup$
    ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
    $endgroup$
    – user8358234
    Jan 24 at 17:58










  • $begingroup$
    @user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
    $endgroup$
    – Shubham Johri
    Jan 24 at 18:03
















$begingroup$
thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
$endgroup$
– user8358234
Jan 24 at 17:55






$begingroup$
thank you! when i figured out what you were saying with y = 2r i got the same answer. so now i plug in $P/4+pi$ into the original equation and i got $x = 4+3 pi + 1/2 pi^2 $ is this correct? this value is not in terms of P though
$endgroup$
– user8358234
Jan 24 at 17:55














$begingroup$
@user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
$endgroup$
– Shubham Johri
Jan 24 at 17:57






$begingroup$
@user8358234 Check again. $x$ should be in terms of $P$. Using $2x=P-(2+pi)r$, I'm getting $r=x=dfrac P{4+pi}$
$endgroup$
– Shubham Johri
Jan 24 at 17:57














$begingroup$
ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
$endgroup$
– user8358234
Jan 24 at 17:58




$begingroup$
ah sorry i made another mistake. I should get $frac{1}{P} frac{4+pi}{2+pi}$
$endgroup$
– user8358234
Jan 24 at 17:58












$begingroup$
@user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
$endgroup$
– Shubham Johri
Jan 24 at 18:03




$begingroup$
@user8358234 You can't get $P$ in the denominator. It is dimensionally incorrect
$endgroup$
– Shubham Johri
Jan 24 at 18:03


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3086131%2fhow-can-i-maximize-the-area-of-a-rectangular-base-and-semicircular-top-when-peri%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

MongoDB - Not Authorized To Execute Command

How to fix TextFormField cause rebuild widget in Flutter

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith