Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
There are many forms of writing the equations of the line. Here, we are going to
discuss each.
A straight line on the coordinate plane can be described by the equation y = mx+b where m
is the slope of the line and b is the intercept.
What is a line?
A line is defined as the shortest distance between two points. The following are the
equations of the lines:
y2 y1
d) Two-Point Form: y y1 ( x x1 )
x2 x1
x y
e) Intercept Form of a Line: 1
a b
y=mx+b
y=mx+b
Where m is the slope of the line and b is the y-intercept. You can use this equation to write
an equation if you know the slope and the y-intercept.
Often in mathematics it is useful to be able to write the equation of a line, given its
slope and any point on the line Suppose that a line has slope m and that it passes through
the known point P(x1, y1). Let Q(x, y) be any other point on the line. Once again we can
use the definition of slope and write
y2 y1
m
x2 x1
Equation (2) is called the point-slope form for the equation of a line, and all points lying
on the line [including (x1, y1)] will satisfy this equation. We can state the following
general result.
Write the equation for the line that passes through point (3,-1) with a slope of 3. Letting
(x1, y1) (3,-1) and m = 3 in point-slope form, we have
y -(-1) = 3(x-3)
or
y + 1 = 3x-9
We can write the final result in slope-intercept form as
y = 3x-10.
Write the equation of the line passing through (2, 4) and (4, 7). First, we find m, the slope
of the line. Here
74 3
m
42 2
3
Now we apply the point-slope form with m = and ( x1 , y1 ) = (2,4):
2
3
y4 ( x 2)
2
3
y 4 x3
2
3
y x 1
2
y mx b
2 0(7) b
2 b
or y = -2
The value for b will always be the y coordinate for the given point.
(b) Find the equation of a line with undefined slope passing through (4, -5). A line with
undefined slope is vertical. It will always be of the form x = a, in which a is the x -
coordinate for the given point. The equation is x = 4.
The two-point form of a line in the Cartesian plane passing through the
points and is given
y2 y1
y y1 ( x x1 )
x2 x1
Or equivalently,
y2 y1
y y2 ( x x2 )
x2 x1
Example 1: Determine the equation of a straight line passing through the points (3, -4)
and (2, 5).
Solution: Let us assume that
x1=3,y1=-4,x2=2, y2=5
54
y (4) ( x 3)
23
5 4
y4 ( x 3)
23
9
y 4 ( x 3)
1
y 4 9 x 27
9 x y 23
Example 2: Find the linear equation that passes through the points (1, 2) and (-2, 4).
Solution: Let
x1=1,y1=2,x2=-2, y2=4
y2 y1
y y1 ( x x1 )
x2 x1
42
y2 ( x 1)
2 1
2
y 1 ( x 1)
3
3y 6 2x 2
2x 3y 8
Example 3: If two points lying on a straight line are (4, -5) and (-3, -2), determine the
slope-intercept form of the line. Also, find the slope and y-intercept of the line.
Solution: Here, x1=4,y1=-5,x2=-3, y2=-2
y2 y1
y y1 ( x x1 )
x2 x1
2 (5)
y (5) ( x 4)
3 4
3
y ( x 4)
7
7 y 35 3x 12
7 y 3x 23
3 23
y x
7 7
The x-intercept and y-intercept could represent two points, which are (a,0) and (0,b).
Thus, the intercepts are enough to write the equation.
x y
1
a b
Example 1:
The equation of the line that intercepts the x-axis at the x=4 and the y-axis at y=-6 is?
Let (4,0) and (0.-6)
x y
1
a b
x y
1
4 6
6 x 4 y 24
3 x 2 y 12
Example 2:
Find the equation of the line if the x-intercept and y-intercept are -2 and 4, respectively
x y
1
a b
x y
1
2 4
2x y 4
y 2x 4 0
Example 3:
What is the equation of the line passing through (-2,6) with the x-intercept half the
y-intercept?
1
a b
2
b 2a
Using the intercept form
x y
1
a b
Substitute: x=-2, y=6 and b=2a
2 6
1
a 2a
46
1
2a
a 1
b2
Substitute:
x y
1
a b
x y
1
1 2
2x y 2
2x y 2 0
Horizontal Lines
Example 2: Write an equation for the horizontal line that passes through (6, 2) .
Since the line is horizontal, y is constant--that is, y always takes the same value.
Since y takes a value of 2 at the point (6, 2) , y always takes the value 2 . Thus, the
equation is y = 2 .
Vertical Lines
Similarly, in the graph of a vertical line, x only takes one value. Thus, the equation for a
vertical line is x = a , where a is the value that x takes.
Since x always takes the value 2 = , the equation for the line is x = .
Example 4: Write an equation for the vertical line that passes through(6, 2) .
Since the line is vertical, x is constant--that is, x always takes the same value.
Since x takes a value of 6 at the point (6, 2) , x always takes the value 6 . Thus, the
equation is x = 6 .
A "system" of equations is a set or collection of equations that you deal with all
together at once. Linear equations (ones that graph as straight lines) are simpler than
non-linear equations, and the simplest linear system is one with two equations and two
variables.
Solving Systems of Linear Equations By Substitution
Step 1: Solve one of the given equations for x or y. If this is already done, go on to step 2.
Step 2: Substitute this expression for x or for y into the other equation.
Step 4: Substitute the known value into either of the original equations to find the value
of the second variable.
Example 1:
Solve by substitution.
x + y = 12 (1)
Y = 3x (2)
Notice that equation (2) says that y and 3x name the same quantity. So we may substitute
3x for y in equation (1). We then have
x + 3x=12
4x =12
x =3
We can now substitute 3 for x in equation (1) to find the corresponding y coordinate of the
solution.
3+ y =12
y =9
So (3, 9) is the solution. You can substitute the known coordinate value back into either of
the original equations to find the value of the remaining variable. The check is also
identical.
Example 3:
Solve by Substitution.
x 2y 5
3x y 8
Neither equation is solved for a variable. That is easily handled in this case. Solving for x
in equation (1), we have
x 2y 5
3(2 y 5) y 8
6 y 15 y 8
7 y 7
y 1
Recall from the last section that a true statement tells us that the lines coincide. We call
this system dependent. There are an infinite number of solutions.
3x 6 y 9
(b) x 2 y 2
Three Possibilities:
Intersecting Lines
The point where the lines intersect is your solution.
The solution of this graph is (1, 2)
Parallel Lines
These lines never intersect!
Since the lines never cross, there is
NO SOLUTION!
Parallel lines have the same slope with different y-intercepts.
Coinciding Lines
These lines are the same!
Since the lines are on top of each other, there are
INFINITELY MANY SOLUTIONS!
Coinciding lines have the same slope and
y-intercepts.
Example 1:
Find the solution to the following system:2x + y = 4
x-y=2
Graph both equations. I will graph using
x- and y-intercepts (plug in zeros).
2x y 4
(0,4)and (2,0)
x y 2
(0,2)and (2,0)
2x + y = 4
(0, 4) and (2, 0)
x-y=2
(0, -2) and (2, 0)
To check your answer, plug the point back into both equations.
2x + y = 4
2(2) + (0) = 4
x-y=2
(2) (0) = 2
Example 2:
Find the solution to the following system:
y = 2x 3
-2x + y = 1
Graph both equations. Put both equations in slope-intercept or standard form. Ill do
slope-intercept form on this one!
y = 2x 3
y = 2x + 1
Graph using slope and y-intercept
Solution:
Graph the equation
y = 2x 3
m = 2 and b = -3
y = 2x + 1
m = 2 and b = 1
Notice that the slopes are the same with different y-intercepts. If you recognize this early,
you dont have to graph them!
Example 3:
Solve the following system by graphing.
7x + 2y = 16
21x 6y = 24
21x 6y = 24
21x 24 = 6y
( 21/6 )x 4 = y
( 7/2 )x 4 = y
Warning: When the algebra tells you that you have two parallel lines, for heaven's sake, draw the lines on
your graph so they look parallel!
Solving Systems of Linear Equations by Elimination
Steps:
4. Go back and use the found variable in step 3 to find second variable.
Example 1:
5x + 3y = 11
5x = 2y + 1
STEP 1:
5x + 3y =1
5x - 2y =1
STEP 2:
5 x 3 y 11
5 x 2 y 1
5y =10
y=2
STEP 4: Solve for the other variable by substituting into either equation.
5x + 3y =11
5x + 3(2) =11
5x + 6 =11
5x = 5
x=1
Example 2:
x 2y = 9
x + 3y = 16
Note that the x-terms would cancel out if only they'd had opposite signs. I can create this
cancellation by multiplying either one of the equations by 1, and then adding down as usual. It
doesn't matter which equation I choose, as long as I am careful to multiply the 1 through the entire
equation. (That means both sides of the "equals" sign!)
The "1R2" notation over the arrow indicates that I multiplied row 2 by 1. Now I can solve the
equation "5y = 25" to get y = 5. Back-solving in the first equation, I get:
x 2(5) = 9
x 10 = 9
x=1
Example 3:
4x 3y = 25
3x + 8y = 10
I will multiply the first row by 3 and the second row by 4; then I'll add down and solve.
y=5
4x 3(5) = 25
4x 15 = 25
4x = 40
x = 10
(x, y) = (10, 5)
http://www.mhhe.com/math/devmath/streeter/ba/graphics/streeter5ba/ch07/others/stre_7.
3.pdf
http://mathworld.wolfram.com/Two-PointForm.html
http://www.hanlonmath.com/pdfFiles/643EquationsofLines-Derive.pdf
http://math.tutorvista.com/geometry/two-point-form.html
Solved Problem in Engineering mathematics- Excel Academic Council.
http://www.sparknotes.com/math/algebra1/writingequations/section4.rhtml
http://www.purplemath.com/modules/systlin1.htm
http://www.mhhe.com/math/devmath/streeter/ba/graphics/streeter5ba/ch08/others/stre_8.
3.pdf
http://www.purplemath.com/modules/systlin2.htm
http://teachers.henrico.k12.va.us/math/hcpsalgebra2/Documents/3-2/3-2SolvSysElimAdd
Sub.ppt