Monday, November 24, 2008

4.3: Least Squares

Main Points.

It is possible that one coordinated is not proportional to another, but is very nearly so. Some multiple m will bring a very close value. The vector mx is as close to y as possible  The residual vector r is the distance btwn the tips of those two vectors. The better value of m, the smaller r will be because if mx was to equal y, r would be zero. By taking the dot product, r can be determined.
Data points often show a linear tendency put do not often lie on one single line, or are products of one another. All points can be expressed in three vectors where u contains the x coords, v the   y-intercepts, and s the y coords. The best fit line is the linear combo of u and v that gives s where u and v are multiplied by multiple m, plus r, to make up for the distance btwn that line and s. The fundamental problem of linear modeling is to find a linear combo of vectors that are as close to vector b as possible, with each vector multiplied by a multiple x, and all added to perpendicular vector r, which would ideally be zero. Then, b is in the span of the u vectors.

Conflicts.

Because a line can be drawn through any two points, doesn't that make the two points proportional to each other?

Reflection.
 Because the two vectors meet at the origin, the further they get the farther they are from each other. Therefore this concept seems very similar to local linear approximations. 
This concept seems very relevant because almost always when using data, the points don't fall on one line, making a best fit line necessary.

Monday, November 17, 2008

Main Points.
Linear Combinations is the when there is vector addition and scalar multiplication done simultaneously. When given three vectors, there are multiple ways to determine what operation must be performed on the first two to equal the third. It can be done graphically, or algebraically where x and y represent the unknown, the multiples. 
A system of equations can be points interpreted where you determine at which point the two eqns intersect. In vector interpretation, you determine which multiples are needed to produce a certain vector from two others.
Vectors can be drawn in higher dimensions, with R^3 being 3-D. Matrices are boxes of numbers, with their own special notation, with dimensions m by n. 
The span of vectors are all vectors that can be produced from those vectors via linear combos.
Linear dependency is determined by whether any vectors from the span, is a span from any vectors from that same span.
All vectors in the span of a span or list make up a subpace. The subpace's dimension is the smallest amount of vectos needed to make a subspace.
Reflection.
I don't really understand matrices but they seem to be a much more efficient way of keeping track of and adding or multiplying points then always writing out the vectors. I believe they are important for coding where numbers are used to represent letters and the given multiplier serves as the "key" for the code.

Conflicts.
I don't get linear combos because scalers and vectors are tow different things. I don't understand multiplying the matrices, the numbers seemed to be coming out of nowhere. 

Monday, November 10, 2008

10.7 modeling disease

Main Points
Modeling the spread of disease requires 3 variables S, the # of ppl who can become sick, I, the number that are sick, and R, the number of ppl who have been sick but can't become again. The model is important because it reveals the number of ppl that should be vaccinated, the amount of ppl that will be infected, and the time frame. All of this is important to monitor disease and save lives. As there are more sick, there are more "interactions" btwn I and S, which is proportional to S and I. The change in S over time is equal to the negative rate that members of S become I, which equals SI time a negative constant a. The change in the number of people sick euquals the rate ppl get sick minus the rate they are removed, because as the number of sick is dependent on S and R. The constants represent how quickly the disease spreads or how quickly ppl are removed. They must be constant because these quantities vary depending on disease or population, but are the same for each disease.
Challenges
Because the variables represent ppl from the same original population, i don't see why 3 different variables are needed. 
Reflections.
How are naturally immune people factored in?

Wednesday, November 5, 2008

10.6 modeling ant the interaction of two populations

Main points
To model the interaction btwn two different populations, 2 differential eqns are needed. In a predator-prey situation. the pops are both effect by the size of themself and each other.
A phrase plane is where the two varriables move with respect to a 3rd variable. The Phase trajectory is the path of a point
Challenges
If there are three variables, why can't a contour diagram be used? I don't understand how you actually graph or model the eqns.
Reflection
I think this is a very interesting topic. The idea that a graph can actually show motion, as opposed to just suggesting it (like how a straight line shows change over time), is really cool, almost 3-d. The models look like diagrams and are therefore easier to comprehend readily. 

Monday, November 3, 2008

Exponential growth and decay / Applications of ODE, equilibria, and stability

Main Points

The general solution to the differentional eqn dy/dt=ky is y=Ce^kt.  This is true becuase the deriv of e^t, and any multiple of it, is itself.  when k is positive there is growth, when negative there is decay. The graphs of these solutions are exponential curves with y intercepts that have the x axis as a horizontal asymptote. Population growth, continuously compounded interest, and other instances of growth/decay follow this model. 
An equilibrium solution holds true for all y values. The graph is therefore a horizontal line. They are found by setting deriv=0. The equilib func is stable when a small change of initail condions gives a solution that  stays close to the equilib as y gets increasingly bigger, but is unstable it veers from the equilib. Newton's law of heating and cooling state that a differently tempertured object will approach room temperature at a rate proportional to thier initial temp, therefore 2 diff temperatured objects will after a given period be very close in temp.

Challenges.

The text states that a solution is a function that is its own derivative. How is this so?

Reflection

Does Newton's law relate to the law of entropy?