Simultaneous Equations By Dr J.P.M. Whitty

Slides:



Advertisements
Similar presentations
The Game of Algebra or The Other Side of Arithmetic The Game of Algebra or The Other Side of Arithmetic © 2007 Herbert I. Gross by Herbert I. Gross & Richard.
Advertisements

Algebra Problems… Solutions Algebra Problems… Solutions © 2007 Herbert I. Gross Set 22 By Herbert I. Gross and Richard A. Medeiros next.
Linear Simultaneous Equations
LINEAR EQUATIONS IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear.
LINEAR EQUATION IN TWO VARIABLES. System of equations or simultaneous equations – System of equations or simultaneous equations – A pair of linear equations.
3.2 Solving Systems Algebraically 2. Solving Systems by Elimination.
Previously, we learned that adding two numbers together which have the same absolute value but are opposite in sign results in a value of zero. This can.
Solving Systems of Equations
Elimination Using Multiplication.
Do Now Pass out calculators. Solve the following system by graphing: Graph paper is in the back. 5x + 2y = 9 x + y = -3 Solve the following system by using.
Solving Systems of Linear Equations By Elimination.
Bell Work2/12/15 Solve the system by elimination..
Copyright © 2009 Pearson Education, Inc. CHAPTER 9: Systems of Equations and Matrices 9.1 Systems of Equations in Two Variables 9.2 Systems of Equations.
Chapter one Linear Equations
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Solving Systems of Equations: Elimination Method.
3.2 Solving Systems of Equations Algebraically Substitution Method Elimination Method.
Solving Linear Systems Substitution Method Lisa Biesinger Coronado High School Henderson,Nevada.
Graphing Systems of Equations Graph of a System Intersecting lines- intersect at one point One solution Same Line- always are on top of each other,
3.2 Solving Systems Algebraically
ECON 1150 Matrix Operations Special Matrices
Access Mathematics Linear Graphs & Best line fits (Least squares)
4.4 & 4.5 Notes Remember: Identity Matrices: If the product of two matrices equal the identity matrix then they are inverses.
Solve Systems of Linear Equations Using Elimination Honors Math – Grade 8.
Inverses and Systems Section Warm – up:
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Warm up Add the following polynomials x + 2y = 10 5y – x = 7 + 4x – 3y = 1 + 9y + 4x = -1.
Substitution Math 374. Topics 1) Straight substitution 1) Straight substitution 2) Point substitution 2) Point substitution 3) Missing value substitution.
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Analytical Toolbox Differential calculus By Dr J.P.M. Whitty.
Goal: Solve a system of linear equations in two variables by the linear combination method.
Analytical Toolbox Integral CalculusBy Dr J.P.M. Whitty.
Analytical Toolbox Introduction to arithmetic & algebra By Dr J. Whitty.
1 Section 5.3 Linear Systems of Equations. 2 THREE EQUATIONS WITH THREE VARIABLES Consider the linear system of three equations below with three unknowns.
Do Now (3x + y) – (2x + y) 4(2x + 3y) – (8x – y)
Elimination method Solving linear equations simultaneously.
SIMULTANEOUS EQUATIONS Problem of the Day! n There are 100 animals in a zoo, some which have 2 legs and some have 4 legs. If there are 262 animal legs.
Solving Systems of Linear Equations Wait a minute! What’s a system of linear equations? –A system is a set of linear sentences which together describe.
Bell Ringer 2. Systems of Equations 4 A system of equations is a collection of two or more equations with a same set of unknowns A system of linear equations.
Quiz next Friday, March 20 th Sections 1-0 to minutes – at the beginning of class.
Multiply one equation, then add
Systems of Equations By Substitution and Elimination.
Solve Linear Systems by Elimination February 3, 2014 Pages
Elimination using Multiplication Honors Math – Grade 8.
3.3 Solving Linear Systems by Linear Combination 10/12/12.
3.2 Solve Linear Systems Algebraically Algebra II.
Solving Algebraic Equations. Equality 3 = = = 7 For what value of x is: x + 4 = 7 true?
Copyright © Cengage Learning. All rights reserved. Fundamentals.
Matrices IB Mathematics SL. Matrices Describing Matrices Adding Matrices.
HW: Maintenance Sheet #21 (19-21) comprehensive Test 7 Friday
Solve Linear Systems By Multiplying First
Simultaneous Equations 1
6) x + 2y = 2 x – 4y = 14.
Objective I can solve systems of equations using elimination with addition and subtraction.
Solve Systems of Equations by Elimination
Systems of Linear Equations
Mrs. Meehan 6th Grade Algebra
PROGRAMME 4 DETERMINANTS.
Warm Up Simplify each expression. 1. 3x + 2y – 5x – 2y
Warm up + 4x – 3y = 1 + 9y + 4x = -1 Add the following polynomials 2.
PROGRAMME 4 DETERMINANTS.
Simultaneous Equations
Solve Linear Equations by Elimination
Mathematics for Signals and Systems
Elimination Using Multiplication.
Simultaneous Equations
Presentation transcript:

