Application of a derivative

dbag

New member
Joined
Jun 4, 2019
Messages
39
Problem statement: Product's storing costs depend on the amount of product ordered and that is represented by a function K(x)=(30000/x)+5x. What is the optimal amount of product ordered in order to minimize costs. Find out by determining the min of that function using derivation.

Solution: Taking a derivative of the function i get (-30000/x^2)+5. Making the derivative equal 0 and solving for x gives me an answer of 20sqrt(15) and then plugging that back into the k(x) function i get an answer of 775 units of product. Am i right?
Thanks
 
[MATH]K(x) = \dfrac{30000}{x} + 5x = 30000x^{-1} + 5x \implies K'(x) = - \ 30000x^{-2} + 5 = -\ \dfrac{30000}{x^2} + 5.[/MATH]
Your differentiation is perfect.

[MATH]K'(x) = 0 \implies -\ \dfrac{30000}{x^2} + 5 = 0 \implies x^2 = \dfrac{30000}{5} = 6000 \implies[/MATH]
[MATH]x = \sqrt{6000} = \sqrt{400 * 15} = 20\sqrt{15}.[/MATH]
Your algebra was fine, and you were correct to ignore the negative root because a negative number makes no sense in the context of this problem.

Is that the exact and complete statement of the exercise? I ask because the answer shown above is not practically feasible. The practical answer must be an integer, not an irrational number. Of course, the exercise may not be looking for a practical answer. In the idealized world of mathemacs, the [MATH]20\sqrt{15}[/MATH] is perfectly acceptable.

Finally, what does K(x) represent? How is that relevant to the question asked?
 
K(x) represents costs to warehouse said units of the product. Problem statements is a literal translation to English. I dont speak English natively so it might look weird.
 
No, it does not look weird. I asked my question for two reasons. The first is that the correct answer of [MATH]20\sqrt{15}[/MATH] is not relevant to the real world, and I wondered whether an idealized or practical answer was wanted. I would not assign an exercise where the ideal and feasible differed without providing a clue as to which is required.

My second reason has to do with the question at the end of my first post that you did not answer. What is the relevance of cost to the question asked? Does it ask about cost or quantity?
 
[MATH]K(x) = \dfrac{30000}{x} + 5x = 30000x^{-1} + 5x \implies K'(x) = - \ 30000x^{-2} + 5 = -\ \dfrac{30000}{x^2} + 5.[/MATH]
Your differentiation is perfect.

[MATH]K'(x) = 0 \implies -\ \dfrac{30000}{x^2} + 5 = 0 \implies x^2 = \dfrac{30000}{5} = 6000 \implies[/MATH]
[MATH]x = \sqrt{6000} = \sqrt{400 * 15} = 20\sqrt{15}.[/MATH]
Your algebra was fine, and you were correct to ignore the negative root because a negative number makes no sense in the context of this problem.

Is that the exact and complete statement of the exercise? I ask because the answer shown above is not practically feasible. The practical answer must be an integer, not an irrational number. Of course, the exercise may not be looking for a practical answer. In the idealized world of mathemacs, the [MATH]20\sqrt{15}[/MATH] is perfectly acceptable.

Finally, what does K(x) represent? How is that relevant to the question asked?
The answer 20√(15) could be correct and practical. Assuming everything is correct, we know:

77 < 20√(15) < 78

Now evaluate K(x) at 77 and 78 and report the lower number (minimum cost).
 
Relevance of cost in in of itself is not important, it just asks to optimize the amount of product to warehouse, so quantity.
 
Relevance of cost in in of itself is not important, it just asks to optimize the amount of product to warehouse, so quantity.
Well if cost is not relevant (and the question as worded does not ask about the cost) why in the world would you give as an answer 775, which is what you got by evaluating the cost function?
 
i have made a mistake. Cost indeed is not relevant, but the function K(x) represents the quantity of product. sorry bout that, i should have re-read my original post before commenting.
 
The answer 20√(15) could be correct and practical. Assuming everything is correct, we know:

77 < 20√(15) < 78

Now evaluate K(x) at 77 and 78 and report the lower number (minimum cost).
My dear SK.

You are missing my point. If the instructor is a pure mathematician, the answer of 77 (or 78) will be marked as incorrect. If the instructor is teaching a course in inventory management, the answer of [MATH]20\sqrt{15}[/MATH] will be marked as incorrect.

When a problem pretends to be a real world type of problem and the mathematical answer is not realizable in the real world, the problem ought to indicate which type of answer is required.

