Can we sketch the curve y=cosx−sinx+2?
Question
Give a sketch for −π≤x≤π of the curve y=cosx−sinx+2.
Solution
Firstly we can rewrite the right hand side using one of the compound angle identities, such as Rcos(x+θ)=Rcosxcosθ−Rsinxsinθ.
If we put Rcosθ=1 and Rsinθ=1, where R>0 and θ is acute, we have (on dividing these equations) tanθ=1⟹θ=4π.
On squaring and adding these equations, we have R2=2⟹R=2.
This gives us that 2cos(x+4π)=cosx−sinx, so the curve we are asked to sketch is y=2cos(x+4π)+2.
So this is our standard cosine curve, stretched in the y-direction by a scale factor of 2, translated by 4π to the left, and upwards by 2.
