6 ms·
Let me teach you a secret: You don't need to memorize any trig identities, you just need to know Euler's formula and one or two more facts: exp(ix) = cos(
by benrbray 6y ago
Let me teach you a secret: You don't need to memorize any trig identities, you just need to know Euler's formula and one or two more facts:
exp(ix) = cos(x) + i*sin(x)
[cos(x)]^2 + [sin(x)]^2 = 1
i*i = -1
That is, the complex number exp(ix), which lies on the unit circle in the complex plane, has real component cos(x) and imaginary component sin(x). Consequently, the line from 0 to exp(ix) in the complex plane makes an angle of x radians with the real axis.
Any complex number can be written as an exponent like rexp(ix), where x is the angle and r is the distance from the origin in the complex plane. Using this understanding, we can interpret complex number multiplication as a rotation in the complex plane:
(a * exp(ix)) * (b * exp(iy)) = ab * exp(i (x+y))
Ok, the above was a digression, let's get to the trig identities. Let's derive the double angle formula. We can start with the point on the unit circle representing an angle of 2x, and use Euler's formula to simplify it one way:
exp(i*2x) = cos(2x) + i * sin(2x)
Ok, we can also use the fact that a^(bc) = (a^b)^c to write the same expression a different way, then FOIL it:
exp(i*2x) = [exp(i*x)]^2
= [cos(x) + i*sin(x)]^2
= [cos(x)]^2 + (i*i)*[sin(x)]^2 + 2i * cos(x) * sin(x)
= [cos(x)]^2 - [sin(x)]^2 + 2i * cos(x) * sin(x)
Now, comparing the two expressions, we see that
cos(2x) + i * sin(2x) = [cos(x)]^2 - [sin(x)]^2 + 2i * cos(x) * sin(x)
Taking real and imaginary parts of both sides, we find that:
cos(2x) = [cos(x)]^2 - [sin(x)]^2
sin(2x) = 2 * cos(x) * sin(x)
This works for most identities you want to derive, and there is a variation for things like cosh and sinh. This trick came in handy on calc 3 exams whenever I couldn't remember the silly trig identities that were required to perform integrals.
- immmmmm 6y agoAs the math teacher at the first year of university once said: "i know two things: [cos(x)]^2 + [sin(x)]^2 = 1 i*i = -1 but can re-derive all the rest"
- eru 6y agoGood luck deriving group theory from that. :) (Though, yes, there's a bit of a connection with group theory, but not enough to help you.)
- dragontamer 6y agoWell, unit-circles over a finite field are a periodic "square". So you gotta redefine the norm from norm = sqrt(x^2 + y^2) into norm = max(x, y). From there, you get extension fields from real vs imaginary already. (Ex: you can form a new extension field from x + y*j, where x and y are complex numbers), which forms a new periodic cycle. I mean, deriving it all is hard because group theory is hard. I'm not sure if its because the tools "aren't there". Some super-AI or super-human probably can derive it all from those given facts.
- eru 6y agoYes, I know about the unit circle. But that's just a way to embed some of group theory. It doesn't actually help you much. (It's similar to how you can use eg set theory to construct the integers. It's possible, but doesn't actually help you prove anything about interesting about integers that you wouldn't have been able to prove without embedding them like this.) > I mean, deriving it all is hard because group theory is hard. I'm not sure if its because the tools "aren't there". Some super-AI or super-human probably can derive it all from those given facts. Yes, but that task wouldn't be made easier by this approach compared to starting from just the group theory axioms instead.
- amelius 6y agoFrom these two facts, you can come to the conclusion that sin(x) == 0 and cos(x) == 1, for any x. I.e., you need to know more.
- filmor 6y agoNo, you can't. You can come to the conclusion that if there exits an x with sin(x) = 0, then cos(x) = 1. The expression as it stands is true for every x \in R without any additional assumptions.
- amelius 6y agoYes, I agree that was badly worded, but in any case you need more than those two equations to do anything meaningful with sin(x) and cos(x).
- laszlokorte 6y agobut you could conclude that cos and sin are both jsut the constant function: x->sqrt(0.5)
- filmor 6y agoNot at all, same reason.
- lrmunoz 6y agoMy math teacher was in love with the Euler's identity written like this: 1+e^(i*pi) = 0 He said it relates the most important numbers and constants of the universe. He had it embroidered and framed on his office wall
- jacobolus 6y ago“Euler’s identity” is a flashy way of stating that a half-turn rotation in the plane is equivalent to a reflection across the center of rotation. This is a fact which can be easily understood by young children. The part that makes the expression flashy is that the rotation is written via its logarithm, which can be represented as the length of a circular arc (“angle measure”). It’s a useful fact to know, but is vastly overrated.
- MayeulC 6y agoWell, as far as I know, cosinus and sinus have relatively little to do with exponential and imaginary numbers, just like imaginary numbers have intrinsically little to do with the 2D plane. I just think of it as a convenient notation since those obey similar composition rules (that probably stem from their odd and even-ness, and taylor series decomposition from there). So you need at least that one, since it is by convention, and not really derivable[1]: exp(ix) = cos(x) + i*sin(x) I personally just use Euler's notation (using exp) as a tool to derive trig formulas, since I know power composition rules quite well already, and those tend to be more useful in general. [cos(x)]^2 + [sin(x)]^2 = 1 Is just the Pythagorean theorem on a unit circle, which also defines sin and cos :) [1] OK, you can look at the taylor series expansion, but you need to remember the derivatives for this.
- dragontamer 6y agocos(x) and sin(x) are just the unit circles applied over the 2-dimesnional real + imaginary axis. Because x^2 + y^2 = 1 defines a unit circle, if you perform x^2 + i * y^2 = 1, you get a unit circle over the real/imaginary planes. Or to put it in a picture: https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Euler%27s_formula.svg/1024px-Euler%27s_formula.svg.png https://upload.wikimedia.org/wikipedia/commons/thumb/7/71/Eu... Remember the definition of sin / cos: https://upload.wikimedia.org/wikipedia/commons/b/bd/Sine_and_cosine_animation.gif https://upload.wikimedia.org/wikipedia/commons/b/bd/Sine_and... ------- Once you realize that "the imaginary axis" is just an arbitrary 2-dimension extension field (and that "imaginary" is a very bad name for it), it becomes way easier to see. ------- Now if you had a 3-dimension graph (real, imaginary, and time), and then you project the unit-circle over the real + time axis, you get a sin (or cos) respectively. ----------- Or to put it another way: there's a periodic nature of i: * i = i * i^2 = -1 * i^3 = -i * i^4 = 1 -- Cycle-length 4 * i^5 = i * i ^ x = i^(x mod 4) (In general) This period itself forms a circle, moving from real-to-imaginary and back. (e^i^x) = (e^(ix)) therefore is periodic as well. And the most natural periodic cycle is a circle (which is of course, just sin/cos). To make this "period 4" into a proper circle, multiply by pi/2. i^(pi/2)^x == period 3.141592.... or the "circumference" of the unit circle. e^i^(pi/2)^x == e^(i * pi/2 * x). Done.
- gmadsen 6y ago
- sriku 6y agoYou don't need to treat "[cos(x)]^2 + [sin(x)]^2 = 1" separately either. e^(iθ) times e^(-iθ) = e^(iθ-iθ) = e^0 = 1 = (cosθ+isinθ)(cosθ-isinθ) = cos²θ + sin²θ
- josephcsible 6y agoSure, this takes "[cos(x)]^2 + [sin(x)]^2 = 1" off the list, but doesn't it require you to put "cos(-x) = cos(x)" and "sin(-x) = -sin(x)" on it, to get "(cosθ-isinθ)" from "e^(-iθ)"?
- seanc 6y agoThe trouble is that it is rare that trig identities are used for simplifying computations. Most often they are used for simplifying expressions. For that purpose it's not a matter of deducing what they are, but recognizing them in the expression, and spotting the opportunity to use the identity on the path to eliminating terms. For that purpose one needs to have them memorized in order to spot the opportunity -on the carefully derived homework problem- in the wild.
- benrbray 6y agoI generally just know that any trig formula can be converted to quite a few different other ones visa trig identities. Whether a certain expression is more or less complex than another is a matter of perspective and context. If I'm stuck with a trig function I don't know what to do with, I just look on Wikipedia for a trig identity and don't worry about derivations or memorization. This trick is good for exam settings though! My memory is terrible so I always relied on tricks like this in school
- lopmotr 6y agoWhat kind of exam requires you to memorize trig identities? Were they trying to prepare you for a world without paper or computers to look them up on? Or to be a smidgen faster at hand calculations?
- jacobolus 6y ago> Were they trying to prepare you for a world without paper or computers Yes, most high schools spend a few months teaching “trigonometry” as a system for simplifying formulas that was primarily useful historically to save time for human calculators working with pen/paper and a printed lookup table. In the modern world this is entirely anachronistic and the content could be profitably compressed down to a couple weeks, with the saved time spent on something else. The main remaining utility is as rather cumbersome, unpleasant, and unenlightening algebra practice.
- 6y ago
- matheusmoreira 6y ago> This trick came in handy on calc 3 exams whenever I couldn't remember the silly trig identities that were required to perform integrals. Why do people even have to memorize stuff like this? I simply don't understand what's wrong with referencing stuff you don't remember during a test. That's what we do in real life!
- Chinjut 6y agoYou don't even need to think specifically about exp(ix) unless you're doing calculus and taking derivatives or antiderivatives. Just the fact that there's SOME base of exponentiation such that cos is the even component of exponentiation with this base and i * sin is the odd component of exponentiation with this base is enough for all these trig laws. Incidentally, we can derive [cos(x)]^2 + [sin(x)]^2 = 1 from the fact that cos and i * sin are even and odd components of exponentiation with some base, like so: 1 = exp(ix) * exp(-ix) = (cos(x) + i * sin(x)) * (cos(x) - i * sin(x)) = [cos(x)]^2 + [sin(x)]^2.