Linear Functions and Modeling

Slides:



Advertisements
Similar presentations
Estimating Total Cost for A Single Product
Advertisements

Scatterplots and a line of best fit
Unit 4: Linear Relations Minds On 1.Determine which variable is dependent and which is independent. 2.Graph the data. 3.Label and title the graph. 4.Is.
Regression Regression: Mathematical method for determining the best equation that reproduces a data set Linear Regression: Regression method applied with.
1 Linear Equation Jeopardy SlopeY-int Slope Intercept Form Graphs Solving Linear Equations Q $100 Q $200 Q $300 Q $400 Q $500 Q $100 Q $200 Q $300 Q $400.
Graphing Linear Equations In Slope-Intercept Form.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Prepared by Ozlem Elgun1.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Week 1 LSP 120 Joanna Deszcz.  Relationship between 2 variables or quantities  Has a domain and a range  Domain – all logical input values  Range.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Prepared by Ozlem Elgun1.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Studies of the metabolism of alcohol consistently show that blood alcohol content (BAC), after rising rapidly after ingesting alcohol, declines linearly.
LSP 120: Quantitative Reasoning and Technological Literacy Section 202
Prepared by Ozlem Elgun
Linear functions. Mathematical Function? Relationship between two variables or quantities Represented by a table, graph, or equation Satisfies vertical.
LSP 120: Quantitative Reasoning and Technological Literacy Section 118 Özlem Elgün.
Linear Modeling-Trendlines  The Problem - Last time we discussed linear equations (models) where the data is perfectly linear. By using the slope-intercept.
Linear Functions and Modeling
What is a linear function?
LSP 120: Quantitative Reasoning and Technological Literacy Section 903 Özlem Elgün.
Mathematical Modeling. What is Mathematical Modeling? Mathematical model – an equation, graph, or algorithm that fits some real data set reasonably well.
LSP 120: Quantitative Reasoning and Technological Literacy Section 903 Özlem Elgün.
~adapted from Walch Education CONSTRUCTING FUNCTIONS FROM GRAPHS AND TABLES.
Physics Graphing Using Excel. Advantages of Graphing with Spreadsheet Programs Can be fast. Handles lots of data and multiple calculations. Precise calculation.
Creating and Graphing Linear Equations in Two Variables ~Adapted from Walch Education.
Graphing & Interpreting Data
Graphing in Excel X-Y Scatter Plot SCI 110 CCC Skills Training.
Linear functions. Linear function? For a fixed change in one variable there is a fixed change in the other variable Slope stays the same.
Introduction Data surrounds us in the real world. Every day, people are presented with numbers and are expected to make predictions about future events.
Introduction Tables and graphs can be represented by equations. Data represented in a table can either be analyzed as a pattern, like the data presented.
Graphs of Equations in Two Variables Including Graphs of Functions (2.1, 2.2)
Linear Regression.
4-1 Identifying Linear Functions
Identifying Linear Functions
Graphing Linear Equations
Jon Curwin and Roger Slater, QUANTITATIVE METHODS: A SHORT COURSE ISBN © Thomson Learning 2004 Jon Curwin and Roger Slater, QUANTITATIVE.
Write Linear Equations in Slope- Intercept Form (Part 2) Big Idea: Verify that a point lies on a line. Derive linear equations.
Ekstrom Math 115b Mathematics for Business Decisions, part II Trend Lines Math 115b.
Chapter 2 Sections 1- 3 Functions and Graphs. Definition of a Relation A Relation is a mapping, or pairing, of input values with output. A set of ordered.
Warm Up Lesson Presentation Lesson Quiz Class work/Homework.
MTH 091 Section 13.1 The Rectangular Coordinate System Section 13.2 Graphing Linear Equations.
Copyright © 2010 Pearson Education, Inc. All rights reserved Sec
Points and Ordered Pairs Plot points on the rectangular coordinate system. Plot the x coordinate first then the y coordinate. This is an ordered pair.
Analyzing Data using Line Graphs Slope & Equation of a Line.
Exponential Functions Graphing. Exponential Functions  Graphing exponential functions is just like graphing any other function.  Look at the graph.
Linear Regression. Determine if there is a linear correlation between horsepower and fuel consumption for these five vehicles by creating a scatter plot.
Graphical Analysis in Excel EGN 1006 – Introduction to Engineering.
Correlation The apparent relation between two variables.
Scatter Plots, Correlation and Linear Regression.
Graphing  A mathematical picture  Graphs are used to show information quickly and simply  Change one variable at a time to determine relationships 
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.3 Prepared.
LSP 120: Quantitative Reasoning and Technological Literacy Topic 1: Introduction to Quantitative Reasoning and Linear Models Lecture Notes 1.2 Prepared.
LINEAR EQUATIONS & THEIR GRAPHS CHAPTER 6. INTRODUCTION We will explore in more detail rates of change and look at how the slope of a line relates to.
Section 1.6 Fitting Linear Functions to Data. Consider the set of points {(3,1), (4,3), (6,6), (8,12)} Plot these points on a graph –This is called a.
Discovering Mathematics Week 9 – Unit 6 Graphs MU123 Dr. Hassan Sharafuddin.
A Physics Toolkit Chapter Graphing Data Original Speed (m/s) Braking Distance (m) Section 1.3.
 G K Powers 2013 Cambridge University Press 5. Interpreting linear relationships Study guide 1.
