<< Chapter < Page Chapter >> Page >

Co-ordinate geometry

Equation of a line between two points

Khan academy video on point-slope and standard form

There are many different methods of specifying the requirements for determining the equation of a straight line. One option is to find the equation of a straight line, when two points are given.

Assume that the two points are ( x 1 ; y 1 ) and ( x 2 ; y 2 ) , and we know that the general form of the equation for a straight line is:

y = m x + c

So, to determine the equation of the line passing through our two points, we need to determine values for m (the gradient of the line) and c (the y -intercept of the line). The resulting equation is

y - y 1 = m ( x - x 1 )

where ( x 1 ; y 1 ) are the co-ordinates of either given point.

Finding the second equation for a straight line

This is an example of a set of simultaneous equations, because we can write:

y 1 = m x 1 + c y 2 = m x 2 + c

We now have two equations, with two unknowns, m and c .

y 2 - y 1 = m x 2 - m x 1 m = y 2 - y 1 x 2 - x 1 y 1 = m x 1 + c c = y 1 - m x 1

Now, to make things a bit easier to remember, substitute [link] into [link] :

y = m x + c = m x + ( y 1 - m x 1 ) y - y 1 = m ( x - x 1 )

If you are asked to calculate the equation of a line passing through two points, use:

m = y 2 - y 1 x 2 - x 1

to calculate m and then use:

y - y 1 = m ( x - x 1 )

to determine the equation.

For example, the equation of the straight line passing through ( - 1 ; 1 ) and ( 2 ; 2 ) is given by first calculating m

m = y 2 - y 1 x 2 - x 1 = 2 - 1 2 - ( - 1 ) = 1 3

and then substituting this value into

y - y 1 = m ( x - x 1 )

to obtain

y - y 1 = 1 3 ( x - x 1 ) .

Then substitute ( - 1 ; 1 ) to obtain

y - ( 1 ) = 1 3 ( x - ( - 1 ) ) y - 1 = 1 3 x + 1 3 y = 1 3 x + 1 3 + 1 y = 1 3 x + 4 3

So, y = 1 3 x + 4 3 passes through ( - 1 ; 1 ) and ( 2 ; 2 ) .

Find the equation of the straight line passing through ( - 3 ; 2 ) and ( 5 ; 8 ) .

  1. ( x 1 ; y 1 ) = ( - 3 ; 2 ) ( x 2 ; y 2 ) = ( 5 ; 8 )
  2. m = y 2 - y 1 x 2 - x 1 = 8 - 2 5 - ( - 3 ) = 6 5 + 3 = 6 8 = 3 4
  3. y - y 1 = m ( x - x 1 ) y - ( 2 ) = 3 4 ( x - ( - 3 ) ) y = 3 4 ( x + 3 ) + 2 = 3 4 x + 3 4 · 3 + 2 = 3 4 x + 9 4 + 8 4 = 3 4 x + 17 4
  4. The equation of the straight line that passes through ( - 3 ; 2 ) and ( 5 ; 8 ) is y = 3 4 x + 17 4 .

Equation of a line through one point and parallel or perpendicular to another line

Another method of determining the equation of a straight-line is to be given one point, ( x 1 ; y 1 ) , and to be told that the line is parallel or perpendicular to another line. If the equation of the unknown line is y = m x + c and the equation of the second line is y = m 0 x + c 0 , then we know the following:

If the lines are parallel, then m = m 0 If the lines are perpendicular, then m × m 0 = - 1

Once we have determined a value for m , we can then use the given point together with:

y - y 1 = m ( x - x 1 )

to determine the equation of the line.

For example, find the equation of the line that is parallel to y = 2 x - 1 and that passes through ( - 1 ; 1 ) .

First we determine m , the slope of the line we are trying to find. Since the line we are looking for is parallel to y = 2 x - 1 ,

m = 2

The equation is found by substituting m and ( - 1 ; 1 ) into:

y - y 1 = m ( x - x 1 ) y - 1 = 2 ( x - ( - 1 ) y - 1 = 2 ( x + 1 ) y - 1 = 2 x + 2 y = 2 x + 2 + 1 y = 2 x + 3
The equation of the line passing through ( - 1 ; 1 ) and parallel to y = 2 x - 1 is y = 2 x + 3 . It can be seen that the lines are parallel to each other. You can test this by using your ruler and measuring the perpendicular distance between the lines at different points.

Inclination of a line

(a) A line makes an angle θ with the x -axis. (b) The angle is dependent on the gradient. If the gradient of f is m f and the gradient of g is m g then m f > m g and θ f > θ g .

In [link] (a), we see that the line makes an angle θ with the x -axis. This angle is known as the inclination of the line and it is sometimes interesting to know what the value of θ is.

Firstly, we note that if the gradient changes, then the value of θ changes ( [link] (b)), so we suspect that the inclination of a line is related to the gradient. We know that the gradient is a ratio of a change in the y -direction to a change in the x -direction.

m = Δ y Δ x

But, in [link] (a) we see that

tan θ = Δ y Δ x m = tan θ

For example, to find the inclination of the line y = x , we know m = 1

tan θ = 1 θ = 45

Co-ordinate geometry

  1. Find the equations of the following lines
    1. through points ( - 1 ; 3 ) and ( 1 ; 4 )
    2. through points ( 7 ; - 3 ) and ( 0 ; 4 )
    3. parallel to y = 1 2 x + 3 passing through ( - 1 ; 3 )
    4. perpendicular to y = - 1 2 x + 3 passing through ( - 1 ; 2 )
    5. perpendicular to 2 y + x = 6 passing through the origin
  2. Find the inclination of the following lines
    1. y = 2 x - 3
    2. y = 1 3 x - 7
    3. 4 y = 3 x + 8
    4. y = - 2 3 x + 3 (Hint: if m is negative θ must be in the second quadrant)
    5. 3 y + x - 3 = 0
  3. Show that the line y = k for any constant k is parallel to the x-axis. (Hint: Show that the inclination of this line is 0 .)
  4. Show that the line x = k for any constant k is parallel to the y-axis. (Hint: Show that the inclination of this line is 90 .)

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Siyavula textbooks: grade 11 maths. OpenStax CNX. Aug 03, 2011 Download for free at http://cnx.org/content/col11243/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Siyavula textbooks: grade 11 maths' conversation and receive update notifications?

Ask