• Skip to primary navigation
  • Skip to main content
  • Skip to footer
Basic Mathematics
  • ⌕
Linear Functions Through the Origin

Linear Functions Through the Origin

Written by Jean Carlos Novaes

In the terminology of this article, a linear function multiplies its input by a fixed constant and has no added term. Its graph is a line through the origin. Many English-language textbooks also use linear function for a line with a nonzero intercept. Here the latter is called affine so the distinction between a fixed starting value and direct proportionality stays explicit.

f(x)=kx

The slope gives the change per unit

A positive coefficient makes the graph increase. A negative coefficient makes it decrease. A zero coefficient gives the constant zero function. From two distinct inputs, find the slope by dividing the output change by the input change. Because the line passes through the origin, the output divided by the input also gives the coefficient at every nonzero input.

Three lines through the origin. The rising line has slope 2, the falling line slope −1, and the horizontal line slope zero.
Three lines through the origin. The rising line has slope 2, the falling line slope −1, and the horizontal line slope zero.

Find the cost of seven metres from the cost of three

If 3 metres of fabric cost 18 euros at a fixed price per metre, divide 18 by 3 to obtain 6 euros per metre. Multiply by 7 to get 42 euros. The algebraic rule extends over the real numbers, while this purchase model uses only nonnegative lengths.

k=183=6
f(7)=6×7=42
6×7+4=46

A separate delivery fee of 4 euros would make the cost 46 euros for 7 metres. The fee changes the intercept, not the rate of 6 euros per metre. The new graph starts at 4 when the length is zero, so the total cost is no longer directly proportional to the length.

Related content

  • Functions, Domain, Codomain and Range
Jean Carlos Novaes

About Jean Carlos Novaes

I hold a degree in Computer Science from the Federal University of Bahia (2017) and I am the editor and founder of this website.

Footer

Basic Mathematics

Basic Mathematics website with clear school content for elementary and high school students. Learn easily and efficiently!

ABOUT

  • About Us
  • Contact
  • Site Map

LEGAL

  • How to Cite
  • Cookie Policy
  • Privacy Policy
  • Content License
English
  • Portuguese (Português)
  • Danish (Dansk)
  • German (Deutsch)
  • English
  • Spanish (Español)
  • Finnish (Suomi)
  • French (Français)
  • Italian (Italiano)
  • Dutch (Nederlands)
  • Norwegian (Norsk)
  • Polish (Polski)
  • Portuguese (Portugal)
  • Swedish (Svenska)

© 2015–2026 · Basic Mathematics · All rights reserved.