Linear function in math explores relationships where a change in one quantity directly affects another at a constant rate. This consistent change is key.
Examples include calculating fuel consumption based on distance traveled, determining phone bills with a fixed charge plus per-minute rate, and understanding simple interest growth.
Linear functions are algebraic functions because they use basic algebraic operations to define the relationship between x and y.
The simplest linear function is f(x) = x, which represents a straight line passing through the origin. In general, a linear function equation is written as f(x) = mx + b, where 'm' is the slope and 'b' is the y-intercept.
Here is an example of linear function
Below are some examples of linear equations in one variable, two variables and three variables
Linear Equations in One Variable | Linear Equations in Two Variables | Linear Equations in Three Variables |
3x = 125x - 7 = 3 2(x + 1) = 10 | y = 2x + 1 3x - 2y = 7 x/2 + y/3 = 1 | 2x + 3y - z = 5 x - y + 2z = 3 3x + 2y - z = 0 |
Real-Life Example of A Linear Function
Linear functions are commonly used to model relationships involving constant rates, such as cost, distance, or time. These equations help simplify decision-making in real-world scenarios.
Linear functions are also used in optimization problems, such as minimizing costs or maximizing profits in business scenarios.
To draw a line, we only need two points. Once we have them, we can connect the points with a straight line and extend it in both directions. For the linear function f(x) = mx + b:
A linear function can be graphed in two ways:
To find two points on a linear function f(x) = mx + b, choose any random values for x and substitute them into the function to calculate the corresponding y-values. Here's an example with the function f(x) = 3x + 5:
Step 1: Choose two random values for x.
Let x = -1 and x = 0.
Step 2: Substitute these x-values into the function to find the corresponding y-values.
f(-1) = 3(-1) + 5 = -3 + 5 = 2
So, the point is (-1, 2).
f(0) = 3(0) + 5 = 0 + 5 = 5
So, the point is (0, 5).
Step 3: Plot the points (-1, 2) and (0, 5) on the graph. Draw a straight line through them and extend it in both directions.
To graph a linear function f(x) = mx + b, we can use its slope m and y-intercept b. Let's graph the function f(x) = 3x + 5. Here, the slope is m=3, and the y-intercept is (0,b)=(0,5).
Step 1: Plot the y-intercept (0,b).
In this case, plot the point (0,5).
Step 2: Write the slope as a fraction rise/run, and identify "rise" and "run."
Here, m=3=3/1=rise/run, so:
Step 3: Starting from the y-intercept, move vertically by the "rise" and horizontally by the "run" to find another point.
This gives the new point (1,8).
Step 4: Plot the points (0,5) and (1,8), connect them with a straight line, and extend the line in both directions.
The domain of a linear function is all real numbers (R), and the range is also all real numbers (R). Let's take two examples: f(x) = 2x + 3 and g(x) = 4 - x, both plotted on the same graph.
When the slope (m ≠ 0):
Note:
The inverse of a linear function f(x) = ax + b is another function, written as f⁻¹(x), such that f(f⁻¹(x)) = f⁻¹(f(x)) = x. Let's find the inverse of the function f(x) = 3x + 5 using these steps:
Step 1: Replace f(x) with y.
The equation becomes y = 3x + 5.
Step 2: Swap x and y.
This gives x = 3y + 5.
Step 3: Solve for y.
x - 5 = 3y
y = (x - 5)/3
Step 4: Replace y with f⁻¹(x).
The inverse function is f⁻¹(x) = (x - 5)/3.
The slope of a linear function is a measure of its steepness or how much the function rises or falls as it moves along the x-axis.
In the equation of a linear function y=mx+by = mx + by=mx+b, the slope is represented by mmm. It tells you how much the dependent variable yyy changes for a unit change in the independent variable xxx.
For the equation y = 3x + 2:
For instance:
The graph of this equation will show a straight line with a slope of 3, rising upwards as x increases
Example 1: Finding the Equation
Example 2: Interpreting the Equation
Example 3: Finding the X-intercept
Example 4: Real-World Application
Example 5: Parallel Lines
Rate this lesson:
Wait!
Here's an interesting quiz for you.