Upcoming SlideShare
×

# Applications Section 1.3

3,576 views

Published on

Linear Algebra

Published in: Technology
0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total views
3,576
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
20
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Applications Section 1.3

1. 1. Section 1.3 Applications Polynomial Curve Fitting Section 1.3.1 Suppose a collection of data is represented by n points ( x 1 , y 1 ), ( x 2 , y 2 ), ( x 3 , y 3 ) . . . , ( x n , y n ) in the xy -plane. We can fit a polynomial function to this data of degree n – 1 that passes through each of these points. This polynomial will have the form y To solve for the n coefficients of p ( x ) we substitute each of the n points into the polynomial and obtain n linear equations in n variables a 0 , a 1 , a 2 , . . . , a n -1 : ( x 1 , y 1 ) ( x 2 , y 2 ) ( x 3 , y 3 ) ( x n , y n ) x
2. 2. Section 1.3 Applications Polynomial Curve Fitting Section 1.3.2 Example 1 : The graph of a cubic polynomial has horizontal tangents at (1, – 2) and (– 1, 2). Find the equation for the cubic and sketch its graph. Solution : The general form for a cubic polynomial is The derivative of this function is We know the derivative is zero at the given points so we obtain the equations
3. 3. Section 1.3 Applications Polynomial Curve Fitting Section 1.3.3 Example 1 : These substitutions lead to the following system of equations Which in turn leads to the augmented matrix We now solve this system:
4. 4. Section 1.3 Applications Polynomial Curve Fitting Section 1.3.4 Example 1 : From this matrix we have a 2 = 0 and a 1 = – 3 a 3 . Now using the given points and the solutions from the above system we substitute into equation (1) to obtain: or This is a new system of equations with augmented matrix:
5. 5. Section 1.3 Applications Polynomial Curve Fitting Section 1.3.5 Example 1 : We now solve this system: From the last matrix we see that a 0 = 0 and a 3 = 1, and consequently a 1 = – 3. The equation of the polynomial is p ( x ) = – 3 x + x 3 . We can now sketch the graph of the third degree polynomial that goes through these points and has horizontal tangents at these points.
6. 6. Section 1.3 Applications Polynomial Curve Fitting Example 1 : We now graph the polynomial p ( x ) = – 3 x + x 3 : ( – 1, 2) ( 1, – 2) Section 1.3.6
7. 7. Section 1.3 Applications Network Analysis Section 1.3.7 Networks composed of branches and junctions are used as models in fields as diverse as economics, traffic analysis, and electrical engineering. It is assumed in such models that the total flow into a junction is equal to the total flow out of the junction. For example, because the junction shown below has 30 units flowing into it, there must be 30 units flowing out of it. We show this diagrammatically as and can be represented by the linear system Since we can represent each junction in a network gives rise to a linear equation we can analyze the flow through a network composed of several junctions by solving a system of linear equations. 30 x 1 x 2
8. 8. Section 1.3 Applications Network Analysis Section 1.3.8 <ul><li>Example 2 : The flow of traffic (in vehicles per hour) through a network of streets is shown in the figure below. </li></ul><ul><li>Solve the system for x i , i = 1, 2, 3, 4. </li></ul><ul><li>Find the traffic flow when x 4 = 0. </li></ul><ul><li>Find the traffic flow when x 4 = 100. </li></ul>200 100 100 200 x 1 x 3 x 2 x 4
9. 9. Section 1.3 Applications Network Analysis Section 1.3.9 Example 2 : We label each junction appropriately as shown. We then establish the equations: Junction 1 Junction 2 Junction 3 Junction 4 These equations lead to the following system of linear equations: 200 100 100 200 x 1 x 3 x 2 x 4 1 2 3 4
10. 10. Section 1.3 Applications Network Analysis Section 1.3.10 Example 2 : This system of linear equations leads to the following matrix representation: We now use the Gauss-Jordan elimination technique to solve this system.
11. 11. Section 1.3 Applications Network Analysis Section 1.3.11 Example 2 : From the fourth row we see that x 4 can be any real number, so letting x 4 = t we have the following general solution: x 4 = t , x 3 = 200 + t , x 2 = t – 100 , x 1 = 100 + t where t is a real number. Thus this system has an infinite number of solutions. This is the solution to part (a) of the question.
12. 12. Section 1.3 Applications Network Analysis Section 1.3.12 Example 2 : <ul><li>Given x 4 = t , x 3 = 200 + t , x 2 = t – 100 , x 1 = 100 + t where t is a real </li></ul><ul><li>number. </li></ul><ul><li>(b) We now find the traffic flow when x 4 = 0 (i.e. when t = 0). </li></ul><ul><li>x 1 = 100, x 2 = – 100, x 3 = 200, x 4 = 0 . </li></ul><ul><li>We now find the traffic flow when x 4 = 100 (i.e. when t = 100). </li></ul><ul><li>x 1 = 200, x 2 = 0, x 3 = 300, x 4 = 100 . </li></ul>
13. 13. Section 1.3 Applications Network Analysis Section 1.3.13 <ul><li>Another type of network is an electrical network. An analysis of such a system uses two properties of electrical networks known as Kirchhoff's Laws . </li></ul><ul><li>All the current flowing into a junction must flow out of it </li></ul><ul><li>The sum of the products IR ( I is current and R is resistance) around a closed </li></ul><ul><li>path is equal to the total voltage ( V ) in the path. </li></ul><ul><li>In an electrical network, current is measured in amps, resistance in ohms, and the product of current and resistance in volts. Batteries are represented by the symbol </li></ul><ul><li>, where the current flows out of the terminal denoted by the larger vertical bar. Resistance is denoted by the symbol . The direction of the current is indicated by the arrow in the branch. </li></ul>
14. 14. Section 1.3 Applications Analysis of an Electrical Network Section 1.3.14 Example 3 : Determine the currents I 1 , I 2 , and I 3 or the electrical network shown below. 1 2 Path 1 Path 2 8 Volts 7 Volts R 3 = 4 R 2 = 2 R 1 = 3 I 1 I 2 I 3