Question
EasyNLF.1The functions f and g are defined by f(x) = 4x + 2 and g(x) = x² + 4. What is the value of f(g(2))?
Answer: 34
Lesson 1 of 6
Nonlinear Functions
NLF.1 · 13 min39 practice questions
Substitute carefully and apply f(g(x)) from the inside out.
Hey everyone, welcome to This Explainer. Today, we're diving into an absolutely crucial advanced math topic on the digital SAT, evaluating and composing functions. Now, these questions pop up all the time. And the really great news, they're actually some of the quickest points you can grab on the entire test. But they're also the easiest points to accidentally throw away if you're not paying attention. So we're going to build up your toolkit today, making sure you capture every single one of those easy points and save your precious time for the truly tough questions. So here is our six part roadmap for today. We'll start with the core idea, look at negative inputs and exponents, and tackle composing functions where order definitely matters. Then we'll dive into tables, expressions, and desmos, flag the five most common traps, and wrap it all up with some final practice and checks. Let's get into it. Section one, the core idea, replacing every x. All right, so the absolute core concept you've got to grasp is that function notation is really just a simple command. Think of it as a rule that's asking you to find an output. For example, if you see an equation like f of x equals x squared minus 4x plus 3, well, that's just a set of instructions.
It's telling you to take your input, square it, subtract four times that input, and then add three. Simple, right? So if a question asks you to find f of negative 3, all that means is you literally replace every single x in that formula with your specific input of negative 3, every single one. Moving right along to section 2. Negative inputs and exponents. The golden rule of parentheses. Now, applying this rule to negative numbers takes extreme caution. This is actually where a massive chunk of unforced errors happen on the SAT. It's the difference between scoring easy points and falling right into a trap. If you just rush and punch negative 3 squared into a calculator without parentheses, it spits out negative 9. Why? Because calculators, well, they aren't smart, they're just obedient. It thinks you want the negative version of 3 squared. But when you wrap that negative 3 in parentheses, the negative sign travels with the number. So negative 3 times negative 3 gives you a positive 9. Parentheses are literally your best friend here. They tell the calculator exactly what you actually mean. So the most crucial thing to remember here is the order of operations.
Let's say we're evaluating the function h of x equals negative 2x squared plus x. And we need to find h of negative 3. You absolutely have to apply the exponent first. You square the input inside the parentheses to get a positive 9. It's only in the next step that we actually multiply by that front coefficient of negative 2 to get negative 18. Exponents before multiplication, every single time. Alright, section 3, composing functions order matters. This is all about working from the inside out. This happens when the test makers decide to chain two functions together. It's kind of like opening a set of nested boxes, and the sequence changes absolutely everything. What's really fascinating is how you can use the exact same functions, start with the exact same input, and get completely different answers. All because you reverse the order. Function composition just means the output of the first function becomes the input for the next one. We always read these left to right, but, and this is key, you evaluate from the inside out.
Take f of g of 2. We start on the inside with g of 2, which gives us 5. Then we feed that 5 into f to get 13. But flip that around to g of f of 2. We start with f of 2, which is 4, and feed that into g to get 17. You see, order is absolutely everything. And we see that exact same dramatic shift when we deal with algebraic expressions instead of just plain numbers. Don't worry though, the replacing every x-roll still works perfectly. If we want f of g of x, we take the entire g expression, so x squared plus 1, and drop the whole thing into the x slot of function f. But think about evaluating g of f of x. In that case, the entire expression, 3x minus 2, gets dropped into the x slot of g. That means the entire binomial, 3x minus 2, gets squared, not just the 3x part. Honestly, mastering this subtle difference, that's what separates the top scores from the rest of the pack. Next up is section 4, tables, expressions, and desmos. Applying rules to alternative formats.
So the SAT won't always hand you a nice, tidy formula. Sometimes you're gonna get a table. Let's say function f is defined as f of x equals 2x plus 5. And the question asks you to find f of g of 1. The strategy doesn't change. We still work from the inside out. We need g of 1 first. You find the input of 1 in the x-row and look at the corresponding output. For this one, the output for an input of one is negative one. Awesome. Now take that negative one and plug it straight into our F formula. Two times negative one plus five leaves us with three. Piece of cake, right? Just be super careful you don't accidentally pull numbers from the wrong row. You've also got to remember that the decimals calculator, which is integrated directly into the testing app, is an incredibly powerful tool for evaluating these instantly. If you define the function, let's say you type out F of X, you can literally just type f of negative 3 on the very next line and it hands you the answer. But hey, pay close attention to the notation here. Squaring the entire output, which is written as f of x enclosed in brackets and squared, is completely different from squaring just the input, which is written as f of x squared inside the parentheses.
Recognizing that distinction is going to save you some vital points. And again, if your input is a whole expression like x plus 1, it has to replace every single x in that original equation. Moving into section 5, the five common traps, preventing unforced errors. Because knowing the math is really only half the battle, the other half, not falling for the traps they set for you. There are five major unforced errors to watch out for. We've already talked about missing parentheses and messing up the composition order. But think about this one, missing one x when substituting. If a formula has an x squared term and an x term, you have to replace both of them. You can't just pick one. And trap number four is a total classic, squaring only part of an expression. If you plug x minus four into an x squared slot, you have to square the whole binomial, the entire x minus four. The test makers know exactly how your brain works when the clock is ticking, and I guarantee you they will put those resulting trap answers right there in the multiple choice options. Finally we've arrived at section six, final practice and Jax, testing your toolkit.
Let's put those newly forged skills to the test with three quick checks. Here's our first worked example. We need f of g of 2. Take a second to mentally work from the inside out. First evaluate the inner function g of 2. Plug 2 into the g function. 2 squared is 4 plus 4 gives us 8. Now that output becomes the brand new input for the outer function, right? So we need f of 8. Plug 8 into the f function and we get 4 times 8, which is 32, plus 2 equals 34. Bam, got it. Let's tackle another quick check. We need to find the value of f of 4 for this polynomial. Just mentally pause and run the exponent order of operations on this. We're replacing every x with a 4, wrapped in parentheses. The first term is 2 times 4 squared. Remember, exponent first, 4 squared is 16. Then multiply by 2 to get 32. The next term is 3 times 4, which gives us 12. So we've got 32 plus 12 plus our constant of 4. Add all that up and you've got your answer, D48.
All right, for our last check, let's look at a word problem context. We have a nursery function f of x that tracks plain to trees and a function g of n that tracks the care cost. The question asks for g of f of 60. Now, applying composition rules to a word problem works exactly the same way. Do not let the words distract you from the math. Inside out, always. First, we find f of 60. 60 plus 240 gives you 300 total trees. Then you feed that 300 right into the cost function, g. 3 times 300 is 900 plus the 150 base fee, which gives us a total care cost of $1 ,050. I want to leave you with a thought taken straight from our source text today. It reminds us that these are among the quickest points on the test if you're careful, but they're also among the easiest to lose with a simple sign slip. These questions are absolutely meant to be quick rewarding points. So here's the real question. Are you going to remember those parentheses and claim your guaranteed points? Or are you gonna let one tiny little negative sign stand between you and your target SAT score?
Respect the order of operations, trust your toolkit and you'll crush it. Thanks for joining me on this explainer and I'll see you next time.
13 slides. Click one to open it full screen.

