<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />
Our Terms of Use (click here to view) have changed. By continuing to use this site, you are agreeing to our new Terms of Use.

# Line Graphs

## Display given data as linear change on coordinate graphs.

Estimated7 minsto complete
%
Progress
Practice Line Graphs
Progress
Estimated7 minsto complete
%
Line Graphs

### Line Graphs

Before you continue to explore the concept of representing data graphically, it is very important to understand the meaning of some basic terms that will often be used in this concept. The first such definition is that of a variable. In statistics, a variable is simply a characteristic that is being studied. This characteristic assumes different values for different elements, or members, of the population, whether it is the entire population or a sample. The value of the variable is referred to as an observation, or a measurement. A collection of these observations of the variable is a data set.

Variables can be quantitative or qualitative. A quantitative variable is one that can be measured numerically. Some examples of a quantitative variable are wages, prices, weights, numbers of vehicles, and numbers of goals. All of these examples can be expressed numerically. A quantitative variable can be classified as discrete or continuous. A discrete variable is one whose values are all countable and does not include any values between 2 consecutive values of a data set. An example of a discrete variable is the number of goals scored by a team during a hockey game. A continuous variable is one that can assume any countable value, as well as all the values between 2 consecutive numbers of a data set. An example of a continuous variable is the number of gallons of gasoline used during a trip to the beach.

A qualitative variable is one that cannot be measured numerically but can be placed in a category. Some examples of a qualitative variable are months of the year, hair color, color of cars, a person’s status, and favorite vacation spots. The following flow chart should help you to better understand the above terms.

Variables can also be classified as dependent or independent. When there is a linear relationship between 2 variables, the values of one variable depend upon the values of the other variable. In a linear relation, the values of y\begin{align*}y\end{align*} depend upon the values of x\begin{align*}x\end{align*}. Therefore, the dependent variable is represented by the values that are plotted on the y\begin{align*}y\end{align*}-axis, and the independent variable is represented by the values that are plotted on the x\begin{align*}x\end{align*}-axis.

Linear graphs are important in statistics when several data sets are used to represent information about a single topic. An example would be data sets that represent different plans available for cell phone users. These data sets can be plotted on the same grid. The resulting graph will show intersection points for the plans. These intersection points indicate a coordinate where 2 plans are equal. An observer can easily interpret the graph to decide which plan is best, and when. If the observer is trying to choose a plan to use, the choice can be made easier by seeing a graphical representation of the data.

#### Describing Variables

Select the best descriptions for the following variables and indicate your selections by marking an ‘x\begin{align*}x\end{align*}’ in the appropriate boxes.

Variable Quantitative Qualitative Discrete Continuous
Number of members in a family
A person’s marital status
Length of a person’s arm
Color of cars
Number of errors on a math test

The variables can be described as follows:

Variable Quantitative Qualitative Discrete Continuous
Number of members in a family x\begin{align*}x\end{align*} x\begin{align*}x\end{align*}
A person’s marital status x\begin{align*}x\end{align*}
Length of a person’s arm x\begin{align*}x\end{align*} x\begin{align*}x\end{align*}
Color of cars x\begin{align*}x\end{align*}
Number of errors on a math test x\begin{align*}x\end{align*} x\begin{align*}x\end{align*}

#### Creating a Table of Values

Sally works at the local ballpark stadium selling lemonade. She is paid $15.00 each time she works, plus$0.75 for each glass of lemonade she sells. Create a table of values to represent Sally’s earnings if she sells 8 glasses of lemonade. Use this table of values to represent her earnings on a graph.

The first step is to write an equation to represent her earnings and then to use this equation to create a table of values.

y=0.75x+15\begin{align*}y=0.75x+15\end{align*}, where y\begin{align*}y\end{align*} represents her earnings and x\begin{align*}x\end{align*} represents the number of glasses of lemonade she sells.

Number of Glasses of Lemonade Earnings
0 $15.00 1$15.75
2 $16.50 3$17.25
4 $18.00 5$18.75
6 $19.50 7$20.25
8 21.00 The dependent variable is the money earned, and the independent variable is the number of glasses of lemonade sold. Therefore, money is on the y\begin{align*}y\end{align*}-axis, and the number of glasses of lemonade is on the x\begin{align*}x\end{align*}-axis. From the table of values, Sally will earn21.00 if she sells 8 glasses of lemonade.

Now that the points have been plotted, the decision has to be made as to whether or not to join them. Between every 2 points plotted on the graph are an infinite number of values. If these values are meaningful to the problem, then the plotted points can be joined. This type of data is called continuous data. If the values between the 2 plotted points are not meaningful to the problem, then the points should not be joined. This type of data is called discrete data. Since glasses of lemonade are represented by whole numbers, and since fractions or decimals are not appropriate values, the points between 2 consecutive values are not meaningful in this problem. Therefore, the points should not be joined. The data is discrete.

#### Interpreting a Graph

