# In the attached table, which of the following must be a factor of f(x)?

$$\begin{array}{c|c} x & f(x) \\\hline 0 & 3 \\ 2 & 1 \\ 4 & 0 \\ 5 & -2 \end{array}$$

The function $f$ is defined by a polynomial. Some values of $x$ and $f(x)$ are shown in the above. What must be a factor of $f(x)$?

The question is from a SAT practice test.

I'm not entirely sure what the question is asking.

At first I thought that the $x$ table values could be substituted in the equation and checked if they get the respective $f(x)$ table values. For example, in the equation $x-3$, if $0$ is $x$ then $f(x)$ should be $-3$. However, that doesn't work for any of the equations.

Then I thought, that the $x$ table values must be multiplied by the equations to get $f(x)$, for example, in the equation $x-3$ multiplied by $0$ if $x$ is $0$ to get $0(0-3)$, however that clearly doesn't work either.

So basically, I'm not sure where to start. According to the answer key, the answer is $(x-4)$, however I don't understand how to get to that answer, hence can anyone please provide a step by step explanation and solution to the problem.

The problem definition assumes that the polynomial $f(x)$ can be factored into $$f(x) = g(x) h(x)$$ where $g(x)$ and $h(x)$ are polynomials. Furthermore, it can be shown that if $x=a$ is a root for the polynomial, then $x-a$ is a factor for it. This makes sense, since substituting, for ex. $h(x) = x-a$ gives us $$f(x) = g(x) (x-a)$$ which clearly has a root at $x=a$ ($f(a)= 0$). Reading the table, the polynomial has a root at $x=4$, so therefore $x-4$ is a factor of $f(x)$.
So when you have some polynomial $g(x)$, for instance, consider: $$g(x)=x^4 -4x^3 +8x$$ another way of writing it is using it's zeros, that is, where the polynomial is equal to zero. In this case, we would have $$g(x)=-x (x - 2) (1 + \sqrt{5} - x) (-1 + \sqrt{5} + x)$$ getting a polynomial into this form sometimes takes quite a bit of hard work -- but an easy way of finding it in some cases is to look at its graph and see where it crosses the $x$-axis (because the $y$-axis is the value of $f(x)$, so $y=0$ if and only if $f(x)=0$). In the above example I gave, if you were to look at it's graph, you'll notice crosses the axis at $0$, $2$, $1+ \sqrt{5}$, and $1- \sqrt{5}$, precisely as indicated by its factored form.
Now using that above information you can see how that table helps you find the factors of $f(x)$. It tells you that at $x=4$ we have $f(4)=0$. That must mean somewhere in our function we have the factor $(x-4)$ -- because when $x$ is $4$, then the factored form contains a $0$ and since it's just one large product -- multiplying by zero causes the who function to be zero -- just as the table says.
The Factor Theorem states that a polynomial has factor $x - k$ if and only if $f(k) = 0$.
We are given $f(4) = 0$. Thus, by the Factor Theorem, $x - 4$ must be a factor.
{"ft_lang_label":"__label__en","ft_lang_prob":0.92319894,"math_prob":0.9999864,"size":1040,"snap":"2023-40-2023-50","text_gpt3_token_len":301,"char_repetition_ratio":0.12934363,"word_repetition_ratio":0.010526316,"special_character_ratio":0.3125,"punctuation_ratio":0.09865471,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":1.0000092,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-09-27T18:45:57Z\",\"WARC-Record-ID\":\"<urn:uuid:c736c9d2-5edf-4338-b429-d0df2f37d58a>\",\"Content-Length\":\"160294\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:976a9bc0-b20f-4749-bfef-700da577e9e9>\",\"WARC-Concurrent-To\":\"<urn:uuid:83e4a9a7-712c-413b-8211-0599fae9a65b>\",\"WARC-IP-Address\":\"104.18.10.86\",\"WARC-Target-URI\":\"https://math.stackexchange.com/questions/2363515/in-the-attached-table-which-of-the-following-must-be-a-factor-of-fx\",\"WARC-Payload-Digest\":\"sha1:4ESTBNR24KNLDDHCXX5GDIN6KL7L6AYO\",\"WARC-Block-Digest\":\"sha1:AQLTZGWCIL3MLGYDM477V56MNS6O7ULR\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-40/CC-MAIN-2023-40_segments_1695233510319.87_warc_CC-MAIN-20230927171156-20230927201156-00381.warc.gz\"}"}