It is sometimes difficult to understand the behavior of a function given only its definition; a visual representation or graph can be very helpful. A graph is a set of points in the Cartesian plane, where each point indicates that . In other words, a graph uses the position of a point in one direction (the vertical-axis or -axis) to indicate the value of for a position of the point in the other direction (the horizontal-axis or -axis).
Functions may be graphed by finding the value of for various and plotting the points in a Cartesian plane. For the functions that you will deal with, the parts of the function between the points can generally be approximated by drawing a line or curve between the points. Extending the function beyond the set of points is also possible, but becomes increasingly inaccurate.
Linear functions[edit | edit source]
Graphing linear functions are easy to understand and do. Because we know that two points can form a line, only two points are needed for us to graph a linear function if those two points are on the function. Oppositely, we can write down the equation of a linear function if we only know two points that are on the function.
The following section mainly talks about different forms of linear function notations so that you can easily identify or graph the function.
Introduction[edit | edit source]
Plotting points like this is laborious. Fortunately, many functions' graphs fall into general patterns. For a simple case, consider functions of the form
The graph of is a single line, passing through the point with slope 3. Thus, after plotting the point, a straightedge may be used to draw the graph. This type of function is called linear and there are a few different ways to present a function of this type.
Slope[edit | edit source]
The slope is the backbone of linear functions because it shows how much the output of a function changes when the input changes. For example, if the slope of a function is 2, then it means when the input of a function increases by 1 unit, the output of the function increases by 2 units. Now, let's look at a more mathematical example.
Consider this function: . What does the number mean?
It means that when increases by 1, decreases by 5.
Using mathematical terms:
It is easy to calculate the slope because the slope is like the speed of a vehicle. If we divide the change in distance and the corresponding change in time, we get the speed. Similarly, if we divide the change in over the corresponding change in , we get the slope. If given two points, and , we may then compute the slope of the line that passes through these two points. Remember, the slope is determined as "rise over run." That is, the slope is the change in -values divided by the change in -values. In symbols:
Interestingly, there is a subtle relationship between the slope and the angle between the graph of the function and the positive -axis, . The relationship is:
It is an obvious relationship, but it can be ignored relatively easily.
Slope-intercept form[edit | edit source]
When we see a function presented as
we call this presentation the slope-intercept form. This is because, not surprisingly, this way of writing a linear function involves the slope, , and the -intercept, .
Example 1: Graph the function .
The slope of the function is 3, and it intercepts the -axis at point . In order to graph the function, we need another point. Since the slope of the function is 3, then
Knowing that the function goes through points , the function can be easily graphed.
Example 2: Now, consider another unknown linear function that goes through points . What is the equation for this function?
The slope can be calculate with the formula mentioned above.
And since the -axis interception is , we can know that
Thus, the equation of this linear function should be
Point-slope form[edit | edit source]
If someone walks up to you and gives you one point and a slope, you can draw one line and only one line that goes through that point and has that slope. Said differently, a point and a slope uniquely determine a line. So, if given a point and a slope , we present the graph as
We call this presentation the point-slope form. The point-slope and slope-intercept form are essentially the same. In the point-slope form we can use any point the graph passes through. Where as, in the slope-intercept form, we use the -intercept, that is the point . The point-slope form is very important. Although it is not used as frequently as its counterpart the slope-intercept form, the concept of knowing a point and drawing the line in the direction of the slope will be encountered when we go into vector equations for lines and planes in future chapters.
Example 1: If a linear function goes through points , what is the equation for this function?
The slope is:
Since we know two points, the following answers are all correct
The two-point form is another form to write the equation for a linear function. It is similar to the point-slope form. Given points and , we have the equation
This presentation is in the two-point form. It is essentially the same as the point-slope form except we substitute the expression for . However, this expression is not widely used in mathematics because in most situations, and are known coordinates. It would be redundant to write down a bulky instead of a simple expression of the slope.
Intercept form[edit | edit source]
The intercept form looks like this:
By writing the function in the intercept form, we can quickly determine the -axis intercepts.
When we discuss planes in 3D space, this form will be quite useful to determine the -axis intercepts.
Quadratic functions[edit | edit source]
To graph a quadratic function, there is the simple but work-heavy way, and there is the complicated but clever way. The simple way is to substitute the independent variable with various numbers and calculate the output . After some substitutions, plot those and connect those points with a curve. The complicated way is to find special points, such as intercepts and the vertex, and plot it out. The following section is a guide to find those special points, which will be useful in later chapters.
Actually, there is a third way, which we will discuss in Chapter 1.5.
Standard form[edit | edit source]
Quadratic functions are functions that look like this
, where are constants
The constant determines the concavity of the function: if , concaves up; if , concaves down.
The constant is the -coordinate of the -axis interception. In other words, this function goes through point .
Vertex form[edit | edit source]
The vertex form has its advantages over the standard form. While the standard form can determine the concavity and the -axis interception, the vertex form can, as the name suggests, determine the vertex of the function. The vertex of a quadratic function is the highest/lowest point on the graph of a function, depending on the concavity. If , the vertex is the lowest point on the graph; if , the vertex is the highest point on the graph.
The vertex form looks like this:
, where are constants
The vertex of this function is because when , . If , is the absolute minimum value that the function can achieve. If , is the absolute maximum value that the function can achieve. Any standard form can be converted into the vertex form. The vertex form with constants looks like this
, where are constants in the standard form
Factored form[edit | edit source]
The factored form can determine the -axis intercepts because the factored form looks like this
, where are constants and are solutions for the equation
Thus, it can be determined that the function passes through points .
However, only certain functions can be written in this form. If the quadratic function does not have -axis intercept, it is impossible to write it in the factored form.
Example 1: What is the vertex of this function?
The equation can be transformed into the vertex form very easily
Thus, the vertex is .
Example 2: The image on the right is a quadratic function. Describe the meaning of the colored texts, which are important properties of a quadratic function.
This is the equation for the quadratic function. In this case, , . Since there are two -axis intercepts, we can find that .
These are the coordinates for the two -axis intercepts. Knowing the coordinates, the function can be written in its factored form:
If you have difficulties deriving the quadratic formula or understanding the expression , see Quadratic function.
This is the vertex for the quadratic function. Because , the vertex is the lowest point on the graph. Since the vertex is known, we can write the function in the vertex form:
Although this does not look like the equation we've just discussed earlier, note that .
The graph of the function is symmetric about this line. In other words,
Point and line will be discussed in the next chapter (1.5). They are the focus and the directrix respectively.
If you can skillfully and quickly determine those special points, graphing quadratic functions will be less torturing.
Exponential and Logarithmic functions[edit | edit source]
Exponential and logarithmic functions are inverse functions with each other. Take the exponential function for example. The inverse function of , , is
which is a logarithmic function.
Since geometrically, the graph of the inverse function is flipping the graph of the original function over line , we only need to know how to graph one of those functions.