instagram

(Also available in WeScheme)

Students use properties to determine when equations with and without variables are true.

Lesson Goals

Students will be able to…​

  • Determine if numerical expressions are equivalent.

  • Determine if algebraic expressions are equivalent.

Student-facing Lesson Goals

  • Let’s determine if algebraic expressions are equivalent.

Materials

Key Points For The Facilitator

  • This lesson introduces variables. The cognitive leap required when moving from operations with numbers to operations with variables can feel big! In this lesson, Circles of Evaluation can help ease the transition.

🔗Seeing Equivalence 25 minutes

Overview

Students review what they have learned about computation and equivalence to lay a foundation for work with variables.

Launch

As we’ve observed, Circles and laws of arithmetic can help us understand whether an equation - a mathematical statement of equality - is true or false.

Look at Equation 1, represented by these two Circles of Evaluation:

(​- (​* 22 3) 4)

=

(​- (​* 3 22) 4)

  • What do you Notice? What do you Wonder?

    • Possible responses: The outer circle subtracts 4, the inner circle multiplies 22 and 3. The difference between the two Circles of Evaluation is that 22 and 3 swap positions.

  • Does this equation appear to be true or false?

    • True. We see the Commutative Property of multiplication being applied when 22 × 3 is transformed to 3 × 22.

    • We can also use Computation to verify that both sides evaluate to 62.

Look at Equation 2, represented by these two Circles of Evaluation:

(​- (​* 22 3) 4)

=

(​- 4 (​* 22 3))

  • What do you Notice? What do you Wonder?

    • Possible responses: The same numbers and operations are included. This time, the difference between the Circles of Evaluation is that the 4 moves from the beginning to the end.

  • Does this equation appear to be true or false?

    • False. This appears to be a misguided attempted to apply the Commutative Property. The Commutative Property does not hold for subtraction.

    • The equation’s left side is 62, but its right side is - 62.

As students observe and share out, urge them to justify their ideas about equivalence.

Investigate

We have learned that computation is an effective strategy for determining whether or not two expressions are equivalent. Pretty soon we’ll be looking at expressions with variables, where our computation strategy won’t work as well. Let’s see if we can figure out how to determine whether or not two expressions are equivalent without computation! For now, while we’re still looking at expressions with numbers, we can double check our thinking with computation.

Synthesize

  • Summarize the Associative Property in your own words. When does it apply?

  • Summarize the Commutative Property in your own words. When does it apply?

  • How can we use computation to verify equivalence?

  • Can you think of any expressions involving subtraction or division when the Associative Property or the Commutative Property would apply?

  • What strategies did you use to locate equations that were false, or expressions that did not belong?

🔗Equivalence with Variables 25 minutes

Overview

Students examine Circles of Evaluation to determine if expressions with variables are equivalent.

Launch

In this class, sometimes we’ll work with variables - symbols that stand for values we don’t know yet.

The equation c + a = r could be true or false.

  • What are some values that make the equation true?

    • Sample answer: c = 5, a = 10, r = 15

  • What are some values that make the equation false?

    • Sample answer: c = 1, a = 2, r = 900

We can represent the Commutative Property like this:

(​* 5 g)

=

(​* g 5)

5 × g

=

g × 5

Or like this:

(+ 12 h)

=

(+ h 12)

12 + h

=

h + 12

It doesn’t matter what values we use for g or for h - the equations above are always true.

The Commutative Property will hold no matter what values we substitute in for c or for m.

The same goes for the Associative Property! We can represent it with variables, like this:

(​* 2 (​* 3 c))

=

(​* (​* 2 3) c)

2 × (3 × c)

=

(2 × 3) × c

Or like this:

(+ 5 (+ 6 m))

=

(+ (+ 5 6) m)

5 + (6 + m)

=

(5 + 6) + m

These examples above show us that the Commutative and Associative properties are in fact more powerful than sheer computation. We can’t use computation to prove that 12 + h and h + 12 are equivalent – because without knowing what h is, we can’t evaluate the expression! Commutativity lets us prove that these expressions are equivalent even with variables.

Investigate

The activities below invite students to apply their knowledge of the Commutative and Associative Properties in equations and Circles of Evaluation that include variables. For some students, this cognitive leap can be a challenging one. These pages parallel those in the previous section to make this transition a bit smoother.

  • Complete True or False? Variables using your knowledge of the Associative Property and the Commutative Property.

  • Done early? Substitute in numbers to confirm your response. The ability to make substitutions to check equivalence is an extremely valuable skill!

  • Decide Which One Doesn’t Belong? Variables. Be sure to explain your thinking.

If students get stuck, ask: What do you notice, at first glance? What makes the Circles of Evaluation alike? What makes them different?

  • On Label the Arrows, each arrow represents a transformation from an expression to an equivalent expression.

  • Label each arrow with the type of transformation that you observe: Associative Property ("AP"), Commutative Property ("CP"), or Computation ("Comp").

Synthesize

  • Are equations with variables always true?

    • No. If we see a representation of the Associative Property or the Commutative Property, then yes. An equation such as j - y = y - j is only sometimes true. And an equation like g × 0 = 600 is never true.

  • What does it mean for two expressions with variables to be equivalent?

    • When two expressions with variables are equivalent, that means that no matter what number we substitute in, we will still get the same result.

🔗Programming Exploration: Variables

Overview

Students learn about examples in Pyret, and use their new knowledge to think explore variables, commutativity, and associativity.

Launch

Here are some common Noticings. Is there anything on this list that you didn’t notice?

  • The first section includes variable definitions. When we define variables in Pyret, we use an equal sign.

  • The second section includes four examples. When we want to represent equality but not a definition, we use ==.

  • Some words are in bold.

  • Some words are in different colors and have hashes in front of them.

  • In the starter file, all four examples are labeled as true.

  • The examples end with end.

As students work, encourage them to interact with the starter file! They are free to change definitions, edit examples, and hit "Run" as many times as needed. If they break something, they can always open a fresh copy of the file.

Reading the messages that appear encourages students to think deeply about the Commutative Property and gives students exposure to tests - bits of code used to verify that code is working as we would expect. Examples and tests are widely used in programming! We explore examples in greater depth in Functions: Contracts, Examples & Definitions.

Investigate

As students share, encourage them to draw on discoveries made during Variables and Code (Commutative Property). You can prompt them by inviting them to consider how this starter file is different from the first one that they explored.

Students have a tendency to skip over the "prediction" part of these worksheets, but talking about predictions before diving into the code is really valuable! Discuss student predictions as a whole class, or have students talk with their partner.

Complete the rest of the page with your partner.

Synthesize

  • Using Pyret allows us to test variables in algebraic expressions easily and efficiently. In your own words, describe how you tested different variables - and how you interpreted the results that Pyret produced.

  • In Pyret, what does it mean for a test to pass? What does it mean for a test to fail?

  • What did this programming exploration teach you about the Commutative and Associative Properties?

These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). CCbadge Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.