Express in terms of sine function of f(x)=sinx+cosx

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
Elissa89
Messages
52
Reaction score
0
f(x)=sinx+cosx

getting really frustrated with my math teacher. gives us forumlas for things but then barely shows us how to use them if at all and then throws problems at that we have to make sense of ourself. why can't math teachers teach?

anyway, the question is express f(x)=sinx+cosx in terms of sin.
 
Mathematics news on Phys.org
Elissa89 said:
f(x)=sinx+cosx

getting really frustrated with my math teacher. gives us forumlas for things but then barely shows us how to use them if at all and then throws problems at that we have to make sense of ourself. why can't math teachers teach?

anyway, the question is express f(x)=sinx+cosx in terms of sin.
Probably what you are after is the relationship between sine and cosine. Using [math]sin^2( \theta ) + cos^2( \theta ) =1[/math] then if [math]\theta[/math] is in either Quadrant I or IV then [math]cos( \theta ) = + \sqrt{1 - sin^2( \theta )}[/math], and if [math]\theta[/math] is in Quadrant II or III then [math]cos( \theta ) = - \sqrt{1 - sin^2( \theta )}[/math].

So [math]sin( \theta ) + cos( \theta ) = sin( \theta ) \pm \sqrt{1 - sin^2( \theta )}[/math].

There is another relationship which I judge (from my own experience, anyway) that is not well known to students. I give it without proof (I don't know how to.)
[math]a~sin( \theta ) + b~cos( \theta ) = c~sin( \theta + \phi )[/math]
where
[math]c = \sqrt{a^2 + b^2}[/math] and [math]\phi = atan2(b, a)[/math].

atan2 is similar to [math]tan^{-1}[/math]. It is defined here.

I'm guessing this is not what your instructor was after.

-Dan
 
Elissa89 said:
f(x)=sinx+cosx

anyway, the question is express f(x)=sinx+cosx in terms of sin.

$A\sin{x}+B\cos{x} = C\sin(x+\theta)$

$A\sin{x}+B\cos{x} = C\left[\sin{x}\cos{\theta}+\cos{x}\sin{\theta}\right]$

$A = C\cos{\theta}$, $B = C\sin{\theta}$ $\implies A^2+B^2 = C^2(\cos^2{\theta}+\sin^2{\theta}) \implies A^2+B^2=C^2(1) \implies C = \sqrt{A^2+B^2}$

$\dfrac{B}{A} = \dfrac{C\sin{\theta}}{C\cos{\theta}} = \tan{\theta} \implies \theta = \arctan\left(\dfrac{B}{A}\right)$

OK, you have $A=1$ and $B=1$ ... find the values of $C$ and $\theta$