Okay, there's this simple equation I've been looking into for a while and I don't know why one way of solving it is not correct. See:
sin(2x)+3cos(2x)=0
Well, the most obvious would be to rearrange to get:
tan(2x)=−3
and get the solutions from there, and this works. The problem comes in when another method is used:
sin(2x)+3cos(2x)=0
sin(2x)+3sin(2x)tan(2x)=0
sin(2x)(1+3tan(2x))=0
Resulting in sin(2x)=0 or tan(2x)=−3
I cannot find anything wrong with this method, except that the solutions that sin(2x) give are not correct when I tested the results back in the original equation. There's probably something I'm overlooking, but I have to idea what. Could anyone explain? I tried to find an explanation to this on here and on the web but have failed so far.
[Of course, there is also the method of equating sin(2x)+3cos(2x)=αsin(x+μ)=0, which confirms the first method, but I really want to know whether there's like an assumption or something I'm ignoring without knowing somewhere in the second method.]
EDIT: Thank you for the answers, but mentioning that dividing by zero is not possible it immediately made me think of something of the like of:
2x2−5x=0
If we take x(2x−5)=0, we get x=2.5 or x=0 which are both correct, but if we go with the 'first method' we get: 2x2=5x
reEDIT: Maybe what I'm trying to find is whether there is some way where I can 'see' that using this or that method will not be suitable, so I don't have to go back and reject excess solutions which are not valid?
Answer
From sin(2x)(1+3tan(2x))=0,
Before you divide by an expression that may become 0, you need to separate by cases: one case where that expression is 0 (which may not be possible), and one where it is not 0. Let me give you a few examples so you can get the idea.
x(x2+1)=2(x2+1)
Above, we split into the case that x2+1=0 and the case that x2+1≠0. In the latter case, division by x2+1 shows us that x=2 without difficulty. In the former case, we must solve the equation x2+1=0, which has no real solutions (complex solutions ±i. Thus x=2 is the only real solution (and ±i are the other two complex solutions).
2x(x2−1)=5(x2−1)
Split into the case that x2−1=0 and the case that x2−1≠0. In the latter case, division by x2−1 shows us that x=52. In the former case, we need to solve x2−1=0 (choose your favorite), and we'll find that x=±1. Hence, x=±1 and x=52 are the solutions.
Upshot: Before you divide, make sure that the expression you're dividing by isn't zero! If it can be zero, then deal with that separately.
No comments:
Post a Comment