The Method of Least Squares. Lectures INF2320 p. 1/80
|
|
|
- Dylan Miles
- 9 years ago
- Views:
Transcription
1 The Method of Least Squares Lectures INF2320 p. 1/80
2 Lectures INF2320 p. 2/80 The method of least squares We study the following problem: Given n points (t i,y i ) for i = 1,...,n in the (t,y)-plane. How can we determine a function p(t) such that p(t i ) y i, for i = 1,...,n? (1)
3 p(t) t Figure 1: A set of discrete data marked by small circles is approximated with a linear function p = p(t) represented by the solid line. Lectures INF2320 p. 3/80
4 p(t) t Figure 2: A set of discrete data marked by small circles is approximated with a quadratic function p = p(t) represented by the solid curve. Lectures INF2320 p. 4/80
5 Lectures INF2320 p. 5/80 The method of least square Above we saw a discrete data set being approximated by a continuous function We can also approximate continuous functions by simpler functions, see Figure 3 and Figure 4
6 Lectures INF2320 p. 6/ t Figure 3: A function y = y(t) and a linear approximation p = p(t).
7 Lectures INF2320 p. 7/ t Figure 4: A function y = y(t) and a quadratic approximation p = p(t).
8 Lectures INF2320 p. 8/80 World mean temperature deviations Calendar year Computational year Temperature deviation t i y i Table 1: The global annual mean temperature deviation measured in C for years
9 Figure 5: The global annual mean temperature deviation measurements for the period Lectures INF2320 p. 9/80
10 Lectures INF2320 p. /80 Approximating by a constant We will study how this set of data can be approximated by simple functions First, how can this data set be approximated by a constant function p(t) = α? The most obvious guess would be to choose α as the arithmetic average α = 1 We will study this guess in more detail y i = (2)
11 Lectures INF2320 p. 11/80 Approximating by a constant Assume that we want the solution to minimize the function F(α) = (α y i ) 2 (3) The function F measures a sort of deviation from α to the set of data (t i,y i ) We want to find the α that minimizes F(α), i.e. we want to find α such that F (α) = 0 We have F (α) = 2 (α y i ) (4)
12 Lectures INF2320 p. 12/80 Approximating by a constant This leads to or 2 α = 2 y i, (5) α = 1 which is the arithmetic average y i, (6)
13 Lectures INF2320 p. 13/ α*=0.312 Figure 6: A graph of F = F(α) given by (3).
14 Lectures INF2320 p. 14/80 Approximating by a constant Since F (α) = 2 1 = 20 > 0, (7) it follows that the arithmetic average is the minimizer for F We can say that the average value is the optimal constant approximating the global temperature This way of defining an optimal constant, where we minimize the sum of the square of the distances between the approximation and the data, is referred to as the method of least squares There are other ways to define an optimal constant
15 Lectures INF2320 p. 15/80 Approximating by a constant Define G(α) = (α y i ) 4 (8) G(α) also measures a sort of deviation from α to the data We have that G (α) = 4 (α y i ) 3 (9) And in order to minimize G we need to solve G (α) = 0, (and check that G (α) > 0)
16 Lectures INF2320 p. 16/80 Approximating by a constant Solving G (α) = 0 leads to a nonlinear equation that can be solved with the Newton iteration from the previous lecture We use Newton s method with initial approximation: α 0 = tolerance specified by: ε = 8 This gives α 0.345, in three iterations α is a minimum of G since G (α ) = 12 (α y i ) 2 > 0
17 Lectures INF2320 p. 17/ α*=0.345 Figure 7: A graph of G = G(α) given by (8).
18 Lectures INF2320 p. 18/ Figure 8: Two constant approximations of the global annual mean temperature deviation measurements from year 1991 to 2000.
19 Lectures INF2320 p. 19/80 Approximating by a linear function Now we will study how we can approximate the world mean temperature deviation with a linear function We want to determine two constants α and β such that p(t) = α+βt () fits the data as good as possible in the sense of least squares
20 Lectures INF2320 p. 20/80 Approximating by a linear function Define F(α, β) = (α+βt i y i ) 2 (11) In order to minimize F with respect to α and β, we can solve F α = F β = 0 (12)
21 Lectures INF2320 p. 21/80 Approximating by a linear function We have that F α = 2 (α+βt i y i ), (13) and therefore the condition F α = 0 leads to α+ ( t i )β = y i. (14)
22 Lectures INF2320 p. 22/80 Approximating by a linear function Here and so we have t i = = 55, y i = = 3.12, α+55β = (15)
23 Lectures INF2320 p. 23/80 Approximating by a linear function Further, we have that F β = 2 (α+βt i y i )t i, and therefore the condition F β = 0 gives ( ( t i )α+ ti 2 ) β = y i t i.
24 Lectures INF2320 p. 24/80 Approximating by a linear function We can calculate and ti 2 = = 385, t i y i = = 20, so we arrive at the equation 55α+385β = 20. (16)
25 Lectures INF2320 p. 25/80 Approximating by a linear function We now have a 2 2 system of linear equations which determines α and β: ( )( ) ( ) 55 α 3.12 = β 20 With our knowledge of linear algebra, we see that ( α β ) ( ) 1 ( ) = ( )( = ) ( ).
26 Lectures INF2320 p. 26/80 Approximating by a linear function We conclude that the linear model p(t) = t (17) approximates the data optimally in the sense of least squares.
27 Figure 9: Constant and linear least squares approximations of the global annual mean temperature deviation measurements from year 1991 to Lectures INF2320 p. 27/80
28 Lectures INF2320 p. 28/80 Approx. by a quadratic function We now want to determine constants α, β and γ, such that the quadratic polynomial p(t) = α+βt + γt 2 (18) fits the data optimally in the sense of least squares Minimizing F(α,β,γ) = (α+βt i + γti 2 y i ) 2 (19) requires F α = F β = F γ = 0 (20)
29 Lectures INF2320 p. 29/80 Approx. by a quadratic function F α = 2 ) ( α+βti + γti 2 y i = 0 leads to ) α+ ( )β+( t i ti 2 γ = y i F β = 2 ) ( α+βti + γti 2 y i ti = 0 leads to ) ) ( )α+( t i ti 2 β+( ti 3 γ = y i t i F γ = 2 ) ( α+βti + γti 2 y i t 2 i = 0 leads to ) ) ) ( ti 2 α+( ti 3 β+( ti 4 γ = y i ti 2
30 Lectures INF2320 p. 30/80 Approx. by a quadratic function Here t i = 55, t 4 i = 25330, ti 2 y i = 138.7, t 2 i = 385, y i = 3.12, t 3 i = 3025, t i y i = 20, which leads to the linear system α β γ = (21)
31 Solving the linear system (21) with, e.g., matlab we get α , β , (22) γ We have now obtained three approximations of the data The constant The linear The quadratic p 0 (t) = p 1 (t) = t p 2 (t) = t t 2 Lectures INF2320 p. 31/80
32 Figure : Constant, linear and quadratic approximations of the global annual mean temperature deviation measurements from the year 1991 to Lectures INF2320 p. 32/80
33 Lectures INF2320 p. 33/80 Summary Approximating a data set (t i,y i ) i = 1,...,n, with a constant function p 0 (t) = α. Using the method of least squares gives α = 1 n n y i, (23) which is recognized as the arithmetic average.
34 Lectures INF2320 p. 34/80 Summary Approximating the data set with a linear function can be done by minimizing min α,β p 1 (t) = α+βt F(α,β) = min α,β n (p 1 (t i ) y i ) 2, which leads to the following 2 2 linear system n n n t i α y i n n = t i ti 2 n β t i y i. (24)
35 Lectures INF2320 p. 35/80 Summary A quadratic approximation on the form p 2 (t) = α+βt + γt 2 can be done by minimizing min α,β,γ F(α,β,γ) = min α,β,γ n (p 2 (t i ) y i ) 2, which leads to the following 3 3 linear system n n n t i ti 2 n n t i t 2 n i ti 3 n ti 2 n ti 3 n ti 4 α β γ = n y i n y i t i n y i ti 2. (25)
36 Lectures INF2320 p. 36/80 Large Data Sets Figure 11: The global annual mean temperature deviation measurements from the year 1856 to 2000.
37 Lectures INF2320 p. 37/80 Application to the temperature data We use the derived methods to model the global temperature deviation from 1856 to Here n = 145, t 2 i = 26745, t 4 i = , 145 t i y i = , t i = 585, t 3 i = , 145 y i = 21.82, 145 ti 2 y i = , (26) where we have used t i = i, i.e., t 1 = 1 corresponds to the year of 1856, t 2 = 2 corresponds to the year of 1857 etc.
38 p 1 (t) t. Lectures INF2320 p. 38/80 Application to the temperature data First we get the constant model p 0 (t) (27) The coefficients α and β of the linear model are obtained by solving the linear system (24), i.e. ( )( ) ( ) α = β Consequently, α and β , so the linear model is given by
39 Lectures INF2320 p. 39/80 Application to the temperature data Similarly, the coefficients α, β and γ of the quadratic model are obtained by solving the linear system (25), i.e α β = γ The solution of this system is given by α , β and γ , so the quadratic model is given by p 2 (t) t t 2. (28)
40 Figure 12: Constant, linear and quadratic least squares approximations of the global annual mean temperature deviation measurements; from 1856 to Lectures INF2320 p. 40/80
41 Lectures INF2320 p. 41/80 Application to population models We now consider the growth of the world population. Year Population (billions) Table 2: The total world population from 1950 to 1955.
42 Lectures INF2320 p. 42/80 Exponential growth First we model the data in Table 2 using the exponential growth model with solution p(t) = p 0 e αt. p (t) = αp(t), p(0) = p 0, (29) We have earlier mentioned that for this model α has to be estimated We shall now estimate α relative to this data, in the sense of least squares
43 Lectures INF2320 p. 43/80 Exponential growth Put t = 0 at 1950 and measure t in years p 0 = We want to determine the parameter α for data from Table 2 and p (t) p(t) = α (30) Since only p is available, we have to approximate p (t) using the standard formula p (t) p(t + t) p(t) t (31)
44 Lectures INF2320 p. 44/80 Exponential growth By choosing t = 1, we estimate α to be α n = p(n+1) p(n) p(n) (32) Let b n be the relative annual growth in percentage, i.e. b n = 0 p(n+1) p(n) p(n) (33)
45 Lectures INF2320 p. 45/80 Exponential growth Year n p(n) b n = Table 3: Estimated values of p (t) p(t) of the world s population from 1950 to p(n+1) p(n) p(n) using (33) based on the numbers
46 Lectures INF2320 p. 46/80 Exponential growth We can to compute a constant approximation b, to this data set in the sense of least squares, i.e. the average b = b n = 1 ( ) = n=0 5 Since b n = 0α n we get α = 1 0 This gives us the model b = (34) p(t) = 2.555e t (35)
47 Lectures INF2320 p. 47/80 Exponential growth In the year 2000 (t=50) this model gives p(50) = 2.555e (36) The actual population in the 2000 was billions The relative error is % = 1.48%, (37) which is remarkably small
48 6.5 x Figure 13: The figure shows the graph of an exponential population model p(t) = 2.555e t together with the actual measurements marked by o. Lectures INF2320 p. 48/80
49 Lectures INF2320 p. 49/80 Exponential growth Will this model fit in the future as well? We try to use the development from 1990 to 2000 (see Figure 13) to predict the world population in 20
50 Lectures INF2320 p. 50/80 Year n p(n) b n = 0 p(n+1) p(n) p(n) Table 4: The calculated b n values associated with an exponential population model for the world between 1990 and 2000.
51 Lectures INF2320 p. 51/80 Exponential growth The average of the b n values is b = 1 Therefore α = b 0 = b n = 1.42 n=0 Starting from t=0 in the year 2000, the model reads p(t) = 6.080e t (38) This model predicts that there will be p(0) = 6.080e (39) billion people living on the earth in the year of 20
52 Lectures INF2320 p. 52/80 Logistic growth of the world pop. We study how the world population can be modeled by the logistic growth model p (t) = α p(t)(1 p(t)/β) (40) By defining γ = α/β, we can rewrite (40) p (t) p(t) = α+γ p(t) (41) Hence, we can determine constants α and γ by fitting a linear function to the observations of p (t) p(t) (42)
53 Lectures INF2320 p. 53/80 Logistic growth As above we define b n = 0 p(n+1) p(n) p(n) (43) We now want to determine two constants A and B, such that the data are modeled as accurately as possible by a linear function in the sense of least squares b n A+Bp(n), (44)
54 Lectures INF2320 p. 54/80 Logistic growth A and B can be determined by the following 2 2 linear system, 9 n=0 p(n) We have 9 n=0 p(n) 9 (p(n)) 2 n=0 A B = 9 b n n=0 9 p(n)b n n=0 (45) 9 n=0 p(n) = 56.5, 9 b n 14.1, n=0 9 (p(n)) 2 = 319.5, n=0 9 n=0 p(n)b n 79.6
55 Lectures INF2320 p. 55/80 Logistic growth By solving the (2 2) system ( )( A B ) = ( ) we get A = and B = Inserting this in the logistic model we get p (t) p(t)(1 p(t)/11.44) (46) This indicates that the carrying capacity of the earth is about billions
56 Lectures INF2320 p. 56/80 Logistic growth Let t = 0 correspond to the year 2000, which gives the initial condition p(0) 6.08 The analytical solution to the differential equation is p(t) e 0.027t (47) This model predicts that there will be p(0).79 billion people on the earth in the year of 20
57 2.6 x Figure 14: Predictions of the population growth on the earth based on an exponential model (solid curve) and a logistic model (dashed curve). Lectures INF2320 p. 57/80
58 Lectures INF2320 p. 58/80 Approximations of Functions Above we have studied continuous representation of discrete data Next we will consider continuous approximation of continuous functions Consider the function y(t) = ln ( ) 1 sin(t)+et In Figure 15 we see that y(x) seems to be close to the linear function p(t) = t on the interval [0,1] In Figure 16 we see that y(x) seems to be even closer to the linear function plotted on t [0,] (48)
59 Lectures INF2320 p. 59/ Figure 15: The function y(t) = ln ( 1 sin(t)+et) (solid curve) and a linear approximation (dashed line) on the interval t [0, 1].
60 Lectures INF2320 p. 60/ Figure 16: The function y(t) = ln ( 1 sin(t)+et) (solid curve) and a linear approximation (dashed line) on the interval t [0, ].
61 Lectures INF2320 p. 61/80 Approximations by constants For a given function y(t), t [a,b], we want to compute a constant approximation of it p(t) = α (49) for t [a,b], in the sense of least squares That means that we want to minimize the integral b a (p(t) y(t)) 2 dt = b a (α y(t)) 2 dt
62 Lectures INF2320 p. 62/80 Approximations by constants Define the function F(α) = b a (α y(t)) 2 dt (50) The derivative with respect to α is F (α) = 2 And solving F (α) = 0 gives b a (α y(t)) dt α = 1 b a b a y(t)dt (51)
63 Lectures INF2320 p. 63/80 Note that The formula for α is the integral version of the average of y on [a,b]. In the discrete case we would have written α = 1 n n y i, (52) If y i in (52) is y(t i ), where t i = a+i t and t = b a n, then 1 n n y i = 1 b a t n y(t i ) 1 b a b a y(t) dt. We therefore conclude that (51) is a natural continuous version of (52).
64 Lectures INF2320 p. 64/80 Note that We used d dα b a (α y(t)) 2 dt = b a α (α y(t))2 dt Is that a legal operation? This is discussed in Exercise 5. The α given by (51) is a minimum, since F (α) = 2(b a) > 0
65 Lectures INF2320 p. 65/80 Example 15; const. approx. Consider y(t) = sin(t) defined on 0 t π/2. A constant approximation of y is given by p(t) = α (51) = = 2 π π/2 0 sin(t)dt = 2 π [cos(t)]π/2 0 2 π (0 1) = 2 π.
66 Lectures INF2320 p. 66/80 Example 16; const. approx. Consider y(t) = t cos(t) defined on 0 t 1. A constant approximation of y is given by p(t) = α (51) = = 1 0 ( t ) cos(t) dt = sin(1) [ 1 3 t3 + 1 ] 1 sin(t) 0
67 Approximations by Linear Functions Now, we search for a linear approximation of a function y(t), t [a,b], i.e. in the sense of least squares Define p(t) = α+βt (53) F(α, β) = b a (α+βt y(t)) 2 dt (54) A minimum of F is obtained by finding α and β such that F α = F β = 0 Lectures INF2320 p. 67/80
68 Lectures INF2320 p. 68/80 Approximations by Linear Functions We have F α F β b = 2 (α+βt y(t))dt a b = 2 (α+βt y(t))t dt a Therefore α and β can be determined by solving the following linear system (b a)α+ 1 2 (b2 a 2 )β = 1 2 (b2 a 2 )α+ 1 3 (b3 a 3 )β = b a b a y(t) dt t y(t)dt (55)
69 Lectures INF2320 p. 69/80 Example 15; linear approx. Consider defined on 0 t π/2. We have and π/2 0 π/2 0 y(t) = sin(t) sin(t) dt = 1 t sin(t) dt = 1.
70 Lectures INF2320 p. 70/80 Example 15; linear approx. The linear system now reads ( )( π/2 π 2 /8 π 2 /8 π 3 /24 α β ) = ( 1 1 ). The solution is ( α β ) = 1 π 2 8π π 24 ( ). Therefore the linear approximation is given by p(t) t.
71 Lectures INF2320 p. 71/80 Example 16; linear approx. Consider y(t) = t cos(t) defined on 0 t 1. The linear system (55) then reads ( )( ) ( α 3 = + 1 sin(1) ), β cos(1)+ 1 sin(1) with solution α and β We conclude that the linear least squares approximation is given by p(t) t.
72 Approx. by Quadratic Functions We seek a quadratic function p(t) = α+βt + γt 2 (56) that approximates a given function y = y(t), a t b, in the sense of least squares Let F(α,β,γ) = b a (α+βt + γt 2 y(t)) 2 dt (57) Define α, β and γ to be the solution of the three equations: F α = F β = F γ = 0 Lectures INF2320 p. 72/80
73 Lectures INF2320 p. 73/80 Approx. by Quadratic Functions By taking the derivatives, we have F α b = 2 (α+βt + γt 2 y(t))dt a F β b = 2 (α+βt + γt 2 y(t))t dt a F γ = 2 b a (α+βt + γt 2 y(t))t 2 dt
74 Lectures INF2320 p. 74/80 The coefficients α, β and γ can now be determined from the linear system (b a)α+ 1 2 (b2 a 2 )β+ 1 3 (b3 a 3 )γ = 1 2 (b2 a 2 )α+ 1 3 (b3 a 3 )β+ 1 4 (b4 a 4 )γ = 1 3 (b3 a 3 )α+ 1 4 (b4 a 4 )β+ 1 5 (b5 a 5 )γ = b a b a b a y(t) dt t y(t)dt t 2 y(t)dt
75 Lectures INF2320 p. 75/80 Example 15; quad. approx. For the function y(t) = sin(t), 0 t π/2, the linear system reads π/2 π 2 /8 π 3 /24 π 2 /8 π 3 /24 π 4 /64 π 3 /24 π 4 /64 π 5 /160 α β γ = 1 1 π 2, and the solution is given by α 0.024, β and γ 0.338, which gives the quadratic approximation p(t) = t 0.338t 2.
76 Lectures INF2320 p. 76/80 Example 16; quad. approx. Let us consider y(t) = t cos(t) for 0 t 1. The linear system takes the form 1 1 1/2 1/3 α sin(1) 3 1/2 1/3 1/4 β = cos(1)+ 1 sin(1) 1 1/3 1/4 1/5 γ cos(1) 1 sin(1) and the solution is given by α 0.0, β and γ 0.957, and the quadratic approximation is p(t) = t t 2.
77 Lectures INF2320 p. 77/ Figure 17: The function y(t) = sin(t) (solid curve) and its least squares approximations: constant (dashed line), linear (dotted line) and quadratic (dashed-dotted curve).
78 Lectures INF2320 p. 78/ Figure 18: The function y(t) = t cos(t) (solid curve) and its least squares approximations: constant (dashed line), linear (dotted line) and quadratic (dashed-dotted curve).
79 Lectures INF2320 p. 79/80
80 Lectures INF2320 p. 80/80
MATH 4552 Cubic equations and Cardano s formulae
MATH 455 Cubic equations and Cardano s formulae Consider a cubic equation with the unknown z and fixed complex coefficients a, b, c, d (where a 0): (1) az 3 + bz + cz + d = 0. To solve (1), it is convenient
Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88
Nonlinear Algebraic Equations Lectures INF2320 p. 1/88 Lectures INF2320 p. 2/88 Nonlinear algebraic equations When solving the system u (t) = g(u), u(0) = u 0, (1) with an implicit Euler scheme we have
The Method of Partial Fractions Math 121 Calculus II Spring 2015
Rational functions. as The Method of Partial Fractions Math 11 Calculus II Spring 015 Recall that a rational function is a quotient of two polynomials such f(x) g(x) = 3x5 + x 3 + 16x x 60. The method
The Heat Equation. Lectures INF2320 p. 1/88
The Heat Equation Lectures INF232 p. 1/88 Lectures INF232 p. 2/88 The Heat Equation We study the heat equation: u t = u xx for x (,1), t >, (1) u(,t) = u(1,t) = for t >, (2) u(x,) = f(x) for x (,1), (3)
Math 132. Population Growth: the World
Math 132 Population Growth: the World S. R. Lubkin Application If you think growth in Raleigh is a problem, think a little bigger. The population of the world has been growing spectacularly fast in the
Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.
Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients We will now turn our attention to nonhomogeneous second order linear equations, equations with the standard
Polynomials. Jackie Nicholas Jacquie Hargreaves Janet Hunter
Mathematics Learning Centre Polnomials Jackie Nicholas Jacquie Hargreaves Janet Hunter c 26 Universit of Sdne Mathematics Learning Centre, Universit of Sdne 1 1 Polnomials Man of the functions we will
Homework 2 Solutions
Homework Solutions 1. (a) Find the area of a regular heagon inscribed in a circle of radius 1. Then, find the area of a regular heagon circumscribed about a circle of radius 1. Use these calculations to
Inner Product Spaces
Math 571 Inner Product Spaces 1. Preliminaries An inner product space is a vector space V along with a function, called an inner product which associates each pair of vectors u, v with a scalar u, v, and
2008 AP Calculus AB Multiple Choice Exam
008 AP Multiple Choice Eam Name 008 AP Calculus AB Multiple Choice Eam Section No Calculator Active AP Calculus 008 Multiple Choice 008 AP Calculus AB Multiple Choice Eam Section Calculator Active AP Calculus
Univariate Regression
Univariate Regression Correlation and Regression The regression line summarizes the linear relationship between 2 variables Correlation coefficient, r, measures strength of relationship: the closer r is
G. GRAPHING FUNCTIONS
G. GRAPHING FUNCTIONS To get a quick insight int o how the graph of a function looks, it is very helpful to know how certain simple operations on the graph are related to the way the function epression
Core Maths C1. Revision Notes
Core Maths C Revision Notes November 0 Core Maths C Algebra... Indices... Rules of indices... Surds... 4 Simplifying surds... 4 Rationalising the denominator... 4 Quadratic functions... 4 Completing the
www.mathsbox.org.uk ab = c a If the coefficients a,b and c are real then either α and β are real or α and β are complex conjugates
Further Pure Summary Notes. Roots of Quadratic Equations For a quadratic equation ax + bx + c = 0 with roots α and β Sum of the roots Product of roots a + b = b a ab = c a If the coefficients a,b and c
Section 4.4. Using the Fundamental Theorem. Difference Equations to Differential Equations
Difference Equations to Differential Equations Section 4.4 Using the Fundamental Theorem As we saw in Section 4.3, using the Fundamental Theorem of Integral Calculus reduces the problem of evaluating a
CS 221. Tuesday 8 November 2011
CS 221 Tuesday 8 November 2011 Agenda 1. Announcements 2. Review: Solving Equations (Text 6.1-6.3) 3. Root-finding with Excel ( Goal Seek, Text 6.5) 4. Example Root-finding Problems 5. The Fixed-point
Differentiation of vectors
Chapter 4 Differentiation of vectors 4.1 Vector-valued functions In the previous chapters we have considered real functions of several (usually two) variables f : D R, where D is a subset of R n, where
Techniques of Integration
CHPTER 7 Techniques of Integration 7.. Substitution Integration, unlike differentiation, is more of an art-form than a collection of algorithms. Many problems in applied mathematics involve the integration
LINEAR INEQUALITIES. Mathematics is the art of saying many things in many different ways. MAXWELL
Chapter 6 LINEAR INEQUALITIES 6.1 Introduction Mathematics is the art of saying many things in many different ways. MAXWELL In earlier classes, we have studied equations in one variable and two variables
Homework 2 Solutions
Homework Solutions Igor Yanovsky Math 5B TA Section 5.3, Problem b: Use Taylor s method of order two to approximate the solution for the following initial-value problem: y = + t y, t 3, y =, with h = 0.5.
1.7. Partial Fractions. 1.7.1. Rational Functions and Partial Fractions. A rational function is a quotient of two polynomials: R(x) = P (x) Q(x).
.7. PRTIL FRCTIONS 3.7. Partial Fractions.7.. Rational Functions and Partial Fractions. rational function is a quotient of two polynomials: R(x) = P (x) Q(x). Here we discuss how to integrate rational
Math 2280 - Assignment 6
Math 2280 - Assignment 6 Dylan Zwick Spring 2014 Section 3.8-1, 3, 5, 8, 13 Section 4.1-1, 2, 13, 15, 22 Section 4.2-1, 10, 19, 28 1 Section 3.8 - Endpoint Problems and Eigenvalues 3.8.1 For the eigenvalue
Separable First Order Differential Equations
Separable First Order Differential Equations Form of Separable Equations which take the form = gx hy or These are differential equations = gxĥy, where gx is a continuous function of x and hy is a continuously
Mark Howell Gonzaga High School, Washington, D.C.
Be Prepared for the Calculus Exam Mark Howell Gonzaga High School, Washington, D.C. Martha Montgomery Fremont City Schools, Fremont, Ohio Practice exam contributors: Benita Albert Oak Ridge High School,
19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style
Applications of Differential Equations 19.7 Introduction Blocks 19.2 to 19.6 have introduced several techniques for solving commonly-occurring firstorder and second-order ordinary differential equations.
Method To Solve Linear, Polynomial, or Absolute Value Inequalities:
Solving Inequalities An inequality is the result of replacing the = sign in an equation with ,, or. For example, 3x 2 < 7 is a linear inequality. We call it linear because if the < were replaced with
x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1
Implicit Functions Defining Implicit Functions Up until now in this course, we have only talked about functions, which assign to every real number x in their domain exactly one real number f(x). The graphs
Quick Tour of Mathcad and Examples
Fall 6 Quick Tour of Mathcad and Examples Mathcad provides a unique and powerful way to work with equations, numbers, tests and graphs. Features Arithmetic Functions Plot functions Define you own variables
Objectives. Materials
Activity 4 Objectives Understand what a slope field represents in terms of Create a slope field for a given differential equation Materials TI-84 Plus / TI-83 Plus Graph paper Introduction One of the ways
MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets.
MATH 304 Linear Algebra Lecture 20: Inner product spaces. Orthogonal sets. Norm The notion of norm generalizes the notion of length of a vector in R n. Definition. Let V be a vector space. A function α
Integration. Topic: Trapezoidal Rule. Major: General Engineering. Author: Autar Kaw, Charlie Barker. http://numericalmethods.eng.usf.
Integration Topic: Trapezoidal Rule Major: General Engineering Author: Autar Kaw, Charlie Barker 1 What is Integration Integration: The process of measuring the area under a function plotted on a graph.
This unit will lay the groundwork for later units where the students will extend this knowledge to quadratic and exponential functions.
Algebra I Overview View unit yearlong overview here Many of the concepts presented in Algebra I are progressions of concepts that were introduced in grades 6 through 8. The content presented in this course
MA106 Linear Algebra lecture notes
MA106 Linear Algebra lecture notes Lecturers: Martin Bright and Daan Krammer Warwick, January 2011 Contents 1 Number systems and fields 3 1.1 Axioms for number systems......................... 3 2 Vector
Linear and quadratic Taylor polynomials for functions of several variables.
ams/econ 11b supplementary notes ucsc Linear quadratic Taylor polynomials for functions of several variables. c 010, Yonatan Katznelson Finding the extreme (minimum or maximum) values of a function, is
The KaleidaGraph Guide to Curve Fitting
The KaleidaGraph Guide to Curve Fitting Contents Chapter 1 Curve Fitting Overview 1.1 Purpose of Curve Fitting... 5 1.2 Types of Curve Fits... 5 Least Squares Curve Fits... 5 Nonlinear Curve Fits... 6
Numerical Solution of Differential
Chapter 13 Numerical Solution of Differential Equations We have considered numerical solution procedures for two kinds of equations: In chapter 10 the unknown was a real number; in chapter 6 the unknown
Numerical Solution of Differential Equations
Numerical Solution of Differential Equations Dr. Alvaro Islas Applications of Calculus I Spring 2008 We live in a world in constant change We live in a world in constant change We live in a world in constant
Solving Cubic Polynomials
Solving Cubic Polynomials 1.1 The general solution to the quadratic equation There are four steps to finding the zeroes of a quadratic polynomial. 1. First divide by the leading term, making the polynomial
Algebra. Exponents. Absolute Value. Simplify each of the following as much as possible. 2x y x + y y. xxx 3. x x x xx x. 1. Evaluate 5 and 123
Algebra Eponents Simplify each of the following as much as possible. 1 4 9 4 y + y y. 1 5. 1 5 4. y + y 4 5 6 5. + 1 4 9 10 1 7 9 0 Absolute Value Evaluate 5 and 1. Eliminate the absolute value bars from
4.9 Graph and Solve Quadratic
4.9 Graph and Solve Quadratic Inequalities Goal p Graph and solve quadratic inequalities. Your Notes VOCABULARY Quadratic inequalit in two variables Quadratic inequalit in one variable GRAPHING A QUADRATIC
Trend and Seasonal Components
Chapter 2 Trend and Seasonal Components If the plot of a TS reveals an increase of the seasonal and noise fluctuations with the level of the process then some transformation may be necessary before doing
By Clicking on the Worksheet you are in an active Math Region. In order to insert a text region either go to INSERT -TEXT REGION or simply
Introduction and Basics Tet Regions By Clicking on the Worksheet you are in an active Math Region In order to insert a tet region either go to INSERT -TEXT REGION or simply start typing --the first time
Chapter 10. Key Ideas Correlation, Correlation Coefficient (r),
Chapter 0 Key Ideas Correlation, Correlation Coefficient (r), Section 0-: Overview We have already explored the basics of describing single variable data sets. However, when two quantitative variables
General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1
A B I L E N E C H R I S T I A N U N I V E R S I T Y Department of Mathematics General Theory of Differential Equations Sections 2.8, 3.1-3.2, 4.1 Dr. John Ehrke Department of Mathematics Fall 2012 Questions
Eigenvalues, Eigenvectors, and Differential Equations
Eigenvalues, Eigenvectors, and Differential Equations William Cherry April 009 (with a typo correction in November 05) The concepts of eigenvalue and eigenvector occur throughout advanced mathematics They
CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises
CHAPTER FIVE 5.1 SOLUTIONS 265 Solutions for Section 5.1 Skill Refresher S1. Since 1,000,000 = 10 6, we have x = 6. S2. Since 0.01 = 10 2, we have t = 2. S3. Since e 3 = ( e 3) 1/2 = e 3/2, we have z =
minimal polyonomial Example
Minimal Polynomials Definition Let α be an element in GF(p e ). We call the monic polynomial of smallest degree which has coefficients in GF(p) and α as a root, the minimal polyonomial of α. Example: We
Solutions to Homework 10
Solutions to Homework 1 Section 7., exercise # 1 (b,d): (b) Compute the value of R f dv, where f(x, y) = y/x and R = [1, 3] [, 4]. Solution: Since f is continuous over R, f is integrable over R. Let x
Regression III: Advanced Methods
Lecture 16: Generalized Additive Models Regression III: Advanced Methods Bill Jacoby Michigan State University http://polisci.msu.edu/jacoby/icpsr/regress3 Goals of the Lecture Introduce Additive Models
Integrating algebraic fractions
Integrating algebraic fractions Sometimes the integral of an algebraic fraction can be found by first epressing the algebraic fraction as the sum of its partial fractions. In this unit we will illustrate
Visualizing Differential Equations Slope Fields. by Lin McMullin
Visualizing Differential Equations Slope Fields by Lin McMullin The topic of slope fields is new to the AP Calculus AB Course Description for the 2004 exam. Where do slope fields come from? How should
Linear algebra and the geometry of quadratic equations. Similarity transformations and orthogonal matrices
MATH 30 Differential Equations Spring 006 Linear algebra and the geometry of quadratic equations Similarity transformations and orthogonal matrices First, some things to recall from linear algebra Two
CHAPTER 5 Round-off errors
CHAPTER 5 Round-off errors In the two previous chapters we have seen how numbers can be represented in the binary numeral system and how this is the basis for representing numbers in computers. Since any
Rootfinding for Nonlinear Equations
> 3. Rootfinding Rootfinding for Nonlinear Equations > 3. Rootfinding Calculating the roots of an equation is a common problem in applied mathematics. f(x) = 0 (7.1) We will explore some simple numerical
Differentiation and Integration
This material is a supplement to Appendix G of Stewart. You should read the appendix, except the last section on complex exponentials, before this material. Differentiation and Integration Suppose we have
EL-9650/9600c/9450/9400 Handbook Vol. 1
Graphing Calculator EL-9650/9600c/9450/9400 Handbook Vol. Algebra EL-9650 EL-9450 Contents. Linear Equations - Slope and Intercept of Linear Equations -2 Parallel and Perpendicular Lines 2. Quadratic Equations
Examples of Functions
Examples of Functions In this document is provided examples of a variety of functions. The purpose is to convince the beginning student that functions are something quite different than polynomial equations.
Kevin James. MTHSC 102 Section 1.5 Exponential Functions and Models
MTHSC 102 Section 1.5 Exponential Functions and Models Exponential Functions and Models Definition Algebraically An exponential function has an equation of the form f (x) = ab x. The constant a is called
Readings this week. 1 Parametric Equations Supplement. 2 Section 10.1. 3 Sections 2.1-2.2. Professor Christopher Hoffman Math 124
Readings this week 1 Parametric Equations Supplement 2 Section 10.1 3 Sections 2.1-2.2 Precalculus Review Quiz session Thursday equations of lines and circles worksheet available at http://www.math.washington.edu/
3 Contour integrals and Cauchy s Theorem
3 ontour integrals and auchy s Theorem 3. Line integrals of complex functions Our goal here will be to discuss integration of complex functions = u + iv, with particular regard to analytic functions. Of
Definition 8.1 Two inequalities are equivalent if they have the same solution set. Add or Subtract the same value on both sides of the inequality.
8 Inequalities Concepts: Equivalent Inequalities Linear and Nonlinear Inequalities Absolute Value Inequalities (Sections 4.6 and 1.1) 8.1 Equivalent Inequalities Definition 8.1 Two inequalities are equivalent
Vieta s Formulas and the Identity Theorem
Vieta s Formulas and the Identity Theorem This worksheet will work through the material from our class on 3/21/2013 with some examples that should help you with the homework The topic of our discussion
1. (from Stewart, page 586) Solve the initial value problem.
. (from Stewart, page 586) Solve the initial value problem.. (from Stewart, page 586) (a) Solve y = y. du dt = t + sec t u (b) Solve y = y, y(0) = 0., u(0) = 5. (c) Solve y = y, y(0) = if possible. 3.
An Introduction to Applied Mathematics: An Iterative Process
An Introduction to Applied Mathematics: An Iterative Process Applied mathematics seeks to make predictions about some topic such as weather prediction, future value of an investment, the speed of a falling
F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions
F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions F.IF.7b: Graph Root, Piecewise, Step, & Absolute Value Functions Analyze functions using different representations. 7. Graph functions expressed
Nonlinear Algebraic Equations Example
Nonlinear Algebraic Equations Example Continuous Stirred Tank Reactor (CSTR). Look for steady state concentrations & temperature. s r (in) p,i (in) i In: N spieces with concentrations c, heat capacities
Tom wants to find two real numbers, a and b, that have a sum of 10 and have a product of 10. He makes this table.
Sum and Product This problem gives you the chance to: use arithmetic and algebra to represent and analyze a mathematical situation solve a quadratic equation by trial and improvement Tom wants to find
Integrals of Rational Functions
Integrals of Rational Functions Scott R. Fulton Overview A rational function has the form where p and q are polynomials. For example, r(x) = p(x) q(x) f(x) = x2 3 x 4 + 3, g(t) = t6 + 4t 2 3, 7t 5 + 3t
HIBBING COMMUNITY COLLEGE COURSE OUTLINE
HIBBING COMMUNITY COLLEGE COURSE OUTLINE COURSE NUMBER & TITLE: - Beginning Algebra CREDITS: 4 (Lec 4 / Lab 0) PREREQUISITES: MATH 0920: Fundamental Mathematics with a grade of C or better, Placement Exam,
POLYNOMIAL FUNCTIONS
POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a
1 Review of Newton Polynomials
cs: introduction to numerical analysis 0/0/0 Lecture 8: Polynomial Interpolation: Using Newton Polynomials and Error Analysis Instructor: Professor Amos Ron Scribes: Giordano Fusco, Mark Cowlishaw, Nathanael
South Carolina College- and Career-Ready (SCCCR) Pre-Calculus
South Carolina College- and Career-Ready (SCCCR) Pre-Calculus Key Concepts Arithmetic with Polynomials and Rational Expressions PC.AAPR.2 PC.AAPR.3 PC.AAPR.4 PC.AAPR.5 PC.AAPR.6 PC.AAPR.7 Standards Know
8. Linear least-squares
8. Linear least-squares EE13 (Fall 211-12) definition examples and applications solution of a least-squares problem, normal equations 8-1 Definition overdetermined linear equations if b range(a), cannot
3.2 Sources, Sinks, Saddles, and Spirals
3.2. Sources, Sinks, Saddles, and Spirals 6 3.2 Sources, Sinks, Saddles, and Spirals The pictures in this section show solutions to Ay 00 C By 0 C Cy D 0. These are linear equations with constant coefficients
PYTHAGOREAN TRIPLES KEITH CONRAD
PYTHAGOREAN TRIPLES KEITH CONRAD 1. Introduction A Pythagorean triple is a triple of positive integers (a, b, c) where a + b = c. Examples include (3, 4, 5), (5, 1, 13), and (8, 15, 17). Below is an ancient
Equations, Inequalities & Partial Fractions
Contents Equations, Inequalities & Partial Fractions.1 Solving Linear Equations 2.2 Solving Quadratic Equations 1. Solving Polynomial Equations 1.4 Solving Simultaneous Linear Equations 42.5 Solving Inequalities
Solutions to old Exam 1 problems
Solutions to old Exam 1 problems Hi students! I am putting this old version of my review for the first midterm review, place and time to be announced. Check for updates on the web site as to which sections
Cooling and Euler's Method
Lesson 2: Cooling and Euler's Method 2.1 Applied Problem. Heat transfer in a mass is very important for a number of objects such as cooling of electronic parts or the fabrication of large beams. Although
4.3 Lagrange Approximation
206 CHAP. 4 INTERPOLATION AND POLYNOMIAL APPROXIMATION Lagrange Polynomial Approximation 4.3 Lagrange Approximation Interpolation means to estimate a missing function value by taking a weighted average
CURVE FITTING LEAST SQUARES APPROXIMATION
CURVE FITTING LEAST SQUARES APPROXIMATION Data analysis and curve fitting: Imagine that we are studying a physical system involving two quantities: x and y Also suppose that we expect a linear relationship
Algebra I Credit Recovery
Algebra I Credit Recovery COURSE DESCRIPTION: The purpose of this course is to allow the student to gain mastery in working with and evaluating mathematical expressions, equations, graphs, and other topics,
Tim Kerins. Leaving Certificate Honours Maths - Algebra. Tim Kerins. the date
Leaving Certificate Honours Maths - Algebra the date Chapter 1 Algebra This is an important portion of the course. As well as generally accounting for 2 3 questions in examination it is the basis for many
G.A. Pavliotis. Department of Mathematics. Imperial College London
EE1 MATHEMATICS NUMERICAL METHODS G.A. Pavliotis Department of Mathematics Imperial College London 1. Numerical solution of nonlinear equations (iterative processes). 2. Numerical evaluation of integrals.
Georgia Department of Education Kathy Cox, State Superintendent of Schools 7/19/2005 All Rights Reserved 1
Accelerated Mathematics 3 This is a course in precalculus and statistics, designed to prepare students to take AB or BC Advanced Placement Calculus. It includes rational, circular trigonometric, and inverse
7.6 Approximation Errors and Simpson's Rule
WileyPLUS: Home Help Contact us Logout Hughes-Hallett, Calculus: Single and Multivariable, 4/e Calculus I, II, and Vector Calculus Reading content Integration 7.1. Integration by Substitution 7.2. Integration
5 Numerical Differentiation
D. Levy 5 Numerical Differentiation 5. Basic Concepts This chapter deals with numerical approximations of derivatives. The first questions that comes up to mind is: why do we need to approximate derivatives
Algebra Cheat Sheets
Sheets Algebra Cheat Sheets provide you with a tool for teaching your students note-taking, problem-solving, and organizational skills in the context of algebra lessons. These sheets teach the concepts
8.7 Exponential Growth and Decay
Section 8.7 Exponential Growth and Decay 847 8.7 Exponential Growth and Decay Exponential Growth Models Recalling the investigations in Section 8.3, we started by developing a formula for discrete compound
Examples of Tasks from CCSS Edition Course 3, Unit 5
Examples of Tasks from CCSS Edition Course 3, Unit 5 Getting Started The tasks below are selected with the intent of presenting key ideas and skills. Not every answer is complete, so that teachers can
Calculus with Parametric Curves
Calculus with Parametric Curves Suppose f and g are differentiable functions and we want to find the tangent line at a point on the parametric curve x f(t), y g(t) where y is also a differentiable function
7.7 Solving Rational Equations
Section 7.7 Solving Rational Equations 7 7.7 Solving Rational Equations When simplifying comple fractions in the previous section, we saw that multiplying both numerator and denominator by the appropriate
Numerical methods for American options
Lecture 9 Numerical methods for American options Lecture Notes by Andrzej Palczewski Computational Finance p. 1 American options The holder of an American option has the right to exercise it at any moment
Airport Planning and Design. Excel Solver
Airport Planning and Design Excel Solver Dr. Antonio A. Trani Professor of Civil and Environmental Engineering Virginia Polytechnic Institute and State University Blacksburg, Virginia Spring 2012 1 of
AP Calculus AB First Semester Final Exam Practice Test Content covers chapters 1-3 Name: Date: Period:
AP Calculus AB First Semester Final Eam Practice Test Content covers chapters 1- Name: Date: Period: This is a big tamale review for the final eam. Of the 69 questions on this review, questions will be
Figure 2.1: Center of mass of four points.
Chapter 2 Bézier curves are named after their inventor, Dr. Pierre Bézier. Bézier was an engineer with the Renault car company and set out in the early 196 s to develop a curve formulation which would
Math 115 Spring 2011 Written Homework 5 Solutions
. Evaluate each series. a) 4 7 0... 55 Math 5 Spring 0 Written Homework 5 Solutions Solution: We note that the associated sequence, 4, 7, 0,..., 55 appears to be an arithmetic sequence. If the sequence
A three point formula for finding roots of equations by the method of least squares
A three point formula for finding roots of equations by the method of least squares Ababu Teklemariam Tiruneh 1 ; William N. Ndlela 1 ; Stanley J. Nkambule 1 1 Lecturer, Department of Environmental Health
Mathematics Pre-Test Sample Questions A. { 11, 7} B. { 7,0,7} C. { 7, 7} D. { 11, 11}
Mathematics Pre-Test Sample Questions 1. Which of the following sets is closed under division? I. {½, 1,, 4} II. {-1, 1} III. {-1, 0, 1} A. I only B. II only C. III only D. I and II. Which of the following
Mathematics Online Instructional Materials Correlation to the 2009 Algebra I Standards of Learning and Curriculum Framework
Provider York County School Division Course Syllabus URL http://yorkcountyschools.org/virtuallearning/coursecatalog.aspx Course Title Algebra I AB Last Updated 2010 - A.1 The student will represent verbal
