Download 2.1 Variable Expressions

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Large numbers wikipedia , lookup

Ambiguity wikipedia , lookup

Addition wikipedia , lookup

Functional decomposition wikipedia , lookup

Law of large numbers wikipedia , lookup

System of polynomial equations wikipedia , lookup

Algebra wikipedia , lookup

Arithmetic wikipedia , lookup

Laws of Form wikipedia , lookup

Expected value wikipedia , lookup

System of linear equations wikipedia , lookup

Elementary algebra wikipedia , lookup

Elementary mathematics wikipedia , lookup

Transcript
www.ck12.org
2.1. Variable Expressions
2.1 Variable Expressions
Learning Objectives
• Evaluate algebraic expressions.
• Evaluate algebraic expressions with exponents.
Introduction The Language of Algebra
Do you like to do the same problem over and over again? No? Well, you are not alone. Algebra was invented
by mathematicians so that they could solve a problem once and then use that solution to solve a group of similar
problems. The big idea of algebra is that once you have solved one problem you can generalize that solution to
solve other similar problems.
In this course, we’ll assume that you can already do the basic operations of arithmetic. In arithmetic, only numbers
and their arithmetical operations (such as +, , ×, ÷ ) occur. In algebra, numbers (and sometimes processes) are
denoted by symbols (such as x, y, a, b, c, . . .). These symbols are called variables.
The letter x, for example, will often be used to represent some number. The value of x, however, is not fixed from
problem to problem. The letter x will be used to represent a number which may be unknown (and for which we may
have to solve) or it may even represent a quantity which varies within that problem.
Using variables offers advantages over solving each problem from scratch:
• It allows the general formulation of arithmetical laws such as a + b = b + a for all real numbers a and b.
• It allows the reference to unknown numbers, for instance: Find a number x such that 3x + 1 = 10.
• It allows short-hand writing about functional relationships such as, If you sell x tickets, then your profit will
be 3x − 10 dollars, or f (x) = 3x − 10, where f is the profit function, and x is the input (i.e. how many tickets
you sell).
Example 1
Write an algebraic expression for the perimeter and area of the rectangle as follows.
To find the perimeter, we add the lengths of all 4 sides. We can start at the top-left and work clockwise. The
perimeter, P, is therefore:
P = l +w+l +w
We are adding 2 l’s and 2 w’s. Would say that:
P = 2× l+2× w
54
www.ck12.org
Chapter 2. Expressions and Equations
You are probably familiar with using · instead of × for multiplication, so you may prefer to write:
P = 2·l +2·w
It’s customary in algebra to omit multiplication symbols whenever possible. For example, 11x means the same thing
as 11 · x or 11 × x. We can therefore write the expression for P as:
P = 2l + 2w
Area is length multiplied by width. In algebraic terms we get the expression:
A = l×w
→
A = l·w
→
A = lw
Note: An example of a variable expression is 2l + 2w; an example of an equation is P = 2l + 2w. The main
difference between equations and expressions is the presence of an equals sign (=).
In the above example, there is no simpler form for these equations for the perimeter and area. They are, however,
perfectly general forms for the perimeter and area of a rectangle. They work whatever the numerical values of the
length and width of some particular rectangle are. We would simply substitute values for the length and width of
a real rectangle into our equation for perimeter and area. This is often referred to as substituting (or plugging in)
values. In this chapter we will be using the process of substitution to evaluate expressions when we have numerical
values for the variables involved.
Evaluate Algebraic Expressions
When we are given an algebraic expression, one of the most common things we will have to do with it is evaluate it
for some given value of the variable. The following example illustrates this process.
Example 2
Let x = 12. Find the value of 2x − 7.
To find the solution, substitute 12 for x in the given expression. Every time we see x we will replace it with 12. Note:
At this stage we place the value in parentheses:
2x − 7 = 2(12) − 7
= 24 − 7
= 17
The reason we place the substituted value in parentheses is twofold:
1. It will make worked examples easier for you to follow.
2. It avoids any confusion that would arise from dropping a multiplication sign: 2 · 12 = 2(12) 6= 212.
Example 3
Let x = −1. Find the value of −9x + 2.
Solution
55
www.ck12.org
2.1. Variable Expressions
−9(−1) + 2 = 9 + 2
= 11
Example 4
Let y = −2. Find the value of
7
y
− 11y + 2.
Solution
7
1
− 11(−2) + 2 = −3 + 22 + 2
(−2)
2
1
= 24 − 3
2
1
= 20
2
Many expressions have more than one variable in them. For example, the formula for the perimeter of a rectangle in
the introduction has two variables: length (l) and width (w). In these cases be careful to substitute the appropriate
value in the appropriate place.
Example 5
The area of a trapezoid is given by the equation A = 2h (a + b). Find the area of a trapezoid with bases a = 10 cm, b =
15 cm and height h = 8 cm.
To find the solution to this problem we simply take the values given for the variables, a, b and h, and plug them in to
the expression for A:
h
A = (a + b)
2
8
A = (10 + 15)
2
A = 4(25) = 100
Substitute 10 for a, 15 for b and 8 for h.
Evaluate piece by piece. (10 + 15) = 25;
8
=4
2
Solution: The area of the trapezoid is 100 square centimeters.
Example 6
Find the value of 19 (5x + 3y + z)when x = 7, y = −2and z = 11.
Let’s plug in values for x, y and z and then evaluate the resulting expression.
1
(5(7) + 3(−2) + (11))
9
1
(35 + (−6) + 11)
9
40
1
(40) =
≈ 4.44
9
9
56
Evaluate the individual terms inside the parentheses.
Combine terms inside parentheses.
www.ck12.org
Chapter 2. Expressions and Equations
Solution ≈ 4.44(rounded to the nearest hundredth) Example 7
The total resistance of two electronics components wired in parallel is given by
R1 R2
R1 + R 2
where R1 and R2 are the individual resistances (in ohms) of the two components. Find the combined resistance of
two such wired components if their individual resistances are 30 ohms and 15 ohms.
Solution
R1 R2
R1 + R2
(30)(15) 450
=
= 10 ohms
30 + 15
45
Substitute the values R1 = 30 and R2 = 15.
The combined resistance is 10 ohms.
Evaluate Algebraic Expressions with Exponents
Many formulas and equations in mathematics contain exponents. Exponents are used as a short-hand notation for
repeated multiplication. For example:
2 · 2 = 22
2 · 2 · 2 = 23
The exponent stands for how many times the number is used as a factor (multiplied). When we deal with integers, it
is usually easiest to simplify the expression. We simplify:
22 = 4
and
23 = 8
However, we need exponents when we work with variables, because it is much easier to write x8 than x · x · x · x · x ·
x · x · x.
To evaluate expressions with exponents, substitute the values you are given for each variable and simplify. It is
especially important in this case to substitute using parentheses in order to make sure that the simplification is done
correctly.
Example 8
57
www.ck12.org
2.1. Variable Expressions
The area of a circle is given by the formula A = πr2 . Find the area of a circle with radius r = 17 inches.
Substitute values into the equation.
A = πr2
Substitute 17 for r.
A = π(17)
2
π · 17 · 17 = 907.9202 . . . Round to 2 decimal places.
The area is approximately 907.92 square inches.
Example 9
Find the value of 5x2 − 4y for x = −4 and y = 5.
Substitute values in the following:
5x2 − 4y = 5(−4)2 − 4(5)
= 5(16) − 4(5)
Substitute x = −4 and y = 5.
Evaluate the exponent (−4)2 = 16.
= 80 − 20
= 60
Example 10
Find the value of 2x3 − 3x2 + 5, for x = −5.
Substitute the value of x in the expression:
2x2 − 3x2 + 5 = 2(−5)3 − 3(−5)2 + 5 Substitute − 5 for x.
= 2(−125) − 3(25) + 5
Evaluate exponents (−5)3 = (−5)(−5)(−5) = −125 and (−5)2 = (−5)(−5) = 25
= −250 − 75 + 5
= −320
Example 11
Find the value of
x 2 y3
x3 +y2
, for x = 2and y = −4.
Substitute the values of x and y in the following.
x 2 y3
(2)2 (−4)3
=
x3 + y2 (2)3 + (−4)2
4(−64) −256 −32
=
=
8 + 16
24
3
Substitute 2 for x and − 4 for y.
Evaluate expressions : (2)2 = (2)(2) = 4 and (2)3 = (2)(2)(2) = 8.
(−4)2 = (−4)(−4) = 16 and (−4)3 = (−4)(−4)(−4) = −64.
Example 12
The height (h) of a ball in flight is given by the formula: h = −32t 2 + 60t + 20, where the height is given in feet and
the time (t) is given in seconds. Find the height of the ball at time t = 2 seconds.
Solution
58
www.ck12.org
Chapter 2. Expressions and Equations
h = −32t 2 + 60t + 20
Substitute 2 for t.
2
= −32(2) + 60(2) + 20
= −32(4) + 60(2) + 20
= 12 feet
Review Questions
Write the following in a more condensed form by leaving out a multiplication symbol.
1. 2 × 11x
2. 1.35 · y
3. 3 × 14
4. 14 · z
Evaluate the following expressions for a = −3, b = 2, c = 5 and d = −4.
1. 2a + 3b
2. 4c + d
3. 5ac − 2b
2a
4. c−d
5. 3b
d
a−4b
6. 3c+2d
1
7. a+b
ab
8. cd
Evaluate the following expressions for x = −1, y = 2, z = −3, and w = 4.
1.
2.
3.
4.
5.
6.
7.
8.
9.
8x3
5x2
6z3
3z2 − 5w2
x2 − y2
z3 +w3
z3 −w3
2x2 − 3x2 + 5x − 4
4w3 + 3w2 − w + 2
3 + z12
The weekly cost C of manufacturing x remote controls is given by the formula C = 2000 + 3x, where the cost
is given in dollars.
(a) What is the cost of producing 1000 remote controls?
(b) What is the cost of producing 2000 remote controls?
10. The volume of a box without a lid is given by the formula: V = 4x(10 − x)2 where x is a length in inches and
V is the volume in cubic inches.
(a) What is the volume when x = 2?
(b) What is the volume when x = 3?
Review Answers
1. 22x
59
2.1. Variable Expressions
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
1.35y
3
4
z
4
0
16
−79
−2
3
−3
2
−11
7
−1
3
10
−8
−5
162
−53
−3
37
−91
−14
302
3 19
(a)
(b)
22. (a)
(b)
60
$5000;
$8000
512 in3 ;
588 in3
www.ck12.org