How to modify a power function?

  • Thread starter Thread starter SHRock
  • Start date Start date
  • Tags Tags
    Function Power
SHRock
Messages
8
Reaction score
0

Homework Statement



Let's say I have 2 ordered pairs. I want to find the the a and b in the function. How would I do that?

Homework Equations


y=ax^b


The Attempt at a Solution


y/a=x^b
b=log(y/a)/logx

But now I have 2 variables. How would I find those variables?
 
Physics news on Phys.org
SHRock said:

Homework Statement



Let's say I have 2 ordered pairs. I want to find the the a and b in the function. How would I do that?

Homework Equations


y=ax^b


The Attempt at a Solution


y/a=x^b
b=log(y/a)/logx

But now I have 2 variables. How would I find those variables?

Substitute the points you have into your equation. Then you will have two equations in the two unknowns, a and b.
 
Mark44 said:
Substitute the points you have into your equation. Then you will have two equations in the two unknowns, a and b.

Yeah but the problem is I don't know how to reduce that.

Let's say I pick 2 points

(35,0.01)
(4.5,30)

so the functions will be

b=log(0.01/a)/log 35

b=log(30/a)log4.5
 
Let's go back to the original equation, y = axb

Using your points, we have
.01 = a * 35b
30 = a* 4.5b

Dividing the first equation by the second, we have
.01/30 = 35b/4.5b = (35/4.5)b

Can you solve that for b? Once you get b, then use either equation to find a.
 
Mark44 said:
Let's go back to the original equation, y = axb

Using your points, we have
.01 = a * 35b
30 = a* 4.5b

Dividing the first equation by the second, we have
.01/30 = 35b/4.5b = (35/4.5)b

Can you solve that for b? Once you get b, then use either equation to find a.

Oh ok thanks I get it. Now another little questions. Let's say if I do this for multiple ordered pairs. And a and b aren't always the same, but pretty close. Should get the average of those and plug it in as b? Because this is like a lab and error will occur.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top