Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo
Algebra 1

4.4.2 Defining Functions by a Rule

Algebra 14.4.2 Defining Functions by a Rule

Search for key terms or text.

Activity

For 1 - 4, match each equation with a verbal description that represents the same function.

1. f ( x ) = 3 x 7 f ( x ) = 3 x 7

  1. Subtract 7 from the input, then divide the result by 3.

  2. Subtract 7 from the input, then multiply the result by 3.

  3. Multiply the input by 3, then subtract 7 from the result.

  4. Divide the input by 3, and then subtract 7 from the result.

2. g ( x ) = 3 ( x 7 ) g ( x ) = 3 ( x 7 )

  1. Subtract 7 from the input, then divide the result by 3.

  2. Subtract 7 from the input, then multiply the result by 3.

  3. Multiply the input by 3, then subtract 7 from the result.

  4. Divide the input by 3, and then subtract 7 from the result.

3. h ( x ) = x 3 7 h ( x ) = x 3 7

  1. Subtract 7 from the input, then divide the result by 3.

  2. Subtract 7 from the input, then multiply the result by 3.

  3. Multiply the input by 3, then subtract 7 from the result.

  4. Divide the input by 3, and then subtract 7 from the result.

4. h ( x ) = x 7 3 h ( x ) = x 7 3

  1. Subtract 7 from the input, then divide the result by 3.

  2. Subtract 7 from the input, then multiply the result by 3.

  3. Multiply the input by 3, then subtract 7 from the result.

  4. Divide the input by 3, and then subtract 7 from the result.

5. For one of the functions, when the input is 6, the output is –3. Which is that function: f f , g g , h h , or k k ?

6. Which function value, f f , g g , h h , or k k is the greatest when the input is 0.

7. Explain how you knew the answer to question 6.

8. Which function value, f f , g g , h h , or k k is the greatest when the input is 10.

Are you ready for more?

Extending Your Thinking

Mai says f ( x ) f ( x ) is always greater than g ( x ) g ( x ) for the same value of x x . Is this true? Explain how you know.

Self Check

Which function has the least value when x = 0 ?
  1. f ( x ) = 4 x + 5
  2. f ( x ) = 2 ( x 1 )
  3. f ( x ) = 3 x
  4. f ( x ) = 2 x + 1

Additional Resources

Evaluating Functions with Function Notation

Find the Value of a Function

It is very convenient to name a function, and most often we name it f f , g g , or h h . In any function, for each x x -value from the domain we get a corresponding y y -value in the range. For the function f f , we write this range value y y as f ( x ) f ( x ) . This is called function notation, and is read f f of x x or the value of f f at x x . In this case, the parentheses do not indicate multiplication.

Function Notation

For the function y = f ( x ) y = f ( x ) :

  • f f is the name of the function.
  • x x is the input value.
  • f ( x ) f ( x ) is the output value, y y , corresponding to the value of x x .

We read f ( x ) f ( x ) as f f of x x or the value of f f at x x .

We call x x the independent variable as it can be any value in the domain. We call y y the dependent variable as its value depends on x x .

Independent and Dependent Variables

For the function y = f ( x ) y = f ( x ) ,

x x is the independent variable as it can be any value.

y y is the dependent variable as its value depends on x x .

Much as when you first encountered the variable x x , function notation may be rather unsettling. It seems strange because it is new. You will feel more comfortable with the notation as you use it.

Let’s look at the equation y = 4 x 5 y = 4 x 5 . To find the value of y y when x = 2 x = 2 , we know to substitute x = 2 x = 2 into the equation and then simplify.

Original Equation y = 4 x 5 y = 4 x 5

Substitute x = 2 x = 2 in for x x .

y = 4 ( 2 ) 5 y = 4 ( 2 ) 5

Simplify.

y = 3 y = 3

The value of the function at x = 2 x = 2 is 3.

We can do the same thing using function notation. The equation y = 4 x 5 y = 4 x 5 can be written as f ( x ) = 4 x 5 f ( x ) = 4 x 5 . To find the value when x = 2 x = 2 , we write:

Original Equation f ( x ) = 4 x 5 f ( x ) = 4 x 5
Substitute x = 2 x = 2 in for x x . f ( 2 ) = 4 ( 2 ) 5 f ( 2 ) = 4 ( 2 ) 5
Simplify. f ( 2 ) = 3 f ( 2 ) = 3

The value of the function at x = 2 x = 2 is 3.

This process of finding the value of f ( x ) f ( x ) for a given value of x x is called evaluating the function.

Try it

Try It: Evaluating Functions with Function Notation

Find the value of f ( x ) = 5 x + 2 f ( x ) = 5 x + 2 when x = 3 x = 3 .

Citation/Attribution

This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License and you must attribute OpenStax.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:

    Access for free at https://openstax.org/books/algebra-1/pages/about-this-course

Citation information

© May 21, 2025 OpenStax. Textbook content produced by OpenStax is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike License . The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.