Download presentation
Presentation is loading. Please wait.
Published byDiane Gaines Modified over 9 years ago
1
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson
2
Systems of Equations and Inequalities 6
3
System of Linear Equations in Several Variables 6.3
4
Linear Equation A linear equation in n variables is an equation that can be put in the form a 1 x 1 + a 2 x 2 + · · · + a n x n = c where: a 1, a 2, · · ·, a n and c are real numbers. x 1, x 2, · · ·, x n are the variables.
5
Linear Equations If we have only three or four variables, we generally use x, y, z, and w instead of x 1, x 2, x 3, and x 4
6
Linear Equations Such equations are called linear because: If we have just two variables, the equation is a 1 x + a 2 y = c which is the equation of a line.
7
Linear Equations The following are some examples of equations in three variables that illustrate the difference between linear and nonlinear equations.
8
Linear Equations vs. Nonlinear Equations LinearNonlinear Reason for Nonlinearity Contains the square and the square root of a variable Contains a product of variables
9
Solving a Linear System
10
Systems of Linear Equations Here are two examples of systems of linear equations in three variables. System of Linear Equations System in Triangular Form
11
Systems of Linear Equations in Triangular Form The second system is in triangular form. That is, the variable x doesn’t appear in the second equation and the variables x and y do not appear in the third equation. System of Linear Equations System in Triangular Form
12
Solving a Linear System It’s easy to solve a system that is in triangular form using back-substitution. So, our goal in this section is: To start with a system of linear equations and change it to a system in triangular form that has the same solutions as the original system.
13
Solving a Linear System We begin by showing how to use back-substitution to solve a system that is already in triangular form.
14
E.g. 1—Back-Substitution in Triangular System Solve the system using back- substitution:
15
E.g. 1—Back-Substitution in Triangular System From the last equation, we know that z = 3. We back-substitute this into the second equation and solve for y. y + 2(3) = 5 y = –1
16
E.g. 1—Back-Substitution in Triangular System Then, we back-substitute y = –1 and z = 3 into the first equation and solve for x. x – 2(–1) – (3) = 1 x = 2 The solution is: x = 2, y = –1, z = 3 We can also write this as the ordered triple (2, –1, 3)
17
Changing to an Equivalent System To change a system of linear equations to an equivalent system—a system with the same solutions as the original system— we use the elimination method. This means we can use the following operations.
18
Operations that Yield an Equivalent System 1. Add a nonzero multiple of one equation to another. 2. Multiply an equation by a nonzero constant. 3. Interchange the positions of two equations.
19
Gaussian Elimination To solve a linear system, we use these operations to change the system to an equivalent triangular system. Then, we use back-substitution as in Example 1. This process is called Gaussian elimination.
20
E.g. 2—System of Three Equations in Three Variables Solve the system using Gaussian elimination. We need to change this to a triangular system.
21
E.g. 2—System of Three Equations in Three Variables So, we begin by eliminating the x-term from the second equation. Equation 2 + (–1) x Equation 1 = New Equation 2
22
E.g. 2—System of Three Equations in Three Variables That gives a new, equivalent system that is one step closer to triangular form:
23
E.g. 2—System of Three Equations in Three Variables Now, we eliminate the x-term from the third equation. Equation 3 + (–3) x Equation 1 = New Equation 3
24
E.g. 2—System of Three Equations in Three Variables Then, we eliminate the y-term from the third equation. Equation 3 + (–2) x Equation 1 = New Equation 3
25
E.g. 2—System of Three Equations in Three Variables The system is now in triangular form. However, it will be easier to work with if we divide the second and third equations by the common factors of each term.
26
E.g. 2—System of Three Equations in Three Variables Now, we use back-substitution to solve the system. From the third equation, we get z = 4. We back-substitute this into the second equation and solve for y. y – (4) = 3 y = 7
27
E.g. 2—System of Three Equations in Three Variables Then, we back-substitute y = 7 and z = 4 into the first equation and solve for x. x – 2(7) + 3(4) = 1 x = 3 The solution of the system is x = 3, y = 7, z = 4. We can write as the ordered triple (3, 7, 4).
28
Check Your Answer We must check that the answer satisfies all three equations, x = 3, y = 7, z = 4: (3) – 2(7) + 3(4) = 1 (3) + 2(7) – (4) = 13 3(3) + 2(7) – 5(4) = 3
29
The Number of Solutions of a Linear System
30
Number of Solutions in a Linear System For a system of linear equations, exactly one of the following is true. The system has exactly one solution. The system has no solution. The system has infinitely many solutions.
31
Number of Solutions in a Linear System The graphical interpretation of the solutions of a linear system is analogous to that for systems of equations in two variables.
32
Intersection of Three Planes When you study calculus or linear algebra, you will learn that the graph of a linear equation in three variables is a plane in a three-dimensional coordinate system. For a system of three equations in three variables, the following situations arise.
33
Situation 1 The three planes intersect in a single point. The system has a unique solution.
34
Situation 2 The three planes intersect in more than one point. The system has infinitely many solutions.
35
Situation 3 The three planes have no point in common. The system has no solution.
36
Inconsistent and Dependent Systems A system with no solutions is said to be inconsistent. A system with infinitely many solutions is said to be dependent.
37
Number of Solutions in a Linear System As we see in the next example, a linear system has no solution if we end up with a false equation after applying Gaussian elimination to the system.
38
E.g. 3—System with No Solution Solve the following system. To put this in triangular form, we begin by eliminating the x-terms from the second equation and the third equation.
39
E.g. 3—System with No Solution Equation 2 + (–2) x Equation 1 = New Equation 2 Equation 3 + (–3) x Equation 1 = New Equation 3
40
E.g. 3—System with No Solution Now, we eliminate the y-term from the third equation. Equation 3 + (–1) x Equation 2 = New Equation 3 The system is now in triangular form. However, the third equation says 0 = –2, which is false.
41
E.g. 3—System with No Solution No matter what values we assign x, y, and z, the third equation will never be true. This means the system has no solution.
42
E.g. 4—System with Infinitely Many Solutions Solve the following system. To put this in triangular form, we begin by eliminating the x-terms from the second and third equations.
43
E.g. 4—System with Infinitely Many Solutions Equation 2 + (–2) x Equation 1 = New Equation 2 Equation 3 + (–2) x Equation 1 = New Equation 3
44
E.g. 4—System with Infinitely Many Solutions Now, we eliminate the y-term from the third equation. Equation 3 + (–2) x Equation 2 = New Equation 3
45
E.g. 4—System with Infinitely Many Solutions The new third equation is true. However, it gives us no new information. So, we can drop it from the system.
46
E.g. 4—System with Infinitely Many Solutions Only two equations are left. We can use them to solve for x and y in terms of z. z can take on any value, though. So, there are infinitely many solutions.
47
E.g. 4—System with Infinitely Many Solutions To find the complete solution of the system, we begin by solving for y in terms of z, using the new second equation. 3y – 6z = 6 y – 2z = 2 y = 2z + 2
48
E.g. 4—System with Infinitely Many Solutions Then, we solve for x in terms of z, using the first equation. x – (2z + 2) + 5z = –2 x + 3z – 2 = –2 x = –3z
49
E.g. 4—System with Infinitely Many Solutions To describe the complete solution, we let t represent any real number. The solution is: x = –3t y = 2t + 2 z = t We can also write this as the ordered triple (–3t, 2t + 2, t).
50
Parameter In the solution of Example 4, the variable t is called a parameter. To get a specific solution, we give a specific value to the parameter t.
51
Parameters For instance, if we set t = 2, we get: x = –3(2) = –6 y = 2(2) + 2 = 6 z = 2 Thus, (–6, 6, 2) is a solution of the system.
52
Parameters Here are some other solutions of the system obtained by substituting other values for the parameter t.
53
Parameters You should check that these points satisfy the original equations. There are infinitely many choices for the parameter t. So, the system has infinitely many solutions.
54
Modeling Using Linear Systems
55
Linear systems are used to model situations that involve several varying quantities. In the next example, we consider an application to finance.
56
E.g. 5—Modeling a Financial Problem Jason receives an inheritance of $50,000. His financial advisor suggests that he invest this in three mutual funds: Money-market fund Blue-chip stock fund High-tech stock fund
57
E.g. 5—Modeling a Financial Problem The advisor estimates that, over the next year: The money-market fund will return 5%. The blue-chip fund will return 9%. The high-tech fund will return 16%.
58
E.g. 5—Modeling a Financial Problem Jason wants a total first-year return of $4000. To avoid excessive risk, he decides to invest three times as much in the money-market fund as in the high-tech stock fund. How much should he invest in each fund?
59
E.g. 5—Modeling a Financial Problem Let: x = amount invested in the money-market fund y = amount invested in the blue-chip stock fund z = amount invested in the high-tech stock fund
60
E.g. 5—Modeling a Financial Problem We convert each fact given in the problem into an equation. x + y + z = 50,000 Total amount invested is: $50,000 0.05x + 0.09y + 0.16z = 4000 Total investment return is: $4000 x = 3zMoney-market amount is: 3 x high-tech amount
61
E.g. 5—Modeling a Financial Problem Multiplying the second equation by 100 and rewriting the third gives the following system. We solve this using Gaussian elimination.
62
E.g. 5—Modeling a Financial Problem Equation 2 + (–5) x Equation 1 = New Equation 2 Equation 3 + (–1) x Equation 1 = New Equation 3
63
E.g. 5—Modeling a Financial Problem Equation 2 + 4 x Equation 3 = New Equation 2
64
E.g. 5—Modeling a Financial Problem
65
Now that the system is in triangular form, we use back-substitution to find that: x = 30,000 y = 10,000 z = 10,000
66
E.g. 5—Modeling a Financial Problem This means that Jason should invest: $30,000 in the money market fund $10,000 in the blue-chip stock fund $10,000 in the high-tech stock fund
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.