General

๐Ÿ“ˆ Linear Function Graph Calculator

Graph y=ax+b and find its slope, intercepts, and behavior.

What is a Linear Function Grapher?

This calculator graphs y = ax + b and computes the slope, y-intercept, and intersection points.

How it's calculated

y = ax + b (a: slope, b: y-intercept)
Slope a = (yโ‚‚โˆ’yโ‚) รท (xโ‚‚โˆ’xโ‚)

Step-by-step example

Finding the line through points (1,3) and (4,9)

Interpretation: For every 1-unit increase in x, y increases by 2.

Slope is a 'rate of change'

The value a tells you how much y changes for every 1-unit increase in x. This shows up constantly in real life: a taxi fare (base fare + per-distance rate), a phone plan (base fee + usage rate) โ€” all linear functions. Comparing two pricing plans is literally the problem of finding where two lines intersect.

Good to know

Frequently asked questions

Q. What does a slope of 0 look like?

A horizontal line โ€” y stays constant no matter how x changes.

Q. How do I find where two lines intersect?

Solve the two equations simultaneously. If the slopes are equal, the lines are parallel and never intersect.

Q. Is x = 3 a linear function?

No. A vertical line fails the definition of a function.