370 likes | 426 Views
Algebra 2 Chapter 2 Notes Linear Equations and Functions. 2.1. Functions and their Graphs.
E N D
Algebra 2 Chapter 2 Notes Linear Equations and Functions
2.1 Functions and their Graphs • A RELATION is a mapping or pairing of input values with output values. The set of input values in the DOMAIN and the set of output values is the RANGE. A relation is a FUNCTION if there is exactly one output for each input. It is not a function if at lest one input has more than one output. • ( x , y ) = (domain , range ) = ( input , output) = (independent , dependent) • Not a functionYes a function • 3 3 - 3 3 • 1 –2 1 1 • 1 2 • 4 4 4 –2 • A relation is a function if and only if no vertical line intersects the graph of the relationship at more than one point. NOT a RELATION YES a RELATION
2.1 Coordinate Plane Y axis Quadrant II ( – , + ) Quadrant I ( + , + ) ( 0 , 0 ) X axis Quadrant III ( – , – ) Quadrant IV ( + ,– ) x coordinate is first y coordinate is second Ordered pairs in form of ( x , y )
2.1 Functions and their Graphs y = m x + b LINEAR FUNCTION f (x) = m x + b FUNCTION NOTATION • Graphing equations in 2 variables • Construct a table of values • Graph enough solutions to recognize a pattern • Connect the points with a line or a curve y Graph the function: y = x + 1 x
2.1 Functions and their Graphs • Are these functions linear?. Evaluate when x = – 2 • f ( x ) = – x2 – 3 x + 5 Not a function because x is to the 2nd power • f ( – 2 ) = – ( – 2 ) 2 – 3 ( – 2 ) + 5 • f ( – 2 ) = 7 • g ( x ) = 2 x + 6 Yes a function because x is to the 1st power • g ( – 2 ) = 2 ( – 2 ) + 6 • g (– 2 ) = 2
2.1 Slope and Rate of Change SLOPEof a non-vertical line is the ratio of a vertical change (RISE) to a horizontal change (RUN). Slope of a line: m = y2 – y1 = RISE x2 – x1= RUN (differences in y values) (differences in x values) y ( x2,y2) • y2 – y1 RISE ( x1,y1) • x2 – x1 RUN x
2.2 Slope and Rate of Change CLASSIFICATION OF LINES BY SLOPE A line with a +slope rises from left to right [ m > 0 ] Positive Slope A line with a –slope falls from left to right [ m < 0 ] Negative Slope A line with a slope of 0 is horizontal [ m = 0 ] 0 Slope A line with an undefined slope is vertical [ m = undefined, no slope ] No Slope
2.2 Slope and Rate of Change SLOPES OF PARALLEL & PERPENDICULAR LINES PARALLEL LINES: the lines are parallel if and only if they have the SAME SLOPE. m1 = m2 PERPENDICULAR LINES: the lines are perpendicular if and only if their SLOPES are NEGATIVE RECIPROCALS. m1 = –1 m2 or m1m2 = – 1
2.2 Slope and Rate of Change Slope of a line: m = y2 – y1 = RISE (differences in y values) x2 – x1= RUN (differences in x values) Ex 1: Find the slope of a line passing through ( – 3, 5 ) and ( 2, 1 ) Let ( x1, y1 ) = ( – 3, 5 ) and ( x2, y2 ) = ( 2, 1 ) m = 5 – 1 = 4 – 3 – 2 – 5 OR m = 1 – 5 = – 4 2 + 3 5 5 • ( – 3, 5 ) –4 • x ( 2, 1 ) y
2.2 Slope and Rate of Change • Example 2: Without graphing tells if slope rises, falls, horizontal or vertical: • ( 3, – 4 ) and ( 1, – 6 ) : m = – 6 – ( – 4 ) = - 2 = 1 m > 0, rises • 1 – 3 - 2 • b) ( 2, 2 ) and ( –1, 5 ) : m = 5 – ( – 1 ) = 6 = undefined m = no slope • 2 – 2 0 For 2 lines with + slopes, the line with > slope is steeper For 2 lines with – slopes, the line with slope of > absolute value is steeper: y m = 3 m = - 3 m = 1 m = - 1 m = 1/2 m = - 1/2 x
2.2 Classifying Lines Using Slopes Classifying Perpendicular Lines Line 1 through ( – 3 , 3) and ( 3 , – 1 ) m 1 = – 1 – 3 = – 4 = – 2 3 – ( - 3) 6 3 Line 2 through ( - 2 , - 3 ) and ( 2 , 3 ) y L2 L1 ( –3 , 3 ) • • ( 2, 3 ) x • m 2 = 3 – ( – 3 ) = 6 = 3 2 – ( – 2 ) 4 2 ( 3 , – 1 ) Because m1 ∙ m2 = – 2 ∙ 3 = – 1 3 2 are negative reciprocals of each other, the lines are perpendicular. • ( –2 , – 3 )
2.2 Classifying Lines Using Slopes Classifying Parallel Lines Line 1 through ( – 3 , 3) and ( 3 , – 1 ) m 1 = 4 – 1 = 3 = 1 3 – ( - 3) 6 2 Line 2 through ( - 2 , - 3 ) and ( 2 , 3 ) ( 3, 4 ) y • ( 4 , 1 ) ( -3 , 1 ) • • x m 2 = 1 – ( – 3 ) = 4 = 1 4 – ( – 4 ) 8 2 L1 ( -4 , - 3 ) Because m1 = m2 and the lines are different, then the lines are parallel. • L2
2.3 Quick Graphs of Linear Equations Slope Intercept Form of a linear equation is y = m x + b, where m is slope and b is y-intercept • Graphing Equations in slope-intercept form: • Write the equation in slope-intercept form by solving for y • Find y-intercept, then plot the point where line crosses the y-axis • Find the slope and use it to plot a second point on the line. • Draw a line through the 2 points. y • Example 1: Graphing with the slope-intercept • Graph: y = 3 x − 2 • 4 • Already in slope-intercept form • y -intercept is – 2, plot point ( 0 , – 2 ) • where the line crosses the y-axis • 3. Slope is ¾ , so plot 4 units to right, • 3 units up, point is ( 4 , 1 ) • 4. Draw a line through the 2 points ( 4 , 1) • x 3 • ( 0 , – 2) 4
2.3 Quick Graphs of Linear Equations Standard Form of a linear equation is ax + by = c x-intercept of a line is the x-coordinate of the point where the line intersects the x-axis • Graphing Equations in standard form • Write the equation in standard form • Find x-intercept, by letting y = 0, solve for x, plot the point where x crosses the x-axis • Find y-intercept, by letting x = 0, solve for y, plot the point where y crosses the y-axis • Draw a line through the 2 points. • Method 1 by using Standard Form: • Graph 2 x + 3 y = 12 • Already using standard form: 2 x • Let y = 0 2 x + 3(0) = 12 • 2 x = 12 • x = 6 • x-intercept is at ( 6 , 0 ) • Let x = 0 2 (0) + 3 y = 12 • 3 y = 12 • y = 4 • y-intercept is at ( 0 , 4 ) • 2 x + 3 y = 12 ( 0 , 4 ) • ( 6 , 0 )
2.3 Quick Graphs of Linear Equations • 3 • Method 2 by using Slope-Intercept Form: • Graph 2 x + 3 y = 12 • Change from standard form to slope-intercept form: 2 x + 3 y = 12 • -2 x - 2 x • 3 y = – 2 x + 12 • 3 3 • y = – 2 x + 4 • 3 • Identify , plot y-intercept • Use slope to plot other point • Draw a line through the points ( 0 , 4 ) 2 • ( 3 , 2 ) 2 x + 3 y = 12 y-intercept slope y x = 3 ( 0 , 3 ) y = 3 • Horizontal lines --- graph of y = c is a horizontal line through, (0 , c) Vertical lines --- graph of x = c is a vertical line through (c, 0) Graph y = 3 and x = -2 ( - 2 , 0 ) • x
2.4 Writing Equations of Lines Slope-Intercept Form: y = m x + b Point-Intercept Form: y – y1 = m ( x – x1 ) Two Points: m = y2 – y1 x2 – x1 * Every non-vertical line has only one slope and one y-intercept m = slope b = y-intercept y • Write an equation of line shown • From graph you can see the slope, m = 3 • 2 • From graph you can see that it intersects at ( 0 , −1 ) , so the y-intercepts is b = −1 • ( 2, 2) x 3 • Equation of the Line is: y = 3 x − 1 2 ( 0, −1) 2
2.4 m ( x1 ,y1 ) Writing equations of the line given slope of − 1 and a point, ( 2 , 3 ) 2 Writing Equations of Lines y – y1= m ( x – x1) y – 3= –1( x – 2) 2 y – 3= –1x + 1 2 + 3 + 3 y = – 1 x + 4 2 Equation of the Line
2.4 Writing Equations of Perpendicular and Parallel Lines y – y1 = m2 ( x – x1) y – 2 = 1 ( x – 3) 3 y – 2 = 1 x – 1 3 + 2 + 2 y = 1 x + 1 3 Example 3a: Equation of a line that passes through ( 3 , 2 ) that is perpendicular to the line: y = – 3 x + 2 Perpendicular means m2 = – 1 m1 Example 3b: Equation of a line that passes through ( 3 , 2 ) that is parallel to the line: y = – 3 x + 2 Parallel means m2 = m1 = – 3 and ( x1 , y1 ) = ( 3 , 2 ) y – y1 = m2 ( x – x1) y – 2 = – 3 ( x – 3) y – 2 = – 3 x + 9 + 2 + 2 y = – 3 x + 11
2.4 Writing Equations of Lines Writing Equations given 2 points where ( x1 , y1 ) = ( – 2 , –1 ) ( x2 , y2 ) = ( 3 , 4 ) m = y2 – y1 = 4 – ( – 1 )= 5 = 1 x2 – x1 3 – ( – 2 ) 5 y – y1 = m ( x – x1) y – ( – 1 ) = 1 [ x – ( – 2 ) ] y + 1 = 1 ( x + 2 ) y = x + 1
2.4 Writing the Equation of the Line The form you use depends on the information you have
2.5 Writing Direct Variation Equations • Direct Variation is shown by y = k x , where k ≠ 0 and k is a constant, (that is a single value) • Example 1: Variables x and y vary directly, y = 12 and x = 4 • write and graph an equation for y and x • find y when x = 5 • y x y 0 0 4 12 5 15 • y = kx (12 ) = k (4) 3 = k • x y = 3x Example 3 x = 9 and y = 15 y = kx 15 = k9 5= k 3 Example 2 x = 6 and y = 3 y = kx 3 = k6 1= k 2 y = 1x 2 y = 5x 3
2.5 Scatter Plots A scatter plot is a graph used to determine, whether there is a relationship between paired data. Positive Correlation Negative Correlation • • • • • • • • • • • • • • • • • • • • • • • • No Correlation • • • • • • • • • • • • • • • •
2.5 A scatter plot is a graph used to determine, whether there is a relationship between paired data Approximating a best-fitting line: Graphical approach Step 1: draw a scatter plot of dataStep 2: sketch the line based on the pattern Step 3: choose 2 points on the line Step 4: find the equation of the line that passes through the 2 points Example 2: Fitting a line to data Line through two points: m = 1 − .6 = .4 = .25 2.5 - .9 1.6 Point-slope form: y – y1 = m ( x – x1) y – .6 = .25 ( x – .91) y – .6 = .25 x - .225 + .6 + .6 y = .25 x + .225 Scatter Plots • • 1.2 .8 .4 .2 • • • • • • • • • • • • 0 1 2 3
2.6 Linear Inequalities in Two Variables Linear Inequalities in Two Variables can be written in one of the following forms: ax + by < c ax + by ≤ c ax + by > c ax + by ≥ c An ordered pair ( x , y ) is a solution of a linear inequality if the inequality is true for values of x , y. Example, ( − 6 , 2 ) is a solution of y ≥ 3 x − 9 because 2 ≥ 3 (− 6) − 9 is true as 2 ≥ − 27 Example 1: Checking Solutions of Inequalities Ordered pairs Substitute Conclusion ( 0 , 1 ) 2 ( 0 ) + 3 ( 1 ) ≥ 5 3 ≥ 5 False, not a solution ( 4 , −1 ) 2 (4 ) + 3 (−1 ) ≥ 5 5 ≥ 5 True, is a solution ( 2 , 1 ) 2 ( 2 ) + 3 ( 1 ) ≥ 5 7 ≥ 5 True, is a solution
2.6 Linear Inequalities in Two Variables Graph of a linear inequality in two variables is a half-plane. To graph a linear inequality follow these steps: Step 1: Graph the boundary line of the inequality. Remember to use a dash line for < or > and a solid line for ≤ or ≥ Step 2: Test a point out that is NOT on the line to see what side to shade. Graph: y < − 2 Graph: x < 1 y y x < 1 x = 1 x x y = − 2 y < − 2
2.7 Graphing Linear Inequalities in Two Variables y = 2 x • • • Test Point ( 1, 1 ) y < 2 x Test Point ( 0, 0 ) 2 x – 5 y = 10 • • • 2 x – 5 y > 10
2.7 Piecewise Functions Piecewise Functions: A combination of equations, each corresponding to part of a domain Example 1: Evaluating a piecewise function Evaluate f (x) when x = 0, when x = 2 and when x = 4 Evaluate f (x) = x + 2 , if x < 2 2 x + 1 , if x ≥ 2 Solution: When x = 0 , f (x) = x + 2 f (0) = 0 + 2 = 2 When x = 2 , f (x) = 2 (x) + 1 f (2) = 2 (2) + 1 = 5 When x = 4 , f (x) = 2 (x) + 1 f (4) = 2 (4) + 1 = 9 { • ○ 0 2
2.7 Graphing Piecewise Functions { Graphing a Piecewise Functions: f (x) = 1x + 3 , if x < 1 2 2 − x + 3 , if x ≥ 1 ( 1 , 2 ) • • • f (x) = 1 x + 3 2 2 • f (1) = 1 (1 ) + 3 = 4 = 2 2 2 2 f ( −3) = 1 ( −3) + 3 = 0 2 2 f ( x ) = − x + 3 f ( 1 ) = − ( 1 ) + 3= 2 f (3 ) = − (3) + 3 = 0 2 rays with a common initial point, ( 1, 2 )
2.7 Graphing Piecewise Functions y Graph the following piecewise function, show all work, label graph • { f (x) = 2x – 1 , if x ≤ 1 3 x + 1 , if x > 1 ○ • x •
2.7 Graphing Piecewise Functions { y ○ • 4 f (x) = 1 , if 0 ≤ x < 1 2 , if 1 ≤ x < 2 3 , if 2 ≤ x < 3 4 , if 3 ≤ x < 4 • ○ 3 • ○ 2 • ○ 1 x 1 2 3 4 It is called a Step function because its graph looks like a set of stair steps
2.7 Writing a Piecewise Function (−2 , 0 ) , ( 0 , 2 ) m = 0 – 2 = − 2 = 1 − 2 – 0 − 2 ( 0 , 2 ) ○ • ( 2 , 2 ) y = 1 x + 2 (−2 , 0 ) • • ( 0 , 0 ) y = 1 x + 0 (0, 0 ) , ( 2 , 2 ) m = 0 – 2 = − 2 = 1 0 – 2 − 2
y Writing a Piecewise Function y = x y = − x { • • x , if x > 0 Remember: │x│ =0, if x = 0 − x, if x < 0 ( − 2 , 2 ) ( 2 , 2 ) x • y = │x │ Vertex Slope – Intercept Form y = m x + b Absolute Value Function: y = a │ x – h │ + k
2.8 Absolute Value Functions Absolute Value Function: the a value gives you face up or down and steepness y = a │ x – h │ + k If a is + , then the graph is face up or If a is − , then the graph is face down If a is bigger, then slope is steeper If a is smaller, then slope is wider
2.8 Absolute Value Functions Absolute Value Function: the h value gives you Right (+) or left (−) movement of vertex y = a │ x – h │ + k The more h is + , the more the vertex moves to the right The more h is − , the more the vertex moves to the left y = a │ x – ( − 3) │ + k y = a │ x – ( 0 ) │ + k y = a │ x – ( 3 ) │ + k
2.8 Absolute Value Functions Absolute Value Function: the h value also gives you Line of Symmetry y = a │ x – h │ + k The line of symmetry is in the line x = h y = a │ x – ( − 3) │ + k y = a │ x – ( 0 ) │ + k y = a │ x – ( 3 ) │ + k x = − 3 x = 0 x = − 3
2.8 Absolute Value Functions Absolute Value Function: the k value gives you Up or down movement of the vertex y = a │ x – h │ + k The more k is + , the more the vertex moves up The more k is − , the more the vertex moves down y = a │ x – h │ + 3 y = a │ x – h │ + 0 y = a │ x – h│ − 3
2.8 Absolute Value Functions (h, k) values gives you the Vertex of the Absolute Value Function y = a │ x – h │ + k • (h, k)