Variables and functions

变量与函数

What is a function and how do you tell one from a relation?

A function is a rule giving exactly one output for each input; if a value of x produces two values of y it is not a function.

ConceptKP000094

Sign in to read the whole lesson, with 2 interactive aids, 7 exercises

Sign in / Sign up

Mastery goals

  • Can identify constants and variables, the independent variable and the function, in a process of change
  • Can decide whether a relation between two variables given by a formula, a table or a graph is a function, that is, each value of x gives exactly one value of y
  • Can find the value of the function for a given value of the independent variable

Chapter opener

"Everything changes." The positions of the planets change with time, the distance between China's space station and the ground control centre changes with time, air temperature changes with altitude, the height of a tree changes with its age... In the real world, a quantity changing as another one changes is everywhere.

The idea of a function grew, step by step, out of mathematicians' search for how variables in changing situations depend on each other. With functions and their properties we can get a firmer grip on the patterns by which things in the real world change.

In this chapter we first meet constants and variables through concrete examples and learn the concept of a function and how to represent one. Then we use functions to describe the relationship between variables in some simple problems and see how functions describe such relationships and patterns of change.

To say what state a moving or changing thing is in, people usually bring in a few quantities; once we see how those quantities depend on one another, the pattern of change becomes clear.

Let us think about some concrete problems.

These problems are about different things that change. In problem (1), the time changes and the distance changes with it, while the speed stays at km/h the whole time. In problem (2), the number of tickets sold changes and the income changes with it, while each ticket stays at yuan.

What processes of change do problems (3) and (4) show? What are the constants and variables in them?

In general, in a process of change, a quantity whose value never changes is called a constant, and a quantity whose value changes is called a variable. For example, in problems (1) and (2) the truck's speed and the ticket price are constants; the time and distance , and the number of tickets and income are variables.

Example 1

Name the constants and variables in each problem:

(1) Water costs yuan per tonne in a city. A household uses t in a month and has to pay yuan.

(2) A ride on the metro in a city costs yuan, paid by swiping a card. Xiaoming puts yuan on his metro card; after rides the balance is yuan.

(3) A m rope is used to enclose a rectangle. One side of the rectangle is m long and its area is m².

Solution: (1) The price of water is a constant; the household's monthly use and monthly bill are variables.

(2) The charge per ride and the amount put on the card are constants; the number of rides and the balance are variables.

(3) The length of the rope is a constant; the side and the area are variables.

In problem (1) the two variables are and , and changes as changes. Whenever takes a value, has exactly one value matching it: when , when , when ... The relationship can be written .

In problem (2) the two variables are and , and changes as changes. Whenever takes a value, has exactly one value matching it: when , when , when . The relationship can be written .

In the same way, state the relationship between the two variables in problems (3) and (4), and write each one as a formula.

Summing up In each problem above, once one of the two variables takes a value, the other has exactly one value matching it.

In general, in a process of change, if there are two variables and , and for each definite value of there is exactly one definite value of matching it, then we say is the independent variable and is a function of . If when , then is called the function value when the value of the independent variable is .

Reading the earlier examples with this definition: in problem (1) of "Think", the independent variable is the time and the distance is a function of , with function value at and at . In the tide graph, the independent variable is the time and the tide height is a function of , with function value at . In the deposit table, the independent variable is the term and the rate is a function of , with function value at .

Related points

All points in this topic

Cite this page: Variables and functions · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000094