View Full Version : Some math help please
EvilPony
Oct26-04, 09:36 AM
Find two numbers whose difference is 30 and whose product is a minimum. :confused:
James R
Oct26-04, 10:02 AM
Let's say the numbers are x and y.
Then
x - y = 30
and we want the minimum value of P = xy
There are lots of ways you could do this (e.g. Lagrange multipliers,...) but the simplest way is substitution:
y = x - 30
so
P = x(x - 30) = x<sup>2</sup> - 30x
To find the minimum value of P, differentiate:
dP/dx = 2x - 30 = 0
Therefore x = 15 and y = -15
EvilPony
Oct26-04, 10:06 AM
Thank you very much James.
EvilPony
Oct26-04, 10:26 AM
ok ran into some trouble on a similiar problem.
Find two non-negative numbers whose sum is 60 and whose product is a max.
I did the following
x-y = 60
xy = m
y = x - 60
m = x(x-60)
m = x^2 - 60x
m' = 2x - 60
x = 30 , y = -30
but y cant be negative...so? :confused:
arildno
Oct26-04, 12:41 PM
But:
You should have
x+y=60 xy(max.)
Not x-y!!
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.