PDF download Download Article PDF download Download Article

A graph of a function is a visual representation of a function's behavior on an x-y plane. Graphs help us understand different aspects of the function, which would be difficult to understand by just looking at the function itself. You can graph thousands of equations, and there are different formulas for each one. That said, there are always ways to graph a function if you forget the exact steps for the specific type of function.

Graphing a Function

  1. Set x to 0 and solve for y to find the y-intercept (where the function crosses the y-axis). Mark that point on the y-axis.
  2. Turn the slope (the number before the variable) into a fraction by putting it over 1. This is your rise and run.
  3. Start at the y-intercept you marked and continue to graph the function using your rise and run.
  4. Draw a line between all of the points you marked.
Method 1
Method 1 of 3:

Graphing Linear Equations with Slope

PDF download Download Article
  1. Recognize linear functions as simple, easily-graphed lines, like . There is one variable and one constant, written as in a linear function, with no exponents, radicals, etc. If you've got a simple equation like this, then graphing the function is easy. [1] Other examples of linear functions include:
  2. The y-intercept is where the function crosses the y-axis on your graph. In other words, it is the point where . So, to find it, you simply set x to zero, leaving the constant in the equation alone. For the earlier example, , your y-intercept is 5, or the point (0,5). On your graph, mark this spot with a dot. [2]
    Advertisement
  3. In your example, , the slope is "2." That is because 2 is right before the variable in the equation, the "x." Slope is how steep a line is, or how high the line goes before going to the right or left. Bigger slopes mean steeper lines.
  4. Slope is about steepness, and steepness is simply the difference between movement up and down and movement left and right. Slope is a fraction of rise over run. How much does the line "rise" (go up) before it "runs" (goes to the side)? For the example, the slope of "2" could be read as . [3]
    • If the slope is negative, that means the line goes down as you move to the right.
  5. Once you know your slope, use it to plot out your linear function. Start at your y-intercept, here (0,5), and then move up 2, over 1. Mark this point (1,7) as well. Find 1-2 more points to create an outline of your line. [4]
  6. To prevent mistakes or rough graphs, find and connect at least three separate points, though two will do in a pinch. This is the graph of your linear equation! [5]
    EXPERT TIP

    Joseph Meyer

    Math Teacher
    Joseph Meyer is a High School Math Teacher based in Pittsburgh, Pennsylvania. He is an educator at City Charter High School, where he has been teaching for over 7 years. Joseph is also the founder of Sandbox Math, an online learning community dedicated to helping students succeed in Algebra. His site is set apart by its focus on fostering genuine comprehension through step-by-step understanding (instead of just getting the correct final answer), enabling learners to identify and overcome misunderstandings and confidently take on any test they face. He received his MA in Physics from Case Western Reserve University and his BA in Physics from Baldwin Wallace University.
    Joseph Meyer
    Math Teacher

    Develop strong graphing skills. Drawing graphs by hand will help you develop foundational graphing skills, especially in understanding scales and axes. This will build a strong base for you to use helpful online tools to visualize complex relationships, perform calculations, and prepare for standardized tests.

  7. Advertisement
Method 2
Method 2 of 3:

Estimating Points on a Graph

PDF download Download Article
  1. Get the function of the form like f ( x ), where y would represent the range, x would represent the domain, and f would represent the function. As an example, we'll use y = x+2 , where f ( x ) = x+2 . [6]
  2. The horizontal line is your x axis. The vertical line is your y axis.
  3. Mark both the x axis and the y axis with equally-spaced numbers. For the x axis, the numbers are positive on the right side and negative on the left side. For the y axis, the numbers are positive on the upper side and negative on the lower side. [7]
  4. Take your function f ( x ) = x+2. Calculate a few values for y by putting the corresponding values for x visible on the axis into the function. For more complicated equations, you may want to simplify the function by getting one variable isolated first. [8]
    • -1: -1 + 2 = 1
    • 0: 0 +2 = 2
    • 1: 1 + 2 = 3
  5. Simply sketch imaginary lines vertically for each x axis value and horizontally for each y axis value. The point where these lines intersect is a graph point. [9]
  6. Once you have drawn all the graph points, you can erase the imaginary lines. Note: the graph of f(x) = x would be a line parallel to this one passing through the origin (0,0), but f(x) = x+2 is shifted two units up (along the y-axis) on the grid because of the +2 in the equation. [10]
  7. Advertisement
