Asinx + bcosy into single trig function

  • Context: Undergrad 
  • Thread starter Thread starter RsZrg
  • Start date Start date
  • Tags Tags
    Function Trig
Click For Summary

Discussion Overview

The discussion centers around the possibility of expressing the sum of the form asinx + bcosx as a single trigonometric function, exploring both general solutions and specific conditions under which such a transformation can occur.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants propose that the expression can be converted into a single trigonometric function under certain conditions, specifically suggesting a format involving A(cosy*sinx + siny*cosx).
  • Others argue that the relationships a = Acosy and b = Asiny must hold true for the transformation to be valid, which may not be the case for arbitrary values of a and b.
  • A participant suggests that a general solution may not be possible, indicating that Fourier methods might be a relevant approach but expressing skepticism about finding a simpler solution.
  • Another participant provides a method to express the sum using A = √(a² + b²) and defining a1 and b1 in terms of A, leading to a formulation involving an angle φ, which could allow for a transformation to A*sin(φ + x).
  • One participant reiterates the necessity of the relationships between a, b, and A, emphasizing that there exists a unique angle y for each non-zero a and b that satisfies tan(y) = b/a.

Areas of Agreement / Disagreement

Participants express differing views on the generalizability of the transformation, with some believing it is possible under specific conditions while others maintain that a general solution may not exist.

Contextual Notes

Participants note limitations regarding the assumptions required for the transformation, particularly the dependence on the relationships between a, b, and A, as well as the conditions under which the angle φ can be defined.

RsZrg
Messages
2
Reaction score
0
I know that asinx + bcosx can be put into a single trig fom, but can also the above sum be put into a single trig function?
 
Physics news on Phys.org
If you could convert it to this format:

A(cosy*sinx + siny*cosx)

then yes it could be converted to Asin(y+x) as an example.

However, that requires that a and b must have the following relationships:

a=Acosy and b=Asiny

which will not be true in the general case for any a and b.
 
Thanks Jedi
I am looking for a general solution for any a and b. Is this possible? I have tried the above method but currently limited by the above restrictions.
 
I don't think there is any hope here. Usually this kind of problem might push someone to use Fourier methods but again your initial solution is probably optimal.

I am not one of the Math mentors but perhaps @Mark44 or @HallsofIvy would have a better answer to your problem.
 
Off the top of my head: Let [itex]A=\sqrt{a^{2}+b^{2}}[/itex] and [itex]a_{1}=\frac{a}{A}, b_{1}=\frac{b}{A}[/itex]. Then [itex]a_{1}^{2}+b_{1}^{2}=1[/itex], therefore you can find an angle φ such that a1=cos(φ) and b1=sin(φ).
∴a⋅sin(x)+b⋅cos(x) = A(cos(φ)sin(x)+sin(φ)cos(x))=A⋅sin(φ+x).
 
jedishrfu said:
If you could convert it to this format:

A(cosy*sinx + siny*cosx)

then yes it could be converted to Asin(y+x) as an example.

However, that requires that a and b must have the following relationships:

a=Acosy and b=Asiny

which will not be true in the general case for any a and b.

Actually it is: [itex]\tan y = b/a[/itex] (there exists exactly one such [itex]y \in (-\pi/2, \pi/2)[/itex] for each possible choice of [itex]a[/itex] and [itex]b \neq 0[/itex]) and [itex]A = \sqrt{a^2 + b^2}[/itex].

See also here.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
1
Views
17K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 21 ·
Replies
21
Views
6K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K