Simultaneous Equations By Dr J.P.M. Whitty Analytical Toolbox Simultaneous Equations By Dr J.P.M. Whitty

Learning objectives After the session you will be able to: Find the solution to two simultaneous equations using graphical means. Algebraic solutions to systems of two equations. Appreciate the solution protocol required for systems of three equations. Use math software to solve systems of equations.

Learning Check: Finding the Line Here’s the StarGate bit: A point in three dimensions needs six pieces of information to be fully described. A course therefore seven Since a line exists essentially in 2D then only two pieces of information. Two points A gradient and a point

Example Find the equation of the line given that it passes though the points (-2,1) and (6,5)

Examples Check Using MATLAB Find the equation of the line given the points (-2,4) and (4,1) expressing your answer in the form ax+by=c. A line has a gradient of –0.75 and passes through a point (3,-4), state the equation of the line. Find the equation of a line with a gradient of unity given that it passes through the point (-1,-2).

Learning Check Solve the following using a graphical method y=2x -1 & Hence, use MATLAB to verify your results. Q. Is there a way to solve such problems algebraically?

Class Examples Time Solve the following problems using a graphical method (via MATLAB) and verify the results using substitution y=x+3 & y=7-x y=x-4 & 2x+y=5 x+y =3 & y=1-2x y=x+4 & y=3x y=2x-1 & y=3x+2

Algebraic Solution One way to obtain an algebraic solution is to substitute one equation into the other and obtain the solution of the resulting linear equation. Thus: y=x+3 (1) & y=7-x (2) x+3=7-x 2x=4; x=2 y=x+3=5 Also 7-2=5 (which satisfies the second)

Algebraic Solution Continued Solve the following simultaneously x+y =3 & y=1-2x x+(1-2x)=3 -1x=2 x=-2 -2+y=3; y=5 Does the other equation fire also?

Class Examples Time Use the method of substitution y=x-4 & 2x+y=5 y=x+4 & y=3x y=2x-1 & y=3x+2

Method of Elimination Let us consider the class examples again written in a slightly different form, i.e. equating the variables to a number thus y-x=-4 & y+2x=5 y-x=4 & y-3x=0 y-2x=1 & y-3x=2 Since in each of these examples that coefficients of y are identical than we are just able to subtract the equations

Method of Elimination Write on equation under the other thus y - x=4 x=3; y-3=4; y=1 Does the other equation also fire?

Method of Elimination This method can be used when ever the either the x or the y coefficients are the same: consider: 3x+y=7 & x+y=3 5x+4y=17 & 3x+4y=15 Additionally if the signs are different we add instead of subtracting 5x-2y=5 & 3x+2y=19 4x+3y=19 & 2x-3y=5

