SOLUTION: Among all pairs of numbers (x,y) such that 4x+y=18, find the pair for which the sum of squares, x2+y2, is minimum. Write your answers as fractions reduced to lowest terms.

Algebra ->  Functions -> SOLUTION: Among all pairs of numbers (x,y) such that 4x+y=18, find the pair for which the sum of squares, x2+y2, is minimum. Write your answers as fractions reduced to lowest terms.      Log On


   



Question 1125614: Among all pairs of numbers (x,y) such that 4x+y=18, find the pair for which the sum of squares, x2+y2, is minimum. Write your answers as fractions reduced to lowest terms.
Found 2 solutions by jim_thompson5910, ikleyn:
Answer by jim_thompson5910(35256) About Me  (Show Source):
You can put this solution on YOUR website!

Solve +4x%2By=18 for y

+4x%2By=18

+4x%2By-4x=18-4x Subtract 4x from both sides

+y=18-4x

+y=-4x%2B18

--------------------------------------

Now plug this into the function

z+=+x%5E2%2By%5E2

z+=+x%5E2%2B%28y%29%5E2

z+=+x%5E2%2B%28-4x%2B18%29%5E2 Notice how y is replaced with -4x+18

z+=+x%5E2%2B%28-4x%2B18%29%28-4x%2B18%29 Expand

z+=+x%5E2%2B16x%5E2-144x%2B324 FOIL

z+=+17x%5E2-144x%2B324 Combine like terms

--------------------------------------

The goal is to minimize z, so we want to find the smallest z value for some input x

The equation z+=+17x%5E2-144x%2B324 is in the form z+=+ax%5E2%2Bbx%2Bc with a = 17, b = -144, c = 324

The x coordinate of the vertex is h+=+-b%2F%282a%29. Let's plug in the values for a and b.

h+=+-b%2F%282a%29

h+=+-%28-144%29%2F%282%2A17%29

h+=+144%2F34

h+=+72%2F17

This is the x value that makes z the smallest. So x+=+72%2F17 which leads to

y+=+-4x%2B18

y+=+-4%2872%2F17%29%2B18

y+=+-288%2F17%2B18

y+=+-288%2F17%2B306%2F17

y+=+%28-288%2B306%29%2F17

y+=+18%2F17

--------------------------------------
--------------------------------------

So the final answer is that x+=+72%2F17 and y+=+18%2F17. This pair of values makes z+=+x%5E2%2By%5E2 the smallest possible, ie a minimum.

Answer by ikleyn(52803) About Me  (Show Source):
You can put this solution on YOUR website!
.
They want you find the minimum of this quadratic function


    f(x) = x%5E2 + %2818-4x%29%5E2 = x%5E2+%2B+324+-+144x+%2B+16x%5E2 = 17x%5E2+-+144x+%2B+324.


For the general form of a quadratic function  y = ax^2 + bx + c  the minimum is achieved at  x = -b%2F%282a%29.


In your case the minimum is at  x= -+%28-144%29%2F%282%2A17%29 = 72%2F17.


The pair under the question is  x = 72%2F17,  y = 18+-+4%2A%2872%2F17%29 = 18%2F17.

Solved.