# HSC Extension 1 and 2 Mathematics/Linear functions

## The linear function y = mx + b and its graphEdit

The linear function y = mx + b, for numerical values of m and b, is represented by a straight line.

The linear equation $mx + b = 0, (m \neq­ 0)$ has one and only one root, which is rational if m and b are rational. This simple and apparently trivial result is worth noting; it does not extend to the quadratic equation.

## The straight lineEdit

### equation of a line passing through a given point with given slopeEdit

The equation of a straight line passing through a fixed point (x1, y1) and having a given slope m is y – y1 = m(x – x1).

### equation of a line passing through two given pointsEdit

The equation of a straight line passing through two given points (x1, y1) and (x2, y2) may be deduced from the above by noting that the slope m must be the ratio of y2 – y1 to x2 – x1, i.e.,

${\displaystyle m={\frac {y_{2}-y_{1}}{x_{2}-x_{1}}}}$

Verification that the number pairs (x1, y1) and (x2, y2) do indeed satisfy the final equation.

### the general equation ax + by + c = 0Edit

The linear equation ax + by + c = 0 represents a straight line provided at least one of a and b is nonzero.

### parallel linesEdit

Parallel lines have the same slope

### perpendicular linesEdit

two lines with gradients m and m' respectively are perpendicular if and only if mm' = –1.

## Intersection of linesEdit

### The equation of a line passing through the point of intersection of two given linesEdit

Any line passing through the intersection of a1x + b1y + c1 = 0 and a2x + b2y + c2 = 0 has the equation

${\displaystyle a_{1}x+b_{1}y+c_{1}+k(a_{2}x+b_{2}y+c_{2})=0}$

where k is a constant, whose value for any particular line may be found using the additional information given to specify that line.

## Regions determined by lines: linear inequalitiesEdit

The straight line locus ax + by + c = 0 divides the rest of the number plane into two regions, satisfying the inequalities ax + by + c < 0 and ax + by + c > 0 respectively. Each region is a half-plane.

Two intersecting straight lines divide the rest of the plane into four regions, each defined by a pair of linear inequalities.

1. ${\displaystyle a1x+b1y+c1>0anda2x+b2y+c2>0}$  2. ${\displaystyle a1x+b1y+c1>0anda2x+b2y+c2<0}$  3. ${\displaystyle a1x+b1y+c1<0anda2x+b2y+c2>0}$  4. ${\displaystyle a1x+b1y+c1<0anda2x+b2y+c2<0}$

Each such region is the intersection of two half-planes. Extension to the case of three lines intersecting in pairs, thus including the description of the interior of a triangle as the intersection of three half-planes or the common solutions of three linear inequalities in x and y.

## Distance between two points and the (perpendicular) distance of a point from a lineEdit

The formula for the distance between two points should be derived, as should the formula for the perpendicular distance of a point (x1, y1) from a line ax + by + c = 0.

For example, the following proof may be used.

The equation of the line through P, perpendicular to the given line, is

${\displaystyle bx-ay=bx_{1}-ay_{1}\;}$

This meets ax + by = – c at (x0, y0), where

${\displaystyle (a^{2}+b^{2})x_{0}=b^{2}x_{1}-aby_{1}-ac\;}$

${\displaystyle (a^{2}+b^{2})y_{0}=-abx_{1}+a^{2}y_{1}-bc\;}$

thus

${\displaystyle x_{1}-x_{0}={\frac {(a^{2}+b^{2})x_{1}-(b^{2}x_{1}-abx_{1}-ac)}{a^{2}+b^{2}}}}$

${\displaystyle x_{1}-x_{0}={\frac {a(ax_{1}+by_{1}+c)}{a^{2}+b^{2}}}}$

and

${\displaystyle y_{1}-y_{0}={\frac {(a^{2}+b^{2})y_{1}-(a^{2}y_{1}-abx_{1}-bc)}{a^{2}+b^{2}}}}$

${\displaystyle y_{1}-y_{0}={\frac {b(ax_{1}+by_{1}+c)}{a^{2}+b^{2}}}}$

hence

${\displaystyle (x_{1}-x_{0})^{2}+(y_{1}-y_{0})^{2}={\frac {a^{2}(ax_{1}+by_{1}+c)^{2}}{(a^{2}+b^{2})^{2}}}+{\frac {b^{2}(ax_{1}+by_{1}+c)^{2}}{(a^{2}+b^{2})^{2}}}}$

${\displaystyle (x_{1}-x_{0})^{2}+(y_{1}-y_{0})^{2}={\frac {(a^{2}+b^{2})(ax_{1}+by_{1}+c)^{2}}{(a^{2}+b^{2})^{2}}}}$

${\displaystyle (x_{1}-x_{0})^{2}+(y_{1}-y_{0})^{2}={\frac {(ax_{1}+by_{1}+c)^{2}}{a^{2}+b^{2}}}}$

taking the positive square root of the numerator gives ±(ax1 + bx1 +c), but distance can only be positive, so we use the absolute value. The denominator cannot be simplified and so is left with a positive square root sign.

${\displaystyle {\mbox{distance}}={\frac {|ax_{1}+by_{1}+c|}{\sqrt {a^{2}+b^{2}}}}}$

## The mid-point of an intervalEdit

A direct derivation of the coordinates of the midpoint of a given interval should be presented.

midpoint of interval with endpoints (x1,y1) and (x2,y2) is

${\displaystyle \left({\frac {x_{1}+x_{2}}{2}},{\frac {y_{1}+y_{2}}{2}}\right)}$

## Coordinate methods in geometryEdit

Examples, illustrating the use of coordinate methods in solving geometrical problems, are to be restricted to problems with specified data. The following are typical problems.

1. Show that the triangle whose vertices are (1, 1), (–1, 3) and (3, 5) is isosceles. 2. Show that the four points (0, 0), (2, 1), (3, –1), (1, –2) are the corners of a square. 3. Given that A, B, C are the points (–1, –2), (2, 5) and (4, 1) respectively, find D so that ABCD is a parallelogram. 4. Find the coordinates of the point A on the line x = –3 such that the line joining A to B (3, 5) is perpendicular to the line 2x + 5y = 12.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 18, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.7816731333732605, "perplexity": 235.25072864164204}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2017-17/segments/1492917125074.20/warc/CC-MAIN-20170423031205-00373-ip-10-145-167-34.ec2.internal.warc.gz"}