How to modify a power function?

  • Thread starter Thread starter SHRock
  • Start date Start date
  • Tags Tags
    Function Power
Click For Summary
To modify a power function given two ordered pairs, substitute the points into the equation y = ax^b to create two equations. This results in two unknowns, a and b, which can be solved by dividing the equations to isolate b. Once b is determined, substitute it back into one of the original equations to find a. If multiple pairs yield slightly different values for a and b, averaging those values may be appropriate to account for experimental error. Utilizing nonlinear regression techniques can also assist in refining the estimates for a and b.
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.
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
Replies
8
Views
2K
Replies
26
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
2
Views
1K
Replies
1
Views
2K