Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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|improve this question
add comment

1 Answer

up vote 1 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|improve this answer
add comment

Your Answer

 
discard

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.