Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Graph Elements and Slope: Identifying Coordinates and Calculating Slope, Lecture notes of Construction

An introduction to the elements of a graph, including coordinates and the concept of slope. It covers how to identify the x and y coordinates of points on a graph, and explains the meaning and calculation of slope using examples and equations. The document also discusses the relationship between variables and generating points for graphing.

Typology: Lecture notes

2021/2022

Uploaded on 09/12/2022

princesspeach
princesspeach 🇺🇸

4.8

(5)

226 documents

1 / 32

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Click on the links below to jump directly to the relevant section
Elements of a graph
Linear equations and their graphs
What is slope?
Slope and y-intercept in the equation of a line
Comparing lines on a graph
Intersections and shifts of two lines
Nonlinear relationships
Elements of a graph
We often use graphs to give us a picture of the relationships between variables. Let's first
look at the basic construction of graphs.
• _The modern Cartesian coordinate system in two dimensions (also called a
rectangular coordinate system) consists of two axes called the x (horizontal)
and y (vertical) axes. These axes correspond to the variables we are relating. We
can also give the axes different names, such as Price and Quantity.
• _The point where the two axes intersect is called the origin. The origin is also
identified as the point (0, 0).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20

Partial preview of the text

Download Graph Elements and Slope: Identifying Coordinates and Calculating Slope and more Lecture notes Construction in PDF only on Docsity!

Click on the links below to jump directly to the relevant section

Elements of a graph Linear equations and their graphs What is slope? Slope and y-intercept in the equation of a line Comparing lines on a graph Intersections and shifts of two lines Nonlinear relationships

Elements of a graph

We often use graphs to give us a picture of the relationships between variables. Let's first look at the basic construction of graphs.

  • _The modern Cartesian coordinate system in two dimensions (also called a rectangular coordinate system ) consists of two axes called the x (horizontal) and y (vertical) axes. These axes correspond to the variables we are relating. We can also give the axes different names, such as Price and Quantity.
  • _The point where the two axes intersect is called the origin. The origin is also identified as the point (0, 0).
  • _The arrows on the axes indicate that they extend forever in the same direction.
  • _The intersection of the two axes creates four quadrants indicated by the roman numerals I, II, III, and IV. Conventionally, the quadrants are labeled counter- clockwise starting from the northeast quadrant. In Quadrant I the values are (x,y), and II:(-x,y), III:(-x,-y) and IV:(x,-y). (See table below.)
  • _To specify a particular point on a two dimensional coordinate system, you indicate the x unit first (abscissa), followed by the y unit (ordinate) in the form (x,y). (x,y) is called an ordered pair.
  • _An example of a point P on the system is indicated in the picture above using the coordinates (5,2). 5 is the x-coordinate and 2 is the y-coordinate of point P.
  • _ Note : In a three dimensional coordinate system, another axis, normally labeled z , is added, providing a sense of a third dimension of space measurement. The axes are commonly defined as mutually orthogonal to each other (each at a right angle to the other). Coordinates in three dimensions are given as (x,y,z).

Coordinates of Points

A coordinate is one of a set of numbers used to identify the location of a point on a graph. Each point is identified by both an x-coordinate and a y - coordinate.

Identifying the x-coordinate

The x -coordinate of a point is the value that tells you how far from the origin the point is on the horizontal, or x -axis. To find the x -coordinate of a point on a graph:

  • _Draw a straight line from the point directly to the x -axis.
  • _The number where the line hits the x -axis is the value of the x -coordinate.

Notation for Identifying Points Points are identified by stating their coordinates in the form of ( x , y ). Note that the x - coordinate always comes first.

  • _The x -coordinate of point B is 100.
  • _The y -coordinate of point B is 400.
  • _Coordinates of point B are (100, 400)
  • _The x -coordinate of point D is 400.
  • _The y -coordinate of point D is 100.
  • _Coordinates of point D are (400, 100)

Points On The Axes In the figure below, point A lies on the y -axis and point C lies on the x -axis. When a point lies on an axis, one of its coordinates must be zero.

Point A --If you look at how far the point is from the origin along the x -axis, the answer is zero. Therefore, the x -coordinate is zero. Any point that lies on the y -axis has an x - coordinate of zero. If you move along the y -axis to find the y -coordinate, the point is 400 from the origin. The coordinates of point A are (0, 400).

Point C --If you look at how far the point is from the origin along the y -axis, the answer is zero. Therefore, the y -coordinate is zero. Any point that lies on the x -axis has a y -coordinate of zero. If you move along the x -axis to find the x -coordinate, the point is 200 from the origin. The coordinates of point C are (200, 0).

Example

  1. Which point is labeled (20, 60)?
  2. Which point(s) have a y -coordinate of 30?

