Wednesday, October 21, 2009

2. The Straight Line

Also on this page:

Slope-Intercept Form of a Straight Line

y = mx + b

The slope-intercept form (otherwise known as "gradient, y-intercept" form) of a line is given by:

y = mx + b

This tells us the slope of the line is m and the y-intercept of the line is b.



Example:

2x - 4

The line y = 2x + 4 has

  • slope m = 2 and
  • y-intercept b = 4.

We do not need to set up a table of values to sketch this line. Starting at the y-intercept (y = 4), we sketch our line by going up 2 units for each unit we go to the right (since the slope is 2 in this example). To find the x-intercept, we let y = 0.

2x + 4 = 0

x = -2

We notice that this is a function. That is, each value of x that we have gives one corresponding value of y.

See more on Functions and Graphs.

Point-Slope Form of a Straight Line

point-slope

We need other forms of the straight line as well. A useful form is the point-slope form (or point - gradient form). We use this form when we need to find the equation of a line passing through a point (x1, y1) with slope m:

y − y1 = m(xx1)


Example:

Need Graph Paper?



Find the equation of the line that passes through (-2, 1) with slope of -3.


This LiveMath document lets us play with this idea. Let's do this first.

LIVEMath


Now for the normal answer:


Answer


General Form

Another form of the straight line which we come across is general form:

Ax + By + C = 0

It can be useful for drawing lines by finding the y-intercept (put x = 0) and the x-intercept (put y = 0).

We also use General Form when finding Perpendicular Distance from a Point to a Line.

Example:

Draw the line 2x + 3y + 12 = 0.


Answer


Exercises

1. What is the equation of the line perpendicular to the line joining (4, 2) and (3, -5) and passing through (4, 2)?

[Need a reminder? See the section on Slopes of Perpendicular Lines.]


Answer


2. If 4xky = 6 and 6x + 3y + 2 = 0 are perpendicular, what is the value of k?

Answer

1. Basic Definitions http://www.intmath.com/Plane-analytic-geometry/1_Basic-definitions.php

Distance Formula

Recall Pythagoras' Theorem:

:

Also on this page:

Gradient (slope)
Inclination
Parallel Lines
Perpendicular Lines

Need Graph Paper?



math expression

For a right-angled triangle with hypotenuse length c,

math expression

We use this to find the distance between any two points (x1, y1) and (x2, y2) on the cartesian plane:

The Cartesian Plane

The cartesian plane was named after Rene Descartes. It is also called the x-y plane.

See more about Descartes in Functions and Graphs.

math expression

The point (x2, y1) is at the right angle. We can see that:

  • The distance between the points (x1, y1) and (x2, y1) is simply x2x1 and
  • The distance between the points (x2, y2) and (x2, y1) is simply y2y1.

math expression


Using Pythagoras' Theorem we have the distance between (x1, y1) and (x2, y2) given by:

math expression


Example 1:

Find the distance between the points (3, -4) and (5, 7).


First, let's see this in LiveMath.

LIVEMath


Now for the normal answer:

Answer


Example 2:

Find the distance between the points (3, -1) and (-2, 5).

Answer


Gradient (or slope)

The gradient of a line is defined as

math expression

math expression

In this triangle, the gradient of the line is given by: math expression



In general, for the line joining the points (x1, y1) and (x2, y2):

math expression

We see from the diagram above, that the gradient (usually written m) is given by:

math expression

Example:

Find the slope of the line joining the points (-4, -1) and (2, -5).


Answer


Positive and Negative Slopes

In general, a positive slope indicates the value of the dependent variable increases as we go left to right:

math expression

[The dependent variable in the above graph is the y-value.]


A negative slope means that the value of the dependent variable is decreasing as we go left to right:

math expression


Here is an animation of this using LiveMath.

LIVEMath


Inclination

math expression

We have a line with slope m and the angle that the line makes with the x-axis is α.

