Skip to ContentGo to accessibility page
Algebra 1

4.4.2 Defining Functions by a Rule

Algebra 14.4.2 Defining Functions by a Rule

4.4.2 Defining Functions by a Rule

4.4.2 • Defining Functions by a Rule

Activity

For questions 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. Explain how you knew the answer to question 5.

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

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

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
Reuse and redistribution of this content in digital or print format:
  • 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 prior written permission.
  • This book uses the Creative Commons Attribution-NonCommercial-ShareAlike License, which means that you can reuse and modify the material only for noncommercial purposes, must attribute OpenStax, and must distribute any derivative works under the same license.
  • Any commercial printing of this textbook, including using a local or custom printer, must be approved by OpenStax, and proper citation provided.
  • OpenStax-copyrighted images, activities, assessments, and similar components of this book are subject to the same licensing – CC-BY-NC-SA. They can be used for noncommercial purposes with attribution. Commercial use requires permission.
  • Permission requests: Anyone who intends to incorporate this content (including text, images, and other components) into large language models, use it in AI offerings, use it commercially (including in print), and/or has questions about another use case is welcome to complete our reuse request form.
Attribution information
  • If you are redistributing all or part of this book in a noncommercial 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 noncommercial digital format, then for every page that includes OpenStax content, you must license the derivative work under the same CC-BY-NC-SA license as the original, and 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

The information below includes the information needed to generate citations in most major styles (APA, MLA, etc.); you must reformat and organize the information as needed to fit the requirements of the style. Use the information below to generate a citation. We recommend using a citation tool such as this one.

© Apr 23, 2026 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, and Rice University name, and Rice University logo trademarks, or wordmarks are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.