Linearizing Data to Fit an Equation - A Homework Guide

  • Thread starter Thread starter rootX
  • Start date Start date
  • Tags Tags
    Data
rootX
Messages
478
Reaction score
4

Homework Statement


(Data fittings)

for y = D/(x+C)
my book do:
y = (-1/C) *(xy) + (D/C)
I do:
1/y = (1/D)*x + C/D

so using y=Y and X = xy
book finds A and B in Ax+b =y
so, finds an equation that fits the data

It hints that my way is absurd. I really couldn't get what's wrong with using 1/y = ..

Homework Equations





The Attempt at a Solution

 
Physics news on Phys.org
What exactly are you trying to do? Your formula is not absurd: if y= D/(x+C) then
1/y= (x+C)/D= (1/D)*x+ C/D. y= (-1/C)*(xy)+ (D/C) is also true. Which of those true statements works for whatever you are trying to do, depends on what you are trying to do! And you haven't told us what that is!
 
here's the question:
x, y
1,2
2,5
3,10
4,17
5,26

when using X = xy and Y = 1/y for y = D/(x+C) the least square fit is
y = -17.719403/(x-5.476617)

and when using X = x and Y = 1/y the least square fit is:
y = 1/(-0.106253x+0.4987330)

Determine which fit is best and Why one of the solutions is completely absurd

Since, the book has provided us the formula in the text, so it should be obvious that other one is absurd. I plotted both, and found the first one fits more accurately.
 
RootX - did you really plot out the results using the un-transformed equations? Plot out the original form using the C and D results from the first transformed model. I think you'll see something.

After that, to answer the 'absurd' question; what can you say about linear regression and the [hint] independent variables?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top