Answers to Example

  1. Which point is labeled (20, 60)? Point B
  2. Which point(s) have a y -coordinate of 30? Points A & C

The example above shows the relationship between ticket prices and attendance. From this graph, you can see that this is a linear relationship where attendance will go down as ticket prices go up. This graph allows you to determine how much you should charge for a ticket. Using this graph involves an understanding of linear relationships and how to graph equations of straight lines.

Variables and Constants

You will often come across characteristics or elements such as rates, outputs, income, etc., measured by numerical values. Some of these will always remain the same, and some will change. The characteristic or element that remains the same is called a constant. For example, the number of donuts in a dozen is always 12. Therefore, the number of donuts in a dozen is a constant. While some of these characteristics or elements remain the same, some of these values can vary (e.g., the price of a dozen donuts can change from $2.50 to $3.00). We call these characteristics or elements variables. Variable is the generic term for any characteristic or element that changes. You should be able to determine which characteristics or elements are constants and which are variables.

Relationships Between Variables

We express a relationship between two variables, which we will refer to as x and y , by stating the following: The value of the variable y depends upon the value of the variable x. We can write the relationship between variables in an equation. For instance: y = a + b x is an example of a relationship between x and y variables. The equation also has an "a" and "b" in it. These are constants that help define the relationship between the two variables.

  • _In this equation the y variable is dependent on the values of x , a, and b. The y is the dependent variable.
  • _The value of x , on the other hand, is independent of the values y , a, and b. The x is the independent variable.

The following is an example to illustrate how these equations are constructed.

Throughout this tutorial we will use an example of a pizza shop that charges 7 dollars for a plain pizza with no toppings and 75 cents for each additional topping added. The total price of a pizza ( y ) depends upon the number of toppings ( x ) you order. The price of a pizza is a dependent variable and number of toppings is the independent variable. In this example, both the price and the number of toppings can change; therefore, both are variables. The total price of the pizza also depends on the price of a plain pizza and the price per topping. In our example, the price of a plain pizza and the price per topping do not change; therefore, these are constants. The relationship between the price of a pizza and the number of toppings can be expressed as an equation of the form: y = a + b x If we know that x (the number of toppings) and y (the total price) represent variables, what are a and b? In our pizza example, "a" is the price of a plain pizza with no toppings and "b" is the price of each topping. They are constant. In other words, they are fixed values that specify how x relates to y. We can set up an equation to show how the total price of pizza relates to the number of toppings ordered.

If we create a table of this particular relationship between x and y , we'll see all the combinations of x and y that fit the equation. For example, if plain pizza (a) is $7.00 and price of each topping (b) is $.75, we get: y = 7.00 + .75 x

After you have completed your table, you should end up with the following list of points: (0, 7.00) , (1, 7.75), (2, 8.50), (3, 9.25), (4, 10.00) Notice the coordinates for each point are written using the ( x , y ) notation. You are now ready to create the graph of these points on a set of axes.

  1. Draw a set of axes and define the scale.

Once you have your list of points, you are ready to plot them on a graph. The first step in drawing the graph is setting up the axes and determining the scale. The points you have to plot are:

(0, 7.00), (1, 7.75), (2, 8.50), (3, 9.25), (4, 10.00)

Notice that the x values range from 0 to 4 and the y values go from 7 to 10. The scale of the two axes must include all the points. The distance between the points must be equal on each axis but does not have to be the same for both axes. On the diagram below, notice that the x -axis goes up to 5 and the y -axis goes up to 10; the scale on each axis can be different.

  1. Plot the points on the axes.

After you have drawn the axes, you are ready to plot the points.

  1. Draw the line by connecting the points. Once you have plotted each of the points, you can connect them and draw a straight line.

We also refer to slope as a ratio of rise to run. Slope = rise/run.

Let's go back to the pizza example. As you may recall, a plain pizza with no toppings was priced at 7 dollars. As you add one topping, the cost goes up by 75 cents.

In the case of our pizza example, the slope is given in the equation on the right. The price of a pizza changes at a rate of 75 cents for each one topping added.

Calculating the Slope

To calculate the slope of a line you need only two points from that line, ( x 1, y 1) and ( x 2, y 2).

The equation used to calculate the slope from two points is:

Note : (y 2 -y 1 ) = rise (x 2 -x 1 ) = run Therefore, slope= rise/run.

There are three steps in calculating the slope of a straight line when you are not given its equation.

  1. Step One: Identify two points on the line.
  2. Step Two: Select one to be ( x 1, y 1) and the other to be ( x 2, y 2).
  3. Step Three: Use the slope equation to calculate slope.

Rate of Change

The ratio of the change in quantity Y to a change in a related quantity, X, is called the rate of change of Y. We calculate the rate of change of Y by dividing the change in Y by the change in X. The rate of change in Y =

