Functions

Learn the basic concepts of functions. Deepen your understanding of variables, function definitions, and domains through concrete examples.


  • Letters like xx and yy above that can take various values are called variables .
  • When the value of one variable xx is determined, and the value of yy is uniquely determined in correspondence with it, we say that yy is a function of xx .
  • The range of values that a variable can take is called the domain .
  • The domain can be expressed using inequalities, such as axba \leq x \leq b .

Relationships Between Quantities That Change Together

Example 1

Let's consider making a box using a square with a side length of 16cm.

How to make the box

  • Cut out squares of the same size from the four corners of a square paper with a side length of 16cm
  • Fold the paper along the dotted lines, tape the overlapping edges together to make a box without a lid

Let xx cm be the side length of the square to be cut out, and yy cm be the side length of the bottom of the box. Try moving the slider in the figure below to change the value of xx . You'll see that yy changes along with xx and can take various values.

Let's put the changes in yy as xx changes into a table and graph to capture their characteristics.

proportional-relationships-1

We can also express the relationship between xx and yy with an equation. Expressing it with an equation makes it very convenient to easily know how the value of yy changes when the value of xx changes.

y=2x+16 y=-2x+16

Example 2

Next, in the box-making in Example 1, let yy cm² be the area of the bottom of the box. How does yy cm² (the area of the bottom of the box) change as the value of xx changes?

At this time, the pattern of changes in xx and yy can be shown in a table and graph like this. What is the correspondence relationship between xx and yy ?

proportional-relationships-2

The relationship between xx and yy can be expressed by this equation:

y=(2x+16)2 y=(-2x+16)^2

This is called a quadratic function, but quadratic functions are studied in the 9th grade, so you don't need to remember this term at the 7th-grade level.

  • Letters like xx and yy above that can take various values are called variables .
  • When the value of one variable xx is determined, and the value of yy is uniquely determined in correspondence with it, we say that yy is a function of xx .

Range of Values a Variable Can Take

Example 3

The following table shows data on temperature and the number of cold drinks sold at a certain store in a certain country. What happens to the number of cold drinks sold when the temperature rises? Or conversely, what happens when the temperature drops?

proportional-relationships-3

When we plot this data on a graph, it seems to form a straight line, and the relationship between xx and yy can be expressed by the equation y=5x+10y=5x+10 .

However, xx here represents temperature, so is a value like x=50(C)x=50\,(^\circ C) possible...? If the historical lowest temperature in the area where this data was taken is 10(C)10\,(^\circ C) and the highest is 40(C)40\,(^\circ C) , it's reasonable to consider that the range of values xx can take is from 10C10^\circ C to 40C40^\circ C . This range of values that a variable can take is called the domain .

  • The range of values that a variable can take is called the domain .
  • The domain can be expressed using inequalities, such as axba \leq x \leq b .