Maths Olympiad Prep

Track / Stage 6 / 140 of 400 #1140 of 1964

Problem 1140

National olympiad, first round
Algebra Difficulty 6.2 Find the answer

50. Solve the equation (10th grade)

asinx+bcosx=c a \sin x + b \cos x = c

where a,ba, b, and cc are constants, and aa and bb are not both zero.

A number or a short expression. Spacing, $ signs and \frac vs / are all fine.

Official solution

Solution. Method 1. Express cosx\cos x in terms of sinx\sin x (or vice versa), using the identity sin2x+cos2x=1\sin ^{2} x+\cos ^{2} x=1, and square both sides of the equation (it is important to remember that squaring can introduce extraneous roots, so verification is necessary here).

Example. Solve the equation

3cosx+4sinx=5 3 \cos x+4 \sin x=5

We have:

3cosx+4(±1cos2x)=5,±1cos2x=5434cosx1cos2x=(5434cosx)2,(5cosx3)2=0,cosx=35 \begin{gathered} 3 \cos x+4\left( \pm \sqrt{1-\cos ^{2} x}\right)=5, \quad \pm \sqrt{1-\cos ^{2} x}=\frac{5}{4}-\frac{3}{4} \cos x \\ 1-\cos ^{2} x=\left(\frac{5}{4}-\frac{3}{4} \cos x\right)^{2}, \quad(5 \cos x-3)^{2}=0, \quad \cos x=\frac{3}{5} \end{gathered}

We find sinx=±45\sin x= \pm \frac{4}{5}.

By verification, we ensure that the equation (2) is satisfied by such values of xx for which cosx=35\cos x=\frac{3}{5} and sinx=45\sin x=\frac{4}{5}, i.e., tgx=43\operatorname{tg} x=\frac{4}{3}.

Therefore, x=arctg43+πn,nZx=\operatorname{arctg} \frac{4}{3}+\pi n, n \in \boldsymbol{Z} and nn is even, since the smallest positive period of sin\sin and cos\cos is 2π2 \pi.

Method 2. Square the given equation and multiply the right side by sin2x+cos2x\sin ^{2} x+\cos ^{2} x:

a2sin2x+2absinxcosx+b2cos2x=c2(sin2x+cos2x) a^{2} \sin ^{2} x+2 a b \sin x \cos x+b^{2} \cos ^{2} x=c^{2}\left(\sin ^{2} x+\cos ^{2} x\right)

Divide both sides of this equation by cos2x\cos ^{2} x (or by sin2x\sin ^{2} x), we get an equation equivalent to equation (3) (explain why!). However, squaring can introduce extraneous roots, so verification is also necessary here.

For example (2) we have: 9cos2x+24cosxsinx+16sin2x=9 \cos ^{2} x+24 \cos x \cdot \sin x+16 \sin ^{2} x=

=25(sin2x+cos2x) =25\left(\sin ^{2} x+\cos ^{2} x\right)

9+24tgx+16tg2x=25tg2x+259+24 \operatorname{tg} x+16 \operatorname{tg}^{2} x=25 \operatorname{tg}^{2} x+25,

tgx=43 \operatorname{tg} x=\frac{4}{3}

!

Fig. 24

x=arctg43+πk,kZ and k is even (see method 1 ).  x=\operatorname{arctg} \frac{4}{3}+\pi k, k \in \boldsymbol{Z} \text { and } k \text { is even (see method } 1 \text { ). }

Method 3. Formulate a ready formula for solving equation (1). We will assume in equation (1) that a0a \geqslant 0 (if a<0a<0, then it is sufficient to multiply both sides of the equation by -1).

Take a point A(a;b)A(a ; b) on the circle centered at the origin (Fig. 24). Let the radius OAO A form an angle φ\varphi with the positive direction of the OxO x axis, i.e., AOB=φ\angle A O B=\varphi. Since a0a \geqslant 0, then

π2φπ2 -\frac{\pi}{2} \leqslant \varphi \leqslant \frac{\pi}{2}

From the triangle AOBA O B we have:

OA=r=a2+b2,sinφ=ba2+b2 and cosφ=aa2+b2. O A=r=\sqrt{a^{2}+b^{2}}, \quad \sin \varphi=\frac{b}{\sqrt{a^{2}+b^{2}}} \quad \text { and } \cos \varphi=\frac{a}{\sqrt{a^{2}+b^{2}}} .

Therefore,

asinx+bcosx=a2+b2(aa2+b2sinx+ba2+b2cosx)==a2+b2(cosφsinx+sinφcosx)=a2+b2sin(x+φ) \begin{aligned} & a \sin x+b \cos x=\sqrt{a^{2}+b^{2}} \cdot\left(\frac{a}{\sqrt{a^{2}+b^{2}}} \sin x+\frac{b}{\sqrt{a^{2}+b^{2}}} \cos x\right)= \\ & =\sqrt{a^{2}+b^{2}} \cdot(\cos \varphi \cdot \sin x+\sin \varphi \cdot \cos x)=\sqrt{a^{2}+b^{2}} \cdot \sin (x+\varphi) \end{aligned}

Thus, equation (1) is equivalent to the equation

a2+b2sin(x+φ)=c, or sin(x+φ)=ca2+b2, where φ=arcsinba2+b2. \begin{gathered} \sqrt{a^{2}+b^{2}} \cdot \sin (x+\varphi)=c, \text { or } \sin (x+\varphi)=\frac{c}{\sqrt{a^{2}+b^{2}}}, \\ \text { where } \varphi=\arcsin \frac{b}{\sqrt{a^{2}+b^{2}}} . \end{gathered}

From this,

x=arcsinba2+b2+(1)narcsinca2+b2+πn,nZ x=-\arcsin \frac{b}{\sqrt{a^{2}+b^{2}}}+(-1)^{n} \arcsin \frac{c}{\sqrt{a^{2}+b^{2}}}+\pi n, \quad n \in Z

if ca2+b21\left|\frac{c}{\sqrt{a^{2}+b^{2}}}\right| \leqslant 1, or c2a2+b2c^{2} \leqslant a^{2}+b^{2}.

For example (2) we have a=4,b=3,c=5,5242+32a=4, b=3, c=5,5^{2} \leqslant 4^{2}+3^{2}. By formula (5)1(5)^{1}

x=arcsin0.6+(1)nπ2+πn,nZ x=-\arcsin 0.6+(-1)^{n} \cdot \frac{\pi}{2}+\pi n, \quad n \in \boldsymbol{Z}

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.