Let’s try to make some money.
You want to earn money by selling fidget spinners, but two questions arise:
- How much revenue can you earn by selling the fidget spinners?
- How much cost would you incur by obtaining the fidget spinners in the first place?
Your profit is then defined by
Let’s first investigate your potential costs.
Example 1. Suppose you buy fidget spinners at a unit cost of per fidget spinner. Make the following definitions:
represents the number of fidget spinners you obtain.
represents the total cost of buying
fidget spinners.
What would be the relationship between and
?
Solution. Using basic counting,
Hence, . For clarity, we suppress the
symbol and write
.
Example 2. In Example 1, if you can spend a maximum of , what is the maximum number of fidget spinners you can buy?
Solution. Since the maximum cost is capped at , the maximum number of fidget spinners is captured by setting
:
We need to determine the number that represents (i.e. the value of
). Recalling that
and
,
Therefore, is the maximum possible number of fidget spinners.
Remark 1. Suppose you had instead. Then the equation
produces the value .
- We may be tempted to reject the answer
, since
of a fidget spinner doesn’t arise in real life.
- However, if
refers to the number of fidget spinners measured in groups of
, then the answer
corresponds to
fidget spinners—a perfectly reasonable solution!
Therefore, in general, we can accept non-whole number values of .
Example 3. If you need to pay a fixed delivery fee of for your fidget spinners, what would your total cost, in terms of
, now be?
Solution. By including the delivery fee,
For example, if , then
. Here, we write
using the usual order of operations.
We can picture this relationship using a graph.
- The horizontal right arrow, called the
-axis, represents the different possible
-values that we can substitute into the expression.
- The vertical up arrow, called the
-axis, represents the different possible
-values that we can obtain.

If we allowed to take non-integer values, we will recover a richer picture. For example, if
, then
. Repeating this process, we get a striking picture:
We recover a straight line!
Example 4. Calculate the change in cost incurred by obtaining one additional fidget spinner. This change is called the gradient of the graph.
Solution. Let be any fixed amount of fidget spinner bought. The cost of buying this number of fidget spinners is
By incrementing the number of fidget spinners, we want to buy fidget spinners and incur a new cost
given by
Hence, the required change in cost is
Example 5. Using , calculate the fixed cost that you would incur.
Solution. Setting , the fixed cost is given by
Definition 1. A graph is called a (non-vertical) straight line with:
- gradient
,
-intercept
,
if it is continuously drawn using the equation
The value describes the steepness of the line:
- if
, then the line is upward-sloping,
- if
, then the line is horizontal,
- if
, then the line is downward-sloping.

Furthermore,
- the more positive the gradient, the steeper the increase,
- the more negative the gradient, the steeper the decrease.
The value fixes the position of the line:
- if
is positive, then the
-intercept of the line is positive.
- if
is negative, then the
-intercept of the line is negative.
- if
is zero, then the line passes .
If is positive (resp. zero or negative), then the
-intercept of the line is positive (resp. zero or negative).

In short,
describes the steepness of the line,
fixes the position of the line.
Definition 2. Define a point as a position in space described by a pair of real numbers, denoted , called the coordinates of the point.
Lemma 1. If two points and
with
lie on a non-vertical straight line with gradient
, then
Proof Sketch. Let the non-vertical straight line have equation . Substituting the two pairs of values gives us the equations
We leave it as an exercise to check that
Lemma 2. The equation of a non-vertical straight line passing through the point with gradient
is given by
Proof Sketch. Using Lemma 1, any point that lies on the straight line must satisfy the equation
Hence, .
Example 6. You discover that:
people are willing to pay
per fidget spinner,
people are willing to pay
per fidget spinner.
Let represent the price that
people are willing to buy (of course, one fidget spinner per person).
Stating your assumptions, determine a reasonable relationship between and
.
Solution. We can picture the two situations in the graph below.

By assuming a straight-line (i.e. linear) graph, we will first apply Lemma 1 using the points and
to calculate its gradient:
Since the straight line passes through , by Lemma 2, it has the equation
Hence, .
Definition 3. A graph is a vertical line with -intercept
if it is continuously drawn using the equation
.

Example 7. The line corresponds to the
-axis and the line
corresponds to the
-axis.
Definition 4. A graph is called a straight line if it can be continuously drawn using the linear equation , where
are not both zero.
Theorem 1. A graph is a straight line if and only if it is either a vertical line or a non-vertical straight line.
Proof Sketch. We notice either or
:
- Using Definition 3,
holds if and only if the graph is a vertical line.
- Using Definition 1,
holds if and only if the graph is a non-vertical straight line.
The complete proof using the definitions is left as a good exercise in algebraic manipulation.
Remark 2. This blog post is inspired by ideas in business and economics:
- Example 3 pictures the supply curve: how much you are willing to pay in order to sell
fidget spinners.
- Example 6 pictures the demand curve: how much people are willing to pay in order to buy
fidget spinners.
Let’s now draw Example 3 and Example 6 on the same graph.

What is the maximum number of fidget spinners that would be worth selling?
Obviously, when the two graphs intersect!
By using our eyeballs (i.e. inspection), the point of intersection has coordinates . However, we will explore this idea more systematically next time without inspection by solving simultaneous equations.
—Joel Kindiak, 27 Sept 25, 1450H
Leave a reply to Baby Linear Algebra – KindiakMath Cancel reply