# could you please solve for x this equation? sinx - cosx = 1`/sqrt(2)`

### 2 Answers | Add Yours

Solve `sinx-cosx=1/sqrt(2)` :

Square both sides (be aware that we might introduce extraneous solutions.):

`sin^2x-2sinxcosx+cos^2x=1/2` Use the Pythagorean relationship:

`1-2sinxcosx=1/2`

`sinxcosx=1/4`

Use `sinucosv=1/2[sin(u+v)+sin(u-v)]`

`1/2[sin2x+sin0]=1/4`

`sin2x=1/2`

`2x=pi/6,(5pi)/6,(13pi)/6,(17pi)/6` so

`x=pi/12,(5pi)/12,(13pi)/12,(17pi)/12`

Checking we find that `x=pi/12,x=(17pi)/12` produce `-1/sqrt(2)` in the original equation so they are extraneous.

------------------------------------------------------------------

The solutions are `x=(5pi)/12+2npi,(13pi)/12+2npi` for `n in ZZ` (n an integer)

-----------------------------------------------------------------

The graph:

`sin(x)-cos(x)=1/sqrt(2)`

`(1/sqrt(2))sin(x)-(1/sqrt(2))cos(x)=(1/sqrt(2))(1/sqrt(2))`

`sin(x)cos(pi/4)-cos(x)sin(pi/4)=1/2`

`because `

`cos(pi/4)=sin(pi/4)=1/sqrt(2)`

`therefore`

`sin(x-pi/4)=sin(pi/6)`

`because`

`sinacosb-cosasinb=sin(a-b)`

`Thus`

`x-pi/4=npi+(-1)^n(pi/6)`

`x=npi+pi/4+(-1)^n(pi/6)` and n is an integer.