====== Differences ====== This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
gibson:teaching:spring-2018:math445:lecture:loglinear [2018/02/05 17:42] gibson created |
gibson:teaching:spring-2018:math445:lecture:loglinear [2018/02/05 17:44] (current) gibson |
||
---|---|---|---|
Line 4: | Line 4: | ||
^ plot command ^ functional relationship ^ | ^ plot command ^ functional relationship ^ | ||
| ''plot(x,y)'' ^ $y = mx + b$ ^ | | ''plot(x,y)'' ^ $y = mx + b$ ^ | ||
- | | ''semilogy(x,y)'' | $y = c \; 10^{mx}$ ^ | + | | ''semilogy(x,y)'' | $y = c \: 10^{mx}$ or $y = c \: e^{ax}$^ |
| ''semilogx(x,y)'' | $y = m \log x + b$ ^ | | ''semilogx(x,y)'' | $y = m \log x + b$ ^ | ||
- | | ''loglog(x,y)'' | $y = c x^m$ ^ | + | | ''loglog(x,y)'' | $y = c \: x^m$ ^ |
In lecture I will show (1) why each of these functional relationships appears as a straight line in the corresponding plot command and (2) how to estimate the values of the constants from a graph, in order to estimate $y(x)$ as an explicit function, given a few data points. | In lecture I will show (1) why each of these functional relationships appears as a straight line in the corresponding plot command and (2) how to estimate the values of the constants from a graph, in order to estimate $y(x)$ as an explicit function, given a few data points. | ||
You can derive these formulae from the log-linear relations instead of memorizing them. For example, you can derive $y = c \; 10^{mx}$ by exponentiating both sides of $\log y = m x + b$. | You can derive these formulae from the log-linear relations instead of memorizing them. For example, you can derive $y = c \; 10^{mx}$ by exponentiating both sides of $\log y = m x + b$. |