I can interpret functions in the formula form but I simply can’t understand how it can become a graph. How would you transform one into the other?

In: 46

A function will usually be expressed as an equation that sets a variable, _y_, to some expression including another variable _x_.

On a graph, _x_ is the _independent variable_. It’s the one whose value you get to change just because you want to.

The other variable, _y_, is the _dependent variable_. You don’t set that one directly, you can only find out what it is by setting _x_ to a value and solving the expression.

On a graph, _x_ goes on the horizontal axis. When you pick a value of _x_ and solve it, put a dot for _y_ at the right distance above or below the horizontal axis for that value of _x_. If the function is _y = x_, and you pick 2 for _x_, you put a dot 2 units above the x axis at 2 units to the right of where the horizontal and vertical axes cross.

If you do that for all possible values of _x_, you will get a shape on your graph. For _y = x_, it’s a straight line ascending at 45° right through the origin (where the axes cross).

Part of the definition of a function is that every value of _x_ gives you exactly one unique value for _y_, so you will never see a line double back above the horizontal axis, it only moves up & down across all values of _x_.

Imagine you have a function like f(x) = x^2.

You can think of the graph of the function as all the pairs of numbers: (x, f(x)). In the specific case of this function, that’s the pairs of numbers (x, x^2).

For example, (2, 4) and (3, 9), and (67.23, 4519.8729) are all points in the graph of the above function.

If you consider all pairs of numbers (x, f(x)), you get the graph of the function. Take a plane with an x-axis, and a y-axis, and plot the pairs of numbers: x on the x-axis, and f(x) on the y-axis.

Now obviously you can’t plot every pair of numbers since there are an infinite amount of them, but what you can do is take some of the integers values and plot them. In the case of (x, x^2), we have:

(-4, 16), (-2, 4), (-1, 1), (0, 0), (1, 1), (2, 4), (3, 9), (4, 16) and so on.

Then draw a curve that goes between these points, and you have a visualisation of the graph of a function. The actual graph is all values (x, x^2), however.

In fact, the graph of a function is sufficient to describe the function completely!

If the line on the graph is a straight line, then we read it from left to right, is the line is going up, left to right, it is a + equation, if it is going down, it is a – equation.

We look at where the line crosses the vertical axis, is is the y axis. What ever value that is, we write it down.

From that y-intercept, we count to the right how many spaces until the line crosses a whole number, then we count how many spaces vertically this covers as well. This gives us the slop of the line, rise over run. Often thos slop will be expressed as a fraction like 2/3. Meaning we have 2 spaces of rise for every 3 spaces to the right of run.

So, if we see that the line is going down from left to right, the y intercept is 7, and the rise over run is counted to be 1/2, we can then plug those values into an equation. Y=mX+b

Y is the answer we are often trying to find, m is the slope we have figured out, X is usually the given variable that may change, and b is where the line intercepts the y axis.

In my example the equation thay represents the line observed is y= -1/2(x) + 7

With this you could easily determine what value of why falls on the line for a given value of x

[When I was learning I just plotted points until I saw how these graphs were being generated. Once you know these few (especially the first 6) the rest (ie higher degrees and polynomials) are just variations.](https://nohemiportfiolio2012-2013.weebly.com/uploads/1/9/2/5/19257411/748647836_orig.jpg?245)

So a graph will have an x-axis and a y-axis right?

And with a function you have a x, and a y or f(x) (those are the same thing just different names)

A graph shows you all the (x, y) pairs.

So like for y=x if you plug in 1 for x you get 1 for y and so on.

For the graph you will get a straight like that’s at a 45 degree angle. Because you are plotting all the places where x is the same as y.

Going from function to graph is generally a lot easier than graph to function.

For function to graph plug in a bunch of numbers and just mark them down on a graph.

But for graph to function you tend to need to think a bit and having some knowledge of basic function shapes is a must have. As well as how parts of a function will shift the graph. I could go into more detail here if you want, but its verging on a whole topic overview.