2.2 Linear expressions
From Förberedande kurs i matematik 1
m |
m (\cdot to \times) |
||
(2 intermediate revisions not shown.) | |||
Line 21: | Line 21: | ||
*Solve equations that are linear, or linear when simplified. | *Solve equations that are linear, or linear when simplified. | ||
- | *Convert between the forms ''y'' = '' | + | *Convert between the forms ''y'' = ''mx'' + ''c'' and ''ax'' + ''by'' + ''c'' = 0. |
*Sketch straight lines from their equations. | *Sketch straight lines from their equations. | ||
* Solve geometric problems that contain straight lines. | * Solve geometric problems that contain straight lines. | ||
Line 146: | Line 146: | ||
<div class="regel"> | <div class="regel"> | ||
- | {{Displayed math||<math>y = | + | {{Displayed math||<math>y = mx+c</math>}} |
</div> | </div> | ||
- | where <math> | + | where <math>m</math> and <math>c</math> are constants. |
- | The graph of a linear function is always a straight line. The constant <math> | + | The graph of a linear function is always a straight line. The constant <math>m</math> indicates the gradient of the line with respect to the <math>x</math>-axis and <math>c</math> gives the intercept: that is, the <math>y</math>-coordinate of the point where the line intersects the <math>y</math>-axis. |
<center>{{:2.2 - Figure - The line y = mx + c}}</center> | <center>{{:2.2 - Figure - The line y = mx + c}}</center> | ||
<center><small>The line ''y'' = ''mx'' + ''c'' has gradient ''m'' and cuts the ''y''-axis at (0,''c'')</small></center> | <center><small>The line ''y'' = ''mx'' + ''c'' has gradient ''m'' and cuts the ''y''-axis at (0,''c'')</small></center> | ||
- | The constant <math> | + | The constant <math>m</math> is called the gradient. To state that a straight line has gradient <math>m</math> means that for each increase of one unit in the positive <math>x</math>-direction there is an increase of <math>m</math> units in the positive <math>y</math>-direction. The gradient can thus be described as the "height of the unit step". Note that a negative gradient means that <math>y</math> decreases as <math>x</math> increases: that is, if |
- | *<math> | + | *<math>m>0\,</math> the line slopes upwards, |
- | *<math> | + | *<math>m<0\,</math> the line slopes downwards. |
- | For a horizontal line (parallel to the <math>x</math>-axis) <math> | + | For a horizontal line (parallel to the <math>x</math>-axis) <math>m=0</math>, whereas a vertical line (parallel to the <math>y</math>-axis) does not have a <math>m</math> value ( a vertical line cannot be written in the form <math>y=mx+c</math>). |
<div class="exempel"> | <div class="exempel"> | ||
Line 168: | Line 168: | ||
<ol type="a"> | <ol type="a"> | ||
<li> Sketch the line <math>y=2x-1</math>. <br/><br/> | <li> Sketch the line <math>y=2x-1</math>. <br/><br/> | ||
- | Comparing with the standard equation <math>y= | + | Comparing with the standard equation <math>y=mx+c</math>, we see that <math>m=2</math> and <math>c=-1</math>. This tells us that the line's gradient is <math>2</math> and that it cuts the <math>y</math>-axis at <math>(0,-1)</math>. See the figure below-left.</li> |
<li>Sketch the line <math>y=2-\tfrac{1}{2}x</math>.<br/><br/> | <li>Sketch the line <math>y=2-\tfrac{1}{2}x</math>.<br/><br/> | ||
- | The equation of the line can be written as <math>y= -\tfrac{1}{2}x + 2</math>. From this we see that has the gradient <math> | + | The equation of the line can be written as <math>y= -\tfrac{1}{2}x + 2</math>. From this we see that has the gradient <math>m= -\tfrac{1}{2}</math>and that the intercept <math>c=2</math>. See the figure below to the right. |
</ol> | </ol> | ||
Line 190: | Line 190: | ||
- | If we plot the points and draw the line in a coordinate system, we see that <math>5-2=3</math> steps in the <math>x</math>-direction correspond to <math>3-1=2</math> steps in the <math>y</math>-direction along the line. This means that <math>1</math> step in the <math>x</math>-direction corresponds to <math> | + | If we plot the points and draw the line in a coordinate system, we see that <math>5-2=3</math> steps in the <math>x</math>-direction correspond to <math>3-1=2</math> steps in the <math>y</math>-direction along the line. This means that <math>1</math> step in the <math>x</math>-direction corresponds to <math>m=\frac{3-1}{5-2}= \frac{2}{3}</math> steps in the <math>y</math>-direction. So the line's gradient is <math>m= \frac{2}{3}</math>. |
<center>python</center> | <center>python</center> | ||
</div> | </div> | ||
- | Two straight lines that are parallel clearly have the same gradient. It is also possible to see (such as in the figure below) that if two lines with gradients <math> | + | Two straight lines that are parallel clearly have the same gradient. It is also possible to see (such as in the figure below) that if two lines with gradients <math>m_1</math> and <math>m_2</math> are perpendicular to one another, then <math>m_2 = -\frac{1}{m_1}</math>, which also can be written as <math>m_1 m_2 = -1</math>. |
- | <center>{{:2.2 - Figure - The | + | <center>{{:2.2 - Figure - The gradients of perpendicular lines}}</center> |
- | The straight line in the figure on the left has gradient <math> | + | The straight line in the figure on the left has gradient <math>m</math>, that is <math>1</math> step in the <math>x</math>-direction corresponds to <math>m</math> steps in the <math>y</math>-direction. If the line is rotated <math>90^\circ</math> clockwise we get the line in the figure to the right. That line has gradient <math>-\frac{1}{m}</math> because now <math>-m</math> steps in the <math>x</math>-direction corresponds to <math>1</math> step in the <math>y</math>-direction |
<div class="exempel"> | <div class="exempel"> | ||
Line 222: | Line 222: | ||
<li>Put the line <math>y=5x+7</math> into the form <math>ax+by=c</math>.<br/><br/> | <li>Put the line <math>y=5x+7</math> into the form <math>ax+by=c</math>.<br/><br/> | ||
Move the <math>x</math>-term to the left-hand side: <math>-5x+y=7</math>.</li> | Move the <math>x</math>-term to the left-hand side: <math>-5x+y=7</math>.</li> | ||
- | <li> Put the line <math>2x+3y=-1</math> into the form <math>y= | + | <li> Put the line <math>2x+3y=-1</math> into the form <math>y=mx+c</math>.<br/><br/> |
Move the <math>x</math>-term to the right-hand side <math>3y=-2x-1 </math> and divide both sides by <math>3</math> | Move the <math>x</math>-term to the right-hand side <math>3y=-2x-1 </math> and divide both sides by <math>3</math> | ||
{{Displayed math||<math>y=-\frac{2}{3}x - \frac{1}{3}\,\mbox{.}</math>}} | {{Displayed math||<math>y=-\frac{2}{3}x - \frac{1}{3}\,\mbox{.}</math>}} | ||
Line 230: | Line 230: | ||
[http://www.cut-the-knot.org/Curriculum/Calculus/StraightLine.shtml '''Here'''] you can see how an equation for a line can be obtained if we know the coordinates of two points on the line. | [http://www.cut-the-knot.org/Curriculum/Calculus/StraightLine.shtml '''Here'''] you can see how an equation for a line can be obtained if we know the coordinates of two points on the line. | ||
- | [http://www.theducation.se/hemsida//gymnasium_komvux/webbaserade_laromedel_och_webbstod/matematik_3000/experimentera_med_den_rata_linjen/index.asp '''Here'''] you can vary | + | [http://www.theducation.se/hemsida//gymnasium_komvux/webbaserade_laromedel_och_webbstod/matematik_3000/experimentera_med_den_rata_linjen/index.asp '''Here'''] you can vary gradient and intercept and see how this affects the line's characteristics. |
Line 296: | Line 296: | ||
This gives the base of the triangle as <math>4</math> units of length and a height of <math>2</math> units of length. | This gives the base of the triangle as <math>4</math> units of length and a height of <math>2</math> units of length. | ||
- | The area of this triangle is therefore <math> 4\ | + | The area of this triangle is therefore <math> 4\times 2/2=4</math> square units. |
</div> | </div> | ||
Current revision
Theory | Exercises |
Contents:
- Linear equations
- Equation of a straight line
- Geometrical problems
- Regions that are defined using inequalities
Learning outcomes:
After this section you will have learned how to:
- Solve equations that are linear, or linear when simplified.
- Convert between the forms y = mx + c and ax + by + c = 0.
- Sketch straight lines from their equations.
- Solve geometric problems that contain straight lines.
- Sketch regions defined by linear inequalities and determine the area of these regions.
First degree equations
To solve linear equations (also known as equations of degree one) we perform operations on both sides simultaneously, in such a way as to gradually simplify the equation and ultimately lead to
Example 1
- Solve the equation
x+3=7 .
Subtract3 from both sidesx+3−3=7−3 .
x and we getx=7−3=4 .
- Solve the equation
3x=6 .
Divide both sides by3 33x=36 .
3 on the left-hand side we havex=36=2 .
- Solve the equation
2x+1=5.
First we subtract1 from both sides to get2x on its own on the left-hand side2x=5−1 .
2 to get the answerx=24=2 .
A linear equation can always be written in the form a
=0
Example 2
Solve the equation
Since
and now
We now subtract 7 from both sides
and get
The last step is to divide both sides by
giving
Example 3
Solve for
By subtracting
and then subtracting
we have gathered together all the terms that contain
Divide both sides with
It is not always obvious that we are dealing with a linear equation. In the following two examples simplifications are needed to convert the original equation into a linear one.
Example 4
Solve the equation
Expand the quadratic expressions on both sides
Subtract
Add
Subtract
Divide both sides by
Example 5
Solve the equation
Collect both terms to one side
Convert the terms so that they have the same denominator
and simplify the numerator
![]() |
![]() |
This equation is only satisfied when the numerator is equal to zero (whilst the denominator is not equal to zero);
which gives that
Straight lines
Functions such as
are examples of linear functions. They have the general form
where
The graph of a linear function is always a straight line. The constant
The constant
m the line slopes upwards,0
m the line slopes downwards.0
For a horizontal line (parallel to the
Example 6
- Sketch the line
y=2x−1 .
Comparing with the standard equationy=mx+c , we see thatm=2 andc=−1 . This tells us that the line's gradient is2 and that it cuts they -axis at(0 . See the figure below-left.−1)
- Sketch the line
y=2−21x .
The equation of the line can be written asy=−21x+2 . From this we see that has the gradientm=−21 and that the interceptc=2 . See the figure below to the right.
|
| |
Line y = 2x - 1 | Line y = 2 - x/2 |
Example 7
What is the gradient of the straight line that passes through the points 1)
3)
If we plot the points and draw the line in a coordinate system, we see that
Two straight lines that are parallel clearly have the same gradient. It is also possible to see (such as in the figure below) that if two lines with gradients
The straight line in the figure on the left has gradient
Example 8
- The lines
y=3x−1 andy=3x+5 are parallel. - The lines
y=x+1 andy=2−x are perpendicular.
All straight lines (including vertical lines) can be put into the general form
where
Example 9
- Put the line
y=5x+7 into the formax+by=c .
Move thex -term to the left-hand side:−5x+y=7 . - Put the line
2x+3y=−1 into the formy=mx+c .
Move thex -term to the right-hand side3y=−2x−1 and divide both sides by3 y=−32x−31.
Here you can see how an equation for a line can be obtained if we know the coordinates of two points on the line.
Here you can vary gradient and intercept and see how this affects the line's characteristics.
Regions in a coordinate system
By geometrically interpreting inequalities one can describe regions in the plane.
Example 10
- Sketch the region in the
x -plane that satisfiesy
y .2
The region is given by all the points(x for which they)
y -coordinate is equal to, or greater than,2 that is all points on or above the liney=2 .
- Sketch the region in the
x -plane that satisfiesy
y .x
A point(x that satisfies the inequalityy)
y must have anx
x -coordinate that is larger than itsy -coordinate. Thus the area consists of all the points to the right of the liney=x .
The fact that the line
y=x is shown dashed signifies that the points on the line do not belong to the shaded area.
Example 11
Sketch the region in the y
3x+2y
4
The double inequality can be divided into two inequalities
![]() ![]() |
We move the
![]() ![]() |
The points that satisfy the first inequality are on and above the line


Points that satisfy both inequalities form a band-like region where both shaded areas overlap.


Example 12
If we draw the lines
We find that for a point to lie in this triangle, it has to satisfy certain conditions.
We see that its y
2
For the x
y
This gives the base of the triangle as
The area of this triangle is therefore 2
2=4
Study advice
Basic and final tests
After you have read the text and worked through the exercises you should do the basic and final tests to pass this section. You can find the link to the tests in your student lounge.
Keep in mind that...
You should draw your own diagrams when you solve geometrical problems and draw them carefully and accurately! A good diagram can mean you are halfway to a solution, however a poor diagram may well fool you.
Useful web sites