Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I have a starting and ending y value and know the range along the x-axis, how can I create a function that adheres to a power-law?

Ex: I want the function to start at (1, 10), end at (1000,0). Can one creata a simple power law function given two points as such?

share|cite|improve this question
up vote 2 down vote accepted

well, power law functions look like $y=ax^k+b$ that's three variables ($a,k,b$) and you didn't specify any of them. But, you specified $y=0$ , which leads to $b=-a\times1000^k$ and also $10 = a-a\times1000^k$, $$\log_{1000}(1-{10\over a}) = k$$

So you can pick any $a > 10$, $b = 10 - a$ and see $k$ above.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.