2.1 Equations of Lines Write the point-slope and slope-intercept forms

Slides:



Advertisements
Similar presentations
1.4 Linear Equations in Two Variables
Advertisements

1.3 Linear Equations in Two Variables
Graphs Chapter 1 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A A AAA A.
Copyright © 2012 Pearson Education, Inc. 2.3 Another Look at Linear Graphs ■ Graphing Horizontal Lines and Vertical Lines ■ Graphing Using Intercepts ■
Copyright © Cengage Learning. All rights reserved.
Copyright © 2015, 2011, 2007 Pearson Education, Inc. 1 1 Chapter 3 Equations and Inequalities in Two Variables; Functions.
2 Graphs and Functions © 2008 Pearson Addison-Wesley. All rights reserved Sections 2.4–2.5.
Welcome to MM 212 Unit 4 Seminar!. Graphing and Functions.
Point-Slope Formula Writing an Equation of a line Using the Point-Slope Formula.
Copyright © 2014, 2010, 2006 Pearson Education, Inc. 1 Chapter 2 Linear Functions and Equations.
C ollege A lgebra Linear and Quadratic Functions (Chapter2) 1.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 2 Graphs and Functions.
Copyright © Cengage Learning. All rights reserved. 1 Functions and Their Graphs.
Copyright © 2010 Pearson Education, Inc. 2.1Linear Functions and Models 2.2Equations of Lines 2.3Linear Equations 2.4Linear Inequalities 2.5 Piece-wise.
Introduction to regression 3D. Interpretation, interpolation, and extrapolation.
Chapter 2 Functions and Graphs Copyright © 2014, 2010, 2007 Pearson Education, Inc More on Slope.
Objective  SWBAT review for Chapter 5 TEST.. Section 5.1 & 5.2 “Write Equations in Slope-Intercept Form” SLOPE-INTERCEPT FORM- a linear equation written.
Chapter 1 Functions and Their Graphs
P.2 Linear Models & Rates of Change 1.Find the slope of a line passing thru 2 points. 2.Write the equation of a line with a given point and slope. 3.Interpret.
Copyright © Cengage Learning. All rights reserved. P Prerequisites.
Section 2.2 – Linear Equations in One Variable
Linear Equations in Two Variables (Day 1) 1.3
Section 2.3 Linear Functions and Slopes
CHAPTER 1 Linear Equations Section 1.1 p1.
Linear Equations in Two Variables 1.3
1. Write the equation in standard form.
Linear Functions.
POINTS AND LINES ON THE COORDINATE PLANE
Chapter 1 Linear Equations and Linear Functions.
Math Module 2 Lines.
Graphing Linear Equations
Chapter 1 Linear Equations and Graphs
Quick Graphs of Linear Equations
2.1a Polynomial Functions Linear Functions Linear Correlation/Modeling
Copyright 2012, 2008, 2004, 2000 Pearson Education, Inc.
Copyright © Cengage Learning. All rights reserved.
COORDINATES, GRAPHS AND LINES
PreCalculus 1st Semester
Copyright © Cengage Learning. All rights reserved.
The Least-Squares Regression Line
College Algebra Chapter 2 Functions and Graphs
4.2 Polynomial Functions and Models
Lesson 5.3 How do you write linear equations in point-slope form?
Equations of Lines and Modeling
Algebra: Graphs, Functions, and Linear Systems
Linear Equations in Two Variables
2.5 Linear Equations.
Warm-up: Check the equation y = 3x – x3 for symmetry.
Chapter 3 Section 3.
3-5 & 3-6 Lines in the Coordinate Plane & Slopes of Parallel and Perpendicular Lines.
Precalculus Essentials
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Equations of Straight Lines
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Chapter 3 Section 3.
3.1 Reading Graphs; Linear Equations in Two Variables
Graphing Linear Equations
Copyright © Cengage Learning. All rights reserved.
Copyright © 2014, 2010, 2007 Pearson Education, Inc.
Linear Models and Rates of Change
3 Chapter Chapter 2 Graphing.
Equations of Lines Point-slope form: y – y1 = m(x – x1)
5.4 Finding Linear Equations
3 Chapter Chapter 2 Graphing.
Graphing Linear Equations
Algebra: Graphs, Functions, and Linear Systems
Lines in the plane Presented by group 4.
Copyright 2013, 2009, 2005, 2002 Pearson, Education, Inc.
MATH 2311 Section 5.3.
Presentation transcript:

