1

I have a simple equation which i cannot solve for $x$:

$$A\cos x + B\sin x = C$$

Could anyone show me how to solve this. Is this a quadratic equation?

dajoker
  • 2,297
  • 14
  • 25
71GA
  • 841

2 Answers2

4

$A\cos x+B\sin x=C$ so if $A\neq 0, B\neq 0$ then $$\frac{A}{\sqrt{A^2+B^2}}\cos x+\frac{B}{\sqrt{A^2+B^2}}\sin x=\frac{C}{\sqrt{A^2+B^2}}$$ in which $$\frac{A}{\sqrt{A^2+B^2}}\le1,~~\frac{B}{\sqrt{A^2+B^2}}\le1,~~\frac{C}{\sqrt{A^2+B^2}}\le1$$ This means you can suppose there is a $\xi$ such that $\cos(\xi)=\frac{A}{\sqrt{A^2+B^2}},\sin(\xi)=\frac{B}{\sqrt{A^2+B^2}}$ and so...

Mikasa
  • 67,374
1

HINT:

We can also utilize Weierstrass substitution (1, 2), which will convert the given equation to a Quadratic equation in $\tan \frac x2$