Max & Min Problem: Find Two Positive Numbers

  • Thread starter Thread starter scorpa
  • Start date Start date
  • Tags Tags
    Max
Click For Summary

Homework Help Overview

The problem involves finding two positive numbers whose sum is 18, with the goal of maximizing the product of the first number and the square of the second. Participants are discussing their approaches to deriving the necessary equations and finding critical points for maximization.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster attempts to derive the product function and its derivative but encounters difficulties in factoring the first derivative. Some participants suggest using the quadratic formula and simplifying the derivative, while others discuss the implications of their findings regarding maximum and minimum values.

Discussion Status

Participants are actively engaging with the problem, with some providing guidance on simplification and factoring. There is a recognition of the need to verify results through the second derivative test, and multiple interpretations of the derivative's factors are being explored.

Contextual Notes

There is a focus on ensuring the numbers remain positive, and participants are reflecting on the implications of their calculations and assumptions about the problem setup.

scorpa
Messages
367
Reaction score
1
Hello Everyone,

I am having trouble with a maximum problem and I'm not quite sure where I am going wrong so I will type of the problem and what I have done so far.

Find two positive numbers whose sum is 18 and the product of the first number and the square of the other is a maximum.

Here is what I've done so far:

x + y = 18 ---> y = 18 - x

xy^2=P

P = x(18-x)^2
P = x(324 - 36x + x^2)
P= x^3 - 36x^2 + 324X

To find where there is a maximum I found the first derivative of the equation above:

dP/dx = 3x^2 - 72x + 324

This is where I'm stuck, I know I want to make the first derivative equal to zero so I can find the values for the maximum, and verify my answer using the second derivative, but the first derivative cannot be factored. I must be doing something terribly wrong. The first time I did it I got x = 18 and y = 0 which cannot be right, to get that answer I took out a common x value in the equation P equation, but when I did the second derivative test it showed that the answer was actually a minimum. If anyone could give me some direction here I would really appreciate it.
 
Physics news on Phys.org
It doesn't need to be factorable, worst come to worst, you can use the quadratic formula.

Also dP/dx does simplify.

[tex](18-x)^2 - 2x(18-x) = (18-x)(18-x-2x) = (18-x)(18-3x)[/tex]
 
Ok turns out I'm mighty dumb...lol.

so dP/dx= (x-18)(x-6) = 0
therefore x can equal 18 or 6
when you take the second derivative the only number that equals a maximum is 6, so the two numbers are x = 6 and y = 12.

I think that is right now.
 
so dP/dx= (x-18)(x-6) = 0

This doesn't equal [itex]3x^2 - 72x + 324[/itex]
 
Actually it does, since 3, 72, and 324 are all divisible by three the polynomial can be simplified to x^2 -24x + 108 which can be factored to be (x -18)(x -6)
 
But you still have to tag a 3 on there.. expand your factors.. you get x^2-24x+108, which is 3 times less than the original polynomial.

When you solve for x you can eliminate it though, which is what I think ur doing.
 
Oh right, my bad. Just the sort of thing I'd get on a students case about writing, I'm such a hypocrite. :(
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
Replies
1
Views
2K
  • · Replies 19 ·
Replies
19
Views
3K
  • · Replies 11 ·
Replies
11
Views
1K
  • · Replies 22 ·
Replies
22
Views
5K
  • · Replies 3 ·
Replies
3
Views
1K
Replies
9
Views
2K
Replies
7
Views
1K
Replies
43
Views
5K
Replies
17
Views
7K