200 likes | 326 Vues
Columbus State Community College. Chapter 2 Section 1 Introduction to Variables. Introduction to Variables. Identify variables, constants, and expressions. Evaluate variable expressions for given replacement values. Write properties of operations using variables.
E N D
Columbus State Community College Chapter 2 Section 1 Introduction to Variables
Introduction to Variables • Identify variables, constants, and expressions. • Evaluate variable expressions for given replacement values. • Write properties of operations using variables. • Use exponents with variables.
Expressions, Variables, and Constants EXAMPLE 1 Writing an Expression and Identifying the Variable and Constant Write an expression for each rule. Identify the variable and the constant. (a) Maria increased her test average by 12 points. a + 12 Constant Variable (b) The price of a game dropped by $20 p – 20 Constant Variable
Evaluating an Expression EXAMPLE 2 Evaluating an Expression Use this rule for finding the price of a game: The price of a game dropped by $20. The expression is p – 20. (a) Evaluate the expression when the original price is $90. p – 20 Replace p with 90. 90 – 20 Follow the rule. Subtract to find 90 – 20. 70 The new price will be $70.
Evaluating an Expression EXAMPLE 2 Evaluating an Expression Use this rule for finding the price of a game: The price of a game dropped by $20. The expression is p – 20. (b) Evaluate the expression when the original price is $78. p – 20 Replace p with 78. 78 – 20 Follow the rule. Subtract to find 78 – 20. 58 The new price will be $58.
Numerical Coefficients The number part in a multiplication expression is called the numerical coefficient, or just the coefficient. 3x –4m –d n 3x –4m –1d 1n The numerical coefficients are 3, –4, –1, and 1 respectively.
CAUTION CAUTION If an expression involves adding, subtracting, or dividing, then you do have to write +, –, or ÷. It is only multiplication that is understood without writing an operation symbol. 5 + x 5 – x 5 ÷ x 5x Add x Subtract x Divide by x Multiply by x
STOP The Perimeter of a “STOP” Sign The shape of a common “STOP” sign is called an “Octagon.” An octagon has 8 equal sidesas shown in the diagram below. To find the distance around an object, called the perimeter, simply add the outside edges together. The expression (rule) can be written in shorthand form as shown below. s s s s s 8 s s s s
STOP Evaluating an Expression with Multiplication EXAMPLE 3 Evaluating an Expression with Multiplication The expression (rule) for finding the perimeter of an octagon is 8s. Evaluate the expression when the length of one side of the “STOP” sign is 15 inches. See the diagram below. 8s Replace s with 15 inches. 15 in. 15 in. 15 in. 8• 15 inches Multiply. 15 in. 15 in. 120 inches 15 in. 15 in. The total distance around this “STOP” sign (perimeter) is 120 inches. 15 in.
Evaluating an Expression with Several Steps EXAMPLE 4 Evaluating an Expression with Several Steps A car rental company charges a flat fee of $50 plus $30 per day to rent a certain car. The expression (rule) for finding the amount to charge a customer is shown below. Evaluate the given expression for a person who rents this car for 6 days. 30d + 50 Replace d with 6, the number of days. 30 ( 6 ) + 50 Follow the order of operations. Multiply first. 180 + 50 Add. 230 The cost of renting the car for 6 days is $230.
A Rectangular Garden Suppose you wanted to put a fence around a rectangular-shaped flower garden. The length of the garden is 24 feet and the width is 16 feet. How much fencing material would you need to finish the job? 24 feet 16 feet 16 feet 24 feet 24 feet + 16 feet + 24 feet + 16 feet = 80 feet of fencing
Rectangles In general, the expression (rule) for finding the amount of fencing needed to surround a rectangular garden can be found as follows. l w w l l + w + l + w = 2l + 2w = amount of fencing
Evaluating an Expression with Two Variables EXAMPLE 5 Evaluating an Expression with Two Variables (a) The expression (rule) for finding the perimeter of a rectangle is 2l + 2w. Evaluate the expression of a rectangular table that has a length, l, of 5 feet and a width, w, of 2 feet. 2 l + 2 w Replace l with 5 feet and w with 2 feet. 2 ( 5feet ) + 2 ( 2feet ) There is no operation between the 2 and the l and there is no operation between the 2 and the w, so it is understood to be multiplication. 10 feet + 4 feet Add. 14 feet The perimeter of this table is 14 feet.
Evaluating an Expression with Two Variables EXAMPLE 5 Evaluating an Expression with Two Variables (b) Complete the table below to show how to evaluate each expression. Expression ( Rule ) Value of a Value of b a – b a•b 1. 5 7 5 – 7 is –2 5•7 is 35 2. –4 9 –4 – 9 is –13 –4 • 9 is –36 3. 6 –3 6– –3 is 9 6• –3 is –18 4. –2 –8 –2– –8 is 6 –2• –8 is 16
n n = 1 Writing Properties of Operations Using Variables EXAMPLE 6 Writing Properties of Operations Using Variables Use the variable n to state this property: When any number is divided by 1, the quotient is the number. Use the letter n to represent any number.
Understanding Exponents Used with Variables EXAMPLE 7 Understanding Exponents Used with Variables Rewrite each expression without exponents. (a)m5 can be written as m • m • m • m • m m is used as a factor 5 times. (b) 8 x y4 can be written as 8 •x • y • y • y • y Coefficient is 8. y4 (c)–5 b3 c2 can be written as –5 •b • b • b • c • c The exponent appliesonly to y. Coefficient is –5. b3 c2
Evaluating Expressions with Exponents EXAMPLE 8 Evaluating Expressions with Exponents Evaluate each expression. (a)g2 when g is –4 g2 means g • g Replace each g with –4. –4 • –4 Multiply –4 times –4. 16 So g2 becomes ( –4 )2, which is ( –4 ) ( –4 ), or 16.
–3 • –3 • –3 • –2 • –2 Evaluating Expressions with Exponents EXAMPLE 8 Evaluating Expressions with Exponents Evaluate each expression. Multiply two factors at a time. Replace m with –3, and replace n with –2. (b)m3 n2 when m is –3 and n is –2 m3 n2 means m • m • m • n • n So m3 n2 becomes ( –3 )3 ( –2 )2, which is ( –3 ) ( –3 ) ( –3 ) ( –2 ) ( –2 ), or –108. 9 •–3•–2 • –2 –27 •–2 • –2 54 • –2 –108
–2 • –4 • 3 • 3 Evaluating Expressions with Exponents EXAMPLE 8 Evaluating Expressions with Exponents Evaluate each expression. Multiply two factors at a time. Replace w with –4 and replace v with 3. (c)–2 wv2 when w is –4 and v is 3 –2 wv2 means –2 • w • v • v So –2 wv2 becomes –2 ( –4 )( 3 )2, which is ( –2 ) ( –4 ) ( 3 ) (3 ), or 72. 8 •3• 3 24 • 3 72
Introduction to Variables Chapter 2 Section 1 – Completed Written by John T. Wallace