No matter how large each side of the triangle is in absolute terms, as long as the ratio of the sides relative to each other stays the same, the angle is the same.
4.A.1
(A)
sin34=8xx=8sin34≈4.47
tan38=5yy≈3.91
cos72=15xx≈4.64
tan54=x6x=tan546≈4.36
cos48=x3x=cos483≈4.48
sin28=y4y≈8.52
(B)
tana=47tan−1(tana)=tan−1(47)a=tan−1(47)a≈60.3
sinb=85b=sin−1(85)≈38.7
cosc=96c=cos−1(96)≈48.2
sind=108d=sin−1(108)≈53.1
Pythagoras' theorem
A2+B2=C2
set terminal svg size 500,500 enhanced font 'Verdana,10'
unset border
$dataTri << EOD
0 0
3 0
3 2
0 0
EOD
$dataA << EOD
3 0
5 0
5 2
3 2
3 0
EOD
$dataB << EOD
0 0
0 -3
3 -3
3 0
0 0
EOD
$dataC << EOD
0 0
3 2
1 5
-2 3
0 0
EOD
set noxtics
set noytics
set xrange [-3:6]
set yrange [-3.5:5.5]
set nozeroaxis
set xlabel ""
set ylabel ""
set style fill solid 0.1
set label "A" at 2.9,1 right
set label "B" at 1.6,0.1 center
set label "C" at 1.6,0.9 center
plot "$dataTri" with filledcurves notitle, "$dataA" with filledcurves notitle, "$dataB" with filledcurves notitle, "$dataC" with filledcurves notitle
4.A.2
42+72=c2c=42+72≈8.06
52+b2=82b≈6.24
a2+62=92a≈6.71
82+b2=102b=6
Do you need to remember all of the trig identities?
You should memorize a bunch of the common ones and the steps by which they are derived, and you should be comfortable enough with them to derive more obscure ones on your own if asked.
At the bare minimum you should know:
The pythagorean identity
formulas for tan, sec, csc, and cot in terms of sin and cos
Pretty much every trig identity can be derived from eix=cos(x)+isin(x).
However, it is useful to memorize some of the common ones because they will help you a lot in calculus and beyond to quickly identify when an expression can be simplified.
https://math.stackexchange.com/a/1341391
My favourite trick: I don't remember any of them. :-) The only thing I have in mind is that this matrix (cosθsinθ−sinθcosθ)
rotates vectors in the plane by an angle θ and matrix multiplication is the same as composition.
Remember: don't try to remember all of these trig identities at once. First see how much you'll actually need them in the future. Computers (SageMath, Wolfram Alpha, etc.) can do a lot of the work for you when solving problems, and if you don't have a computer with you (e.g. when you're doing back-of-the-envelope calculations or just playing around), then maybe you'll get by with only remembering a few identities.
The right way to learn math is breadth-first, not depth-first. You need to
survey the space, learn the names of things, figure out what's what.
I've found it's much easier to learn and appreciate geometry and trig after you understand what exactly math is — where it came from, where it's going, what it's for. No need to dive right into memorizing geometric proofs and trigonometric identities.
For computer scientists, 95% or more of the interesting math is discrete: i.e., math on the integers.
He also wrote that the following are the most important branches of mathematics
for programmers:
Discrete math
Probability (which is related to discrete math and set theory)
Statistics
Algebra and linear algebra
Mathematical logic
Information theory and Kolmogorov complexity
Geometry, trigonometry, differentiation, integration, conic sections,
differential equations, and their multidimensional and multivariate versions
— these all have important applications. It's just that you don't need to
know them right this second. So it probably wasn't a great idea to make you
spend years and years doing proofs and exercises with them, was it? If you're
going to spend that much time studying math, it ought to be on topics that
will remain relevant to you for life.
Properties of triangles
Remember:
The sum of the angles of a triangle is always 180
A triangle with two equal sides is called isosceles
A triangle with three equal sides is called equilateral
If two triangles have exactly the same angles, they are similar (but not necessarily congruent)
All circles are similar to each other
All squares are similar to each other
All equilateral triangles are similar to each other
If two triangles have exactly the same sides AND angles, they are congruent. In other words, they can be perfectly overlayed on top of each other (but might need to be rotated or flipped first).
What information do you do need to know of a triangle to be able to tell that two triangles are congruent?
In my mind it's easiest to rephrase the question as "how do you find out the
shape of a triangle and the absolute lengths of its sides?". Knowing one of the
following should tell me the shape and absolute size of a triangle:
Two angles and one side
Two sides and one angle
Three sides
But checking from Wikipedia, the above is not quite right.
Even if you know the angle A and the sides a and b, you don't know what
shape the triangle has, because there are two possibilities for angle C
for the same side a length.
To know if two triangles are congruent, you need to know one of these:
SAS: side-angle-side
SSS: side-side-side
ASA: angle-side-angle
In the above triangle I only know side-side-angle (SSA a.k.a. ASS), which isn't by itself enough to tell if two triangles are congruent, but there are some special cases when SSA can be used to tell congruence with some additional information.
The exterior angles of any shape always add up to 360:
The sum of the interior angles depends on the number of sides in the shape. Each new side adds 180 degrees. A triangle is 180 degrees, a square is 360 degrees, etc.
Remember some special cases of right-angled triangles:
The 90∘,45∘,45∘ triangle (isosceles):
Pythagoras' theorem: 12+12=c2
c=2
sin45=ca=21
cos45=cb=21
tan45=ba=1
The 90∘,60∘,30∘ triangle (i.e. half of an equilateral triangle):
Pythagoras' theorem: a2+12=22
a=3
sin60=cos30=23
cos60=sin30=21
tan60=3
tan30=31
4.A.h
sina=hycosa=hxtana=xy
sinb=hxcosb=hytanb=yx
Remember these:
sina=cosbcosa=sinbtana=tanb1Remember: reciprocal of p is 1/pcosasina=tana
And especially remember these:
y2+x2=h2Pythagoras’ theoremh2y2+h2x2=h2h2=1Divide everything by h2sin2a+cos2a=1
Here's the reasoning for the above squared functions:
A thought: tana is basically the slope m in the line equation y=mx+c.
y=tan(a)x+c
m=tana=x2−x1y2−y1
cosasina=tana
sina=y2−y1cosa=x2−x1
The sine rule, a.k.a. the law of sines
Remember: the sine rule allows you to solve problems of any type of triangle, even if it's not a right-angled triangle, as long as you know at least one angle and its opposite side.
You basically split a triangle into two right-angled triangles, and solve each of them separately with the sin function.
(It's customary to write the same letter for the angle and its opposite side, e.g. B and b.)
△ABH:sinB=chh=csinB△ACH:sinC=bhh=bsinC
Therefore:
h=csinB=bsinC
Rearrange:
csinB=bsinCsinCcsinB=bsinCc=sinBb
The sine rule:
sinAa=sinBb=sinCc
It doesn't seem to be possible to split the triangle into two right-angled triangles in any other way than through A. This is more obvious when I draw a flatter triangle:
Drawing a line through B or C doesn't give me two right-angled triangles.
Based on those values, my guess about the triangle's shape was wrong. It would look like this instead:
Note: the book says that both triangles are actually correct. A calculator gives the same value for A=sin54.8° (the "correct" triangle) and A=sin125.2° (my original triangle). The book will explain later why.
Here I have the same situation as in (b): I know SSA (side-side-angle), which by itself isn't enough to know the shape of the triangle.
But playing around with the triangle, I can't see how it could have any other shape. Wikipedia tells me why:
If two triangles satisfy the SSA condition and the length of the side opposite the angle is greater than or equal to the length of the adjacent side (SSA, or long side-short side-angle), then the two triangles are congruent.
Here the angle is C, and the length of the side opposite the angle is 9, and the length of the adjacent side is 5. Therefore I can tell the shape of the triangle. (I assume that whenever I can test that two triangles are congruent, I can also tell the exact shape of the two triangles.)
Therefore a triangle's area can be written as e.g. 21a(csinB), i.e. 21acsinB.
In full, the area of a triangle can be written in the following ways:
21ah=21absinC=21acsinB=21bcsinA
This allows you to simply multiply two sides (e.g. bc), halve it, and then multiply that by the sine of the angle that connects those two sides (e.g. sinA).
That works for a right-angled triangle too, since sin90°=1.
The cosine rule, a.k.a. the law of cosines
If you don't know an angle and its opposite side, then you can't use the sine rule — but you can use the cosine rule.
Start in the same way as with the sine rule: split the triangle into two right-angled triangles, and then solve each of them separately with the cos function.
Trying to derive the cosine rule by myself
Assuming I know the sides a,b,c, and I want to know the angles, I need to know what x is.
I saw that the book uses Pythagoras' theorem to arrive at the cosine rule, so I'll try that.
cosB=cxcosC=ba−x
h2+x2=c2Left side triangleh2+(a−x)2=b2Right side triangle
This is correct, but note that this is not how the cosine rule is usually stated. See below.
cosB=cxx=ccosB
c2=h2+x2Pythagorean theorem for the left side trianglex2=c2−h2
b2=h2+(a−x)2Pythagorean theorem for the right side triangleb2=h2+a2−2ax+x2(Substitute x2 with c2−h2)b2=h2+a2−2ax+c2−h2(h2 cancels out)b2=a2+c2−2ax(Substitute x with ccosB)b2=a2+c2−2accosB
Remember: the cosine rule should be easy to remember like this:
When a side is the subject of the equation, the equation always takes the cosine of the side's opposite angle
The other two sides fill out the rest of the terms in the equation
Things to remember about the sine rule and cosine rule
Both rules represent the relationship between an angle and its opposite side
The sine rule can result in ambiguity about the triangle's shape: two different angles can give the same ratio
The cosine rule can not result in ambiguity, and is therefore safer to use. The cosine of an obtuse angle is negative, and the cosine of an acute angle is positive, which removes any ambiguity.
The cosine rule is basically the Pythagorean theorem, with a subtraction at the end, e.g. −2bccosA. With a right-angled triangle, cosA=cos90°=0, and the subtraction becomes 0, and the equation becomes the Pythagorean theorem.
Remember some terminology:
90°: right angle
<90°: acute angle
>90°: obtuse angle
4.B.2
(1a)
sinC5=sinB7Sine rule
I don't know C nor B, so I'll need to use the cosine rule instead.
Here I need to solve three unknown angles. I know all three sides. I should be able to use the sine rule here, after I've used the cosine rule to solve one of the angle-and-opposite-side pairs.
Remember: always try to achieve a closed-form solution (exact value), rather than a numerical solution (approximate value) if possible. And it's probably good to also delay arithmetic, and to factorize and simplify expressions instead, like above. At first I wrote the above solution as an approximate decimal value, but I noticed that my calculation had an error (i.e. the wrong solution). Fixing that error allowed me to find a clean, closed form solution (i.e. an exact fraction value).
set noxtics
set noytics
set xrange [-3:6]
set yrange [-1:5]
$data << EOD
0 0.7
0 3.5
1.4 1.4
EOD
set label "(0, c_a)" at 0,0.7 offset 1.5,0
set label "(0, c_b)" at 0,3.5 offset 1.5,0
set label "(x_a, y_a)" at 1.4,1.4 offset 1.5,0
A(x) = 0.5 * x + 0.7
B(x) = -1.5 * x + 3.5
plot A(x), B(x), "$data" with points lt 6 pt 7 notitle
You know everything about line A. About line B you only know that it is perpendicular to line A. Lines A and B cross at (xa,ya). How do you find out what cb is for a given value of xa?
Earlier I solved this by using the line equation, and I ended up with cb=maxa+ca+maxa.
How to solve this with trigonometry?
I see many triangles, two of which are these:
set noxtics
set noytics
set xrange [-3:6]
set yrange [-1:5]
$data << EOD
0 0.7
0 3.5
1.4 1.4
EOD
$data2 << EOD
0 0.7
1.4 0.7
1.4 1.4
EOD
set label "(0, c_a)" at 0,0.7 offset 1,-0.7
set label "(0, c_b)" at 0,3.5 offset 1.5,0
set label "(x_a, y_a)" at 1.4,1.4 offset 1.5,0
set label "h_a" at 0.6,1.3
set label "h_b" at 0.1,2
set label "{/Symbol a}" at 0.4,0.82
set label "{/Symbol b}" at 0.1,3
set style fill solid 0.1
A(x) = 0.5 * x + 0.7
B(x) = -1.5 * x + 3.5
plot A(x), B(x), "$data" with filledcurves lt 2 pt 7 notitle, "$data2" with filledcurves lt 1 pt 7 notitle
ha2=xa2+(ya−ca)2Pythagoras’ theorem
I realize that α=β.
To get hb, I need to know at least β and ha. The sin equation uses β and ha, so I should be able to rearrange it to get hb.
Could I have solved this easier? The two triangles are similar — you can overlay them (with some rotating, flipping and scaling). After you know ha, you could just scale it by the size difference of the two triangles.
set noxtics
set noytics
set xrange [-3:6]
set yrange [-1:5]
$data << EOD
0 0.7
0 3.5
1.4 1.4
EOD
$data2 << EOD
0 0.7
1.4 0.7
1.4 1.4
EOD
set label "(0, c_a)" at 0,0.7 offset 1,-0.7
set label "(0, c_b)" at 0,3.5 offset 1.5,0
set label "(x_a, y_a)" at 1.4,1.4 offset 1.5,0
set label "h_a" at 0.6,1.3
set label "h_b" at 0.1,2
set label "{/Symbol a}" at 0.4,0.82
set label "{/Symbol b}" at 0.1,3
set style fill solid 0.1
A(x) = 0.5 * x + 0.7
B(x) = -1.5 * x + 3.5
plot A(x), B(x), "$data" with filledcurves lt 2 pt 7 notitle, "$data2" with filledcurves lt 1 pt 7 notitle
This approach (inspired by understanding that the two triangles are similar) was pretty much the same as the earlier one, but this one felt a little bit more controlled or intuitive. Each term was successively decomposed into a more complicated expression, and the whole thing was then simplified.
set terminal svg size 408,400 enhanced font 'Verdana,10'
set xrange [-1.2:1.2]
set yrange [-1.2:1.2]
set xtics 1
set ytics 1
set xlabel ""
set ylabel ""
set noborder
set object circle at 0,0 radius 1 lw 0.5 fc rgb "black"
set style fill solid 0.1
$triangle << EOD
0 0
0.707 0.707
0.707 0
EOD
plot $triangle with filledcurves notitle
Remember the equation of the circle (that is centered on the origin): x2+y2=r2
If the circle is not centered on the origin, but instead on point (a,b), you need to offset it. The equation becomes (x−a)2+(y−b)2=r2, or:
(x2−2ax+a2)+(y2−2by+b2)=r2
In the unit circle r2=1. Let's see what value of y I get for specific values of x:
x2+y2=1y2=1−x2f(x)=1−x2
f(1)=0f(0)=1f(−1)=0f(0.5)=0.866!!f(0.707)≈0.707??
set terminal svg size 408,400 enhanced font 'Verdana,10'
set xrange [-1.2:1.2]
set yrange [-1.2:1.2]
set xtics 1
set ytics 1
set xlabel ""
set ylabel ""
set noborder
set object circle at 0,0 radius 1 lw 0.5 fc rgb "black"
set style fill solid 0.1
$data << EOD
1 0
0 1
-1 0
0.5 0.866
0.707 0.707
EOD
plot $data with points pt 7 notitle
Why 0.707? The circle's equation is x2+y2=r2. In a unit circle that's x2+y2=1. If you want x and y to be equal (to get exactly 81 of a turn), then x2=y2, so we have x2+x2=2x2=1. Solve for x:
2x2=1x2=21x=21≈0.707
At this point I became a bit demotivated with trigonometry and/or the current book. I decided to switch to Stitz & Zeager's precalculus book.