WEEK 2 REVIEW – Linear Regression and Systems of Linear Equations Example The table below shows x, the number of cartons of blueberries, that a fruit stand can sell at different prices y in dollars. x 8 11 20 28 y 6.9 5.5 4 3.35 (a) Show this data in a scatter diagram (plot) (b) Use linear regression to find the best-fitting line for the price of blueberries. Press the STAT button and then press ENTER to edit your lists Enter the values for x in list L1 and y in list L2 Press 2ND and QUIT to return to the homescreen. Press STAT and right arrow to CALC Choose 4:LineReg(ax+b) and press ENTER: Use L1 for x and L2 for y Press ENTER to get the best-fitting line: If r and r2 are not displayed, go to CATALOG (2ND and the 0 button) and choose DiagnosticON. To graph the data and best-fitting line, press 2ND and Y= to access the STATPLOT Press ENTER to set-up Plot1: To enter the best-fitting line, press Y= and then the VARS button: Choose 5: Statistics and right arrow twice to EQ: Press ENTER to paste RegEQ into Y1=:(c) What is the selling price of blueberries when 35 cartons are sold? (d) If the fruit stand charges $5.00 for a carton of blueberries, use the best-fitting line to estimate how many cartons will be sold. (e) If the data in the table represented the number of cartons of blueberries in thousands sold by a large grocery chain, estimate how many cartons will be sold at a price of $3.50 per carton. SYSTEMS OF LINEAR EQUATIONS When you have a system of two equations and two unknowns we have three possibilities for the two lines: The two lines intersect. The solution is the single point of intersection. The two lines are the same. The solution is the entire line. The two lines are parallel. No intersection therefore no solution.Example: Solve the following systems of linear equations. (a) 2122319xyxy+=+= (b) 24824xyxy-=-+ = (c) 3726 14xyxy-+ =-=- Number of Solutions Theorem If the number of equations in a system of linear equations is equal to or greater than the number of variables, the system may have • No solution • Exactly one solution • A parametric solution If the number of equations in a system of linear equation is less than the number of variables, then the system may have • No solution • A parametric solution Line of common pointsWORD PROBLEMS Example: Jane invests $10,000 in three ways. With one part she buys mutual funds with a return of 6.5% per year. The second part (which is twice as large as the 1st part) is used to buy government bonds that pay 6% per year. The rest is put into a savings account paying 5% per year. In the 1st year her average return was 6.05%.. How much did she invest in each way? Example: Farmer Blue has 100 acres available to plant white and yellow corn. Each acre of white corn will yield 95 bushels of corn and each acre of yellow corn will yield 120 bushels of corn. He wants to have at least three times as many bushels of white corn than he does of yellow corn. How many acres of each type of corn should Farmer Blue plant?GAUSS-JORDAN Example Solve the following system of linear equations: 366 3272 1673xyzxyzxyz-- + =-++=--- - = 1. Any two equations may be interchanged. 2. An equation may be multiplied by a non-zero constant. 3. A multiple of one equation may be added to another equation. Augmented Matrix A matrix is in Reduced-Row Echelon Form if 1. Each row consisting entirely of zeros lies below any row having non-zero entries. 2. The 1st non-zero entry in any row is a 1 (called a leading 1) 3. In any two successive (non-zero) rows the leading 1 in the lower row lies to the right of the leading 1 in the upper row. 4. If a column contains a leading 1, the rest of the column is 0. IMPORTANT! • Only consider entries to the LEFT of the vertical line when Appling the definition of RREF. • If a matrix is in RREF form, it may have one solution, no solution or a parametric solution. 366 3272 1673xyzxyzxyz-- + =-++=--- - =Example Solve the following systems of linear equations: (a) 20321232xyzxy zxyz+-=-+ =-+= (b) 2410255xyzxyzxyz+- =++=+-= Example A zoo is looking to acquire some lions, tigers and bears. The zoo has 2800 square feet of space available and $850 for transportation costs. A lion needs 200 square feet of space and costs $50 to transport. A tiger needs 400 square feet of space and costs $150 to transport. A bear needs 400 square feet of space and costs $50 to transport. How many lions, tigers and bears can the zoo
View Full Document