r/HomeworkHelp • Secondary School Student • Aug 18 '26

Answered [Year 11 calculus] Help with this question

Post image

I could only find an approximate answer (2.6 something) using a slider and guess the value as e but I’m not sure how to actually work out the question. please help thanks! :)

15 Upvotes

106 comments sorted by

View all comments

Show parent comment

1

u/Curious_Function_457 Aug 18 '26

I think we are arguing whether or not the question asks for a minimizing n. It simply states as fact there is an n such that f is minimum on the x axis. I read that as equivalent to finding a minimizing n and so dg/dn = 0 is the constraint. This differs from the current approach of setting dg/dx =0. How would you solve it?

2

u/Ok_Objective_5192 Aug 18 '26 edited Aug 18 '26

Yeah, I'm still not sure where this idea of a "minimizing n" comes from. The question as I read/would solve it is just insisting there is a local minimum at some x s.t. the minimum falls on the x-axis and asks what n must be. I would solve it the same way u/AppropriateCar2261 solved it in the parent comment for this thread.

They use:

the definition of f(x) = n^x - x^n

the definition of local minimum for a function in R^2 (x s.t. f'(x) = 0 and f''(x) > 0)

and the assumption, from the problem, that the minimum will fall on the x-axis (the x s.t. f'(x) = 0 and f''(x) > 0 also implies f(x) = 0). They then used this series of equalities f(x) = f'(x) = 0 to methodically work through to solve for n. At no point do they define g(x, n) or search for dg/dn = 0 because that's not required to meet the criteria for the question.

Their solution is that n = e, meaning that we should be able to plug that back into the original equation and get f(x) = e^x - x^e and for this to be a valid solution there needs to be a local minimum s.t. f'(x) = 0, f''(x) >0, and f(x) = 0. So we can solve through to verify their answer.

f(x) = e^x - x^e = 0 implies e^x = x^e

f'(x) = e^x - ex^(e-1)

substituting e^x for x^e gives f'(x) = x^e - ex^(e-1)

factoring gives f'(x) = x^(e-1)(x - e)

We know our local minimum will have f'(x) = 0 so 0 = x^(e-1)(x-e)

This implies x^(e-1) = 0 and/or (x-e) = 0. Trivially this means either x = 0 or x = e

We quickly see x = 0 doesn't satisfy the necessity of the minimum being on the x-axis (f(0) = e^0 - 0^e = 1), so our solution should be x = e.

We test our criteria, is f(e) on the x-axis? f(e) = e^e - e^e = 0; so it is on the x-axis

is f'(e) = 0? f'(e) = e^e - e(e^e-1) = e^e - e^e = 0; so it's a local minimum, maximum, or inflection point.

is f''(e) > 0? f''(x) = e^x - e(e-1)x^(e-2) = e^x - (e^2 - e)x^(e-2)

so f''(e) = e^e - (e^2 - e)e^(e-2) > 0

e^e > (e^2 - e)e^(e-2)

divide through by e^(e-2)

e^2 > e^2 - e, which is clearly true, so we do have f''(e) > 0

So we have f(e) is a local minimum which is on the x-axis when n = e. Therefore n = e satisfies the original question and is therefore correct, without invoking any g(x, n)

ETA: I made a graph in Desmos that may help elucidate things. It's just a graph of y = n^x - x^n with a slider for n. Since the original problem is asserting that there exists a minimum that falls on the x-axis, the only valid value(s) of n are where the resulting function has a minimum that falls on the x-axis. If you move the n-slider around you can see that only one value of n (e) creates a graph of f(x) where this holds true.

Therefore, in the original problem is has to be true that f(x) = e^x - x^e, because no other value of n allows for a local minimum on the x-axis, n is just being used to obscure the value so that there's something to solve for.