Function notation questions ask you to find an output, such as f(−3), or to chain two functions together, such as f(g(2)). The inputs can come from a formula, a table or a graph, and some questions ask for the composed function as an expression. These are among the quickest points on the test if you are careful, and among the easiest to lose with a sign slip.
f(x) = x² − 4x + 3 is a rule: “square the input, subtract 4 times the input, add 3.” To find f(−3), replace every x with (−3), wrapping it in parentheses so the negative sign travels with it.
f(x) = x² − 4x + 3. Find f(−3).
Without parentheses, a calculator or a hurried student reads −3² as −(3²) = −9, which is a different number. The rule of order is: exponents before multiplication, so square first, then multiply by any coefficient. For h(x) = −2x² + x, h(−3) = −2(9) − 3 = −18 − 3 = −21; the −2 multiplies the 9 only after you square.
Composition means “output becomes input.” f(g(x)) says: put x into g, then put g's answer into f. Work from the inside out, like opening nested boxes.
f(x) = 3x − 2 and g(x) = x² + 1.
As expressions: f(g(x)) = 3(x² + 1) − 2 = 3x² + 1, while g(f(x)) = (3x − 2)² + 1 = 9x² − 12x + 5. Notice that in g(f(x)) the whole expression 3x − 2 is squared, not just the 3x.
| x | −1 | 0 | 1 | 2 |
|---|---|---|---|---|
| g(x) | 2 | 3 | −1 | 0 |
Let f(x) = 2x + 5.
When reading a table, find the input in the top row and read the output directly below it; do not read across the wrong row.
The same “replace every x” rule works when the input is an expression. For f(x) = x² − 4x + 3, f(x + 1) = (x + 1)² − 4(x + 1) + 3 = x² + 2x + 1 − 4x − 4 + 3 = x² − 2x. Every x got replaced, including the one in −4x.
Wrap the input in parentheses.
Square (or apply other exponents) before multiplying by coefficients.
For f(g(x)), evaluate g first, then feed that number into f.
Keep [f(x)]² (square the output) separate from f(x²) (square the input).
Evaluating is the first move in almost every function topic: finding a vertex value in NLF.2, testing a point in NLF.3, computing an exponential model's value in NLF.4, and checking whether p(a) = 0 in NLF.6. Desmos also evaluates functions instantly if you define f(x) and type f(−3).
Read the question, then the solution.
The functions f and g are defined by f(x) = 4x + 2 and g(x) = x² + 4. What is the value of f(g(2))?
Answer: 34
Strategy: Work from the inside out: evaluate g first, then apply f to the result.
Solution: The answer is 34. First g(2) = 2² + 4 = 8. Then f(8) = 4(8) + 2 = 34.
Where points are lost.
Answer, then read why.
The function f is defined by f(x) = 2x² + 3x + 4. What is the value of f(4)?
This subtracts the squared term instead of adding it.
The sign of the linear term was changed.
This doubles x instead of squaring it.
Correct. f(4) = 2(4)² + 3(4) + 4 = 32 + 12 + 4 = 48.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: D. f(4) = 2(4)² + 3(4) + 4 = 32 + 12 + 4 = 48.
The function f gives the number of trees a nursery has after it plants x new trees: f(x) = x + 240. The function g gives the cost, in dollars, of caring for n trees: g(n) = 3n + 150. What is g(f(60))?
Hint. Evaluate the inside function first.
Answer: 1050. f(60) = 300, and g(300) = 3(300) + 150 = 1,050.
10 questions, easy to hard.
The functions f and g are defined by f(x) = 2x − 6 and g(x) = x² − 1. What is the value of f(g(−1))?
Hint. Work from the inside out: evaluate g first, then apply f to the result.
Answer: −6. First g(−1) = (−1)² − 1 = 0. Then f(0) = 2(0) − 6 = −6.
The function f is defined by f(x) = 3x² + x − 7. What is the value of f(4)?
This doubles x instead of squaring it.
This subtracts the squared term instead of adding it.
The sign of the linear term was changed.
Correct. f(4) = 3(4)² + 4 − 7 = 48 + 4 − 7 = 45.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: D. f(4) = 3(4)² + 4 − 7 = 48 + 4 − 7 = 45.
The functions f and g are defined by f(x) = 4x − 3 and g(x) = x². What is the value of f(g(−2))?
Hint. Work from the inside out: evaluate g first, then apply f to the result.
Answer: 13. First g(−2) = (−2)² = 4. Then f(4) = 4(4) − 3 = 13.
The function f is defined by f(x) = x² + 2. What is the value of f(4)?
This subtracts the constant term instead of adding it.
This subtracts the squared term instead of adding it.
Correct. f(4) = (4)² + 2 = 16 + 2 = 18.
This doubles x instead of squaring it.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: C. f(4) = (4)² + 2 = 16 + 2 = 18.
The function f is defined by f(x) = 2x² + 4x − 4. What is the value of f(1)?
This doubles x instead of squaring it.
This subtracts the squared term instead of adding it.
The sign of the linear term was changed.
Correct. f(1) = 2(1)² + 4(1) − 4 = 2 + 4 − 4 = 2.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: D. f(1) = 2(1)² + 4(1) − 4 = 2 + 4 − 4 = 2.
The function f is defined by f(x) = x² − 2. What is the value of f(−3)?
The square of a negative number is positive.
This doubles x instead of squaring it.
This adds the constant term instead of subtracting it.
Correct. f(−3) = (−3)² − 2 = 9 − 2 = 7.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: D. f(−3) = (−3)² − 2 = 9 − 2 = 7.
The function f is defined by f(x) = 3x² − 3x − 1. What is the value of f(4)?
This doubles x instead of squaring it.
Correct. f(4) = 3(4)² − 3(4) − 1 = 48 − 12 − 1 = 35.
The sign of the linear term was changed.
This subtracts the squared term instead of adding it.
Hint. Use parentheses around negative inputs, and square before multiplying.
Answer: B. f(4) = 3(4)² − 3(4) − 1 = 48 − 12 − 1 = 35.
The functions f and g are defined by f(x) = x² − 4x and g(x) = 2x + 1. What is the value of f(g(2))?
This adds f(2) and g(2) instead of composing the functions.
This multiplies f(2) by g(2) instead of composing the functions.
This is g(f(2)); the composition was applied in the wrong order.
Correct. Work from the inside out: g(2) = 5, and f(5) = 25 − 20 = 5.
Hint. Evaluate the inner function first, then use its output as the input of the outer function.
Answer: D. Work from the inside out: g(2) = 5, and f(5) = 25 − 20 = 5.
The function f is defined by f(x) = 3x² − 5. What is the value of f(−2) + f(1)?
Hint. Square −2 before multiplying by 3: (−2)² = 4.
Answer: 5. f(−2) = 3(4) − 5 = 7 and f(1) = 3(1) − 5 = −2, so the sum is 5.
The function f is defined by f(x) = x² − 4x. What is the greatest value of x for which f(f(x)) = 0?
Correct. f(u) = 0 when u = 0 or u = 4, so f(x) = 0 or f(x) = 4. The second gives (x − 2)² = 8, so x = 2 ± 2√2; the greatest solution is 2 + 2√2 ≈ 4.83.
This solves only f(x) = 0 and ignores the case f(x) = 4.
This uses the quadratic formula on x² − 4x − 4 = 0 without dividing by 2a.
This moves 4 to the wrong side, solving x² − 4x + 4 = 0 instead of x² − 4x − 4 = 0.
Hint. First find which outputs u make f(u) = 0, then solve f(x) = u for each.
Answer: A. f(u) = 0 when u = 0 or u = 4, so f(x) = 0 or f(x) = 4. The second gives (x − 2)² = 8, so x = 2 ± 2√2; the greatest solution is 2 + 2√2 ≈ 4.83.
Set finished
This lesson is now marked as done.