Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2013 April 19

From Wikipedia, the free encyclopedia
Mathematics desk
< April 18 << Mar | April | May >> April 20 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


April 19

[edit]

Factorial and self-power

[edit]

Are f(x) = xx and g(x) = x! Π(x) related by transformations? They appear rather similar to me as shown in the image (image removed for space) Plots of xx and x!. . Pokajanje|Talk 01:06, 19 April 2013 (UTC)[reply]

They are related by Stirling's approximation: . Looie496 (talk) 01:45, 19 April 2013 (UTC)[reply]
Note, however, that f(x) is a continuous function for positive reals x but g(x) is only defined for non-negative integers. Extensions of n! to non-integer values is possible, but your image of y = g(x) should really show only discrete points (0, 1), (1, 1), (2, 2), (3, 6), (4, 24), etc. EdChem (talk) 07:22, 19 April 2013 (UTC)[reply]
Blame GeoGebra. Pokajanje|Talk 15:06, 19 April 2013 (UTC)[reply]
(ec) Or, alternatively, keep the curve and change the label to Π(x) or Γ(x+1). Double sharp (talk) 15:12, 19 April 2013 (UTC)[reply]

Continuing on the topic of xx, why is it that graphing software plots no values for x < 0? The rule is that xx ∉ ℝ only if x < 0 and Pokajanje|Talk 02:48, 24 April 2013 (UTC)[reply]

I guess that is computed by xx = ex log(x), and the logarithm is imaginary for negative reals. Bo Jacoby (talk) 09:31, 24 April 2013 (UTC).[reply]
Testing a few values, I'm guessing the graph below 0 would look like a sinusoidal wave that gradually became horizontally compressed (e.g. -1-1 = -1, ).

Minimising

[edit]

If I want to optimise a process so that two (positive) observed numbers, say a and b, are both as small as possible, does it make most sense to minimise a^2 + b^2? — Preceding unsigned comment added by 86.171.43.198 (talk) 23:27, 19 April 2013 (UTC)[reply]

We'd need a lot more info. For example, if "a" varies from 1-2, and "b" varies from 1000-2000, then your method would basically just minimize "b" and ignore "a". Also, are "a" and "b" equally important, or is minimizing one more important than the other ? Let me come up with a formula, if we say that "b" is "n" times as import to minimize (we also need to know the minimum and maximum values of each):
[a/(amin+amax)] + [n*b/(bmin + bmax)]
If you don't know the minimum and maximum values, but do know the averages, you can substitute those in, instead. (You will note that I didn't divide by 2 when figuring the average of the min and max, since it "cancels out" when doing minimization).
Of course, this is just one way to do it. You might decide that "b" can absolutely never be allowed to go over "x", for example, which would then require a tweak to the formula.
Ideally, you would be able to combine "a" and "b" into a single factor "c", and then minimize for it. For example, if "a" is miles driven by delivery trucks, and "b" is amount of overtime paid, you could determine how much each of those cost your company, and combine both in a formula to get the total cost "c", as a function of "a" and b", then minimize for that. But, if there's no way to combine them together like this, then my previous answer is the best you can do. StuRat (talk) 23:33, 19 April 2013 (UTC)[reply]
They are equally important and of equal expected magnitude / range of magnitudes. 86.171.43.198 (talk) 00:25, 20 April 2013 (UTC)[reply]
Have a look at Multi-objective optimization there are many different techniques including No-preference methods which includes minimising (a norm), (a norm) or (a norm). --Salix (talk): 03:25, 20 April 2013 (UTC)[reply]