7.3 Linear Equations and Their Graphs Objective: To graph linear equations using the x and y intercepts To graph horizontal and vertical lines.
Lines of Best Fit When data show a correlation, you can estimate and draw a line of best fit that approximates a trend for a set of data and use it to.
Chapter 1 Functions and Their Graphs
Fitting Equations to Data Chapter 7. Problems Classwork: 7.1, 7.8, 7.13, 7.22 Homework: 7.2, 7.9, 7.16, 7.23, 7.28.
Trick or Treat Halloween was almost over, and Mr. Green had less than 20 candies left. When the doorbell rang, he thought he would give all the candies.
Linear Regression Essentials Line Basics y = mx + b vs. Definitions
Correlation & Forecasting
Fitting Equations to Data
Welcome to LSP 120 Dr. Curt M. White.
Correlation Coefficient Using Technology
Graphs, Linear Equations, and Functions
Objectives Identify linear functions and linear equations.
Unit 6 describing data/scatter plots
Presentation transcript:

Linear Functions and Modeling Week 1 LSP 120 Joanna Deszcz

What is a function? Relationship between 2 variables or quantities Has a domain and a range Domain – all logical input values Range – output values that correspond to domain Can be represented by table, graph or equation Satisfies the vertical line test: If any vertical line intersects a graph in more than one point, then the graph does not represent a function.

What is a linear function? Straight line represented by y=mx + b Constant rate of change (or slope) For a fixed change in one variable, there is a fixed change in the other variable Formulas Slope = Rise Run Rate of Change = Change in y Change in x

Linear Function QR Definition: relationship that has a fixed or constant rate of change

Data Does this data represent a linear function? x y 3 11 5 16 7 21 9 26 31 Does this data represent a linear function? We’ll use Excel to figure this out

(y2- y1) (x2-x1) Rate of Change Formula Example: (16-11) = 5 ( 5-3) 2 (16-11) = 5 ( 5-3) 2 x y 3 11 5 16 7 21 9 26 31

In Excel Input (or copy) the data In adjacent cell begin calculation by typing = Use cell references in the formula Cell reference = column letter, row number (A1, B3, C5, etc.)   A B C 1 x y Rate of Change 2 3 11 5 16 =(B3-B2)/(A3-A2) 4 7 21 9 26 6 31

Is the function Linear? If the rate of change is constant (the same) between data points The function is linear

Derive the Linear Equation General Equation for a linear function y = mx + b x and y are variables represented by data point values m is slope or rate of change b is y-intercept (or initial value) Initial value is the value of y when x = 0 May need to calculate initial value if x = 0 is not a data point

Calculating Initial Value (b variable) Choose one set of x and y values We’ll use 3 and 11 Rate of change = m m=2.5 Plug values into y=mx+b and solve for b 11=2.5(3) + b 11=7.5 + b 3.5=b   A B C 1 x y Rate of Change 2 3 11 5 16 2.5 4 7 21 9 26 6 31 So the linear equation for this data is: y= 2.5x + 3.5

Practice – Which functions are linear x y 5 -4 10 -1 15 2 20 x y 1 2 3 5 9 7 13 x y 2 1 7 5 9 11 12 17 x y 2 20 4 13 6 8 -1

Graph the Line Select all the data points Insert an xy scatter plot Data points should line up if the equation is linear

Be Careful!!! t P 1980 67.38 1981 69.13 1982 70.93 1983 72.77 1984 74.67 1985 76.61 1986 78.60 Not all graphs that look like lines represent linear functions! Calculate the rate of change to be sure it’s constant. t=year; P=population of Mexico

Try this data Does the line still appear straight? t P 1980 67.38 1990 87.10 2000 112.58 2010 145.53 2020 188.12 2030 243.16 2040 314.32

Exponential Models Previous examples show exponential data It can appear to be linear depending on how many data points are graphed Only way to determine if a data set is linear is to calculate rate of change Will be discussed in more detail later

Mathematical Modeling Linear Modeling and Trendlines

Uses of Mathematical Modeling Need to plan, predict, explore relationships Examples Plan for next class Businesses, schools, organizations plan for future Science – predict quantities based on known values Discover relationships between variables

What is a mathematical model? Equation Graph or Algorithm that fits some real data reasonably well that can be used to make predictions

Predictions 2 types of predictions Extrapolations Interpolations predictions outside the range of existing data Interpolations predictions made in between existing data points Usually can predict x given y and vise versa

Extrapolations Be Careful - The further you go from the actual data, the less confident you become about your predictions.  A prediction very far out from the data may end up being correct, but even so we have to hold back our confidence because we don't know if the model will apply at points far into the future.

Let’s Try Some Cell phones.xls MileRecords.xls

Is the trendline a good fit? 5 Prediction Guidelines Guideline 1 Do you have at least 7 data points? Should use at least 7 for all class examples more is okay unless point(s) fails another guideline 5 or 6 is a judgment call How reliable is the source? How old is the data? Practical knowledge on the topic

Guideline 2 Does the R-squared value indicate a relationship? Standard measure of how well a line fits R2 Relationship =1 perfect match between line and data points =0 no relationship between x and y values Between .7 and 1.0 strong relationship; data can be used to make prediction Between .4 and .7 moderate relationship; most likely okay to make prediction < .4 weak relationship; cannot use data to make prediction

Guideline 3 Verify that your trendline fits the shape of your graph. Example: trendline continues upward, but the data makes a downward turn during the last few years verify that the “higher” prediction makes sense See Practical Knowledge

Guideline 4 Look for Outliers Often bad data points Entered incorrectly Should be corrected Sometimes data is correct Anomaly occurred Can be removed from data if justified

Guideline 5 Practical Knowledge How many years out can we predict? Based on what you know about the topic, does it make sense to go ahead with the prediction? Use your subject knowledge, not your mathematical knowledge to address this guideline