Presentation is loading. Please wait.

Presentation is loading. Please wait.

Week 4 Functions and Graphs. Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation.

Similar presentations


Presentation on theme: "Week 4 Functions and Graphs. Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation."— Presentation transcript:

1 Week 4 Functions and Graphs

2 Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation of a line. Write and graph the slope-intercept equation of the line. Recognize the equation for horizontal and vertical lines. Recognize and use the general form of a line’s equation. Find slopes and equations of parallel and perpendicular lines. Find the distance between two points using the distance formula. Find the midpoint of a line segment. Define a circle and write the standard form of a circle’s equation. Give the center and radius of a circle whose equation is in standard form. Convert the general form of the circle’s equation to standard form.

3 Index Lines and Slopes Point slope form of a equation of a line Slope intercept form of a equation of a line Equation of horizontal and vertical line Finding the slope and y-intercept from the general equation of the line Parallel lines Perpendicular lines Distance formula Midpoint formula Circle Standard form of equation of a circle General form of equation of a circle

4 Lines and slopes Let us recall some important points: Line: Line is a collection of all the points (coordinates) that satisfy a linear equation. Graph of an equation: Let (x 1, y 1 ) and (x 2, y 2 ) be two solutions of an equation. On plotting these points on a graph paper and joining these points, we obtain a line, called the graph of the given equation. Intercepts are points where a line crosses the coordinate axes. x- intercept is the point where the line crosses the x-axis.  For instance, for equation y= 2x + 1, if y = 0 and we solve for x, we get x = -1/2.  The point (-1/2, 0 ) is the x-intercept. y- intercept is the point where the line crosses the y-axis.  For instance, for the same equation if x = 0, y = 1  The point (0,1) is the y-intercept  If we just plot these points and use a ruler connect them, we get the line for the equation.

5 Let us recall how we graph an equation Let us graph an equation y = 2x + 1  Now we find certain values of y corresponding to x which will help us plot the graph.  For instance, if we assume x = 0, then our equation becomes, y = 2 ( 0 ) + 1 (substituting the value of x in the given linear equation) y= 0 + 1 (simplify the equation) y = 1  So, we get one of the coordinate points as (0,1)  Now, let us assume x = 1, then y = 2 (1) + 1 ( substituting the value of x in the given linear equation) y = 2 + 1 ( simplifying the equation) y = 3  So, our next coordinate point (1,3)

6 Graph of equation (Cont…) Similarly assume some more values of x and compute y for those values and get a set of coordinate points as follows: When we plot these points on the rectangular coordinate axis and connect these points, we get a straight line. Any point on this line will satisfy the given equation. X (Assumed values) 01 y (Computed values) 13 1 2345 6 -2-3-4-5-6 1 2 3 4 5 6 -2 -4 -5 -6 (1, 3) (0, 1) (-1, -1) -3 X Y y = 2x + 1

7 Slope Slope of a line is a measure of the steepness of a line. Moving from one fixed point P ( x 1, y 1 ) to another fixed point Q ( x 2, y 2 ), slope compares the vertical change ( rise) i.e. y 2 – y 1 to the horizontal change (run) i.e. x 2 – x 1. Definition: The Slope (m) of the line through the distinct points ( x 1, y 1 ) and ( x 2, y 2 ) is m = Change in y = Rise Change in x Run = where x 2 – x 1  0 It is a common notation to let letter ‘m’ represent the slope of a line. (x 2, y 2 ) P Q (x 1, y 1 ) x1x1 x 2 y1y1 y2y2 Run x 2 – x 1 Rise y2 – y1 Y X

8 Calculating Slope of Line Let us find the slope of the line passing through each pair of points: (-3, -1) and (-2, 4) Let (x 1, y 1 ) = (-3, -1) and (x 2, y 2 ) = (-2, 4) Substituting the values in the equation of the slope: m = we get, m = 4 – (-1) -2 - (-3) = 4 + 1 (minus. minus = plus) -2 + 3 = 5/1 (simplifying the equation) The slope of the line is 5, indicating that there is a vertical change or a rise of 5 units for each horizontal change, a run of 1 unit. The slope is positive, and the line rises from left to right. -5 1 2345-2-3-4 1 2 3 4 5 6 -2 -3 -4 -5 -6 (-2, 4) (-3, -1)

9 Important Points (Slope) Positive Slope Positive slope moves upwards to the right (rises). In the figure (a), line rises from left to right. Negative Slope Negative slope moves downwards to the right (falls). In the figure (b), line falls from left to right. m>0 m<0 (a) (b) X Y X Y

