Linear Functions with Parameters and Families of Lines

A linear function with a parameter contains an extra letter, such as k in f(x) = kx + 2, which stands for a whole family of lines, one for each value of the parameter. In brief: in y = kx + 2, every line passes through (0, 2) and only the slope changes with k. In y = 2x + k, all lines have slope 2, so they are parallel, and k moves the line up or down.

Parameters appear in exam problems and in modelling: for which value of k are two lines parallel, when does a line pass through a given point, for which k does an equation have a solution? This guide shows how to read a family of lines, how to find special members and how to solve typical parameter problems step by step.

What is a parameter?

A parameter is a letter that represents a fixed number whose value has not been given yet. In f(x) = kx + 2 the variable is x, the parameter is k. For every choice of k, you get one specific function. Together, all these functions form a family. A parameter is treated as a constant while solving for x, and treated as the unknown when the question asks for the value of the parameter.

What do families of lines look like?

For example, y = kx + 2 contains y = 2 (k = 0), y = x + 2 (k = 1) and y = −3x + 2 (k = −3). The vertical line x = 0 passes through (0, 2) as well but belongs to the family only as a limiting case, and it is not given by any value of k.

How do you solve parameter problems step by step?

  1. Translate the condition into an equation or inequality in the parameter.
  2. Use the right fact: equal slopes for parallel, slopes with product −1 for perpendicular, substitute a point for “passes through”.
  3. Solve for the parameter.
  4. Check the special cases, such as division by zero or a vertical line.

Worked examples

Example 1: passing through a point

For which k does y = kx + 2 pass through (3, 11)? Substitute: 11 = 3k + 2, so k = 3.

Example 2: parallel lines

For which k are y = (k + 1)x + 4 and y = 5x − 2 parallel? Equal slopes: k + 1 = 5, so k = 4. The intercepts 4 and −2 differ, so the lines are distinct and parallel.

Example 3: perpendicular lines

For which k are y = kx + 1 and y = 3x − 2 perpendicular? Then k · 3 = −1, so k = −1/3.

Example 4: zero in a given place

For which a does f(x) = 2x + a have the zero x = −3? Then 2(−3) + a = 0, so a = 6.

Example 5: number of solutions

How many solutions does kx + 3 = 2x − 5 have? Rearranging gives (k − 2)x = −8. If k ≠ 2, there is exactly one solution x = −8/(k − 2). If k = 2, the equation becomes 0 = −8, which is false, so there is no solution.

Example 6: fixed point of a family

Show that all lines y = kx + 2k + 1 pass through one point. Write y − 1 = k(x + 2). For x = −2, y = 1 for every k. So all lines pass through (−2, 1).

Families of lines at a glance

Common families of lines and their common feature
Family Common feature Parameter changes
y = kx + 2point (0, 2)slope
y = 3x + kslope 3y-intercept
y − 4 = k(x − 1)point (1, 4)slope
y = kxpoint (0, 0)slope
y = khorizontal linesheight
x = kvertical linesposition

Where does the idea come from?

Using letters for known but unspecified numbers is a key step in algebra, associated with François Viète in the sixteenth century, who used vowels for unknowns and consonants for given quantities. Descartes later introduced the convention of using letters at the start of the alphabet for known values and the end for unknowns, which is why a, b, c and k are often parameters, while x, y and z are variables.

Where are parameters used today?

A taxi tariff with a base fee a and a rate k per kilometre is the family y = kx + a. A scientist adjusts the parameters of a model so that it fits measurements. In computer graphics, a parameter t describes a point moving along a line. Engineers study how a result changes when a parameter such as a resistance or a price changes, which is called a sensitivity analysis.

Which mistakes are common?

Dividing by an expression that can be zero

From (k − 2)x = −8, dividing by k − 2 requires k ≠ 2. Treat k = 2 as a separate case.

Mixing up variable and parameter

In “for which k”, solve for k. In “solve for x”, keep k as a constant.

Forgetting the vertical line

A family y = kx + b does not include x = c. Mention it if the problem asks about all lines.

Not checking the answer

Substitute the parameter value back into the original condition.