Solution
1. Using the Given Equation:
We are given the equation:
Squaring both sides to simplify the expression:
Using the identity (a+b)2=a2+2ab+b2:
sin2x+a2cos2x+2asinxcosx=b2…
2. Rearranging with Fundamental Identities:
Using the identity sin2x=1−cos2x:
(1−cos2x)+a2cos2x+2asinxcosx=b2…
(a2−1)cos2x+2asinxcosx=b2−1…
From this, we can isolate the term 2asinxcosx:
2asinxcosx=b2−1+(1−a2)cos2x…(1)…
3. Evaluating the Target Expression:
Let k=∣asinx−cosx∣. To find k, we first find k2:
k2=a2sin2x+cos2x−2asinxcosx…
Substitute sin2x=1−cos2x into the equation:
k2=a2(1−cos2x)+cos2x−2asinxcosx…
k2=a2+(1−a2)cos2x−2asinxcosx…
4. Substituting Equation (1):
Now, replace 2asinxcosx with the value derived in the first step:
k2=a2+(1−a2)cos2x−[b2−1+(1−a2)cos2x]…
Simplifying the expression (the terms with cos2x cancel out):
5. Final Result:
Taking the square root of both sides:
Therefore, ∣asinx−cosx∣=a2−b2+1.
Correct Option: 2 (a2−b2+1)