Now look at the equation for slope. The equation for slope is the same as the equation for calculating the rate of change. Slope represents a rate of change. NOTE : Recall that the growth rate (or percentage change) was calculated by measuring the change in X from time one to time two, dividing the change by the value for X in time one, and multiplying by 100. Growth rate (or percentage change) is a measure of the change in a single variable, whereas rate of change measures the ratio of change between two related variables.

Example:

Let's say that points (15,8) and (10,7) lie on a straight line. What is the slope of this line?

  1. Step One: Identify two points on the line.

We are given two points, (15, 8) and (10, 7), on a straight line.

  1. Step Two: Select one to be ( x 1, y 1) and the other to be ( x 2, y 2).

It doesn't matter which we choose, so let's take (15, 8) to be ( x 2, y 2). Let's take the point (10, 7) to be the point ( x 1, y 1).

  1. Step Three: Use the equation to calculate slope.

We said that it really doesn't matter which point we choose to be ( x 1, y 1) and which point we choose to be ( x 2, y 2). Let's show that this is true. Take the same two points (15, 8) and (10, 7), but this time we will calculate the slope using (15, 8) as ( x 1, y 1) and (10, 7) as the point ( x 2, y 2). Then substitute these into the equation for slope:

We get the same answer as before.

Pattern for Sign of Slope

If the line is sloping upward from left to right, the slope is positive (+).

If the line is sloping downward from left to right, the slope is negative (-).

This means that x and y have a positive (direct) relationship. As x increases, y increases. x and y move in the same direction.

In our pizza example, a positive slope tells us that as the number of toppings we order ( x ) increases, the total cost of the pizza ( y ) also increases.

This means that x and y have a negative (inverse) relationship. As x increases, y decreases. x and y move in opposite directions.

For example, as the number of people that quit smoking ( x ) increases, the number of people contracting lung cancer ( y ) decreases. A graph of this relationship has a negative slope.

Two Other Cases to Consider

When the line is horizontal: When the line is vertical:

We can see that no matter what two points we choose, the value of the y - coordinate stays the same; it is always 3. Therefore, the change in y along the line is zero. No matter what the change in x along the line, the slope must always equal zero.

In this case, no matter what two points we choose, the value of the x - coordinate stays the same; it is always 2. Therefore, the change in x along the line is zero.

Zero divided by any number is zero. Horizontal lines have a slope of 0.

Since we cannot divide by zero, we say the slope of a vertical line is infinite. Vertical lines have an infinite slope.

Since we cannot divide by zero, we say the slope of a vertical line is infinite. Vertical lines have an infinite slope.

Slope and y-intercept in the equation of a line

Equation of a Line The equation of a straight line is given on the right. In this equation:

  • _"b" is the slope of the line
  • _"a" is the y -intercept

Each of these will be defined below.

NOTE: The equation of a line may also be given as y = β 0 + β 1 x. In this form, β 0 (beta sub-

zero) is the y-intercept and β 1 is the slope.

In general, the coefficient of x will be the slope whether it is b, m, or β 1.

Equation for Pizza Example Let's label the equation for our pizza example. The slope of the line tells us how much the cost of a pizza changes as the number of toppings change.

Example Determine the slope and y-intercept for the line given by each equation.

y = 20 + 30 x y -intercept is 20slope is 30 y = 4 - 10 x y -intercept is 4 slope is (-10) y = .5 x + .66 y -intercept is .66 slope is.

Matching a Graph of a Straight Line with Its Equation

Another skill you will need is the ability to match an equation with its graph. One way to do this is to use the information you have about the equation of a straight line.

One way to match an equation of a straight line with the graph of a straight line is to use the slope and y -intercept.

Below is the graph of the equation y = 2 x + 10.

We can check that this is the graph of the equation y = 2 x + 10 by looking for two things:

  • _Does the line cross the y-axis at 10?
  • _Is the slope of the line on the graph 2?

By looking at the graph, you can see that the line does cross the y -axis at point A, (0, 10).

Now check for the slope. You can do this by using the points B, (10, 30), and C, (20, 50).

Using these points, the slope is:

Since the slope is found to be two, the graph of the line and the equation of the line match.

Example Consider the following graph at the right. Is the equation of the line shown in the graph below:

y = 4 - 6 x , or

y = 6 – 1/4 x?

The things we need to check for are:

  • _The y -intercept
  • _The slope of the line on the graph
    • _The y -intercept By examining the graph, you will notice that the line crosses the y -axis at the point (0, 6). Therefore, the y -intercept is 6.
    • _The slope of the line on the graph

Using the points (4, 5) and (12, 3) from the graph (NOTE: you can use any two points from the graph), the slope is calculated to be: