Among all pairs of numbers (x, y) such that 2x + y = 20, find the pair for which the sum of the squares is a minimum.
I believe the sum of squares is a minimum when x=8 and y=4, if someone would check my work. Not 100% sure.
let the sum of the squares be...\[S = x ^{2}+y ^{2}\]
for all pairs of numbers (x,y), using original equation and solve for y... \[y=20-2x\]
substitute y in our equation for S...\[S=x ^{2}+(20-2x)^{2}\]
simplifying S will lead to...\[S=x ^{2}-40x+200\]
getting the first derivative for minimum sum of squares...\[\frac{ dS }{dx }=2x-40\]
let dS/dx = 0 for minimum... we can solve for x... 0 = 2x - 40 2x = 40 x = 20
Oh I FOIL'd incorrectly. So could you plug in x = 20 into the original equation? \[y = 20 - 2 \times 20\]
y = -20, so the pair of numbers is (20, -20) ?
yup...
thanks again! Just so you know, I am taking college algebra so instead of using the first derivative I plugged in the quadratic formula (minus the discriminant) into \[- \frac{ b }{ 2 \times a}\] which gives me the x value as well.
actually we were taught i remember using delta S/delta x before during my college days but not yet calculus... i forgot the steps involved..
ah okay, well it cant hurt for me to know the calculus way of doing it too. thanks again, I learned alot.
thanks also... maybe i'll be out for the meantime... nice chatting with you... :)
have a good one :)
Join our real-time social learning platform and learn together with your friends!