Section 2.1 Variables and Evaluating Expressions
ΒΆTo move past arithmetic to algebra, we begin working with variables. Any combination of numbers and variables using mathematical operations is called an algebraic expression. Some expressions are simple, and some are complicated. Some expressions are abstract, whereas some have context and meaning. One example of a simple algebraic expression with context is ββ which has one variable, and is the expression for the maximum heart rate of a person who is years old.
In this section, we'll focus on variables and expressions. In Section 2.2 we'll continue with a focus on geometry formulas. In the remainder of this chapter, we'll focus on mathematical equations and inequalities which are also very important in algebra.
Subsection 2.1.1 Introduction to Variables
When we want to represent an unknown or changing numerical quantity, we use a variable to do so. For example, if you'd like to discuss the gas mileage of various cars, you could let the symbol ββ represent a car's gas mileage. The mileage might be 25β―mpg, 30β―mpg, or some other quantity. 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 at the same time we discuss gas mileage for Ford Explorers.
When variables stand for actual physical quantities, it's good to use letters that clearly correspond to the quantity they represent. For example, it's wise to use to represent gas mileage. This helps the people who might read your work in the future to understand it better.
It 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 2.1.2
Unless 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.
Also 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 it suggests we should measure gas mileage in mpg.
Subsection 2.1.2 Algebraic Expressions
An algebraic expression is any combination of variables and numbers using arithmetic operations. The following are all examples of algebraic expressions:
Note that this definition of βalgebraic expressionβ does not include anything with signs like these in them: etc.
Example 2.1.3
The expression:
can be used to convert from 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) with specific numbers and calculating the result. In this case, we can replace with a specific 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 2.1.4 Evaluating Versus Solving
The steps in Example 2.1.3 are not considered βsolvingβ anything. βSolvingβ is a word you might be tempted to use, because in some sense the steps from Example 2.1.3 are βfinding an answer.β There is a special meaning in algebra for words like βsolveβ and βsolutionβ that will come soon. Instead, when we substitute a value and compute the result, the proper vocabulary is βevaluating an expression.β
Checkpoint 2.1.5
Try evaluating the temperature expression for yourself.
Example 2.1.6 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 of these parts ask us to evaluate an expression.
-
Since \(a\) is defined to be age in years, we will 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'll 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 2.1.7
Checkpoint 2.1.8 Rising Rents
Subsection 2.1.3 Evaluating Expressions with Exponents, Absolute Value, and Radicals
Algebraic expressions will often have exponents, absolute value bars, and radicals. This does not change the basic approach to evaluating them.
Example 2.1.9 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.
Up 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. Even though we have an equation, we are not solving yet. That will come soon.
Checkpoint 2.1.10 Tent Height
Checkpoint 2.1.11 Mortgage Payments
Warning 2.1.12 Evaluating Expressions with Negative Numbers
When 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. Let's look at some examples.
Example 2.1.13
Evaluate if
We substitute:
If we don't use parentheses, we would have:
The original expression takes and squares it. With the number is not being squared. Since the exponent has higher priority than the negation, it's just the number that is being squared. With the number is being squared, which is what we would want given the expression
So it is wise to always use some parentheses when substituting in any negative number.
Checkpoint 2.1.14
Subsection 2.1.4 Exercises
Evaluating Expressions
1
Evaluate for
2
Evaluate for
3
Evaluate for
4
Evaluate for
5
Evaluate for
6
Evaluate for
7
Evaluate for
8
Evaluate for
9
Evaluate the expression
When
When
10
Evaluate the expression
When
When
11
Evaluate the expression
When
When
12
Evaluate the expression
When
When
13
Evaluate the following expressions.
Evaluate when
Evaluate when
14
Evaluate the following expressions.
Evaluate when
Evaluate when
15
Evaluate for
16
Evaluate for
17
Evaluate for
18
Evaluate for
19
Evaluate for and
20
Evaluate for and
21
Evaluate for and
22
Evaluate for and
23
Evaluate for and
24
Evaluate for and
25
Evaluate the expression when
26
Evaluate the expression when
27
Evaluate the expression when
28
Evaluate the expression when
29
Evaluate the expression when
30
Evaluate the expression when
31
Evaluate the following expressions.
-
Evaluate when and
-
Evaluate when and
32
Evaluate the following expressions.
-
Evaluate when and
-
Evaluate when and
33
Evaluate the following expressions.
-
Evaluate when
-
Evaluate when
34
Evaluate the following expressions.
-
Evaluate when
-
Evaluate when
35
Evaluate each algebraic expression for the given value(s):
for and
36
Evaluate each algebraic expression for the given value(s):
for and
37
Evaluate each algebraic expression for the given value(s):
for and
38
Evaluate each algebraic expression for the given value(s):
for and
39
Evaluate
for and
40
Evaluate
for and
41
Evaluate
for and
42
Evaluate
for and
43
Evaluate the algebraic expression for and
44
Evaluate the algebraic expression for and
45
Evaluate each algebraic expression for the given value(s):
for and
46
Evaluate each algebraic expression for the given value(s):
for and
47
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?
48
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?
49
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?
50
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?
51
A formula for converting meters into feet is
where is a number of meters, and is the corresponding number of feet.
Use the formula to find the number of feet that corresponds to fourteen meters.
feet corresponds to fourteen meters.
52
A formula for converting meters into feet is
where is a number of meters, and is the corresponding number of feet.
Use the formula to find the number of feet that corresponds to eight meters.
feet corresponds to eight meters.
53
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
Fourteen seconds after the baseball was thrown, it was high in the air.
54
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
Five seconds after the baseball was thrown, it was high in the air.
55
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 2010?
of births in the U.S. were delivered via C-section in the year 2010.
56
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 2012?
of births in the U.S. were delivered via C-section in the year 2012.
57
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.
58
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.
59
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 .
60
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 .
61
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 from the edge of the tent is
-
from the edge.
The height inside a camping tent when you from the edge of the tent is
62
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 from the edge of the tent is
-
from the edge.
The height inside a camping tent when you from the edge of the tent is