I did not mean to imply that the mathematically correct answer cannot be used to find the practically correct answer. You can of course do exactly as you say if that is what the teacher expects.
 
teacher is neither a pure mathematician nor an inventory manager. Believe it or not but i would get points for both of those answers if they are right. There are no requirements for how i am supposed to give the answer but rather just get to one.
 
i have made a mistake. Cost indeed is not relevant, but the function K(x) represents the quantity of product. sorry bout that, i should have re-read my original post before commenting.
Well now I am very confused. You are asked to minimize cost, but K(x) is not the cost function. Then why did we differentiate it?
 
teacher is neither a pure mathematician nor an inventory manager. Believe it or not but i would get points for both of those answers if they are right. There are no requirements for how i am supposed to give the answer but rather just get to one.
Well in that case I would use SK's method and answer with 77 or 78, whichever gave the minimum cost. Of course, based on the latest explanation, we don't have a cost function so the question is not answerable.
 
The reason why i asked help for this question was exactly a similar type of confusion, but the answer 77, 78 is what i also got, so im going with that.
Thanks for your time very much
 
Problem statement: Product's storing costs depend on the amount of product ordered and that is represented by a function K(x)=(30000/x)+5x. What is the optimal amount of product ordered in order to minimize costs. Find out by determining the min of that function using derivation.

Solution: Taking a derivative of the function i get (-30000/x^2)+5. Making the derivative equal 0 and solving for x gives me an answer of 20sqrt(15) and then plugging that back into the k(x) function i get an answer of 775 units of product. Am i right?
Thanks
I think some ideas got confused in the course of discussion. Let me make some suggestions.

First, the problem really should have been clearer about some details. Here is what I might expect it to say (making some assumptions):

A product's storage cost depends on the amount of product ordered and is given by the function K(x)=(30000/x)+5x, where x is the quantity of product (in kilograms), and K is the cost of storing that quantity. What is the optimal amount of product ordered in order to minimize cost (to the nearest tenth of a kilogram)? Find out by determining the minimum of that function using the derivative.​

Note a couple things. Others have assumed the quantity must be an integer, because it is a number of items. I've supposed it is measured in some continuous unit (an amount of product rather than a number of products), which would change things. (I suspect that in the original language this might have been clearer.) Also, the problem as you stated it didn't define the variables; that's a bad thing. I've made it clearer both that x is the amount of product and that K is the cost for that entire amount, not per kilogram or per item (as is done in some problems of this sort). That ambiguity hasn't been mentioned yet. Finally, if it isn't clear that x is an integer from its definition, something should be said about the form required; on my supposition, it's necessary.

In post #3, you added, "K(x) represents costs to warehouse said units of the product." Assuming this was either stated or clearly implied in the problem, it suggests that my supposition above is wrong, and x is in fact (as everyone has assumed) a discrete number of items. So let's rewrite the problem that way. (I made the opposite assumption entirely for the sake of showing the issue!)

A product's storage cost depends on the number of items ordered and is given by the function K(x)=(30000/x)+5x, where x is the quantity of product, and K is the cost of storing that quantity. What is the optimal amount of product ordered in order to minimize cost? Find out by determining the minimum of that function using the derivative.​

In this case, the answer should be a specific integer; you would round up or down and see which produces the lower cost.

Finally, you stated at the end, "plugging that back into the k(x) function i get an answer of 775 units of product". I hope you see by now that that would be wrong if K(x) gives the cost; you were asked for the quantity, x, not K(x). But then in post #8 you said, "I have made a mistake. Cost indeed is not relevant, but the function K(x) represents the quantity of product. sorry bout that, I should have re-read my original post before commenting." I think you said this because of a misunderstanding of the questions being asked. The problem clearly says that K(x) gives the cost, and surely implies that x is the quantity. Cost is not irrelevant (being what is to be minimized), but it is not what is asked for. (Unless perhaps you didn't translate that part of the problem correctly.)

I hope things are clear now. Putting both 77 and 78 into the function, we find that K(77) = 774.61039 and K(78) = 774.61538, so 78 is technically the correct answer, but, indeed, it would be wrong to count 77 as incorrect, with such a tiny difference.
 
I like everything you had to say above except I note that kilograms are not continuous in a physical sense. The real world problem of what to do with an irrational answer still remains. Of course you addressed that with your "to the nearest tenth," which obviates the problem entirely. As I said to Subhotosh, my problem was with the wording of the problem; an exercise should be clear in what is expected.
 
Top