Trigonometric identity relating a sum of sine and cosine terms to a single sine ter...
Check the final answer first, then review the worked steps.
Answer
$R = \sqrt{a^2 + b^2}$ and $\phi = \arctan\left(\frac{b}{a}\right)$
Step-by-step solution
- Expand the right side of the equation: The equation given is $a \sin x + b \cos x = R \sin(x + \phi)$. We will use the trigonometric identity for the sine of a sum, which is $\sin(A+B) = \sin A \cos B + \cos A \sin B$. Applying this to the right side of the given equation, we get: $$R \sin(x + \phi) = R (\sin x \cos \phi + \cos x \sin \phi)$$2. Distribute R: $$R \sin(x + \phi) = R \sin x \cos \phi + R \cos x \sin \phi$$3. Equate coefficients: Now we equate the coefficients of $\sin x$ and $\cos x$ from both sides of the original equation: $$a \sin x + b \cos x = (R \cos \phi) \sin x + (R \sin \phi) \cos x$$By comparing the coefficients of $\sin x$ on both sides, we get: $$a = R \cos \phi$$By comparing the coefficients of $\cos x$ on both sides, we get: $$b = R \sin \phi$$4. Solve for R: To find R, we can square both equations from the previous step and add them together: $$(R \cos \phi)^2 + (R \sin \phi)^2 = a^2 + b^2$$$$R^2 \cos^2 \phi + R^2 \sin^2 \phi = a^2 + b^2$$Factor out $R^2$: $$R^2 (\cos^2 \phi + \sin^2 \phi) = a^2 + b^2$$Using the Pythagorean identity $\cos^2 \phi + \sin^2 \phi = 1$: $$R^2 (1) = a^2 + b^2$$$$R^2 = a^2 + b^2$$Taking the square root of both sides (and assuming R is positive, as it represents an amplitude): $$R = \sqrt{a^2 + b^2}$$5. Solve for $\phi$: To find $\phi$, we can divide the equation for b by the equation for a: $$\frac{R \sin \phi}{R \cos \phi} = \frac{b}{a}$$$$\tan \phi = \frac{b}{a}$$Taking the inverse tangent of both sides: $$\phi = \arctan\left(\frac{b}{a}\right)$$Note: The quadrant of $\phi$ must be determined based on the signs of $a$ and $b$ to ensure the correct phase shift.