
function whose graph is a straight line; polynomial function of degree at most one
A linear function is a mathematical relationship that produces a straight line when graphed, and it's one of the simplest types of functions you can work with. Linear functions are important because they're used everywhere—from calculating costs and predicting trends to describing how things change at a constant rate in real life.
AI-generated from the Wikipedia summary — may contain errors.
Graph of the linear function:
y ( x ) = − x + 2
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).