The following graph represents 3 plans that are available to customers interested in hiring a maintenance company to tend to their lawn. Using the graph, explain when it would be best to use each plan for lawn maintenance.

From the graph, the base fee that is charged for each plan is obvious. These values are found on the y\begin{align*}y\end{align*}-axis. Plan A charges a base fee of $200.00, Plan C charges a base fee of$100.00, and Plan B charges a base fee of 50.00. The cost per hour can be calculated by using the values of the intersection points and the base fee in the equation y=mx+b\begin{align*}y=mx+b\end{align*} and solving for m\begin{align*}m\end{align*}. Plan B is the best plan to choose if the lawn maintenance takes less than 12.5 hours. At 12.5 hours, Plan B and Plan C both cost150.00 for lawn maintenance. After 12.5 hours, Plan C is the best deal, until 50 hours of lawn maintenance is needed. At 50 hours, Plan A and Plan C both cost $300.00 for lawn maintenance. For more than 50 hours of lawn maintenance, Plan A is the best plan. All of the above information was obvious from the graph and would enhance the decision-making process for any interested client. --> ### Example #### Example 1 The local arena is trying to attract as many participants as possible to attend the community’s “Skate for Scoliosis” event. Participants pay a fee of$10.00 for registering, and, in addition, the arena will donate 3.00 for each hour a participant skates, up to a maximum of 6 hours. Create a table of values and draw a graph to represent a participant who skates for the entire 6 hours. How much money can a participant raise for the community if he/she skates for the maximum length of time? The equation for this scenario is y=3x+10\begin{align*}y=3x+10\end{align*}, where y\begin{align*}y\end{align*} represents the money made by the participant, and x\begin{align*}x\end{align*} represents the number of hours the participant skates. Numbers of Hours Skating Money Earned 010.00
1 $13.00 2$16.00
3 $19.00 4$22.00
5 $25.00 6$28.00

The dependent variable is the money made, and the independent variable is the number of hours the participant skated. Therefore, money is on the y\begin{align*}y\end{align*}-axis, and time is on the x\begin{align*}x\end{align*}-axis as shown below:

A participant who skates for the entire 6 hours can make $28.00 for the "Skate for Scoliosis" event. The points are joined, because the fractions and decimals between 2 consecutive points are meaningful for this problem. A participant could skate for 30 minutes, and the arena would pay that skater$1.50 for the time skating. The data is continuous.

### Review

1. What term is used to describe a data set in which all points between 2 consecutive points are meaningful?
1. discrete data
2. continuous data
3. random data
4. fractional data
2. What type of variable is represented by the number of pets owned by families?
1. qualitative
2. quantitative
3. independent
4. continuous
3. What type of data, when plotted on a graph, does not have the points joined?
1. discrete data
2. continuous data
3. random data
4. independent data
4. Select the best descriptions for the following variables and indicate your selections by marking an ‘x\begin{align*}x\end{align*}’ in the appropriate boxes.
Variable Quantitative Qualitative Discrete Continuous
Men’s favorite TV shows
Salaries of baseball players
Number of children in a family
Favorite color of cars
Number of hours worked weekly

You are selling your motorcycle, and you decide to advertise it on the Internet on Walton’s Web Ads. He has 3 plans from which you may choose. The plans are shown on the following graph. Use the graph and explain when it is best to use each plan.

1. When would it be best to use Plan A?
2. When would it be best to use Plan B?
3. When would it be best to use Plan C?
4. What is the dependent variable in the following relationship? The time it takes to run the 100 yard dash and the fitness level of the runner.
1. fitness level
2. time
3. length of the track
4. age of the runner
5. If the relationship in question 8 were graphed on a coordinate grid, what variable would be on the x-axis?
6. If the relationship in question 8 were graphed on a coordinate grid, what variable would be on the y-axis?

To view the Review answers, open this PDF file and look for section 7.1.

### Notes/Highlights Having trouble? Report an issue.

Color Highlighted Text Notes
Please to create your own Highlights / Notes

### Vocabulary Language: English

bar chart

A bar chart is a graphic display of categorical variables that uses bars to represent the frequency of the count in each category.

broken line graph

A broken line graph is a graph that is used to show changes over time. A line is used to join the values but the line has no defined slope.

continuous variables

A continuous variable is a variable that takes on any value within the limits of the variable.

data set

A collection of these observations of the variable is a data set.

dependent variable

The dependent variable is the output variable in an equation or function, commonly represented by $y$ or $f(x)$.

discrete random variables

Discrete random variables represent the number of distinct values that can be counted of an event.

independent variable

The independent variable is the input variable in an equation or function, commonly represented by $x$.

qualitative variable

A qualitative variable is one that cannot be measured numerically but can be placed in a category.

quantitative variable

A quantitative variable is a variable that takes on numerical values that represent a measurable quantity. Examples of quantitative variables are the height of students or the population of a city.

variable

In statistics, a variable is simply a characteristic that is being studied.