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 :)
Vocab
The things you sum together are called terms. The things that multiply with each other are called factors.
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,
a+1a+1−1=1b=1b−1=1b−11=1b−1
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.
We multiply by the reciprocal to get rid of the denominator in the complex fraction
=x23⋅x41=x2+x43⋅1=x2+43
Cross Multiply
When encountering something like,
410=6x+6
And then hearing “cross-multiply” what they’re saying is to get the 410 to the other side of the equation then you have to multiply itself by its reciprocal (inverse) 104 to remove it from the left side then do the same to the right side to maintain equilibrium.
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?
We usually think it’s a single number, which is true!
However, when we visualise it as a fraction we represent it as
2=12
Because, how many 2s go into 1? Itself, right?
And so when thinking about
2+3
We’re saying
2+3=12+13=15=5
Reduce To Lowest Terms
To visually see how we cancel out and simplify rationals let me show you an example,
4521=5⋅3⋅37⋅3=157
Or by factoring the GCF,
x2+4x+43x+6=(x+2)(x+2)3(x+2)=x+23
Multiplying & Dividing
3254=54⋅23=5⋅24⋅3=1012=2⋅52⋅6=56
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,
67−154
We can get the common denominator by 6⋅15=90 but we want the least common denominator,
615=2⋅3=3⋅5
And so we get every element once of this set, {x∣x∈{2,3,3,5}}={2,3,5}
creating LCD=2⋅3⋅5=30
Then to get our rationals to become equal we must multiply the denominators by their missing factors,
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,
2p54=81
First, we isolate the part of the equation w/ 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?
32+53
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.
Then we can simplify the right fraction since there are 23s in 6.
53⋅2
This is also represented as
53⋅12
Which gives us
5⋅13⋅2=56
Dividing Fractions
What if we had a fraction divided by another fraction (a complex fraction)?
Let’s start by dividing two real numbers.
6÷2=26=3
When we apply the same logic to two fractions we get
72÷53=(53)(72)
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
(53⋅35)(72⋅35)
And then we’re left w/
72⋅35=2110
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.
53(x)=y
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:
35⋅53(x)1(x)x=35(y)=35(y)=35(y)
To continue, let’s use the reciprocal in a complex fraction. To switch the division sign to multiplication we must inverse the fraction too.
y(11x)=11x÷1y=11x⋅y1=11yx
Exponents
Exponents are replicating machines. The number n represents how many times we double our base b, e.g. bn 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/ x2 (e.g., a square), three dimensions are x3 (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?
20
We intuitively think of exponents as for each +1 to n in 2n there is another copy of the base, in this case, 2, e.g.,
21=222=2⋅2
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
21=22−1=2⋅2÷2=2⋅22=2⋅1=2
Now using this logic, you’ll notice what happens when we visualise the 0 exponent
20=21−1=2÷2=22=1
Negative Exponents
We know that a positive exponent is the basemultiplied by itself n times,
23=2⋅2⋅2
So what is the inverse of an exponent, what is the opposite of multiplication? Division!
Therefore, a negative exponent is the same as the basedivided by itself n times,
2−3=2÷2÷2
We can extend this intuition further with
2−3=231
Let me show you how to prove it!
By using the product rule we get the 0 exponent, 1,
23⋅2−3=23+(−3)=20=1
And since we know 1 can be ditto’ed into anything we can say,
1=2323
We therefore can use our knowledge of mathematical equilibrium to modify this equation,
23⋅2−32323⋅2−32−3=1=231=231
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.
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,
(2⋅3)2(2⋅3)2=2⋅2⋅3⋅3=4⋅9=36=(6)2=36
Properties
There is an interesting property when it comes to exponents, being able to reverse engineer the base b with the exponent’s reciprocal!
bn=a⟷b=an1
How do we get to this point?
We took the root of the fraction (the exponential reciprocal).
We can use the exponential power rule,
(bn)m=bnm
to prove this equality
b(b)nbn=an1=(an1)n=ann=a1=a
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.,
2−1=2−1=−1+2=−1=1
Roots solve for the base (b), using the exponent n and the result!
For something like,
38
We read this as: “What number when multiplied by itself 3 times gives me 8?”
23=2⋅2⋅2=8
If we know what the result is and the exponent that was used we can find the base, in this case 2.
38=831=2
But what is the intuition behind the exponent of 31?
(831)3=831⋅3=831⋅13=83⋅11⋅3=833=81=1⋅8=8
Another way to view roots:
3=327=(3)21(27)=91(27)
Root Exponent
If we wanted to take the sqr of x^5 then the exponent will be the top of the fraction reciprocal.
x5=25x
Intuition
What if we had
anm=a1m⋅n1=am⋅n1=(am)n1=nam
Now I’m going to go back 1 step and go an alternative route just to show some intuition
=(am)n1=(an1)m=(na)m=(na)m
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,
252−3=25231=(25)31=531=1251
Geometric Intuition
The intuition goes further. What actually is 2? That is, what is the number that when multiplied itself results in 2? Well, we know that x2 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 2. 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,
log281=231=2−3
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,
log10(1,000)=3=13
Meaning we multiply 10 by itself 3 (10 * 10 * 10) times to get 1_000.
Software engineers use mostly
log2(x)
because they work in binary, 1 or 0!
Equality
What if we swapped the base and the result?
log1,000(10)=31
We get the inverse exponent.
Since we know the original log = 3 we can actually replace 3 with log10(1,000) to create
log1,000(10)=log10(1,000)1
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
25=32
Then the inverse would be
log2(32)=5
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?
log21
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
log2(21)
Well, we can think about how the following exponent works,
21=2=12
And so if we inverse the 1 into -1 then we get the reciprocal (opposite)
2−1=211
Adding Logs
Let’s think of
log216
It’s asking, what is n in 2n=16?
Let me show you two ways this intervention applies
It’s a bit counter-intuitive at face value. Hopefully, this clears it up!
Changing Base
If we had a complex log that has a large base then we could simplify it by changing the base to make the calculations easier. We can also use this technique to solve equations where logs with different bases are set equal to each other.
Let us take a look at the proof behind this
logb(x)x=n=bn
We apply the new log base to both sides to make it equal. We also utilise the log property to get the exponent to escape the log
loga(x)=loga(bn)=n⋅loga(b)
Now we’re able to use our algebraic knowledge of multiplication and division to move our log to the other side by dividing it to cancel from the right and become the denominator of the left
Another reason to change the log base is to enable calculators and computers to perform less heavy computations.
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,
15+25x=515+25x=3+5x
These are our secondary factored terms, so now we put the GCF 5 as a distributer encasing them, i.e.,
=5(3+5x)
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.,
x3+3x2+4x+12=x2(x+3)+4(x+3)=(x2+4)(x+3)
Factor Quadratics
If we have something like
10x2+11x−6
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
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
a3−b3=(a−b)(a2+ab+b2)
The sum is the inverse sign for the first and second term and then positive down the line
a3+b3=(a+b)(a2−ab+b2)
Cannot Factor?
What if we had something we couldn’t factor all the way, such as:
x(x+2)x2+2xx2+2x−7=0=7=7
Then our only option is to use the quadratic formula
Let’s start by converting a vertex form into a standard form quadratic
f(x)=−4(x−3)2+1=−4(x2−6x+9)+1=−4x2+24x−35
Vertex Form
Let’s convert this standard form quadratic into vertex form,
g(x)=2x2+8x+6
First, we need to find the x value of the vertex w/ the formula
2a−b=2(2)−8=−2
The vertex’s x formula 2a−b comes from the quadratic formula
2a−b±b2−4ac
And then to get our y value we plug that x value into g(x)
g(−2)=2(−2)2+8(−2)+6=8−16+6=−2
So the quadratic in vertex form is
g(x)=a(x−h)2+k=a(x−(−2))2+(−2)=a(x+2)2−2
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!