Define f(x) Once and Evaluate Combined Inputs

Type f(x) = ... and let Desmos compute expressions like f(4) + f(1) in one line.

Worked problem

If f(x) = 3x − 5, what is the value of f(4) + f(1)?

Target answer: 5 (compatible with typed-answer questions).

What to enter in the calculator

  • f(x) = 3x - 5
  • f(4) + f(1)

Step-by-step calculator moves

  • Type f(x) = 3x − 5 on line 1.
  • Type f(4) + f(1) on line 2.
  • Read the numeric result: 5.

Check the math

f(4) = 7 and f(1) = −2, so 7 + (−2) = 5.

When to skip the graph

Skip graphing if only one simple evaluation like f(2) is requested.

Connected book chapter, skill, and practice

Maps to Chapter 17 (Linear Equations in Two Variables and Linear Functions) and the Linear Functions skill guide.

SAT® and AP® are trademarks registered by the College Board, which is not affiliated with, and does not endorse, this website or book. PSAT/NMSQT® is a registered trademark of the College Board and the National Merit Scholarship Corporation, which are not affiliated with, and do not endorse, this site. Bluebook™ is a trademark of the College Board. ACT® is a trademark of ACT Education Corp., which is not affiliated with and does not endorse this website or book. Desmos is a trademark of Desmos Studio PBC.

Last updated .