r/MathHelp • u/ArcticParadox • Nov 26 '20
Find two numbers, that when substracted from one another, the result is 5, but when they are multiplied, you get the smallest result possible.
I tried solving this, and came to the answer of 2 and -3, since 2 - (-3 ) = 5 and 2 * (-3) = -6.
Maybe someone can come up with a different answer, where the result in multiplication is smaller?
1
2
u/big_red_b Nov 26 '20
We have x - y = 5 and we want to minimize x * y given the first equation. We can rewrite x in terms of y as x = y + 5. This gives us a product of (y+5) * y.
From here we can try to find the minimum of y2 + 5y. If you aren't familiar with calculus, you can use the fact that the parabola's minimum or maximum occurs when y = -b/(2a) = -5/2.
Now that you have y it should be simple to find x.
1
u/AutoModerator Nov 26 '20
Reminder:
What have you tried so far? (See Rule #2)
Please don't delete your post. (See Rule #7)
We, the moderators of /r/MathHelp, appreciate that your question contributes to the MathHelp archived questions that will help others searching for similar answers in the future. Thank you for obeying these instructions.
(Note that this is an automatic message posted on every submission by default.)
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/fermat1432 Nov 27 '20
Are you studying quadratic functions at the moment? This problem can be solved agebraically by locating the vertex of the quadratic function f(x)=x(x+5)
2
Nov 26 '20
[removed] — view removed comment
2
u/edderiofer Nov 26 '20
Your comment has been removed because giving out full solutions is not allowed. (See sidebar, rule #2 under "Rules for Answering".)
4
u/Adam0307 Nov 26 '20
You're trying to find the minimum value of x*y such that x-y = 5. This can be solved using Lagrange multipliers: the Lagrangian is L(x,y,z) = x*y - z*(x-y-5), which has minima when dL/dx = dL/dy = dL/dz = 0. We thus have y-z=0, x+z=0, x-y=5, which gives z=y=-x and thus x=2.5, y=-2.5.