"

 

Class Notes Precalculus I, 11/10/98

Linearizing Data


The quiz problem for today was to attempt to linearize the y vs. x data in the figure below, first by using the transformation y -> `sqrt(y) then by using the transformation y => log(y), and to compare the results of the two linearizations.

We first use the `sqrt(y) transformation, taking the square roots of all the y values to get the table at right in the figure below.

pc01.jpg

We next attempt to linearize linearize the data using the log function, and obtain the second table below.

pc02.jpg

We next sketch graphs of the two attempted linearizations, obtaining graphs something like those shown below (you should make your own graphs to see for yourself how their shapes are related to the tables, and particularly to the differences found on the two tables.

Having obtained the linear functions corresponding to each graph, we then solve each for y to obtain the y vs. x model.

pc03.jpg

Video file #01

http://youtu.be/I-ZpHL-fgMo

We finally compare our two models with the original data.

Note error in figure: Note that the last three residuals indicated for the (x + 2.5)2 model are labeled as positive. These residuals are negative, since the original y is in each case below that predicted by the model.

pc04.jpg

Video file #02

http://youtu.be/9ZzN8eNlGCc

Video file #03

http://youtu.be/clYmChnY1FY

We next observe that if we transform the function y = xp by taking the log of both sides, we obtain log y = p log x.

pc05.jpg

Had we applied the same transformation to the more general power function y = A xp, we would have obtained log(y) = p log(x) + log(A), as you should verify using the laws of logarithms.

Thus by transforming data corresponding to a power function by the transformation x -> log x and y -> log y, we will obtained a graph whose y intercept is log (A) and whose slope is p, for the model y = A xp.

 

In class we measured the period of a pendulum as a function of its length.

Taking the word of the instructor that physics ensures that this data should very accurately modeled by a power function of the form y = A xp, we then proceeded to transform both the length and the period data using the transformations length -> log (length) and period -> log (period). We obtained the values in the table below.

pc06.jpg

Video file #04

http://youtu.be/N2Ac6Os36bk

A sketch of the graph of the transformed data is shown below as a graph of log (period) vs. log (length).

pc10.jpg

Physics tells us that the period of the pendulum should be (`sqrt(length / 980) * 2 `pi) = `sqrt(length) * 2 `pi / `sqrt(980) = `sqrt(length) * 6.28 / 31.2 = .200 * length.5.

Video file #05

 

"