From trigonometry, we recall that the tan of angle α is given by:

tan

Now, since slope is also defined as opposite/adjacent, we have:

inclination

This gives us the result:

tan α = m

Then we can find angle α using

α = arctan m

(That is, α = tan-1m)

This angle α is called the inclination of the line.

Example 1:

Find the inclination of the line with slope 2.

Answer


NOTE: The size of angle α is (by definition) only between 0° and 180°.

Example 2:

Find the slope of the line with inclination α = 137°.

Answer


Let's see Gradient and Inclination using LiveMath.

LIVEMath


Parallel Lines

math expression

Lines which have the same slope are parallel.

If a line has slope m1 and another line has slope m2 then the lines are parallel if

m1 = m2


Here is a LiveMath animation showing that if the gradient stays the same and we only change the y-intercept, the lines are parallel.

LIVEMath


Perpendicular Lines

math expression

If a line has slope m1 and another line has slope m2 then the lines are perpendicular if

m1 × m2= -1


In the example at right, the slopes of the lines are 2 and -0.5 and we have:

2 × -0.5 = -1

So the lines are perpendicular.


Let's see a LiveMath example:

LIVEMath


Example:

A line l has slope m = 4.

a) What is the slope of a line parallel to l?

b) What is the slope of a line perpendicular to l?


Answers


Special Cases

What if one of the lines is parallel to the y-axis?

For example, the line y = 3 is parallel to the x-axis and has slope 0. The line x = 3.6 is parallel to the y-axis and has an undefined slope.

The lines are clearly perpendicular, but we cannot find the product of their slopes. In such a case, we cannot draw a conclusion from the product of the slopes, but we can see immediately from the graph that the lines are perpendicular.

perpendicular lines

The same situation occurs with the x- and y-axes. They are perpendicular, but we cannot calculate the product of the 2 slopes, since the slope of the y-axis is undefined.

Exercises

  1. What is the distance between (-1, 3) and (-8, -4)?
  2. A line passes through (-3, 9) and (4, 4). Another line passes through (9, -1) and (4, -8). Are the lines parallel or perpendicular?
  3. Find k if the distance between (k,0) and (0, 2k) is 10 units.

Answers

How many trig functions are there?

How many basic trigonometric functions are there?

The calculator answer: 3

A typical calculator has three trig functions if it has any: sine, cosine, and tangent. The other three that you may see — cosecant, secant, and cotangent — are the reciprocals of sine, cosine, and tangent respectively. Calculator designers expect you to push the cosine key followed by the reciprocal key if you want a secant, for example.

Tuesday, October 20, 2009

The Trigonometry of the Triangle

http://www.codecogs.com/reference/maths/trigonometery/the_trigonometry_of_the_triangle.php
There are a number of equations associated with triangles. Of these, the best known are the Sine and Cos formulae.

The Sine Formula.

Consider the Triangle ABC with its Circumcircle. Draw the diameter BX through B
13108/img_trig_42.jpg
+

Angle BAX = 90 degrees and angle AXB = angle ACB

From the diagram it can be seen that c = 2R sin C Therefore by symmetry:- Obtuse Case If A is obtuse, angle BXC = 180 - A
13108/img_trig_43.jpg
+

The Cosine Formula

ABC is an acute-angled triangle of height h
13108/img_trig_40.jpg
+
Using Pythagoras:- NOTE This equation can be re-written in terms of either angle A or B If C is obtuse
13108/img_trig_41.jpg
+
It should be noted that the same equation can be applied in both cases.

Area Of A Triangle

13108/img_trig_91.jpg
+
The area of a Triangle is a half base times height.
\displaystyle \therefore\;\;\;\;\;\;\;\mathbf{Area\;=\;\frac{1}{2}\,ab\,sinC\;=\;\frac{1}{2}\,bc\,sinA\;=\;\frac{1}{2}\,ac\,sin\,B}

make your way through these videos