Kid-friendly explanation
A linear function is a rule that makes a straight line when you draw it on a graph. Every time the input (x) goes up by the same amount, the output (y) changes by the same amount. It is like earning the same number of dollars for every hour you work. The pattern never bends, it stays straight!
Step-by-step worked examples
Example 1 (middle school level): Finding slope and y-intercept
Suppose a babysitting job pays according to the linear function y = 8x + 5, where x is the number of hours and y is the total money in dollars.
- The equation is in slope-intercept form, y = mx + b.
- The slope m is 8. This means the rate of change is $8 for every 1 hour. For each extra hour, the total goes up by $8.
- The y-intercept b is 5. This means when x = 0 hours, y = 5, so you start with $5 (maybe a starting fee).
- If x = 3 hours, then y = 8(3) + 5 = 24 + 5 = 29, so the total is $29.
Example 2 (high school level): Comparing two linear functions and finding an x-intercept
Two friends earn money from different chores. One friend is paid by the linear function f(x) = 6x + 4. The other friend is paid by g(x) = 4x + 10. Here x is the number of hours and f(x) and g(x) are dollars earned.
- For f(x) = 6x + 4, the slope is 6 and the y-intercept is 4. This friend starts with $4 and earns $6 per hour.
- For g(x) = 4x + 10, the slope is 4 and the y-intercept is 10. This friend starts with $10 and earns $4 per hour.
- To find when they earn the same amount, set the two linear functions equal: 6x + 4 = 4x + 10.
- Subtract 4x from both sides: 2x + 4 = 10.
- Subtract 4 from both sides: 2x = 6.
- Divide both sides by 2: x = 3. After 3 hours they earn the same amount.
- Substitute x = 3 into f(x): f(3) = 6(3) + 4 = 18 + 4 = 22, so each earns $22.
- To find the x-intercept of f(x), set f(x) = 0: 0 = 6x + 4.
- Subtract 4: -4 = 6x. Divide by 6: x = -4/6 = -2/3. The x-intercept is (-2/3, 0), which means the line would cross the x-axis at x = -2/3.
How linear functions work and why they matter
A linear function has a constant rate of change. This means that for equal steps in x, the change in y is always the same. On a graph, this constant rate of change shows up as a straight line with a constant slope.
The most common way to write a linear function is slope-intercept form: y = mx + b. Here, m is the slope, which is the vertical change for each unit of horizontal change, and b is the y-intercept, which is the point where the line crosses the y-axis. In real-world problems, m often represents a rate (like dollars per hour) and b represents a starting amount.
Linear functions can also be written in other forms, such as standard form (Ax + By = C) or point-slope form (y − y1 = m(x − x1)). Each form highlights different key features, such as intercepts, slope, or a specific point on the line. The domain (all allowed x-values) and range (all resulting y-values) of a linear function are often all real numbers, unless the context of a problem limits them.
Transformations of linear functions, such as adding a constant, multiplying by a constant, or changing the input, shift or stretch the graph. For example, replacing f(x) with f(x) + k moves the line up or down, and replacing x with x + k moves the line left or right. These ideas help your child compare different linear models and understand how changing a parameter changes the graph.
Common mistakes with linear functions
- Mixing up slope and y-intercept. A common mistake is to think the number added at the end in y = mx + b is the slope. In fact, the slope is the coefficient of x (m), and the constant term b is the y-intercept.
- Thinking any straight-looking graph is linear without checking the rate of change. Sometimes points can look almost straight, but the rate of change between equal x-steps is not constant. A true linear function must have exactly the same rate of change between any two points on the line.
- Computing slope incorrectly. A student might subtract the x-values in the opposite order from the y-values. For the points (2, 3) and (5, 7), they might compute (7 − 3)/(2 − 5) = 4/(−3) = −4/3 instead of the correct (7 − 3)/(5 − 2) = 4/3. The correct method is to subtract y-values and x-values in the same order.
Where your child sees linear functions in daily life
Linear functions show up any time something changes at a steady rate. Examples include earning the same amount of money per hour, a phone plan that charges a fixed monthly fee plus a set cost per gigabyte, or a car traveling at a constant speed so distance increases by the same amount each hour. These situations can be modeled with a straight-line graph and an equation like y = mx + b.