Derivatives of trigonometric functions

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation y'' + y' - 2y = sinx using the function y = Asinx + Bcosx. The key steps involve calculating the first and second derivatives, leading to the equations -3A - B = 1 and -3B + A = 0. These equations arise from the requirement that the coefficients of sinx and cosx must match on both sides of the equation. The concept of orthogonality of sine and cosine functions is crucial in establishing these relationships.

PREREQUISITES
  • Understanding of differential equations
  • Knowledge of trigonometric functions, specifically sine and cosine
  • Familiarity with derivatives and their applications
  • Concept of orthogonality in functions
NEXT STEPS
  • Study the method of undetermined coefficients in differential equations
  • Learn about orthogonal functions and their properties
  • Explore the application of trigonometric identities in solving equations
  • Review systems of equations and methods for solving them
USEFUL FOR

Students studying differential equations, mathematics educators, and anyone interested in the application of trigonometric functions in solving mathematical problems.

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