From 1d6bb4f4b32fdbbb9998495ff727627e793ebfb3 Mon Sep 17 00:00:00 2001 From: Alexander Molnar <37451552+BTmathic@users.noreply.github.com> Date: Thu, 21 Mar 2019 06:14:25 -0400 Subject: [PATCH] Fix typos/errors, add example (#34487) Linear equations are not just equations of lines (in 2-dimensions) so this has been addressed. Also tried to discuss the simplest case, lines, with less nondescript terminology. --- .../mathematics/linear-equations/index.md | 26 +++++++++++++++---- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/guide/english/mathematics/linear-equations/index.md b/guide/english/mathematics/linear-equations/index.md index b8d06e4782..2f3efbdf56 100644 --- a/guide/english/mathematics/linear-equations/index.md +++ b/guide/english/mathematics/linear-equations/index.md @@ -3,11 +3,27 @@ title: Linear Equations --- ## Linear Equations -A linear equation is a straight line from one point to another, which can be expressed through an equation or a graph. +A linear equation is an equation that can be written in the form -The equation for a linear function is **y = mx + b**. +
a1x1 + a2x2 + ··· + anxn + b = 0,
-* _'y'_ is the y-coordinates on the slope -* _'mx'_ is the slope, or rate of which the equation is headed. This can be calculated using **(y2-y1/x2-x1)**, where the numerator is the vertical shift, while the denominator is the horizontal shift. -* _'b'_ is the y-intercept, or where the linear function meets the y-axis. +where the xi are the *variables* while b and the ai are the *coefficients*. The solutions to the equation, that is, the points (x1, x2, ..., xn) that make the equation true when plugged in, describe a graph (a [hyperplane](https://en.wikipedia.org/wiki/Hyperplane)) in n-dimensional space. +The most familiar example is in two dimensions, the Cartesian plane, where a linear equation describes a straight line. Here a linear equation is usually written as + +y = mx + b,
+ +where +* x and y are the coordinates, +* m is the *slope*, commonly called *rise over run* which describes the ratio between the vertical change and the horizontal change as you move along the line, and +* b is the *y-intercept*, where the line described by the equation touches the y-axis. (Plugging x=0 into equation shows this.) + +Every non-vertical line can be described by such an equation. (While a vertical line can be described by the equation x = a for some number a, you no longer have the geometric interpretation from the values of m and b.) For example, suppose we wish to draw the line connecting the two points (1,3) and (-2,2). Then, between these two points the rise is the difference in the y-values, namely 3 - 2 = 1, while the run is the difference in the x-values, 1 - (-2) = 3, so the slope is m = 1/3. (Or 2 - 3 = -1 and -2 - 1 = -3, so m = (-1)/(-3) = 1/3.) This means our line is given by the equation + +y = (1/3)x + b,
+ +where b is the y-intercept. To find b we now plug either point into the equation and solve for b. For example, we can use (1,3) to get 3 = (1/3) · 1 + b, or b = 3 - (1/3) = 8/3. Hence, the line going through the points (1,3) and (-2,2) is given by the equation + +y = (1/3)x + 8/3.
+ +While these may not appear terribly useful outside of simply working with lines (or hyperplanes in general), there are [many situations](https://en.wikipedia.org/wiki/Linear_approximation#Applications) where you can get a linear approximation of a complicated function and get valuable information. With the simplicity of linear equations, this can be a very powerful tool to study complex problems.