Algebra/Function Graphing
Functions have an Independent Variable and a Dependent VariableEdit
When we look at a function such as we call the variable that we are changing—in this case the independent variable. We assign the value of the function to a variable we call the dependent variable. The reason that we say that is independent is because we can pick any value for which the function is defined—in this case real is implied—as an input into the function. Once we pick the value of the independent variable the same result will always come out of the function. We say the result is assigned to the dependent variable, since it depends on what value we placed into the function.
Equating with our function then then then
The independent variable is now and the dependent variable
 Note: this is a very unusual case where the ordered pair is reverse mapped and corresponding reverses (dependent, independent), (range, domain), and now must be singular for each and every corresponding to an horizontal line test of function! It would be less desireable to rotate or swap the positions of axes, the order of coordinate pairs and (abscissa, ordinate).
Have we used Algebra to change the nature of the function? Let's look at the results for three functions



If we look at the table above we can see that the independent variable for gives the same results as the dependent variable of We can see what this means when we look at the values for The function is the same as the function but when we switch which variable we use as the independent variable between and we see that we have discovered that and are inverse functions.
Let's take a look at how we can draw functions in and and then come back and look at this idea of independent and dependent variables again.
Explicit and Implicit FunctionsEdit
Variables like and formulate a 'relation' using simple algebra. and commonly denote functions. Function notation read "eff of ex", denotes a function with 'explicit' dependence on the independent variable By assigning variable to is now an 'implicit' function of using equation notation. If is then [ would denote an 'explicit' function of ]. A relation is also a function when the dependent variable has one and only one value for each and every independent variable value.
The Cartesian Coordinate SystemEdit
The Cartesian Coordinate System is a uniform rectangular grid used for plane graph plots. It's named after pioneer of analytic geometry, 17th century French mathematician René Descartes, whose Latinized name was Renatus Cartesius. Recall that each point has a unique location, different from every other point. We know that a line is a collection of points. If we pick a direction of travel for the line that starts at a point then all of the other points can be thought of as either behind our starting point or ahead of it. Finally, a plane can be thought of as a collection of lines that are parallel to each other. We can draw another line that is composed of one point from each of the lines that we chose to fill our plane. If we do this then we can locate the other lines as behind or ahead of the line with the point we chose to start on. Descartes decided to pick a line and call it the axis, and to then pick a line perpendicular to this line and call it the axis. He then labeled this intersection point and origin O. The points to the left (or behind) of this point each represent a negative number that we label as The points to the right (or ahead) of this point each represent a positive number that we label as The points on the axis that are above are labeled as positive and the points on the axis below are labeled as negative A point is plotted as a location on the plane using its coordinates from the grid formed by the and axes. If you draw a line perpendicular to the axis from a point you pick then that point has the same coordinate as the point where that line crosses the axis. If you draw a line perpendicular to the axis from your point then it has the same coordinate as the point where that line crosses the axis. If you need to sharpen your knowledge in this area, this link/section should help: The Coordinate (Cartesian) Plane
An equation and its graph can be referred to as equal. This is true since a graph is a representation of a specific equation. This is because an equation is a group of one or more variables along with one or more numbers and an equal sign ( and are all examples of equations). Since variables were introduced as way of representing the many possible numbers that could be plugged into the equation. A graph of an equation is a way of drawing the relationship between the numbers that can be input (the independent variable) and the possible outputs that would be produced. For example, in the equation: we could choose to make the the independent variable and the output number would be two more than the input number every time. The graph of this equation would be a picture showing this relationship. On the graph, each value (the vertical axis) would be two higher than the (horizontal) value that is plugged in because of the in the equation.
Linear Equations and FunctionsEdit
This section shows the different ways we can algebraically write a linear function. We will spend some time looking at a way called the "slope intercept form" that has the equation
Unless a domain for is otherwise stated, the domain for linear functions will be assumed to be all real numbers and so the lines in graphs of all linear functions extend infinitely in both directions. Also in linear functions with all real number domains, the range of a linear function may cover the entire set of real numbers for one exception is when the slope and the function equals a constant. In such cases, the range is simply the constant. Another would be a squaring function where the range would be nonnegative when
The yintercept constant bEdit
It was shown that has infinite solutions (in the UK, also common and ). Points will be mapped with independent variable assuming the horizontal axis and vertical on a Cartesian grid. By assigning to a value and evaluating a (single) point coordinate solution is found. When then by zeroproduct property term , and by additive identity terms The point is the unique member of the line (linear equation's solution) where the yaxis is 'intercepted'. More about intercepts link: The and Intercepts
What does the m tell us when we have the equation ?Edit
is a constant called the slope of the line. Slope indicates the steepness of the line.
SlopeEdit
Two separate points fixed anywhere defines a unique straight line containing the points. Confining this study to plane geometry ( ) and fixing coordinates for unique points at and a straight line is defined relating two variables in a linearequation mappable on a graphplot. When the two points are identical, infinite lines result, even in a single plane. When then a verticalline mere relation is defined, not a function. Functions are equationrelations evaluating to singularly unique dependent values. Only when (iff) then is the line containing the points a linear 'function' of
For a linear function, the slope can be determined from any two known points of the line. The slope corresponds to an increment or change in the vertical direction divided by a corresponding increment or change in the horizontal direction between any different points of the straight line.
Let increment or change in the direction (vertical) and
Let increment or change in the direction (horizontal).
For two points and the slope of the function line m is given by:
 This formula is called the formula for slope measure but is sometimes referred to as the slope formula.
For a linear function, fixing two unique points of the line or fixing the slope and any one point of the line is enough to determine the line and identify it by an equation. There is an equation form for a linear function called the pointslope form of a line^{2} which uses the slope and any one point to determine a valid equation for the function's line:
Algebra/Slope
Other forms of linear equations?Edit
Algebra/Standard Form and Solving Slope
Intercept Form of a LineEdit
There is one more general form of a linear function we will cover. This is the intercept form of a line, where the constants a and b are such that (a,0) is the xintercept point and (0,b) is the
yintercept point.
Neither constant a nor b can equal 0 because division by 0 is not allowed. The intercept form of a line cannot be applied when the linear function has the simplified form y = m x because the
yintercept ordinate cannot equal 0.
Multiplying the intercept form of a line by the constants a and b will give
which then becomes equivalent to the general linear equation form A x + B y + C where A = b, B = a, and C = ab. We now see that neither A nor B can be 0, therefore the intercept form cannot represent horizontal or vertical lines. Multiplying the intercept form of a line by just b gives
if we subtract
we get:
which can, in turn, be rearranged to:
which becomes equivalent to the slopeintercept form where the slope m = b/a.
Example: A graphed line crosses the xaxis at 3 and crosses the yaxis at 6. What equation can represent this line? What is the slope?
Solution: intercept form:
Multiplying by 6 gives
so we see the slope m = 2.
Graph of y =  2x – 6 showing intercepts.
The line can also be written as
Example: Can the equation
be transformed into an intercept form of a line, (x/a) + (y/b) =1, to find the intercepts?
Solution: No, no amount of valid mathematical manipulation can transform it into the intercept form. Instead multiplying by 4, then subtracting 2x gives
which is of the form y = m x where m = 2. The line intersects the axes at (0,0). Since the intercepts are both 0, the general intercept form of a line cannot be used.
Example: Find the slope and function of the line connecting the points (2,1) and (4,4).
Solution: When calculating the slope of a straight line from two points with the preceding formula, it does not matter which is point 1 and which is point 2. Let's set (x_{1},y_{1}) as (2,1) and (x_{2},y_{2}) as (4,4). Then using the twopoint formula for the slope m:
Using the pointslope form:
One substitutes the coordinates for either point into the pointslope form as x_{1} and y_{1}. For simplicity, we will use x_{1}=2 and y_{1}=1.
Using the slopeintercept form:
Alternatively, one can solve for b, the yintercept ordinate, in the general form of a linear function of one variable, y = m x + b.
Knowing the slope m, take any known point on the line and substitute the point coordinates and m into this form of a linear function and calculate b. In this example, (x_{1},y_{1}) is used.
Now the constants m and b are both known and the function is written as
__________end of example__________
For another explanation of slope look here:
Example: Graph the equation 5x + 2y = 10 and calculate the slope.
Solution: This fits the general form of a linear equation, so finding two different points are enough to determine the line. To find the xintercept, set y = 0 and solve for x.
so the xintercept point is (2,0). To find the yintercept, set x = 0 and solve for y.
so the yintercept point is (0,5). Drawing a line through (2,0) and (0,5) would produce the following graph.
Graph of 5x + 2y = 10 showing intercepts
To determine the slope m from the two points, one can set (x_{1},y_{1}) as (2,0) and (x_{2},y_{2}) as (0,5), or vice versa and calculate as follows:
__________end of example__________
Summary of General Equation Forms of a LineEdit
The most general form applicable to all lines on a twodimensional Cartesian graph is
with three constants, A, B, and C. These constants are not unique to the line because multiplying the whole equation by a constant factor gives a new set of valid constants for the same line. When B = 0, the rest of the equation represents a vertical line, which is not a function. If B ≠ 0, then the line is a function. Such a linear function can be represented by the slopeintercept form which has two constants.
slopeintercept form:
The two constants, m and b, used together are unique to the line. In other words, a certain line can have only one pair of values for m and b in this form.
The pointslope form given here
uses three constants; m is unique for a given line; x_{1} and y_{1} are not unique and can be from any point on the line. The pointslope cannot represent a vertical line.
The intercept form of a line, given here,
uses two unique constants which are the x and y intercepts, but cannot be made to represent horizontal or vertical lines or lines crossing through (0,0). It is the least applicable of the general forms in this summary.
Of the last three general forms of a linear function, the slopeintercept form is the most useful because it uses only constants unique to a given line and can represent any linear function. All of the problems in this book and in mathematics in general can be solved without using the pointslope form or the intercept form unless they are specifically called for in a problem. Generally, problems involving linear functions can be solved using the slopeintercept form
(y = m x + b) and the formula for slope.
Discontinuity in Otherwise Linear EquationsEdit
Let variable y be dependent upon a function of independent variable x
 also
y is also the function f, and x is also the argument ( ). Let y be the expressed quotient function
The graph of y's solution plots a continuous straight line set of points except for the point where x would be 1. Evaluation of the denominator with results in division by zero, an undefined condition not a member element of R and outside algebraic closure. y has a discontinuity (break) and no solution at point 1,1. It becomes important to treat each side of a break separately in advanced studies.
y's otherwise linear form can be expressed by an equation removed of its discontinuity. Factor from the numerator (use synthetic division).
 (for all x except 1) .
Reducing its (x1) multiplicative inverse factors (reciprocals) to multiplicative identity (unity) leaves the factor (with implied universalfactor 1/1). Limiting this simpler function's domain; 'all except , where x is undefined' or simply 'and x ≠ 1' (implying 'and R^{2} '); equates it to the original function. This expression is a linear function of x, with slope m = 2 and a yintercept ordinate of 3. The expression evaluates to 1 at x = 1, but function y is undefined (division by zero) at that point. There is a discontinuity for function y at x = 1. Practically the function has a sort of onepoint hole (a skip), shown on the graph as a small hollow circle around that point. Lines, rays and line segments (and arcs, chords and curves) are shown discontinuous by dashed or dotted lines.
Note: nonlinear equations may also be discontinuous—see the subsequent graph plot of the reciprocal function y = 1/x, in which y is discontinuous at x = 0 not just for a point, but over a 'double' asymptotic extremum pole along the yaxis. As x is evaluated at smaller magnitudes (both – and +) closer to zero, y approaches no definition in both the – and + mappings of the function.
Example: What would the graph of the following function look like?
Solution:
Reduce the reciprocal (x + 2) factors to unity. This makes y = x – 2 for all x except x = 2, where there is a discontinuity. The line y = x – 2 would have a slope m = 1 and a
yintercept ordinate of 2. So for the final answer , we graph a line with a slope of 1 and a yintercept of 2, and we show a discontinuity at x = 2, where y would otherwise have been equal to 4.
Example: Write a function which would be graphed as a line the same as y = 2 x – 3 except with two discontinuities, one at x = 0 and another at x = 1.
Solution: The function must have a denominator with the factors
to have 'zeros' at the two x values. The function's numerator also gets the factors preserving an overall factor of unity, the expressions are multiplied out:
__________end of example__________