10 Important Points (Slope) (Cont…) Zero Slope A horizontal line has no change in y, so the slope is zero. In figure (a), line is horizontal, so m = 0. Undefined Slope A vertical line has no change in x, so the slope is infinite. In figure (b), line is vertical, so m is undefined. m=0 X Y m is undefined X Y (a) (b)

11 Point Slope Form of Equation of a Line The point slope equation of a nonvertical line with slope m that passes through the point ( x 1, y 1 ) is y – y 1 = m ( x – x 1 ) Example: Let us find the point slope form of the equation of a line passing through (2, -5) with slope 6.  Point slope form of the equation is : y – y 1 = m (x – x 1 )  In this case we have m = 6, x 1 = 2, y 1 = -5 Substituting in the point slope form of equation, we get y – (-5) = 6 (x – 2) y + 5 = 6 ( x - 2) ( minus. minus = plus) We solve this equation for y, y + 5 = 6x - 12 (applying distributive property on the right side) y = 6x - 12 – 5 (subtract 5 from both sides) y = 6x - 17 (simplify)  This is the point slope equation of a line passing through point (2, -5) with slope 6.

12 Slope Intercept Form of Equation of Line The slope intercept equation of a nonvertical line with slope m and y- intercept b is y = m x + b Some Important Points: If b = 0, the equation y = m x + b reduces to y = m x, which is the equation of the line through the origin. If m = 0, b  0, then the equation y = m x + b reduces to y = b, which is the equation of the line parallel to x-axis at a distance b from it. If m = 0, b = 0, then the equation becomes y = 0, which represents the x-axis.

13 Slope Intercept Form of Equation of Line (Cont…) Now let us plot a graph of a line y = (3/5) x + 1  The equation of the line is in the form y = m x + b  We find that Slope, m = 3/5 (m = coefficient of x)  Next, we plot the y intercept.  Take x = 0  Then, y = (3/5). 0 + 1 = 1 ( Substituting the value of x in the equation and solving for y)  Point ( 0, 1) is the y intercept.  We plot this point on the graph.  Now we have to find a second point using the slope.  Write the slope in the form of a fraction i.e. m = 3/5. Here 3 is the rise and 5 is the run.  From point ( 0, 1) we move 3 units up (rise) and 5 units to the right (run).  This gives us the second point (5, 4).We plot this point on the graph.  Now using a straight edge to draw a line through the two points. 1 23456-2-3 1 2 3 4 5 6 -2 -3 -4 -5 -6 -1 (5, 4) (0, 1)

14 Equations of Horizontal and Vertical lines. Horizontal Line Equation of a horizontal line is y = b. ( Figure a) The point (0, b) is the y-intercept. Vertical Line Equation of a vertical line is x = a. (Figure b) The point (a, 0) is the x-intercept. (0,b) (a) (b) (a, 0) X X Y Y

15 Finding the slope and y-intercept from the general equation of a line Now let us find the slope and y-intercept of a line whose equation is given in the general form A x + B y + C = 0 where A, B and C are real numbers, and A and B  0 As we have to find the y-intercept, so we isolate the y term and reduce the given equation to the form y = m x + b Example: 3x + 6y - 12 = 0. 6y - 12 = -3x (Subtract 3x from both sides) 6y = -3x + 12 ( Add 12 to both sides) y = (-3/6) x + 12/6 (Divide both sides by 6) y =(-1/2) x + 2 The coefficient of x, -1/2, is the slope and the constant term, 2, is the y- intercept.

16 Parallel Lines Two non intersecting lines that lie in the same plane are parallel. Slope and Parallel lines Slopes of parallel lines are equal.i.e.If slope of a line is m then the slope of a line parallel to this line will also be m. We can say that if m 1 and m 2 are the slopes of two parallel lines then m 1 = m 2. If two nonvertical lines are parallel, then they have the same slope. (Figure a) Conversely, if two distinct nonvertical lines have the same slope, then they are parallel. (Figure a) Two distinct vertical lines, both with undefined slopes are parallel. (Figure b) Y X (a) X Y (b)

17 Perpendicular Lines Two lines that intersect at a right angle (90 degrees) are called perpendicular lines. Slope and Perpendicular Lines Slopes of perpendicular lines are negative inverses. i.e. If slope of one line is m then the slope of the line perpendicular to this line is –1/m. If two nonvertical lines are perpendicular, then the product of their slopes is –1. Conversely, if the product of the slopes of the two lines is –1, the lines are perpendicular. One line is perpendicular to another line if its slope is negative reciprocal of the slope of the other. X Y 90 0

18 Distance Formula Distance between two given points The distance between two given points in a plane is the length of the line segment joining them. Distance Formula The distance, d, between the points (x 1,y 1 ) and ( x 2,y 2 ) in the rectangular coordinate system is d (x 2, y 2 ) (x 1, y 1 ) |y 2 – y 1 | |x 2 – x 1 | X Y

