Here's the question you clicked on:
Calcmathlete
Note: This is not a question. Tutorial for Solving Systems of Linear Equations (Two Variables)
There are several ways to solve systems of linear equations. The most common methods are by graphing, elimination, and substitution. Let's start off with one of the most basic methods, graphing. --------------- Graphing Method --------------- 2x + y = 3 3x + 2y = 6 In order to solve this system using the graphing method, we first have to change the two equations into slope-intercept form. 2x + y = 3 --> y = -2x + 3 3x + y = 7 --> y = -3x + 7 Then, we graph these two lines. (Attached Below) The solution set of a system of linear equations when graphing is actually the point at which the two lines intersect. So by graphing the two lines, we can obviously see that the solution set of this problem is (4, -5). --------------- Elimination Method --------------- The concept of elimination revolves around the concept of adding two equations. Using an example, let's see what happens when you add equations together. 2x + y = 3 3x + 2y = 6 ----------- 5x + 3y = 9 Do you see how this works? Now, let's say that the orientation of these two equations were different. What would you do then? 2x + y = 3 6 - 3x = 2y If this situation occurs, you have to rearrange it in a way that the form of the equations match. For example, if you have one in standard form, you have to algebraically return the other equation to the same form. 2x + y = 3 6 - 3x = 2y --> 6 = 3x + 2y --> 3x + 2y = 6 Now that the equations are in the same form, we can begin to solve. However, let's start with a simpler system to demonstrate the concept. 2x - y = 5 3x + y = 5 The process of elimination involves adding equations in a way that one of the unknown variables disappears. In this first example, let's see what happens when we simply add them right away. 2x - y = 5 3x + y = 5 --------- 5x + 0 = 10 Using the Identity Property of Addition, we can simply get rid of the 0. 5x = 10 Now it's all algebra. 5x = 10 x = 10/5 x = 2 Now we have one of the variables. You may be thinking "what about the other variable?". Well, in order to solve for the variable, all you have to do is plug what you have for this variable back into the equation like so: 3x + y = 5 3(2) + y = 5 6 + y = 5 y = -1 It doesn't matter which equation we plug it into because you will get the same result. Therefore, our solution set is (2, -1). Now, this seems very simple, but what would you do if you had something like this: 2x + y = 3 3x + 2y = 7 Let's see what happens when you simply add the two equations. 2x + y = 3 3x + 2y = 7 ----------- 5x + 3y = 10 It doesn't look pretty does it? In fact, we can't even solve for the variables this way. So what do we do? Well, we do something called manipulating the equation. We multiply one of the equations in the system by a number so that we can cancel one of the variables when we add them. 2x + y = 3 3x + 2y = 7 -2(2x + y = 3) 3x + 2y = 7 -4x - 2y = -6 3x + 2y = 7 Now, if we were to add these two equations, we would be able to cancel one of the variables. -4x - 2y = -6 3x + 2y = 7 ------------- -x + 0 = 1 At this point, using the information above, we can once again find the solution set. -x = 1 x = -1 2x + y = 3 2(-1) + y = 3 -2 + y = 3 y = 5 Solution Set: (-1, 5) If you're wondering why this works, allow me to tell you. By multiplying both sides of the equation by a number, you are actually balancing an equation. If we were to only multiply one side, then the values of x and y would change. This is a basic rule of algebra: "What you do to one side of the equation, you must also do to the other" Finally, to demonstrate a mastery of the elimination method, let's try solving this system of linear of equations. 4x – 3y = 25 –3x + 8y = 10 Now right off the bat, you will notice that no matter what you multiply one of the equations by, you can't get to a place where one of the terms is canceled. So, we have to multiply both equations in order to solve this. 4x – 3y = 25 –3x + 8y = 10 8(4x – 3y = 25) 3(–3x + 8y = 10) 32x - 24y = 200 -9x + 24y = 30 Now we can solve this system. 32x - 24y = 200 -9x + 24y = 30 -------------- 23x + 0 = 230 23x = 230 x = 10 4x – 3y = 25 4(10) – 3y = 25 40 - 3y = 25 -3y = -15 y = 5 Solution Set: (x, y) = (10, 5) --------------- Substitution Method --------------- The substitution method is a method that is based off a rule of algebra. Basically, it's similar to using a formula. You substitute values into the formula. The same thing applies here. Let's say we have the following system: y = 2x + 3 5x + 2y = 24 Before we turn over to elimination, let's try using our new friend substitution. It clearly says that y is equal to 2x + 3. This means that we can substitute 2x + 3 in for y. 5x + 2y = 24 5x + 2(2x + 3) = 24 5x + 4x + 6 = 24 Now that we have eliminated a variable, we can solve the system. 9x + 6 = 24 9x = 18 x = 2 Now let's plug this back into one of the equations. I prefer to plug it into the equation that has a variable isolated. y = 2x + 3 y = 2(2) + 3 y = 4 + 3 y = 7 Therefore, the solution set is (x, y) = (2, 7). Now, if we don't have a variable already isolated, we have to algebraically solve for a variable. It is very similar to converting standard form to slope-intercept form when graphing. --------------- Special Cases --------------- There are two special cases when dealing with systems of equations. Let's say we have the given system. -2x + y = 5 -4x + 2y = 10 Let's try solving this. -2(-2x + y = 5) -4x + 2y = 10 4x - 2y = -10 -4x + 2y = 10 ------------- 0 + 0 = 0 0 = 0 Uh-oh. Both of the variables disappeared! This is what's called an identity case. An identity case occurs when both variables disappear and both sides have the same value. This means that 6 = 6 is also an identity case. Now, what does an identity case mean? It means that it's the same line. Since it's the same line, there are infinitely many solutions because the lines intersect in every way possible. This is also called an infinitely many solutions case. Now, let's take a look at the second special case. 2x + y = 9 4x + 2y = 4 -2(2x + y = 9) 4x + 2y = 4 -4x – 2y = -18 4x + 2y = 4 ------------------ 0 + 0 = -14 0 = -14 Once again, both variables disappeared. This is called a case of no solution. This occurs when the two lines are parallel. Since parallel lines never intersect, there is no solution.
So Long! Any revisions?
Gaussian-Jordan elimination.
Oh ok. I didn't know that that was the official name ;)
No--those are excluded.
You should include those.
I knew about Cramer's Rule, but I wanted to keep this on an Algebra I level. If i added Cramer's Rule and stuff, it would be borderline Algebra II since most classes don't teach Cramer's Rule until Algebra II if at all.
Who cares if it's Algebra I or Algebra II? Knowledge is knowledge. Cramer's rule involves determinants. Gaussian-Jordan elimination involves matrices and row operations. Neither is that hard.
I suppose. THe tutorial was just so long and it would've taken a while teaching determinants and all of that. Maybe next time. Thanks for the suggestion though :)
it looked great .. keep it up calcmathlete. gr8
There is one more method... Can I suggest??
@waterineyes Sure @mathslover Thank you :)
@Calcmathlete when two lines are parallel then they have infinitely many solutions and not no solution..
Really? I thought that since parallel lines never intersect and a solution is an intersection, there would be no solution?
Yes.. That is why they are parallel lines and can have many infinitely solutions.. I will give the examples of both..
What can you say about these two lines having equations: 2x + 3y = 9 And, 4x + 6y = 18 Now, according to you they have no solution??
I thought so? Parallel lines never intersect no? And since they never intersect, there are no solutions? I thought it was infinitely many solutions when it was the same line.
I will show how how you can tell about the Nature Of Roots..
Wait, I just realized. The equations you gave are the same line right? That would be an infinitely many solutions. Oops
NATURE OF ROOTS: \[ax_1 + by_1 + c_1 = 0\] \[ax_2 + by_2 + c_2 = 0\] 1) UNIQUE SOLUTION: \[\huge \color{blue}{\frac{a_1}{a_2} \ne \frac{b_1}{b_2}}\] 2) INFINITELY MANY SOLUTIONS: \[\huge \color{violet}{\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2}}\] 3) NO SOLUTION: \[\huge \color{green}{\frac{a_1}{a_2} = \frac{b_1}{b_2} \ne \frac{c_1}{c_2}}\]
Now I will tell about that other Method...
Alright. Thanks! I learn something new everyday! :) So to make sure I have everything completely understood. Would this system be infinitely many or no solution? x + y = 3 2x + 2y = 4
Parallel Lines + Overlapping Lines = Infinitely Many Solutions.. Parallel Lines + Non Overlapping Lines = No Solution..
Ok. That's what I thought. But using that logic, my original example in my tutorial: 2x + y = 9 4x + 2y = 4 I said that it was no solution. It was in actuality infinitely many solutions?
It is having no solution..
Then what was the original problem? Oh wait. You're original comment says that you were just gonna show another method. My bad :)
Yes I will.. Do you know the name of this method??
The name of this method is : SOLVING SIMULTANEOUS EQUATIONS BY CROSS MULTIPLICATION... Any Idea if you have heard this before??
No? I've only learned Graphing, Substitution, Elimination, and Cramer's Rule. Also I'm starting to learn Gaussian Elimination. I'm interested now :)
Can you wait?? It will take time to explain to write and to give an example too.. May be I have to draw it too to explain more..
SOLVING SIMULTANEOUS EQUATIONS BY CROSS MULTIPLICATION METHOD: This method is simple one and not too hard but one must know this method.. Firstly we have to write the given equations in Standard Form that is: \[\huge ax_1 + by_1 + c_1 = 0\] \[\huge ax_2 + by_2 + c_2 = 0\] Then, make the following fractions: \[\frac{x}{(b_1c_2 - b_2c_1)} = \frac{y}{(c_1a_2 - c_2a_1)} = \frac{1}{(a_1b_2 - a_2b_1)}\] Once you get this, firstly to find x, equate First Fraction with the Last Fraction.. And to get y, equate second and the Last Fraction..
I will give you an example that will make sense of this method..
I am taking your Elimination Method Example @Calcmathlete .. 2x - y = 5 3x + 2y = 5 First Step : Write them in Standard Form: 2x - y - 5 = 0 3x + y -5 = 0 Second Step: Identify the values of \(a_1, b_1, c_1, a_2, b_2, c_2\).. Third Step: Plug in the values in the formula: \[\frac{x}{(-1)(-5) - (1)(-5)} = \frac{y}{(-5)(3) - (-5)(2)} = \frac{1}{(2)(1) - (3)(-1)}\] \[\frac{x}{10} = \frac{y}{-5} = \frac{1}{5}\] Third Step: To find x, equate: \[\frac{x}{10} = \frac{1}{5}\] So, \(x = 2\) To get y, equate: \[\frac{y}{-5} = \frac{1}{5}\] \[y = -1\] So, by Solving with Cross Multiplication Method, we get: \((x, y) = (2, -1)\)...
Sorry there will not come 2y it is simply y in the second equation of first step..
Second equation that I have taken is: 3x + y = 5 and not: 3x + 2y = 5 Please note this point.. Solution is correct and is according to 3x + y = 5
Oh. Ok. I see where the name of cross multiplication comes from. I guess it's just a matter of remembering the order/pairings. Is there a specific time where this would be quicker than the other methods like how you know when to use substitution and elimination?
We always use Substitution Method when in any of the equations given, The coefficient of either y or x is 1 it becomes easy to solve.. Like: 3x + 2y = 13 x + y = 5 Now just find x or y from second equation and put it in first equation you have y = 2 and x = 3.. For Elimination: If in the given equations: If you can get the same coefficient of x or y by multiplying something than you will use Elimination: Like: 5x + 4y = 18 10x + 7y = 34 See here when you multiply first equation by 2 then coefficient of x are becoming equal.. 10x + 8y + 36 10x + 7y = 34 Subtract them: y = 2 and so, x = 2.. You can use cross multiplication method also if you are good in multiplication and signs.. Because we always do mistakes with the signs...
I have one pictorial representation of cross multiplication method: |dw:1341466088360:dw|
|dw:1341466207150:dw|
I get it! :D Parts of it remind me a bit of Cramer's Rule and parts of it remind me of the Law of Sines.
Once again, thank you!
the author of kramer's rule...
@dpaInc lol This is an interesting read btw, lots of good information. Want to put it all together into one collaborative document in a new topic/thread @Calcmathlete ? I want to give you a medal to afterall :-D (gave the previous one to @waterineyes for showing me something I didn't know)
Ishaan gave me an advice when I made my first tutorial, he told me to keep it short, a post that's too long would discourage some people to read through it, even if it's useful;, but good job! :D
@agentx5 But you know now that's the best thing.. If anyone has knowledge lets other light their candle on it..
I'll probably do that later when I get all of the other methods that I missed. In any case, it's long...lol @zepp Yeah. I noticed. Maybe I should pick a topic not as long like split this into just elimination method since that in itself is pretty long.
There is nothing to do with Long and short... If someone want to increase his or her knowledge and has interest then he or she will read the whole.. But the important thing is you should write the words or give the tutorial in a way that can be easily understandable by the reader... Reader gets bored only when he or she is not able to understand what you have written..
so how would you do Solve, using the substitution method y = 2x + 6 3x – y = 6 A. There are an infinite number of solutions. B. (14, 12) C. (12, 30) D. There is no solution. I think it might be D but I'm not sure
Can you help me with this one? Which is a solution of the equation? 2x – y = 5 @Calcmathlete
@iLorita have you gotten the answer on this? I am on a problem and I don't know how to do it. its x-2y=2 and y=-2x+5 and I need to know how many solutions this equation has. I don't know though.
What is the solution set of y = x2 + 2x + 7 and y = x + 7?
{(0, 7), (-1, 6)} {(0, 7), (-7, 0)} {(0, 7), (1, 8)} {(-2, 0), (4, 0)}
Wow..!! I just want to confirm that above "waterineyes" is same as the one who is commenting now!! :P I am trying to remember when I had posted these things, silly me.!! :)
You have started asking questions on a Tutorial? :P Buddy, give some respect to this Tutorial... @Marrivonne ..