To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
4 Responses
Think of f(x) as a machine that takes whatever is in the parentheses and plugs it everywhere x appears in the rule. So with f(x) = 3x − 5, the input “x + 2” means replace x by (x + 2): f(x + 2) = 3(x + 2) − 5 = 3x + 6 − 5 = 3x + 1. Your attempt, 3x + 2 − 5, is actually f(x) + 2, which is different: f(x) + 2 = (3x − 5) + 2 = 3x − 3. Quick check with a number: if x = 4, then f(x + 2) = f(6) = 3·6 − 5 = 13, while f(x) + 2 = f(4) + 2 = (3·4 − 5) + 2 = 9, so they don’t match. The key is that the whole “x + 2” goes into the x-slot before simplifying. For more examples, see Khan Academy’s article on evaluating functions: https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:functions/xf6c56a76a6c5c5ce:evaluating-functions/a/evaluating-functions.
Think of f as a little machine: whatever you put in gets tripled and then you subtract 5, so plugging in x+2 means f(x+2)=3(x+2)−5=3x+6−5 (your 3x+2−5 forgot to multiply the +2), though I sometimes mix this up and think the +2 just bumps the output up by 2. Here’s a quick refresher: https://www.khanacademy.org/math/algebra/x2f8bb11595b61c86:functions/x2f8bb11595b61c86:evaluating-functions/a/evaluating-functions – want to try f(x−4) next and compare?
I think I see where the sandwich slipped-when I first learned this, I kept forgetting that the whole x+2 has to be treated as a single input, and my teacher made me rewrite the rule as f(□) = 3□ − 5 so I’d drop the entire expression into the box. If f(x) = 3x − 5, then f(x + 2) means “take the input x + 2, multiply it by 3, then subtract 5,” so it becomes 3(x + 2) − 5 = 3x + 6 − 5 = 3x + 1. The step that trips people (me included!) is forgetting the parentheses and writing 3x + 2 − 5, which only adds the 2 after multiplying x by 3, not before-so it changes the process. A quick check helps: if x = 4, then f(6) should be 3·6 − 5 = 13, but 3·4 + 2 − 5 gives 9, so it doesn’t match. Thinking of the function as a little machine that applies its rule to the entire input kept me from losing pieces of the “algebra sandwich.”
f(x+2) means “take the input x+2 and put it everywhere x appears,” so f(x+2) = 3(x+2) − 5 = 3x + 1; your 3x + 2 − 5 treats the +2 as outside the function instead of inside. I learned to fix this after losing a point on f(2x) years ago-now I always bracket the input before substituting.