You can put this solution on YOUR website!
There are a number of ways to solve these, so let's look at all of them, step by step. First, remember that an equation in two first degree variables is a description of a straight line on the xy plane. If you have two lines, the point where they intersect (if they do intersect) is an x, y ordered pair that satisfies both equations at the same time.
First, the Substitution Method:
Step 1: Solve one of the equations for one of the variables. We'll solve equation 1) for y.
Now we have an expression for y that can be substituted for y in equation 2), giving us a single equation in a single variable.
Step 2: Substitute the expression for y in equation 2)
Step 3: Solve for x
Step 4: Substitute this new found value for x into the form of equation 1) where we solved for y:
Now we know that the two lines represented by the two equations intersect in the point (
Next, Gaussian Elimination:
Step 1: Put the equations in standard form.
For this problem, they are already in this form.
Discussion: There are several things you can do, and the order in which you do them depends on the particular problem. You are trying to get one of the variable coefficients (a or b in the standard form) to be zero and the other one to be 1 so that you will have the value of one of the variables. The things you can do are:
Multiply an equation by a constant value.
Add/Subtract the two equations term by term and replace one of the equations with the result.
So let's start with this problem:
Multiply equation 2 by
Add Eq 1) and 2) and replace eq 2):
Multiply Eq 2) by
Now we have a value for x, time to find y. Multiply Eq 2) by -4:
Add the two equations and replace Eq 1)
And we now have a value for y. SURPRISE! We got the same answer as the Substitution Method (
Next, Cramer's Rule
Step 1: Create and evaluate the coefficient determinant, D, an array of the coefficients on the variables. If you have two equations
, then the coefficient determinant is:
Step 2: Create the constant matrix. This is a single column matrix of the 'c' values
Step 3: Create the x Determinant,
by substituting the constant matrix for the x (first) column in the coefficient matrix,
and then evaluate.
Step 4: Create the y Determinant. Same as the last step, except that the constant matrix replaces the second column.
Step 5: Apply Cramer's Rule:
And again we get the same answer. (
) I'm feeling pretty confident by now.
The one thing you have to remember with Cramer's rule is that if the coefficient determinant evaluates to zero
then you either have an inconsistent system (two parallel lines) with no solution set or a consistent and undetermined system of two coincident lines with an infinite solution set. And you have to use another method to determine which. The best way is to put your equations into slope-intercept form,
by solving for y and reducing everything to lowest terms. If the slope values, m, are equal but the intercepts, b, are different, you have two parallel lines. If they are the same equation, they are the same line quite obviously.
Equations in three variables are just a more complex application of all the same principles that we just discussed. I'm not going to explain the details, but you should be able to tell what I'm doing. (You have an equal sign in the wrong place in the first equation, but I'm going to assume you just hit the wrong key and it should be a minus sign)
First the substitution method:
Here's Cramer's Rule
Just remember that you have to repeat the first two columns when you evaluate a 3X3 Determinant
D for this problem is:
, just as we suspected. Now that you know how to do it, I'll let you handle the arithmetic for the other two variables.
Hope that helps,