When should the label of the vertical axis be y, and when should it be f(x)?

744 Views Asked by At

When should the label of the vertical axis be $y$, and when should it be $f(x)$? As sub questions, if I'm graphing $f(x) = 2x+1$, would it be wrong to label the vertical axis as $y$, since $y$ appears nowhere in my equation? What if I wanted to compare $f(x)$ and $g(x)$? Or $f(a)$ and $g(b)$? Or $sin(\theta)$ and $cos(\theta)$? Really struggling to come up with a bp. Thanks in advance for any thoughts!

2

There are 2 best solutions below

0
On BEST ANSWER

When drawing multiple curves on the same Cartesian plane because they represent functions $f(t),g(t),h(t),$ etc. that share an input/independent variable $t,$ the vertical axis can be labelled the dependent variable $y,$ and the curves separately labelled $“y=f(t)”, “y=g(t)”, “y=h(t)”,$ etc.

When there is just a single function $h(t),$ the vertical axis can alternatively be labelled $h(t)$ so that the curve doesn't need to be labelled.

In either case, the horizontal axis is labelled the input/independent variable $t.$

2
On

It is okay to label the vertical axis as $y$ if the horizontal axis is labeled $x$ and $y = f(x)$. To compare two functions, say $f(x)$ and $g(x)$, both can be plotted in the same graph and labeling those functions through annotations or legends.

Note that $x$ and $y$ are just dummy variables. They can be replaced with anything, like $f = g(h)$, or $x = X(y)$. This means that you can compare $\sin\theta$ and $\cos\theta$ like the way you would in the previous paragraph.

However, to compare $f(a)$ and $g(b)$ would need additional information. Assuming that $f$ and $g$ are functions of $x$, comparing them would be similar to the first paragraph, just that we are tracking specific values instead of the entire function.