Method 3
Method 3 of 3:

Graphing Complicated Functions by Hand

PDF download Download Article
  1. There are as many different graphing strategies out there as there are types of functions, far too many to completely cover here. If you're struggling, and estimations won't work, check out articles on:
  2. Find any zeros first . Zeros, also called x-intercepts, are the points where the graph crosses the horizontal line on the graph. While not all graphs even have zeros, most do, and it is the first step you should take to get everything on track. To find zeros, simply the entire function to zero and solve. For example:
    • Set F(x) equal to zero:
    • Solve:
      • [11]
  3. This is usually points where the graph does not exist, like where you are dividing by zero. If your equation has a variable in a fraction, like , start by setting the bottom of the fraction to zero. Any places where it equals zero can be dotted off (in this example, a dotted line at x=2 and x=-2), since you cannot ever divided by zero. Fractions, however, are not the only places you can find asymptotes. Usually, all you need is some common sense:
    • Some squared functions, like can never be negative. Thus there is an asymptote at 0.
    • Unless you're working with imaginary numbers, you cannot have [12]
    • For equations with complex exponents, you may have many asymptotes.
  4. Simply pick a few values for x and solve the function. Then graph the points on your graph. The more complicated the graph, the more points you'll need. In general, -1, 0, and 1 are the easiest points to get, though you'll want 2-3 more on either side of zero to get a good graph. [13]
    • For the equation , you might plug in -1,0,1, -2, 2, -10, and 10. This gives you a nice range of numbers to compare.
    • Be smart selecting numbers. In the example, you'll quickly realize that having a negative sign doesn't matter -- you can stop testing -10, for example, because it will be the same as 10.
  5. This gives you an idea of the general direction of a function, usually as a vertical asymptote. For example -- you know that eventually, gets really, really big. Just one additional "x" (one million vs. one million and one) makes y much bigger. There are a few ways to test end behavior, including:
    • Plug in 2-4 large values of x, half negative and half positive, and plot the points.
    • What happens if you plugged in "infinity" for one variable? Does the function get infinitely bigger or smaller?
    • If the degrees are the same in a fraction, like , simply divide the first two coefficients ( to get your ending asymptote (-.5). [14]
    • If the degrees are different in a fraction, you must divide the equation in the numerator by the equation in denominator by Polynomial Long Division.
  6. Once you have 5-6 points, asymptotes, and a general idea of end behavior, plug it all in to get an estimated version of the graph. [15]
  7. Graphing calculators are powerful pocket computers that can give exact graphs for any equation. They allow you to search exact points, find slope lines, and visualize difficult equations with ease. Simply input the exact equation into the graphing section (usually a button labeled "F(x) = ") and hit graph to see your function at work.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I sketch a graph of a square root function?
    Donagan
    Top Answerer
    The process is the same as shown in the article above except, of course, it involves calculating (or estimating) the square roots of certain values.
  • Question
    How do I graph function y = -2 sin(2/3x)?
    Donagan
    Top Answerer
    Choose a value for x. Find 2/3 of that value. Then use a trigonometry table to find the sine of that last value. Then multiply the sine by -2. That gives you the value of y that corresponds to the chosen value of x. Do this again for other x values, and you will then have several x-y pairs to form the graph of the function.
Ask a Question
      Advertisement

      Video

      Tips

      • If you are ever completely lost with what to do, start plugging in points. You could technically graph the entire function like this if you tried infinite combinations of numbers.
      • Graphing calculators are a great way to practice. Try to graph by hand, then use the calculator to get a perfect image of the graph and see how you did.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Article Summary X

      To graph a function, start by plugging in 0 for x and then solving the equation to find y. Then, mark that spot on the y-axis with a dot. Next, find the slope of the line, which is the number that's right before the variable. Once you know your slope, write it as a fraction over 1 and then use the rise over run to plot the rest of the points from the spot you marked on the y-axis. Finally, use a ruler to draw a line connecting all of the points on your graph. To learn how to graph complicated functions by hand, scroll down!

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 166,063 times.

      Did this article help you?

      Advertisement