2.1 Equations of Lines Write the point-slope and slope-intercept forms Find the intercepts of a line Write equations for horizontal, vertical, parallel, and perpendicular lines Use interpolation and extrapolation Model data with lines and linear functions Use linear regression to model data

Point-Slope Form of the Equation of a Line The line with slope m passing through the point (x1, y1) has an equation y = m(x − x1) + y1 or y − y1 = m(x − x1), the point-slope form of the equation of a line.

Example: Determining a point-slope form (1 of 3) Find an equation of the line passing through the points (−2, −3) and (1, 3). Plot the points and graph the line by hand. Solution Calculate the slope of the line.

Example: Determining a point-slope form (2 of 3) Substitute (1, 3) for (x1, y1) and 2 for m Or substitute (−2, −3) for (x1, y1) and 2 for m

Example: Determining a point-slope form (3 of 3)

Slope-Intercept Form of the Equation of a Line The line with slope m and y-intercept (0, b) is given by y = mx + b, the slope-intercept form of the equation of a line.

Example: Finding slope-intercept form Find the slope-intercept form of the line passing through the points (−2, 1) and (2, 3). Solution Determine m and b in the form y = mx + b Substitute either point to find b, use (2, 3).

Standard Form (1 of 2) An equation of a line is in standard form when it is written as Ax + By = C where A, B, and C are constants and A and B are not both zero

Finding Intercepts (1 of 2)

Finding Intercepts (2 of 2) To find any x-intercepts, let y = 0 in the equation and solve for x. To find any y-intercepts, let x = 0 in the equation and solve for y.

Example: Finding intercepts (1 of 2) Locate the x- and y-intercepts for the line whose equation is 4x + 3y = 6. Use the intercepts to graph the equation. Solution To find the x-intercept, let y = 0, solve for x: 4x + 3(0) = 6 x = 1.5 The x-intercept is (1.5, 0).

Example: Finding intercepts (2 of 2) To find the y-intercept, let x = 0, solve for y: 4(0) + 3y = 6 y = 2 The y-intercept is (0, 2). The graph passes through the points (1.5, 0) and (0, 2).

Horizontal Lines Graph of a constant function f Formula: f(x) = b Horizontal line with slope 0 and y-intercept (0, b). Note that regardless of the value of x, the value of y is always 3.

Vertical Lines Cannot be represented by a function Slope is undefined Equation is: x = k Note that regardless of the value of y, the value of x is always 3. Equation is x = 3 (or x + 0y = 3) Equation of a vertical line is x = k where k is the x-intercept.

Equations of Horizontal and Vertical Lines An equation of the horizontal line with y-intercept (0, b) is y = b. An equation of the vertical line with x-intercept (k, 0) is x = k.

Standard Form (2 of 2)

Parallel Lines Two nonvertical lines with slopes m1 and m2, are parallel if and only if their slopes are equal; that is, m1 = m2.

Perpendicular Lines (1 of 2)

Perpendicular Lines (2 of 2) Two nonvertical lines with slopes m1 and m2, are perpendicular if and only if their slopes have a product of −1; that is, m1m2 = −1.

Example: Finding perpendicular lines (1 of 2)

Example: Finding perpendicular lines (2 of 2)

Interpolation and Extrapolation Interpolation occurs when we estimate for values between given data points. Extrapolation occurs when we estimate for values that are not between the given data points. Interpolation is usually more accurate than extrapolation.

Example: Estimating iPod sales (1 of 6) Apple Corporation sold approximately 55 million iPods in 2008 and 43 million iPods in 2011. (Refer to the introduction of this section.) a. Find the point-slope form of the line passing through (2008, 55) and (2011, 43). Interpret the slope of the line as a rate of change. b. Sketch a graph of the data and the line connecting these points.

Example: Estimating iPod sales (2 of 6) c. Estimate sales in 2010 and compare the estimate to the true value of 50 million. Did your answer involve interpolation or extrapolation? d. Estimate sales in 2023. Discuss the accuracy of your answers. Did your answer involve interpolation or extrapolation?

Example: Estimating iPod sales (3 of 6) Solution a. Determine slope: (2008, 55) and (2011, 43) Thus sales of iPods decreased, on average, by 4 million iPods per year from 2008 to 2011. If we substitute −4 for m and (2008, 55) for (x1, y1), the point- slope form is y = −4(x − 2008) + 55.

Example: Estimating iPod sales (4 of 6) b. The graphed line passing through the data points.

