Section 1.1 Variables and Evaluating Expressions
ΒΆObjectives: PCC Course Content and Outcome Guide
permalinkAlgebra helps people solve mathematical problems that are just a bit too complicated to solve in your head. This book is meant to cover basic principles and skills that people need to become successful with algebra. The first things to learn about are variables, algebraic expressions, equations, and inequalities. In this section, we'll focus on variables and expressions. In the remainder of this chapter, we'll focus on equations and inequalities.
Subsection 1.1.1 Introduction to Variables
permalinkWhen we want to represent an unknown or changing numerical quantity, we use a variable. For example, if you'd like to discuss the gas mileage of various cars, you could use the symbol ββ as a variable to represent a car's gas mileage. The mileage might be 25 mpg, 30 mpg, or something else. (βmpgβ stands for βmiles per gallonβ.) If we agree to use mpg for the units of measure, might be a place holder for or some other number. Since we are using a variable and not a specific number, we can discuss gas mileage for Honda Civics, Ford Explorers, and all other makes and models at the same time, even though these makes and models have different gas mileages.
permalinkWhen variables stand for actual physical quantities, it's good to use letters that clearly represent those quantities. For example, it's wise to use to represent gas mileage. This helps the people who might read your work to understand it better.
permalinkIt is also important to identify what unit of measurement goes along with each variable you use, and clearly tell your reader this. For example, suppose you are working with A car whose gas mileage is 25 mpg is very different from a car whose gas mileage is 25 kpg (kilometers per gallon). So it would be important to tell readers that represents gas mileage in miles per gallon.
Checkpoint 1.1.2.
permalinkUnless an algebra problem specifies which letter(s) to use, we may choose which letter(s) to use for our variable(s). However without any context to a problem, and are the most common letters used as variables, and you may see these variables (especially ) a lot.
permalinkAlso note that the units we use are often determined indirectly by other information given in an algebra problem. For example, if we're told that a car has used so many gallons of gas after traveling so many miles, then this suggests we should measure gas mileage in mpg.
Subsection 1.1.2 Algebraic Expressions
permalinkAn algebraic expression is any combination of variables and numbers using arithmetic operations. The following are all examples of algebraic expressions:
permalinkNote that this definition of βalgebraic expressionβ does not include anything with an equals sign in it.
Example 1.1.3.
The expression:
can be used to convert a temperature in degrees Fahrenheit to degrees Celsius. To do this, we need a Fahrenheit temperature, Then we can evaluate the expression. This means replacing its variable(s) (in this case, ) with specific numbers and finding the result as a single, simplified number.
Let's convert the temperature 89 Β°F to the Celsius scale by evaluating the expression.
This shows us that 89 Β°F is equivalent to approximately 31.67 Β°C.
Warning 1.1.4. Correct Vocabulary.
The steps in Example 1.1.3 are not considered βsolvingβ anything. βSolvingβ is a word you might be tempted to use, because in everyday English you are βfinding an answer.β In algebra, there is a special meaning for βsolvingβ something, and that will come soon in Section 1.5. When we substitute values in for variables and then compute the result, the technical thing to say is we are βevaluating an expression.β
Checkpoint 1.1.5.
Try evaluating the temperature expression for yourself.
Example 1.1.6. Allowing Variables to Vary.
With the help of technology, it is possible to quickly evaluate expressions as variables vary. In the GeoGebra applet in Figure 1.1.7, you may slide the value of and see how a computer can quickly calculate the correspoding Celsius temperature.
Example 1.1.8. Target heart rate.
According to the American Heart Association, a person's maximum heart rate, in beats per minute (bpm), is given by where is their age in years.
Determine the maximum heart rate for someone who is years old.
A person's target heart rate for moderate exercise is to of their maximum heart rate. If they want to reach of their maximum heart rate during moderate exercise, we'd use the expression where is their age in years. Determine the target heart rate at this level for someone who is years old.
Both parts ask us to evaluate an expression.
-
Since \(a\) is defined as age in years, we evaluate this expression by substituting \(a\) with \(31\text{:}\)
\begin{align*} 220-a \amp= 220-\substitute{31}\\ \amp= 189 \end{align*}This tells us that the maximum heart rate for someone who is \(31\) years old is \(189\) bpm.
-
We again substitute \(a\) with \(31\text{,}\) but this time using the target heart rate expression:
\begin{align*} 0.65(220-a) \amp= 0.65(220-\substitute{31})\\ \amp= 0.65(189)\\ \amp=122.85 \end{align*}This tells us that the target heart rate for someone who is \(31\) years old undertaking moderate exercise is \(122.85\) bpm.
Checkpoint 1.1.9.
Checkpoint 1.1.10. Rising Rents.
Subsection 1.1.3 Evaluating Expressions with Exponents, Absolute Value, and Radicals
permalinkAlgebraic expressions will often have exponents, absolute value bars, and radicals. This does not change the basic approach to evaluating them.
Example 1.1.11. Tsunami Speed.
The speed of a tsunami (in meters per second) can be modeled by where is the depth of the tsunami (in meters). Determine the speed of a tsunami that has a depth of 30 m to four significant digits.
Using \(d=30\text{,}\) we find:
The speed of tsunami with a depth of 30 m is about 17.15 mβs.
permalinkUp to now, we have been evaluating expressions, but we can evaluate formulas in the same way. A formula usually has a single variable that represents the output of an expression. For example, the expression for a person's maximum heart rate in beats per minute, can be written as the formula, When we substitute a value for we are βevaluatingβ the formula.
Checkpoint 1.1.12. Tent Height.
Checkpoint 1.1.13. Mortgage Payments.
Warning 1.1.14. Rounding Too Much.
You might have noticed in the explanation to Exercise 1.1.13 that during the computations, many decimal places were recorded at each step. Recording lots of decimal places might be very important in some computations. If you round in the middle of your work, you have changed the numbers a little bit from what they really should be. As computations proceed, this little error can become larger and larger, leaving you with a final result that is too far off to be considered correct. So the best practice is to always keep lots of decimal places in all your computations, and then at the very end you may round more if that is appropriate.
Subsection 1.1.4 Evaluating Expressions with Negative Numbers
ΒΆpermalinkWhen we substitute negative numbers into an expression, it's important to use parentheses around them or else it's easy to forget that a negative number is being raised to a power.
Example 1.1.15.
Evaluate if
We substitute:
If we don't use parentheses, we would have:
The original expression, takes and squares it, so we want to do the same thing to the number But with the number is not being squared. Since the exponent has higher priority than the negation in the order of operations, it's just the number that is being squared and then the result is negated. With the number is being squared, which is what we want.
So it is wise to always use some parentheses when substituting in any negative number.
Checkpoint 1.1.16.
Reading Questions 1.1.5 Reading Questions
1.
Describe a situation where it might be better to use a letter other than or as a variable.
2.
What is the difference between an βalgebraic expressionβ and a βformula,β as described in this section? (Other math resources may define these terms differently.)
3.
What should you watch out for when substituting a negative number in for a variable?
4.
In Figure 1.1.7, when you change the value of why do some values of cause there to be more steps in the calculation than other values of
Exercises 1.1.6 Exercises
1.
Identify a variable you might use to represent each quantity. Then identify what units would be most appropriate.
Let be the depth of a swimming pool, measured in .
Let be the weight of a dog, measured in .
2.
Identify a variable you might use to represent each quantity. Then identify what units would be most appropriate.
Let be the amount of time a person sleeps each night, measured in .
Let be the surface area of a patio, measured in .
Evaluating Expressions
3.
Evaluate for
4.
Evaluate for
5.
Evaluate for
6.
Evaluate for
7.
Evaluate for
8.
Evaluate for
9.
Evaluate for
10.
Evaluate for
11.
Evaluate the expression
For
For
12.
Evaluate the expression
For
For
13.
Evaluate the expression
For
For
14.
Evaluate the expression
For
For
15.
Evaluate the expression
For
For
16.
Evaluate the expression
For
For
17.
Evaluate when
Evaluate when
18.
Evaluate when
Evaluate when
19.
Evaluate for
20.
Evaluate for
21.
Evaluate for
22.
Evaluate for
23.
Evaluate for and
24.
Evaluate for and
25.
Evaluate for and
26.
Evaluate for and
27.
Evaluate for and
28.
Evaluate for and
29.
Evaluate for
30.
Evaluate for
31.
Evaluate for
32.
Evaluate for
33.
Evaluate for
34.
Evaluate for
35.
Evaluate for
36.
Evaluate for
37.
Evaluate for
38.
Evaluate for
39.
Evaluate for
40.
Evaluate for
41.
Evaluate for
42.
Evaluate for
43.
Evaluate for
44.
Evaluate for
45.
Evaluate for and
46.
Evaluate for and
47.
Evaluate for and
48.
Evaluate for and
49.
Evaluate the algebraic expression for and
50.
Evaluate the algebraic expression for and
51.
Evaluate each algebraic expression for the given value(s):
for and
52.
Evaluate each algebraic expression for the given value(s):
for and
53.
To convert a temperature measured in degrees Fahrenheit to degrees Celsius, there is a formula:
where represents the temperature in degrees Celsius and represents the temperature in degrees Fahrenheit.
If a temperature is what is that temperature measured in Celsius?
54.
To convert a temperature measured in degrees Fahrenheit to degrees Celsius, there is a formula:
where represents the temperature in degrees Celsius and represents the temperature in degrees Fahrenheit.
If a temperature is what is that temperature measured in Celsius?
55.
A formula for converting miles into kilometers is
where is a number of miles, and is the corresponding number of kilometers.
Use the formula to find the number of kilometers that corresponds to six miles.
kilometers corresponds to six miles.
56.
A formula for converting pounds into kilograms is
where is a number of pounds, and is the corresponding number of kilograms.
Use the formula to find the number of kilograms that corresponds to eighteen pounds.
kilograms corresponds to eighteen pounds.
57.
The formula
gives the vertical position of an object, at time thrown with an initial velocity from an initial position in a place where the acceleration of gravity is The acceleration of gravity on earth is It is negative, because we consider the upward direction as positive in this situation, and gravity pulls down.
What is the height of a baseball thrown with an initial velocity of from an initial position of and at time
Twelve seconds after the baseball was thrown, it was high in the air.
58.
The formula
gives the vertical position of an object, at time thrown with an initial velocity from an initial position in a place where the acceleration of gravity is The acceleration of gravity on earth is It is negative, because we consider the upward direction as positive in this situation, and gravity pulls down.
What is the height of a baseball thrown with an initial velocity of from an initial position of and at time
Four seconds after the baseball was thrown, it was high in the air.
59.
The percentage of births in the U.S. delivered via C-section can be given by the following formula for the years since 1996:
In this formula is a year after 1996 and is the percentage of births delivered via C-section for that year.
What percentage of births in the U.S. were delivered via C-section in the year 2004?
of births in the U.S. were delivered via C-section in the year 2004.
60.
The percentage of births in the U.S. delivered via C-section can be given by the following formula for the years since 1996:
In this formula is a year after 1996 and is the percentage of births delivered via C-section for that year.
What percentage of births in the U.S. were delivered via C-section in the year 2006?
of births in the U.S. were delivered via C-section in the year 2006.
61.
Target heart rate for moderate exercise is to of maximum heart rate. If we want to represent a certain percent of an individualβs maximum heart rate, weβd use the formula
where is the percent, and is age in years.
Determine the target heart rate at level for someone who is years old. Round your answer to an integer.
The target heart rate at level for someone who is years old is beats per minute.
62.
Target heart rate for moderate exercise is to of maximum heart rate. If we want to represent a certain percent of an individualβs maximum heart rate, weβd use the formula
where is the percent, and is age in years.
Determine the target heart rate at level for someone who is years old. Round your answer to an integer.
The target heart rate at level for someone who is years old is beats per minute.
63.
The diagonal length () of a rectangle with side lengths and is given by:
Determine the diagonal length of rectangles with and
The diagonal length of rectangles with and is .
64.
The diagonal length () of a rectangle with side lengths and is given by:
Determine the diagonal length of rectangles with and
The diagonal length of rectangles with and is .
65.
The height inside a camping tent when you are feet from the edge of the tent is given by
where stands for height in feet.
Determine the height when you are:
-
from the edge.
The height inside a camping tent when you are from the edge of the tent is .
-
from the edge.
The height inside a camping tent when you are from the edge of the tent is .
66.
The height inside a camping tent when you are feet from the edge of the tent is given by
where stands for height in feet.
Determine the height when you are:
-
from the edge.
The height inside a camping tent when you are from the edge of the tent is .
-
from the edge.
The height inside a camping tent when you are from the edge of the tent is .
67.
The height inside a camping tent when you are ft from the edge of the tent is given by:
Determine the height when you are:
2 ft from the edge
6.5 ft from the edge
68.
The diagonal length of a rectangle with side lengths and is given by:
Determine the diagonal length of rectangles with:
length 5 cm and width 12 cm
length 4 ft and width 10 ft