Derivatives of trigonometric functions

Click For Summary

Homework Help Overview

The problem involves finding constants A and B in the function y = Asinx + Bcosx to satisfy the differential equation y'' + y' - 2y = sinx. The context is within the study of derivatives of trigonometric functions and their applications in solving differential equations.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the differentiation of the function and the subsequent substitution into the differential equation. There is an exploration of how to equate coefficients of sine and cosine functions to derive the necessary equations for A and B. Questions arise regarding the reasoning behind splitting the equations and the implications of orthogonality in trigonometric functions.

Discussion Status

Some participants have provided guidance on how to factor the sine and cosine terms and set up the equations for A and B. There is an acknowledgment of the need for the equations to hold for all x, leading to further exploration of the conditions required for this to be true. The discussion reflects a productive exchange of ideas, although no consensus has been reached on the specific rule being applied.

Contextual Notes

Participants express uncertainty about the rules governing the relationship between sine and cosine functions in this context, indicating a potential gap in understanding orthogonality and its implications for solving the problem.

TsAmE
Messages
129
Reaction score
0

Homework Statement



Find the constants A and B such that the function y = Asinx + Bcosx satisfies the differential equation y'' + y' - 2y = sinx

Homework Equations



None

The Attempt at a Solution



My attempt: y = Asin x + Bcosx

y' = Acosx - Bsinx

y'' = - Asin x - Bcosx

y'' + y' - 2y = sin x
- Asinx - Bcosx + Acosx - Bsinx - 2Asinx + 2Bcosx = sinx
- 3Asinx + Bcosx + Acosx - Bsinx = sinx...

I don't know if my working out is correct, but I couldn't figure out what to do from there.
 
Physics news on Phys.org
You're almost there.

Now factorize the sines and the cosines: (-3A-B)sinx + (-3B+A)cosx=sinx.

For this to be true we must have -3A-B=1 and -3B+A=0.

I think you'll be able to take over from here, right?

edit: Oops, thanks radou. Equations have been corrected
 
Last edited:
"+ 2Bcosx " sold be "- 2Bcosx".
 
Mr.Miyagi said:
For this to be true we must have -3A-B=1 and -3B+A=0.

Howcome you spilt the equations into 2? and why does the one equal 1 and the other equal 0? Aren't they suppose to represent the rads of the sin and cos graph?
 
You have (-3A-B)sinx + (-3B+A)cosx = 1sinx + 0cosx.

This equation has to hold for all x. So the only way this will work is if you have -3A-B = 1 and -3B+A=0.
 
Oh ok that sort of makes sense. What rule is this by the way? Cause I have never heard it when doing trig before

Edit: Nevermind I understand now :) Thanks
 
Last edited:
TsAmE said:
Oh ok that sort of makes sense. What rule is this by the way? Cause I have never heard it when doing trig before

Whenever you have two orthogonal functions f(x) and g(x), and an equation of the form \alpha f(x)+\beta g(x)=\gamma f(x)+\delta g(x), the only way it can be satisfied for all x is if \alpha=\gamma and \beta=\delta.This can be proved using the definition of orthogonality. Sin(x) and Cos(x) are orthogonal functions.

If you are unfamiliar with orthogonality of functions, you can also prove that \alpha\sin x+\beta\cos x=0 can only hold for all x if \alpha=0 and \beta=0 by differentiating the equation, and solving the system of two equations (the original and the differentiated one), for your two unknowns.
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K