0

Suppose $a\sin x + b\cos x = c $ . My teacher told me that with changing variable we can solve it by this : $(c + b) t^2 - 2at + (c-b) = 0$ where $t = \tan \frac{x}{2}$ . I thought it is true always but today found a problem . When we define $\sin x$ and $\cos x$ with $\tan \frac{x}{2}$ , we should consider $\cos \frac{x}{2} \not = 0$ and $x \not = 2k\pi + \pi$ but it can be the answer of the main equation (i.e. $a\sin x + b\cos x = c $ ) ! So , that formula is incomplete ?

S.H.W
  • 4,462
  • 1
    You can either check for those few points or allow $t=\pm\infty$. No big deal. – Hellen Jul 21 '17 at 12:48
  • 1
    If you find something ambiguous in your teacher's saying, then you can use different substitutions , as $$sin(x)=t , cos(x)=\sqrt{1-t^2}$$ which will lead you to a quadratic equation which is easier to solve – Atul Mishra Jul 21 '17 at 12:53
  • 2
    observe that $$\cos(x)=\pm\sqrt{1-t^2}$$ – Dr. Sonnhard Graubner Jul 21 '17 at 12:57
  • ...and in particular, you have to make BOTH substitutions for $\cos x$ to get all solutions. – John Hughes Jul 21 '17 at 13:06
  • @AtulMishra yes I agree with your teacher and my below solution is completely same to what your teacher indicates you to do. But fair enough I have elaborated it by speaking the steps I followed in that method of solving. –  Jul 21 '17 at 13:17
  • Oops, this is a duplicate : https://math.stackexchange.com/questions/213545/solving-trigonometric-equations-of-the-form-a-sin-x-b-cos-x-c?rq=1 –  Jul 21 '17 at 13:18
  • 1
    For reference, the approach your teacher suggests is discussed on Wikipedia: https://en.wikipedia.org/wiki/Tangent_half-angle_substitution. – Semiclassical Jul 21 '17 at 13:19
  • @Semiclassical wow it has a name. Good to know !! –  Jul 21 '17 at 13:21
  • Can't we also use http://www.mash.dept.shef.ac.uk/Resources/web-rcostheta-alphaetc.pdf ? – Quantaliinuxite Jul 21 '17 at 13:24

2 Answers2

1

use that $$\sqrt{a^2+b^2}\left(\frac{a}{\sqrt{a^2+b^2}}\sin(x)+\frac{b}{\sqrt{a^2+b^2}}\cos(x)\right)=c$$ and $$\cos(\phi)=\frac{a}{\sqrt{a^2+b^2}}$$ $$\sin(\phi)=\frac{b}{\sqrt{a^2+b^2}}$$ therefore we get $$\sin(x+\phi)=\frac{c}{\sqrt{a^2+b^2}}$$ or you write $$2\,{\frac {a\tan \left( x/2 \right) }{1+ \left( \tan \left( x/2 \right) \right) ^{2}}}+{\frac {b \left( 1- \left( \tan \left( x/2 \right) \right) ^{2} \right) }{1+ \left( \tan \left( x/2 \right) \right) ^{2}}}=c $$ with $$\tan(x/2)=t$$ as your teacher said

Mariuslp
  • 834
0

NOte that:$${\color{Red}{a \sin x+ b \cos x=c \\ \frac{|a|}{a} \sqrt{a^2+b^2} \sin (x+\alpha)=c\\ \tan \alpha=\frac{b}{a}} }\\\sin (x+\alpha)=\frac{|a|}{a}.\frac{c}{\sqrt{a^2+b^2}}$$ This is general form

Khosrotash
  • 25,772