Which graph represents a function?

Answer:
The second graph
Step-by-step explanation:
The general function is f(x) = mx + c
[tex]{ \tt{m = \frac{8 - 4}{4 - 2} = \frac{4}{2} }} \\ \\ { \underline{ \tt{ \: m = 2 \: }}}[/tex]
For y-intercept:
[tex]{ \tt{f(x) = mx + c}}[/tex]
consider point (2, 4)
[tex]{ \tt{4 = (2 \times 2) + c }} \\ { \tt{c = 0}}[/tex]
Function:
[tex]{ \boxed{ \tt{f(x) = 2x}}}[/tex]
Answer: top right
Step-by-step explanation:
if you do the vertical line test you can see that it’s the only graph where each x value has one y value, indicating that it’s a function