Positive Linear Function Machine

What is Positive Linear Function Machine?

This activity allows the user to explore simple linear functions; the function is determined by looking for patterns in the outputs. The functions available for exploration in the function machine activity have the following form:

          y = __ * x + __
        

The notion of a function is important in higher mathematics such as calculus and in areas which use mathematics such as physics. Any rule that assigns exactly one output to an input or list of inputs can be called a function.

Here are a few examples:

  • Input the number of seconds after the starting gun in a race to get an output of the number of meters the runner has covered.
    Race Chart
    Number of Seconds (input) 1 4 7 8
    Meters covered (output) 5 20 35 40
  • y = x - 6, where x is the place holder (also called a variable) for the input and y is the place holder for the output.
    Function y = x - 6
    X (input) -3 0 7 8
    Y (output) -9 -6 1 2
  • The rule about only one output each time is crucial and must not be violated. For example, the table below cannot represent a function because 3 has two different outputs:
    Not a Function
    input 3 2 0 3
    output 4 -1 2 -3

  • The functions produced by this machine are special because they all graph as straight lines. In fact, the slope of the line and the y-intercept of the line are easy to read from the formula:
          y = (slope) * x + (y-intercept)
        
  • The slope tells us the rise over the run, and the intercept tells us where the line crosses the vertical axis when plotted:
  • Here the red line has intercept = 7 and slope = -1/2, and the green line has intercept = -1 and slope = 4/2.

How Do I Use This Activity?

This activity allows the user to explore simple linear functions; the function is determined by looking for patterns in the outputs. The functions available for exploration in the function machine activity have the following form:

          y = __ * x + __
        

Object of the Game

A randomly selected "function machine" takes a number and produces another number according to a rule (a function). The goal of the game is to guess the rule. Possible rules in the game are: Y = N * X + K, where N and K are randomly selected whole numbers from 0 to 10.

Controls and Output

As an example, we use function Y = X + 2

  • To find out what the machine will do with a number:
    • Type the number into the X= [____] space (in our example, number 5 is typed in):
    • Press the Enter button:
    • Observe the resulting number in the Y= [____] window (in our example, number 7 is the result):
    • You can input as many numbers as you need to find the rule
  • To check if you guessed the rule right, type numbers in the Y = [___]*X + [___] spaces, and then press the Check formula button. You will see one of the two messages under the picture of the machine: either Correct answer! Try again!
  • To set a new function machine (that is, a new rule), click once on the Set new function button:
Scoring
  • This activity will automatically record how successful you are at answering the questions. To view the score, press the Show Score button at the bottom of the activity and a pop-up window will appear with the scoreboard. To close this pop-up window press the Close button or click back on the main window.
  • To pause the scoring, press the Active button at the bottom of the screen and it will change to a Paused button. To resume scoring, press the Paused button.
  • To reset the scoreboard, open the scoreboard using the Show Score button and then press the Reset button.

Because this activity randomly generates questions, a feature called Seed Random has been implemented that allows multiple users using different computers to work on the same problem. See Seed Random Help for instructions on using this feature.

Description

This activity allows the user to explore simple linear functions; the function is determined by looking for patterns in the outputs. The function is always a simple line of the following form:


y = m*x + b

where m, the slope, and b, the y-intercept, can be any integer between 0 and 10. This activity would work well in same ability groups of two to three for about forty-five minutes if you use the exploration questions and ten to fifteen minutes otherwise.

Place in Mathematics Curriculum

This activity can be used to:

  • practice students' pattern finding skills
  • introduce basic notions from algebra
  • motivate the idea of a function of one variable
  • practice students' arithmetic skills

Standards Addressed

Grade 6

  • Functions and Relationships

    • The student demonstrates conceptual understanding of functions, patterns, or sequences.
    • The student demonstrates algebraic thinking.

Grade 7

  • Functions and Relationships

    • The student demonstrates conceptual understanding of functions, patterns, or sequences including those represented in real-world situations.
    • The student demonstrates algebraic thinking.

Grade 8

  • Functions and Relationships

    • The student demonstrates conceptual understanding of functions, patterns, or sequences including those represented in real-world situations.
    • The student demonstrates algebraic thinking.

Grade 9

  • Functions and Relationships

    • The student demonstrates conceptual understanding of functions, patterns, or sequences including those represented in real-world situations.
    • The student demonstrates algebraic thinking.

Grade 10

  • Functions and Relationships

    • The student demonstrates conceptual understanding of functions, patterns, or sequences including those represented in real-world situations.
    • The student demonstrates algebraic thinking.

Grade 6

  • Algebra and Functions

    • 1.0 Students write verbal expressions and sentences as algebraic expressions and equations; they evaluate algebraic expressions, solve simple linear equations, and graph and interpret their results

Grade 7

  • Algebra and Functions

    • 1.0 Students express quantitative relationships by using algebraic terminology, expressions, equations, inequalities, and graphs
    • 3.0 Students graph and interpret linear and some nonlinear functions
    • 4.0 Students solve simple linear equations and inequalities over the rational numbers