Class Examples Time Solve the following simultaneous equations using the method of elimination verity your answers using MATLAB. 2x+y=8 & x-y=1 2x+3y=14 & 2x-y=6 3x+5y=5 & x–5y =15 3x+2y=13 & 3x+y=9 6x+5y=3 & 2x+5y=9

Equations with unlike coefficients So far we have only considered sets of equations where the coefficients of either the x or the y values are the same. A problem occurs when this is NOT the case, consider: 2x+ y= 9 5x+2y=22

General Method of Ellimination (Cross Multiplication) The method of attack is ALWAYS the same regardless and is as follows: Multiply the first equation by the coefficient of y in the second equation. Multiply the second equation by the coefficient of y in the first equation. The coefficients of y are now equal so they can now be solved as previously. (i.e. if they have the same sign subtract otherwise add)

Cross multiplication 4x+2y=18 (1) 5x+2y=22 (2) -1x+0=-4 x=4 2(4)+y=9 Let us now consider how this works when applying this to the last example. 2x+ y= 9 (1) 5x+2y=22 (2) 2(2x+ y= 9) (1) 1(5x+2y=22) (2) 4x+2y=18 (1) 5x+2y=22 (2) -1x+0=-4 x=4 2(4)+y=9 y=1

Discussion Examples Use the general method of elimination to solve the following: 2x+y=18 & 2x-3y=1 5x+2y=18 & 7x-8y=9 8x+7y=22 & 12x-5y=2 3x-4y=1 & 9x-7y=13 2x-3y=8 & 8x+15y=5

Summary Simultaneous equations can be solve via the method substitution or elimination generally the following rules apply to which method should be used Method of substitution if one of the equations y=mx+c of x=ay+b then substitute this equation into the other. If the equations are both un the form ax+by=c then use the elimination method

Solution of three simultaneous equations Problems occur in scientific and engineering problems where more unknowns are required. Hence more equations are required. We will only concern ourselves here with three unknowns as in principle the methods shown in this lecture can easily be extended.

Discussion Examples How would we approach these problems:

Use of mathematic Software Once you have more than four equations even with the higher math methods of Matrices and Determinates it is still cumbersome and due to the amount of computations errors inevitably creep in to calculation. Thus the need for computer solutions of such systems of equations is self evident. To solve such systems we can use a number of math software packages inc. MatLab & Derive

Computer Solutions of Equations Let us consider the systems of equations as before: The solution protocol is the same each time using the math package Go to SOLVE in the top menu Select system and enter the appropriate expression numbers (in this case #1,#2 and #3) The package then returns the solution vector for the system

MatLab Computer Solution Use the following method to solve the following systems of equations: Type each of the coefficients on the RHS into a matrix A=[2, 4, -4;1 -5 -3; -7 2 6] (Important to remember the semicolons) Type the RHS as a column vector [26; -87; 12] Type in x=A\b and the system will return the solution (NB a backslash \ is required)

Summary Have we met our learning objectives? Specifically: are you able to: Find the solution to two simultaneous equations using graphical means. Algebraic solutions to systems of two equations. Appreciate the solution protocol required for systems of three equations. Use math software to solve systems of equations.

Derive Solution of Equations Let us consider the systems of equations as before: The solution protocol is the same each time using the math package Go to SOLVE in the top menu Select system and enter the appropriate expression numbers (in this case #1,#2 and #3) The package then returns the solution vector for the system

Homework Check Using MATLAB or Derive Find the equation of the line given the points (-1,6) and (4,1) expressing your answer in the form ax+by=c. A line has a gradient of 1/2 and passes through a point (-2,4), state the equation of the line. Find the equation of a line with a gradient of unity given that it passes through the point (0,-4).

Homework Use the most suitable method to solve the following simultaneous equations: 7x-10y=16 & 4x-15y=37 y=3x-1 & 2y-6x=2 3x-5y=13 & 7x+3y=1 3x+5y=5 & x-5y=15 3x+2y=8 & 7x+10y=24