19 Distance Formula (Cont…) Let us find the distance between (2, -2) and (5, 2) Here we assume that (x 1,y 1 ) = ( 2, -2 ) and (x 2, y 2 ) = ( 5, 2 ) Using the distance formula, we get, =  [ 5 – 2] 2 + [2 – (-2)] 2 =  (5 – 2 ) 2 + ( 2 + 2 ) 2 ( minus. minus = plus) =  3 2 + 4 2 ( performing the resulting operations) =  9 + 16 (square 3 and 4) =  25 (add) = 5 (  25 =  5. 5 = 5 ) 1 2345-2-3-4-5 1 2 3 4 5 -2 -3 -4 -5 (2, -2) (5, 2) X Y

20 Midpoint formula The midpoints of a line segment joining two points (x 1,y 1 ) and ( x 2,y 2 ) divides the segment in the ratio 1:1. The coordinates of midpoint are (x 1, y 1 ) (x 2, y 2, ) X Y

21 Circle Definition: A Circle is the set of all points in a plane that are equidistant from a fixed point, called center. The fixed distance from the circle’s center to any point on the circle is called the radius. The figure shows a circle with center (h, k) and radius r. (h, k) Radius(r) X Y

22 Standard Form of Equation of a Circle Let us now obtain the equation of a circle. We have placed the circle in the rectangular coordinate system. Center of the circle is (h, k) and radius is r. Suppose (x, y) represents the coordinates of any point on the circle. Let us find the distance between the two points (h, k) and (x, y) using distance formula, Substituting the values, (x 1, y 1 ) = (h, k) and (x 2, y 2 ) = (x, y), we get, Squaring both sides, Reversing the sides we obtain the standard form of the equation of a circle as (x - h) 2 + (y - k) 2 = r 2 (h,k) (x.y) r X Y

23 Using the Standard Form of Equation of Circle to Graph a Circle Procedure: Standard Equation of the circle is : (x – h) 2 + (y - k) 2 = r 2 In order to graph a circle, we need to know its center (h, k) and radius r. We can find the values for h, k, and r by comparing the given equation to the standard form of the equation of a circle. To graph a circle, we first plot the center (h, k) and then locate the radius according to the coordinates of the center and locate at least four points by going right, left, up and down from the center. Then, using the points obtained by the radius, we can graph the circle. (h,k) (x.y) r X Y

24 General Form of Equation of a Circle The general form of the equation of the circle is x 2 + y 2 + D x + E y + F = 0 Converting the general form of the circle’s equation to standard form and graphing the circle. We have the equation of the circle in general form, x 2 + y 2 + D x + E y + F = 0. Group the x-terms, y-terms and the constant terms separately. i.e., ( x 2 + D x ) + ( y 2 + E y ) = - F Then add and subtract terms, say P 2 and Q 2 to complete the square on x and y and perform the same operations on the right side of the equation as well. i.e. ( x 2 + D x + P 2 ) + ( y 2 + E y + Q 2 ) = - F + P 2 + Q 2 Simplify the terms obtained on the both sides of the equation, ( x + P) 2 + ( y + Q) 2 = r 2 We can rewrite this equation as: [ x –(-P)] 2 + [y –(-Q)] 2 = r 2 Now, reduce the equation to its standard form: (x – h) 2 + (y – k) 2 = r 2 (where h = -P and k = -Q)

25 Summary Let us recall what we have learnt so far: The slope of the line through the distinct points ( x 1, y 1 ) and ( x 2,y 2 ) is Change in y (m) =, where x 2 – x 1  0 Change in x Equations of lines: Point-slope form y – y 1 = m (x – x 1 ) Slope-intercept form y = m x + b General form Ax + By + C = 0 Horizontal line y = b Vertical line x = a Parallel lines have equal slopes and perpendicular lines have slopes that are negative reciprocals. Distance formula: The distance, d, between the points (x 1, y 1 ) and ( x 2, y 2 ) in the rectangular coordinate system is

26 Summary (Cont…) Midpoint formula: The midpoints of a line segment joining two points (x 1,y 1 ) and ( x 2, y 2 ) divides the segment in the ratio 1:1. The coordinates of midpoint are Standard form of equation of a circle with center (h, k) and radius r is (x - h) 2 + (y - k) 2 = r 2 General form of equation of a circle is x 2 + y 2 + D x + E y + F = 0


Download ppt "Week 4 Functions and Graphs. Objectives At the end of this session, you will be able to: Define and compute slope of a line. Write the point-slope equation."

Similar presentations


Ads by Google