Linear Forms and Multivariable Equations
Linear Forms and Multivariable Equations help us describe relationships between several quantities at once. In 12th Grade Maths, this idea connects algebra, graphs, systems of equations, and matrix methods. A linear model in two or more variables is one of the simplest and most useful ways to represent real situations.
In this lesson, you will learn what a linear form is, how to write multivariable linear equations, how to interpret coefficients, slopes, and intercepts, and how these equations represent lines, planes, and higher-dimensional flat surfaces called hyperplanes.
1. What is a linear form?
A linear form is an expression made by adding constant multiples of variables. It has no powers greater than 1, no products of variables, and no variables in denominators or roots.
Examples of linear forms are:
- \(3x + 2y\)
- \(-4x + 5y - z\)
- \(7a - 2b + 9c\)
These are not linear forms:
- \(x^2 + y\) because of the square
- \(xy + 3\) because variables are multiplied together
- \(\frac{1}{x} + y\) because a variable is in the denominator
In general, a linear form in variables \(x_1, x_2, \dots, x_n\) looks like
$$a_1x_1 + a_2x_2 + \cdots + a_nx_n$$where \(a_1, a_2, \dots, a_n\) are constants.
2. From a linear form to a linear equation
When we set a linear form equal to a constant, we get a linear equation.
For example:
- \(2x + 3y = 12\)
- \(x - 4y + 2z = 7\)
- \(5a + b - 3c = 10\)
A linear equation in:
- two variables usually represents a line,
- three variables usually represents a plane,
- more than three variables represents a hyperplane.
A hyperplane is the higher-dimensional version of a line or plane. You may not be able to draw it easily, but algebraically it behaves in a similar way: it is still flat and still described by a linear equation.
3. General form of a multivariable linear equation
A linear equation in several variables can be written as
$$a_1x_1 + a_2x_2 + \cdots + a_nx_n = b$$Here:
- the variables are \(x_1, x_2, \dots, x_n\),
- the constants \(a_1, a_2, \dots, a_n\) are called coefficients,
- \(b\) is a constant term.
The coefficients tell us how much each variable contributes to the equation. They also help determine the direction or tilt of the line, plane, or hyperplane.
4. Linear models in two variables
In two variables, the most familiar linear equation is
$$ax + by = c$$If \(b \ne 0\), we can rewrite it in slope-intercept form:
$$y = mx + b$$To avoid confusion, note that the letter \(b\) is often used in two different ways in algebra:
- in \(ax + by = c\), \(b\) is a coefficient,
- in \(y = mx + b\), \(b\) is the y-intercept.
In slope-intercept form:
- \(m\) is the slope, which tells how much \(y\) changes when \(x\) increases by 1,
- the intercept is the value of \(y\) when \(x=0\).
For example, in
$$y = 2x + 3$$the slope is \(2\), so every increase of 1 in \(x\) causes \(y\) to increase by 2. The y-intercept is \(3\), so the line crosses the y-axis at \((0,3)\).
5. Intercepts in two variables
For the equation \(ax + by = c\):
- the x-intercept is found by setting \(y=0\),
- the y-intercept is found by setting \(x=0\).
These intercepts are useful because they give easy points to graph a line and help interpret the model.
For example, for
$$2x + 3y = 12$$- if \(y=0\), then \(2x=12\), so \(x=6\), giving x-intercept \((6,0)\),
- if \(x=0\), then \(3y=12\), so \(y=4\), giving y-intercept \((0,4)\).
6. Linear models in three variables
In three variables, an equation such as
$$2x + y - z = 5$$usually represents a plane in 3-dimensional space.
Unlike a line in two dimensions, a plane extends in two independent directions. There is no single slope value like in \(y=mx+b\), but the coefficients still tell us how the plane is oriented.
We can find intercepts in 3D the same way:
- the x-intercept occurs when \(y=0\) and \(z=0\),
- the y-intercept occurs when \(x=0\) and \(z=0\),
- the z-intercept occurs when \(x=0\) and \(y=0\).
For \(2x + y - z = 5\):
- x-intercept: set \(y=0\), \(z=0\), then \(2x=5\), so \(x=\frac{5}{2}\)
- y-intercept: set \(x=0\), \(z=0\), then \(y=5\)
- z-intercept: set \(x=0\), \(y=0\), then \(-z=5\), so \(z=-5\)
So the intercept points are
$$\left(\frac{5}{2},0,0\right), \quad (0,5,0), \quad (0,0,-5)$$7. Hyperplanes in more than three variables
When there are four or more variables, a linear equation still defines a flat set of solutions. This is called a hyperplane.
For example,
$$x_1 + 2x_2 - x_3 + 3x_4 = 7$$is a linear equation in four variables. We cannot graph it in ordinary space, but we can still interpret it as a linear relationship among the variables.
Each solution is an ordered set \((x_1, x_2, x_3, x_4)\) that makes the equation true. Changing one variable usually requires changing another to stay on the same hyperplane.
8. How to interpret coefficients in multivariable models
In a linear model, each coefficient shows how one variable affects the output when the others are held fixed.
Suppose a model is
$$C = 50x + 30y + 20z$$If \(x\), \(y\), and \(z\) represent quantities of three products, then:
- each 1-unit increase in \(x\) increases \(C\) by 50,
- each 1-unit increase in \(y\) increases \(C\) by 30,
- each 1-unit increase in \(z\) increases \(C\) by 20.
This is similar to slope in two variables, but now there are several rates of change, one for each variable.
9. Standard form and matrix connection
Because this topic appears inside linear systems and matrix algebra, it is useful to connect linear equations to matrices.
A linear equation such as
$$2x - 3y + z = 4$$has coefficient row \((2, -3, 1)\). If we have several such equations together, we can organize their coefficients into a matrix.
For example, the system
$$\begin{aligned} 2x + y &= 5 \\ - x + 3y &= 4 \end{aligned}$$has coefficient matrix
$$\begin{bmatrix}2 & 1 \\ -1 & 3\end{bmatrix}$$This lesson focuses on writing and interpreting each linear equation, but this matrix form is what allows larger systems to be solved efficiently.
10. Worked Example 1: Writing a linear model in two variables
Problem: A taxi fare has a fixed starting fee of \(\$4\) and then costs \(\$2.50\) per mile. Write a linear model for the total cost \(C\) after \(m\) miles, and interpret the slope and intercept.
Step 1: Identify the fixed amount.
The starting fee is \(4\), so this is the intercept.
Step 2: Identify the rate of change.
The fare increases by \(2.50\) for each mile, so the slope is \(2.50\).
Step 3: Write the equation.
$$C = 2.50m + 4$$Interpretation:
- The slope \(2.50\) means the cost increases by \(\$2.50\) per mile.
- The intercept \(4\) means the cost is \(\$4\) even before any miles are traveled.
11. Worked Example 2: Finding intercepts of a line
Problem: Find the x-intercept and y-intercept of
$$3x + 2y = 12$$Step 1: Find the x-intercept.
Set \(y=0\):
$$3x + 2(0) = 12$$ $$3x = 12$$ $$x = 4$$So the x-intercept is \((4,0)\).
Step 2: Find the y-intercept.
Set \(x=0\):
$$3(0) + 2y = 12$$ $$2y = 12$$ $$y = 6$$So the y-intercept is \((0,6)\).
Step 3: Write in slope-intercept form if needed.
$$3x + 2y = 12$$ $$2y = -3x + 12$$ $$y = -\frac{3}{2}x + 6$$The slope is \(-\frac{3}{2}\), which means when \(x\) increases by 1, \(y\) decreases by \(1.5\).
12. Worked Example 3: Interpreting a plane in three variables
Problem: For the equation
$$x + 2y + 3z = 6$$find the x-, y-, and z-intercepts.
Step 1: x-intercept.
Set \(y=0\) and \(z=0\):
$$x + 2(0) + 3(0) = 6$$ $$x = 6$$x-intercept: \((6,0,0)\)
Step 2: y-intercept.
Set \(x=0\) and \(z=0\):
$$0 + 2y + 0 = 6$$ $$2y = 6$$ $$y = 3$$y-intercept: \((0,3,0)\)
Step 3: z-intercept.
Set \(x=0\) and \(y=0\):
$$0 + 0 + 3z = 6$$ $$3z = 6$$ $$z = 2$$z-intercept: \((0,0,2)\)
Interpretation: These three points lie on the plane and help describe where it crosses the coordinate axes.
13. Worked Example 4: Writing and interpreting a model with three variables
Problem: A school fundraiser sells sandwiches for \(\$5\), drinks for \(\$2\), and snacks for \(\$3\). Write a linear model for total sales \(S\) in terms of the number of sandwiches \(x\), drinks \(y\), and snacks \(z\). Then interpret the coefficients.
Step 1: Multiply each item count by its price.
- Sandwiches: \(5x\)
- Drinks: \(2y\)
- Snacks: \(3z\)
Step 2: Add the amounts.
$$S = 5x + 2y + 3z$$Interpretation:
- The coefficient \(5\) means each additional sandwich adds \(\$5\) to total sales.
- The coefficient \(2\) means each additional drink adds \(\$2\).
- The coefficient \(3\) means each additional snack adds \(\$3\).
If the fundraiser makes \(\$41\), then the item counts must satisfy
$$5x + 2y + 3z = 41$$This equation describes all combinations of sandwiches, drinks, and snacks that produce \(\$41\) in sales.
14. Common mistakes to avoid
- Including nonlinear terms: Expressions like \(x^2\), \(xy\), or \(\frac{1}{x}\) are not linear.
- Mixing up coefficient and intercept: In \(y = mx + b\), \(m\) is slope and \(b\) is y-intercept.
- Finding intercepts incorrectly in 3D: To find one intercept, set all the other variables equal to 0.
- Assuming one slope works in all dimensions: In more than two variables, we usually interpret coefficients instead of a single slope.
15. Key ideas to remember
- A linear form is a sum of constants times variables.
- A linear equation is formed by setting a linear form equal to a constant.
- In two variables, linear equations represent lines.
- In three variables, linear equations represent planes.
- In more variables, they represent hyperplanes.
- Coefficients describe how variables affect the equation or model.
- Intercepts show where the graph crosses coordinate axes.
Brief Summary
Linear forms and multivariable equations are the building blocks of linear systems and matrix algebra. They let us model relationships among two or more variables using equations of the form
$$a_1x_1 + a_2x_2 + \cdots + a_nx_n = b$$In two variables, these equations represent lines with slopes and intercepts. In three variables, they represent planes, and in higher dimensions, hyperplanes. Understanding how to write these equations and interpret their coefficients and intercepts is an important step toward solving larger systems and using matrices effectively.
Put what you read to the test
You've worked through Linear Forms and Multivariable Equations. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.