Sixth Grade

  • Expressions and Equations

    • Apply and extend previous understandings of arithmetic to algebraic expressions.
    • Represent and analyze quantitative relationships between dependent and independent variables.

Seventh Grade

  • Expressions and Equations

    • Use properties of operations to generate equivalent expressions.

Eighth Grade

  • Expressions and Equations

    • Understand the connections between proportional relationships, lines, and linear equations.
    • Analyze and solve linear equations and pairs of simultaneous linear equations.
  • Functions

    • Define, evaluate, and compare functions.
    • Use functions to model relationships between quantities.

Algebra

  • Reasoning with Equations and Inequalities

    • Solve equations and inequalities in one variable

Functions

  • Building Functions

    • Build a function that models a relationship between two quantities
  • Interpreting Functions

    • Understand the concept of a function and use function notation
  • Linear, Quadratic, and Exponential Models

    • Construct and compare linear, quadratic, and exponential models and solve problems

Grades 6-8

  • Algebra

    • Understand patterns, relations, and functions

Grades 9-12

  • Algebra

    • Represent and analyze mathematical situations and structures using algebraic symbols

Grade 7

  • Number and Operations, Measurement, Geometry, Data Analysis and Probability, Algebra

    • COMPETENCY GOAL 5: The learner will demonstrate an understanding of linear relations and fundamental algebraic concepts.

Grade 8

  • Number and Operations, Measurement, Geometry, Data Analysis and Probability, Algebra

    • COMPETENCY GOAL 5: The learner will understand and use linear relations and functions.

Introductory Mathematics

  • Algebra

    • COMPETENCY GOAL 4: The learner will understand and use linear relations and functions.
    • COMPETENCY GOAL 5: The learner will understand and use linear relations and functions.

Technical Mathematics I

  • Number and Operations

    • Competency Goal 1: The learner will apply various strategies to solve problems.

6th Grade

  • Algebra

    • The student will demonstrate through the mathematical processes an understanding of writing, interpreting, and using mathematical expressions, equations, and inequalities.

7th Grade

  • Algebra

    • The student will demonstrate through the mathematical processes an understanding of proportional relationships.

8th Grade

  • Algebra

    • The student will demonstrate through the mathematical processes an understanding of equations, inequalities, and linear functions.

Elementary Algebra

  • Elementary Algebra

    • Standard EA-4: The student will demonstrate through the mathematical processes an understanding of the procedures for writing and solving linear equations and inequalities.
    • Standard EA-5: The student will demonstrate through the mathematical processes an understanding of the graphs and characteristics of linear equations and inequalities.

7th Grade

  • Algebra

    • The student will understand and generalize patterns as they represent and analyze quantitative relationships and change in a variety of contexts and problems using graphs, tables, and equations.

8th Grade

  • Algebra

    • The student will understand and generalize patterns as they represent and analyze quantitative relationships and change in a variety of contexts and problems using graphs, tables, and equations.

Grade 6

  • Patterns, Relationships, and Algebraic Thinking

    • 4. The student uses letters as variables in mathematical expressions to describe how one quantity changes when a related quantity changes.

Grade 7

  • Patterns, Relationships, and Algebraic Thinking

    • 4. The student represents a relationship in numerical, geometric, verbal, and symbolic form.

Grade 8

  • Patterns, Relationships, and Algebraic Thinking

    • 4. The student makes connections among various representations of a numerical relationship. The student is expected to generate a different representation of data given another representation of data (such as a table, graph, equation, or verbal description).

Algebra I

  • Linear Functions

    • 5. The student understands that linear functions can be represented in different ways and translates among their various representations.
    • 6. The student understands the meaning of the slope and intercepts of the graphs of linear functions and zeros of linear functions and interprets and describes the effects of changes in parameters of linear functions in real-world and mathematical situations.

7th Grade

  • Patterns, Functions, and Algebra

    • 7.22 The student will
    • 7.19 The student will represent, analyze, and generalize a variety of patterns, including arithmetic sequences and geometric sequences, with tables, graphs, rules, and words in order to investigate and describe functional relationships.
    • 7.22a The student will solve one-step linear equations and inequalities in one variable with strategies involving inverse operations and integers, using concrete materials, pictorial representations, and paper and pencil

8th Grade

  • Computation and Estimation

    • 8.4 The student will apply the order of operations to evaluate algebraic expressions for given replacement values of the variables. Problems will be limited to positive exponents.
  • Patterns, Functions, and Algebra

    • 8.14a The student will describe and represent relations and functions, using tables, graphs, and rules; and
    • 8.14b relate and compare tables, graphs, and rules as different forms of representation for relationships.

Secondary

  • Algebra II

    • AII.12 The student will represent problem situations with a system of linear equations and solve the system, using the inverse matrix method. Graphing calculators or computer programs with matrix capability will be used to perform computations.
    • AII.13 The student will solve practical problems, using systems of linear inequalities and linear programming, and describe the results both orally and in writing. A graphing calculator will be used to facilitate solutions to linear programming problems.
    • AII.12
    • AII.13

Be Prepared to

  • answer the question "How do I figure out what the numbers are supposed to be? I don't know how to
  • discuss pattern recognition, input, output, etc...