Finding coefficients from equation

  • Thread starter Thread starter bossler
  • Start date Start date
  • Tags Tags
    Coefficients
AI Thread Summary
The discussion revolves around estimating coefficients a and b from the equation y = ax^b using provided data points. The approach suggested involves using logarithms to transform the equation into a linear form, allowing for the application of least squares to estimate the coefficients. It is noted that the problem requires estimation rather than exact values, and that using multiple data points may complicate finding a single solution for a and b. The participants emphasize the importance of using logarithmic transformations to simplify the calculations. Ultimately, the original poster successfully determined the coefficients both algebraically and with a calculator.
bossler
Messages
8
Reaction score
0
Hello,
I am stuck on a math problem for one of my engineering courses which seems fairly straight forward, but I have had little success with. The problem reads as follows:
The following data has the form y=ax^b. Estimate the coefficients a+b.
Given data:
Y X
1: (0.0014) (0.5)
2: (0.0251) (2)
3: (0.153) (5)
4: (0.6371) (10)

What I was trying to do was plug in the first set of values and solve the equation for one coefficient in terms of the other. Then I would take the second set of data and plug my answer in, giving me like terms. If someone could explain to me the process of solving this equation I would really appreciate it
Thanks
 
Physics news on Phys.org
Log y = Log a + b Log x

Use least squares to estimate Log a and b.
 
The problem does not ask you to FIND the coefficients, it asks you to ESTIMATE them. Putting x and y equal to each pair of given numbers into y= axb gives you an equation for a and b. You should only need two equations but you have four and probably can't find a single a and b that will satisfy all four.

From the "extreme" pairs, 0.0014= a (0.5)b and .6731= a 10b. Dividing the second by the first eliminates a: .6731/.0014= 0.5b/10b which is the same as 480= (1/20)b= 20-b. As EnumaElish said, you will need to use logarithms to solve that.

(Thanks to TheoMcCloskey for noting my error. I had started to use the first two points and didn't complete change when I decided to use first and last.)
 
Last edited by a moderator:
Hall's - I think you better review your response - it needs some corrections.
 
Thank you for the help. I was able to determine the answer both algebraically and on my calculator
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top