Pages

Showing posts with label graph. Show all posts
Showing posts with label graph. Show all posts

Wednesday, August 20, 2014

Preliminaries in plane geometry (Part 2)

In this post we will discuss about equations of a line in different form. Every equation is related to other equation and can be derived from one other. In the post I have derived the different forms of equations of a straight line. I have started from an equation which is called two-point form and end with the normal form. normal form is also called perpendicular form. I have given graphs of four equations.

The equation of a line can be found if we know anyone of
  1. two points
  2. one point and slope of the line
  3. slope of the line and y intercept
  4. angle made by the perpendicular and its length to the line from the origin
The corresponding four types of equations are as follows
  1. two points form: (y−y1)/(x−x1) = (y2−y1)/(x2−x1)
  2. point-slope form: (y−y1) = m (x−x1)
  3. slope-intercept form: y = mx + c
  4. normal form: x cos α + y sin α = p

The four equations in the graph are
y = 3x + 4, y = x + 7 , y = 2x− 5 and y = −x + 3.

Let A(x1, y1) and B(x2, y2) be two points. Then the four types of equations can be framed as follows:
  1. As the slope of the line will be constant. So, if a variable point is (x,y) then
    (y−y1)/(x−x1) = (y2−y1)/(x2−x1)

  2. If the value of the slope is m then we can substitute,
    (y2−y1)/(x2−x1) = m
    and get the equation of the line as
    (y−y1)/(x−x1) = m
    (y−y1)= m (x−x1)

  3. Expanding (y−y1)=m(x−x1)
    y−y1= mx − mx1
    y = mx−(mx1− y1)
    As [−(mx1 − y1)] is a constant and can be substituted for c
    y = mx + c

    From the above equation we get y = c when x = 0. Hence, c is the y intercept.

  4. Normal form is found by considering the angle which the perpendicular from the origin  to the line makes with the x-axis and its length.

    In the figure the angle is α and the length of the perpendicular is p. Equation of line in two point form is
    (x1, y1) ≡ (a,0) and (x2, y2) ≡ (0,b)

    Using the two point form
    (y−y1)/(x−x1) = (y2−y1)/(x2−x1)
    y/(x − a) = b/(− a)
    −ay = bx − ab
    bx + ay = ab
    x/a + y/b = 1
    a = p sec α
    b = p cosec α
    x/(p sec α) + y/(p cosec α) = 1
    x cos α + y sin α = p

Tuesday, August 19, 2014

Preliminaries in plane geometry (Part 1)

Many shapes in a plane are well represented by equations. Circles, parabolas and hyperbolas are some of the shapes which can be represented by equations.
But to deal with them we need to know the basics of geometry. The posts related to basics of coordinate geometry is given in the related posts "Preliminaries in plane geometry". The posts will be given in many parts. each part will cover two to three topics. In this post we will discuss about Distance formula and Section formula.

Distance formula

The Cartesian coordinates are used to represent points in a plane. Every point in a place has a one to one relationship to a coordinate point. The distance (d)  between two points A(x1, y1) and B(x2, y2) is given by the formula
d = √[(x2 − x1)²+(y2 − y1)²]

The above formula can be found with the help of Pythagoras theorem. Draw a right angled triangle as shown in the graph. When we draw a right angled triangle we draw it such that the two edges including the right angle are parallel to the two axis. This helps us to find the coordinate of the vertex. Name the right angled vertex as C. The coordinate of the point C is (x2, y1). a line parallel to the coordinate axis has its other coordinate same. Suppose the line is parallel to x-axis then all the points on the line has its y-coordinate equal.  The distance between the points A and B is d. The distance between the points A and C is AC =(x2 − x1) and distance between the points B and C is BC =(y2 − y1). By Pythagoras Theorem we have (AB)² = (AC)² + (BC)². Substituting the value of AC and BC we get

d² = (x2 − x1)²+(y2 − y1
Taking square root and as distance cannot be negative, we get
d = √[(x2 − x1)²+(y2 − y1)²]

Example:
Distance between A(3,5) and B(1,2) is
AB = d
d = √[(1 − 3)²+(2 − 5)²]
= √(4+9)
= √13

Section Formula

A point C(x,y) is present between A(x1,y1) and B(x2,y2). C divides AB internally in the ratio m:n. Then the coordinate of C is given by

C≡( [mx2+nx1)/(m+n)] , [(my2+ny1)/(m+n)] )

Example:
C divides AB internally in the ratio 1:2. A(3,5) and B(1,2). Find C.
Let the coordinate of C be (x,y). Then
Here m=1, n=2, x1= 3, x2 = 1, y1 = 5, y2 = 2.
x = (1×1 + 2×3)/(2+1)
= 7/3
  y= (1×2 + 2×5)/(2+1)
= 12/3
= 4.
Hence the coordinate of C is (7/3,4).
If C divides AB externally in the ratio m:n. Then the coordinate of C is given by

C≡( [mx2− nx1)/(m − n)] , [(my2− ny1)/(m − n)] )


Example:
C divides AB externally in the ratio 2:1. A(3,5) and B(1,2). Find C.
Let the coordinate of C be (x,y). Then
Here m=2, n=1, x1= 3, x2 = 1, y1 = 5, y2 = 2.
x = (2×1 − 1×3)/(2 − 1)
= −1
  y = (2×2 − 1×5)/(2 − 1)
= −1
Hence the coordinate of C is (−1,−1).