Unlocking Algebra (WIP)
Want to learn math but not sure how to start? Feel like you're bad at math? Or maybe, you know different parts of math but there are holes in your mental model. Follow DeGatchi along this ride to get an intuition of how math works algebraically, as he once was 'bad at math' and had completely fragmented mental math models.
Foreword
Hi anon! Congratulations on being curious and dropping your ego :) I created this article solely to solidify my intuitive understanding of algebra by explaining it in public.
Mathematics is the gateway to further understanding the universe and the biggest enabler in the current world in conjunction with programming. I was always hesitant to learn it because I never saw its potential. Now, after committing to pursuing AI, I see its power and hope to rub off this passion I’ve developed for it. It explains dynamic changes, relationships, algorithms, and everything we can see and think of can be represented with math. It’s a tool only the trained can wield where the world morphs into its true self.
Rant over. The reason behind this is that I’m incredibly curious to see what kind of explanatory power differential geometry and differential equations hold. The intuitive understanding of the following topics is of the same importance as multiplication/division and addition/subtraction in the non-linear world, and thus why it’s a must to understand intuitively. This article is merely a way to truly understand and reference when I slip up, as a cue mechanism to remind my neurons to stop forgetting (if they do).
All-in-all, I hope this helps you in some way, through inspiration or by learning something :)
Mathematics is the abstract science of measure and number.
A number is composed of units, whether these are whole or fractional parts, rather than strictly being a multiple of whole units.
A fraction is a number apart of another number. A smaller number that measures a larger one either as a whole or through its parts.
Algebra sacrifices the 100% precision of geometry for generality. Therefore, algebra is a weaker form of geometry.
Vocab
The things you sum together are called terms. The things that multiply with each other are called factors.
Whenever we have a set we say an item, e.g., x
, is a part of the set we use the in
notation denoated as
If we have 2 sets,
The combination of both sets, or union, would be denoted with a cup symbol. Think of it as all the unique items in the sets are scooped up.
The inverse is the intersection. What are overlapping items in both sets? Think of it as spill all the non-duplicate items,
You’ll end up seeing these things very often so it’s good to understand them early on!
Equilibrium
If you understand this one rule the entirety of mathematical manipulation will begin to click: You may modify the equation as long as both sides are still equal.
This means you can do anything as long as the equilibrium is true.
For example,
What we do on one side we do to the other to maintain equilibrium!
The goal is to transform the equation while maintaining its truth value. Every step should result in an equation that is equivalent to the original.
Fractions
Fractions can be seen with the perspective of [number][type]
. To give you an idea what I mean heres an example [1][million] + [2][million] = [3][million]
. When we think of adding fractions together we would say [1][forth] + [2][forths] = [3][forths]
aka . Then if we try to add 2 things like [1][forth] + [2][thirds] = ?
we notice that they aren’t the same type…So we must make them the same type by factoring, using both original denominators to create a new number, e.g., 3 * 4 = 12
and then multiplying the numberators by the opposite number, so 2/3
becomes 2(4)/3(4)
and then we can use that notation of [number][twelfths]
! Easy as pie!
Another example could be [number][x^2] + [number][x^2]
, the same principle applies!
Factoring is quite interesting. It’s the lowest set numbers used to create another number, e.g, 12 = { 2, 2, 3 }
because 2 * 2 = 4
and 4 * 3 = 12
.
An example of fractions would be,
Underlying Syntax Meaning
It may seem obvious but you need to remember that something like 3x = 3 * x
.
This comes in clutch when dealing with something like this:
We start by inversing the negative exponent,
We multiply by the reciprocal to get rid of the denominator in the complex fraction
Cross Multiply
When encountering something like,
And then hearing “cross-multiply” what they’re saying is to get the to the other side of the equation then you have to multiply itself by its reciprocal (inverse) to remove it from the left side then do the same to the right side to maintain equilibrium.
Alternative Routes
There are many ways to solve equations, but only a deep understanding of the fundamentals allows you to go off and figure out how to. As long as you abide by the rules of mathematics you can do anything, remember?
So an alternative way to solving the above is,
Fractions
When we think of the number
We usually think it’s a single number, which is true!
However, when we visualise it as a fraction we represent it as
Because, how many 2
s go into 1
? Itself, right?
And so when thinking about
We’re saying
Reduce To Lowest Terms
To visually see how we cancel out and simplify rationals let me show you an example,
Or by factoring the GCF,
Multiplying & Dividing
Add & Sub
Simple Example
This is a bit more complicated bc we have to have a common denominator (preferred least common denominator) to apply to add or sub. They need to be the same type of programming.
Lets start easy,
We can get the common denominator by but we want the least common denominator,
And so we get every element once of this set, creating
Then to get our rationals to become equal we must multiply the denominators by their missing factors,
Complex Example
Let’s do a more complex one:
The LCD is found by
which is
Then we multiply our denominators by whatever parts of the LCD they are missing
Rational Equations
Standard
Now that we have the rules of rationals down, we can try to solve
First, we find the LCD. Since the denominators have no factors in common we simply multiply them together to get
Then we multiply the LSD to both sides to make the types the same, allowing us to clear the denominator,
Killing off the denominator is the entire point of multiplying each rational with the LCD. You multiply by something that removes them so you no longer deal with the denominators.
Sometimes you’ll get an extraneous solution, meaning an x
makes a denominator in the original equation going to 0
. You don’t use it and hopefully the other x
will work.
Fracitonal Exponent
We now have the intuition for exponents down. But there is a slight trick to increase our intuition. Solve,
First, we isolate the part of the equation w/ the fractional exponent
Then we get rid of the fractional exponent
Then you check your answers to see if any make the denominator 0
, to which you don’t include it in your solution set.
Different Denominators
But what if we had different denominators?
Then we find the common factor between the two, meaning what number do both 3
and 5
create that they share? [3, 6, 9, 12, 15]
for 3
and [5, 10, 15]
for 5
, therefore we multiply both to get them to the 15
denominator. And of course, whatever you do to the bottom you must do to the top to make them equal.
Multiplying Fractions
What if we had
Then we can simplify the right fraction since there are 2
3
s in 6
.
This is also represented as
Which gives us
Dividing Fractions
What if we had a fraction divided by another fraction (a complex fraction)?
Let’s start by dividing two real numbers.
When we apply the same logic to two fractions we get
And then we multiply the denominator by its inverse to turn it into a 1
.
Remember, we must apply to the top what we do to the bottom
And then we’re left w/
Reciprocals
When moving a term from one side of the equation to another we need to keep equilibrium to do so. With fractions, the concept of the reciprocal is to “reciprocate” or mean the same thing when moving it. This means whatever we do on one side we must do the opposite on the other side.
With fractions we want to = 1
.
The way we cancel out the fraction on the left side is by multiplying it by its inverse and then doing the same on the other side, as so:
To continue, let’s use the reciprocal in a complex fraction. To switch the division sign to multiplication we must inverse the fraction too.
Exponents
Exponents are replicating machines. The number n
represents how many times we double our base b
, e.g. means we multiply b
by itself n
times.
Intuition
When thinking of exponents we must think of the area of a shape. The power of two is the area of a 2-dimensional shape represented w/ (e.g., a square), three dimensions are (e.g. a cube) and so on. The reason we use squares for measuring is because the decimals of accuracy are infinitesimal vs. a regular whole number such as 2
. This is why powers are regularly for accurate measurement.
Zero Exponent
What if we have an exponent of 0
?
We intuitively think of exponents as for each +1
to n
in there is another copy of the base, in this case, 2
, e.g.,
Remember, to remove multiplication we must divide and so to subtract an n
we must divide by the base.
So we can do the following
Now using this logic, you’ll notice what happens when we visualise the 0
exponent
Negative Exponents
We know that a positive exponent is the base
multiplied by itself n
times,
So what is the inverse of an exponent, what is the opposite of multiplication? Division!
Therefore, a negative exponent is the same as the base
divided by itself n
times,
We can extend this intuition further with
Let me show you how to prove it!
By using the product rule we get the 0 exponent, 1
,
And since we know 1
can be ditto’ed into anything we can say,
We therefore can use our knowledge of mathematical equilibrium to modify this equation,
We can think of negative exponents in the numerator as positive exponents in the denominator and vice versa!. Think of it as a transaction: you pay the opposite of what you are to move to the other side.
Adding Exponents
You should have noticed that
Quotient Property
It turns out that when we subtract 2 exponents of the same base then it’s the same as dividing them! Let me show you with a proof
Therefore, we can conclude that
Distributing Exponents
If we had
You cannot distribute an exponent over add or sub because the exponent means multiply the parentheses n
times. If it was division or multiplication inside we could distribute.
For example,
Properties
There is an interesting property when it comes to exponents, being able to reverse engineer the base b
with the exponent’s reciprocal!
How do we get to this point?
We took the root of the fraction (the exponential reciprocal).
We can use the exponential power rule,
to prove this equality
Roots/Radicals
To continue with intuition we need to know what roots are.
These are the opposite of exponents, just as division is the opposite of multiplication. But instead of positive and negative exponents, it’s inversing the fraction. This is why the exponent rules apply to radicals. E.g.,
Roots solve for the base
(b), using the exponent n
and the result
!
For something like,
We read this as: “What number when multiplied by itself 3 times gives me 8?”
If we know what the result
is and the exponent
that was used we can find the base
, in this case 2
.
But what is the intuition behind the exponent of ?
Another way to view roots:
Root Exponent
If we wanted to take the sqr of x^5
then the exponent will be the top of the fraction reciprocal.
Intuition
What if we had
Now I’m going to go back 1 step and go an alternative route just to show some intuition
We can swatch the m
and the fraction because they’re going to equal the same thing regardless of the order.
Let’s do an example,
Geometric Intuition
The intuition goes further. What actually is ? That is, what is the number that when multiplied itself results in 2
? Well, we know that is the area of a square. Therefore, to discover what creates the area of our square, 2
, we need to have all four sides be equal to . This intuition goes beyond this 2nd dimensional power into fractional exponents, 3, 4, 5, etc. We may not be able to conceive of them perceptually but they do indeed exist.
Logarithms
Logarithms ask: What exponent should the base
have to get the input?
An example that will spark the intuition from our roots and fractional exponents is,
We can see from this graph that g(x)
represents the log graph. It can never to a negative x
because there is no exponent that can result in a negative number, and the same with 0
.
Another example is,
Meaning we multiply 10
by itself 3
(10 * 10 * 10
) times to get 1_000
.
Software engineers use mostly
because they work in binary, 1
or 0
!
Intuition
The best intuition is this:
We do the plus minus because both the positive and negative versions of a number multiplied themselves will create the pre-rooted number.
When we think of these two variables, lets think of them as normal variables x
, then we can say we have 2
of them but remembering how exponents act when multiply two powers we actually add them together
We use the reverse logic with logs bc they’re the inverse of exponents. So when adding two logs we actually multiply them, to get the product. And when we think of x^2
it’s really two lots of x
which is why we are able to put the 2
in front of the log.
We cannot have logs of 0
or negative numbers because there is no base to the exponent of n
that can even create 0
or a negative number. It’s impossible!
If the input
of a log is a fraction then the output
will always be a negative number, since we’re scaling down. If the base
is larger than the input
then the output
will be a fraction and the opposite is true for a whole number as the output
.
What if the bases are different?
Well if addition converts to multiplication then subtraction must correspond to division!
But what if the log bases are different?
Log Types
Natural log, e
, represents 10
. Why 10
though? It makes scaling the magnitude of things simple allowing for getting down to decimals extremely easy or scaling up to building lengths intuitively easy.
A log of base 2
represnts bits in computers, 0
and 1
, which are 2
types. So whenever we deal with bytes (8 bits) we can scale up and down. Its the digitalised version of the natural log.
Essentially, these common logs are catered for the field of use to make management of the underlying measurements a lot easier intuitively for decimal precision.
What if we swapped the base and the result?
We get the inverse exponent.
Since we know the original log = 3
we can actually replace 3
with to create
Pretty fascinating stuff, eh?
So, we know roots solve for the base b
, but when we have the base and the result logarithms allow us to solve for the exponent n
.
For example, if we had
Then the inverse would be
because the function of the log is: how many times does the base 2
have to be multiplied by itself to result in our input, 32
?
In this case, we have to multiply our base, 2
by itself 5
times to make 32
.
What if we had the following?
We’re asking how many times we have to double 2
to get its original value. To which we get = 0
since we don’t need to double it at all to get it to its size.
But then what happens if we go into fractions, such as
Well, we can think about how the following exponent works,
And so if we inverse the 1
into -1
then we get the reciprocal (opposite)
Equality
Given the following
Do you notice something?
The exact same symbol of is on both sides. This means we can dropped them on both sides bc if we subtract a log from on side we do it to the other and therefore removing from both sides!
Leaving us with
But we have to check our answer bc sometimes it doesn’t actually create an equality! So lets do that
In this case it was correct! It’s not a negative number (which is impossible to solve bc exponents can never make a negative) and it’s equal!
Product Property
Similar to exponent product rule logs have the same property.
If we have something like
And we can prove our product rule by converting the log into an exponent
Power Property
There is an interesting property with logs where you can convert the input’s exponent into a multiplcation outside of the log, like,
Quotient Property
Similar to the exponent property we can follow the last proof with the new feature of combining like logs to form a singular log!
Therefore the quotient rule is exactly the same as the exponent one but w/ the same log being the encasulator!
Change Of Base Property
We usually use this when we want to convert an uncommon base into the core base we normally use in our respected fields, i.e., IRL = base 10, computers = base 2, etc. So when we have log base 3 for architecture IRL we want to convert it to the natural log because it’s much easier to work with for measurement w/ 10s over 3s!
So how do we do this?
Then we convert the log into exponent form
Adding Logs
Let’s think of
It’s asking, what is n
in ?
Let me show you two ways this intervention applies
And
The reason we don’t add the logs as
is because
It’s a bit counter-intuitive at face value. Hopefully, this clears it up!
Factoring
Factoring is by far the most common thing you’ll be doing in algebra. It’s what simplifying an equation is all about. Turn these massive term pieces of shit into simple elegant eye candies!
Greatest Common Factor
The greatest common factor (GCF) is the largest thing that divides each term, e.g,
These are our secondary factored terms, so now we put the GCF 5
as a distributer encasing them, i.e.,
Factor By Grouping
If there are 4 terms, so a 3rd-degree polynomial, then we can section them by factoring with the GCF for the left pair and the right pair. E.g.,
Factor Quadratics
The intuition is a bit unusual but if you have
because if you see a negative then …
If it were to be
If we have something like
and cannot immediately find the factors of what adds up to 11
and multiplies into -6
so we end up multiplying 10 * 6 = 60
and solve for adding up to
# | Adds to 11 | Multiplies to 60 |
---|---|---|
1 | -1 | 60 |
2 | -2 | 30 |
3 | -3 | 20 |
4 | -4 | 15 |
We find our solution w/ -4
and 15
!
Now we can convert our quadratic
Completing The Square
Difference Of Squares
If we have something like
There is no formula for the sum of squares bc it cannot be factored further!
Let’s try a trickier example,
Remember that whenever you square root a non-negative even number you get a plus-minus bc a negative multiplied by another negative of itself creates a positive too! An odd non-negative would only have a single solution.
Difference Of Cubes
The sum is the inverse sign for the first and second term and then positive down the line
Cannot Factor?
What if we had something we couldn’t factor all the way, such as:
Then our only option is to use the quadratic formula
I want to show another example using rationals as coefficients
At this point, we can remove the denominators by using them to multiply everything!
Then we use the quadratic equation!
Quadratics
Standard Form
Let’s start by converting a vertex form into a standard form quadratic
Vertex Form
Let’s convert this standard form quadratic into vertex form,
First, we need to find the x
value of the vertex w/ the formula
The vertex’s x
formula comes from the quadratic formula
And then to get our y
value we plug that x
value into g(x)
So the quadratic in vertex form is
And since our coefficient needs to be the same as the original standard form we replace a = 2
.
End
This was my first, although small, article on mathematics. I’ll be writing more as I progress in my mathematical career to understand deeper. If you have any comments, concerns, etc, feel free to get in contact with me!
Thanks for reading, anon.
Share this Article