Finding the maximum value given an interval

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 12K views
PandaherO
Messages
10
Reaction score
0

Homework Statement



If a and b are positive numbers, find the maximum value of f(x) = x^a(1 - x)^b on the interval 0 ≤ x ≤ 1.?

Homework Equations



f'(x) = x^a . -b(1-x)^(b-1) + (1-x)^b . ax^(a-1)

The Attempt at a Solution



I know to set f'(x) = 0 but I'm not sure how I'm supposed to tidy up the f'(x) above..
 
Physics news on Phys.org
PandaherO said:

Homework Statement



If a and b are positive numbers, find the maximum value of f(x) = x^a(1 - x)^b on the interval 0 ≤ x ≤ 1.?

Homework Equations



f'(x) = x^a . -b(1-x)^(b-1) + (1-x)^b . ax^(a-1)

Set f '(x) equal to zero.

xa b(1-x)(b-1) + (1-x)b ax(a-1) = 0

Now factor out (x(a-1) (1-x)(b-1)).

There is one solution in addition to the two mentioned by I like Serena.
 
the question also gave a hint that my maximum value may depend on a and b

so (x^(a-1) (1-x)^(b-1)) (a(1-x)+bx) =0

then do I set (a(1-x)+bx)=0?
and solve for x?

i got x=a/(a-b) and it isn't the correct answer...
 
You made a typo with a minus sign, giving you the wrong result.

Furthermore, if I read your problem correctly, it asks for the maximum value, not the x-coordinate of the maximum value.

You have 3 solutions: x=0, x=1, and this one.
You should substitute those and pick the greatest for the maximum value.
 
I like Serena said:
You made a typo with a minus sign, giving you the wrong result.

Furthermore, if I read your problem correctly, it asks for the maximum value, not the x-coordinate of the maximum value.

You have 3 solutions: x=0, x=1, and this one.
You should substitute those and pick the greatest for the maximum value.

OHH no wonder...*facepalms myself* the minus sign... and yea, the problem wanted the x and y coordinate)
Thank you so much owo