Example: Estimating iPod sales (5 of 6) c. Estimate sales in 2010 and compare the estimate to the true value of 50 million. Did your answer involve interpolation or extrapolation? If x = 2010, then y = −4(2010 − 2008) + 55 = 47 million. This estimated value is 3 million lower than the true value of 50 million. Because 2010 is between 2008 and 2011, this answer involves interpolation.

Example: Estimating iPod sales (6 of 6) d. Estimate sales in 2023. Discuss the accuracy of your answers. Did your answer involve interpolation or extrapolation? We can use the equation to estimate 2023 sales as follows. y = −4(2023 − 2008) + 55 = −5 million The 2023 value is clearly incorrect because sales cannot be negative. Because 2023 is not between 2008 and 2011, this answer involves extrapolation.

Example: Modeling global numbers of cars shipped (1 of 8) The table lists the number of cars shipped globally for selected years. Year Car 2013 69 2015 75 2017 81 2019 88

Example: Modeling global numbers of cars shipped (2 of 8) a. Make a scatterplot of the data. b. Find a formula in point-slope form and slope-intercept form for a linear function ƒ that models the data. c. Graph the data and y = ƒ(x) in the same xy-plane. d. Interpret the slope of the graph of y = ƒ(x). e. Estimate the number of car shipments in 2020. Compare your answer to the predicted value of 92 million. Does your answer involve interpolation or extrapolation?

Example: Modeling global numbers of cars shipped (3 of 8) Solution a. Scatterplot: [2012, 2020, 2] by [50, 100, 10]

Example: Modeling global numbers of cars shipped (4 of 8) b. Point-slope formula Because the data are nearly linear, we could require that the line pass through the first data point (2013, 69) and the last data point (2019, 88). The slope of this line is Using (2013, 69)

Example: Modeling global numbers of cars shipped (5 of 8) b. Slope-intercept form If we apply the distributive property to the point-slope form, we obtain the following slope-intercept form.

Example: Modeling global numbers of cars shipped (6 of 8) c. Graph the data and y = f(x) [2012, 2020, 2] by [50, 100, 10]

Example: Modeling global numbers of cars shipped (7 of 8)

Example: Modeling global numbers of cars shipped (8 of 8) e. Estimate the number of car shipments in 2020. Compare your answer to the predicted value of 92 million. Does your answer involve interpolation or extrapolation? This model predicts 91.2 million car shipments globally during 2020. This result is quite close to the given estimate of 92 million and involves extrapolation because 2020 is not between 2013 and 2019.

Linear Regression (1 of 2) We have used linear functions to model data involving the variables x and y. Problems where one variable is used to predict the behavior of a second variable are called regression problems. If a linear function or line is used to approximate the data, then the technique is referred to as linear regression.

Linear Regression (2 of 2) We have already solved problems by selecting a line that visually fits the data in a scatterplot. See Example 12. However, this technique has some disadvantages. First, it does not produce a unique line. Different people may arrive at different lines to fit the same data. Second, the line is not determined automatically by a calculator or computer. A statistical method used to determine a unique linear function or line is based on the method of least squares.

Correlation Coefficient (1 of 2) Most graphing calculators have the capability to calculate the least-squares regression line. When determining the least-squares line, calculators often compute a real number r, called the (linear) correlation coefficient, where −1 ≤ r ≤ 1. When r is positive and near 1, low x-values correspond to low y-values and high x-values correspond to high y-values. For example, there is a positive correlation between years of education x and income y. More years of education correlate with higher income.

Correlation Coefficient (2 of 2) When r is near −1, the reverse is true. Low x-values correspond to high y-values and high x-values correspond to low y-values. If r ≈ 0, then there is little or no (linear) correlation between the data points. In this case, a linear function does not provide a suitable model.

Example: Modeling data with a regression line (1 of 5) Refer to the data from a previous example about cars. a. Find the least-squares regression line that models this data. b. Compare the regression line with the one that was found in Example 12 by writing both lines in slope-intercept form. Year Car 2013 69 2015 75 2017 81 2019 88

Example: Modeling data with a regression line (2 of 5) Solution a. The equation of the regression line is y = 3.15x − 6272.15

Example: Modeling data with a regression line (3 of 5) The equation of the regression line is y = 3.15x − 6272.15

Example: Modeling data with a regression line (4 of 5) b. The equation of the line found in a previous Example can be written in slope-intercept form as follows.

Example: Modeling data with a regression line (5 of 5) Notice that the slope-intercept forms for these two lines are not exactly alike. Their slopes are 3.15 and about 3.17, and their y-intercepts are (0, −6272.15) and (0, −6305.5), respectively. However, both lines model the data reasonably well.