Linear Function Grapher
Plot linear functions of the form y = mx + b.
About the Linear Function Grapher
Plot linear functions of the form y = mx + b. Change the slope m and intercept b to see how the line moves.
How to use this calculator
- Enter the slope \(m\), which tells how steep the line is.
- Enter the y-intercept \(b\), which is the starting value when \(x = 0\).
- Use the graph to see the line rise, fall, or stay flat.
- Check a few points on the line to confirm the pattern matches \(y = mx + b\).
The formula explained
The formula \(y = mx + b\) computes the output value \(y\) for any input \(x\). It gives a straight line because the change in \(y\) is constant for each 1-step change in \(x\).
- x = the input value on the horizontal axis
- y = the output value on the vertical axis
- m = the slope, or rate of change
- b = the y-intercept, where the line crosses the y-axis
Step by step method
- Start with the y-intercept, so plot the point \((0, b)\).
- Use the slope \(m\) as rise over run, then move from the intercept to find another point.
- Draw the straight line through the points and extend it across the graph.
Worked example
Problem. Graph the linear function \(y = 2x - 3\).
- The y-intercept is \(-3\), so plot \((0, -3)\).
- The slope is \(2\), which means rise 2 and run 1, so from \((0, -3)\) move to \((1, -1)\).
- Draw a straight line through the points and extend it, the graph is the line \(y = 2x - 3\).
Answer. A straight line with y-intercept \(-3\) and slope \(2\).
Tips and common mistakes
- If the line is going up as you move left to right, the slope is positive. If it is going down, the slope is negative.
- Do not confuse the y-intercept \(b\) with the slope \(m\), because they play different roles in the graph.
Frequently asked questions
What is slope?+
The rate of change, rise over run. In y = mx + b, m is the slope.
What is the y-intercept?+
The value of y where the line crosses the y-axis (x = 0), i.e. b.
More Mathematics Tools
Explore related calculators in this category
Absolute Value Calculator
Calculate the absolute value of any number. Use this free calculator for fast, accurate answers, complete with the formula and a worked example.
Absolute Value Equation Solver
Solve equations of the form |ax + b| = c.
Adding Fractions Calculator
Add two fractions with step-by-step simplification.
One-Way ANOVA Calculator
Perform one-way ANOVA on multiple groups.
You Might Also Like
Popular tools from other categories
AC to DC Converter Calculator
Convert AC voltage to DC voltage for different rectifier configurations. Free online calculator with instant, step-by-step results.
Acid-Base Titration Calculator
Calculate concentration from titration data. Get quick, accurate results with this free online calculator, including formulas and worked examples.
ABV Calculator
Calculate alcohol by volume from original and final gravity. Free calculator with instant calculations, the underlying formula, and an easy-to-follow example.
Amortization Schedule Calculator - Free Online
Free Generate a complete amortization schedule. Step-by-step solutions and formulas included. Free, accurate results with step-by-step explanations.
Can't Find the Right Calculator?
Try our AI Math Solver, type any problem in plain English and get instant step-by-step solutions.