Differentiating y= Acosαx + Bsinαx and finding Constants

Click For Summary
SUMMARY

The discussion focuses on differentiating the function y = Acos(αx) + Bsin(αx) and finding the constants A, B, and α that satisfy the equation y'' + y = 0, along with the initial conditions y(0) = 0 and y'(0) = 1. The derivatives are calculated as y' = -αAsin(αx) + αBcos(αx) and y'' = -α²Bsin(αx) - α²Acos(αx). The values determined are A = 0, B = 1, and α can be either 1 or -1, confirming that these constants satisfy the given conditions.

PREREQUISITES
  • Understanding of trigonometric functions and their derivatives
  • Familiarity with differential equations, specifically second-order linear equations
  • Knowledge of initial value problems in calculus
  • Ability to manipulate algebraic expressions involving trigonometric identities
NEXT STEPS
  • Study the properties of second-order linear differential equations
  • Learn about the method of undetermined coefficients for solving differential equations
  • Explore the implications of initial conditions on the solutions of differential equations
  • Investigate the use of trigonometric identities in simplifying differential equations
USEFUL FOR

Students in calculus or differential equations, mathematics educators, and anyone seeking to understand the application of trigonometric functions in solving differential equations.

zombieguy
Messages
12
Reaction score
0

Homework Statement



Don't really know what to do with this one, any help welcome

If A, B and α are constants, independent of x, and

y= Acosαx + Bsinαx

Evaluate the derivates
y'=dy/dx
y^n=d^2y/dx^2

Determine values of A, B and α such that y satisfies
y^n+y=0 and y(0)=0, y'(0)=1


Homework Equations





The Attempt at a Solution



I've tried to differentiate y
y'=-αAsinαx + αBcosαx
y'=αBcosαx - αAsinαx

y^n=-ααBsinαx + ααAcosαx
y^n=ααAcosαx - ααBsinαx
 
Physics news on Phys.org
You might find it easier to see if you used standard notation and parentheses. Use y'' for second derivative and use exponents like a2 instead of aa. (Use the X2 icon for superscripts.

Rewriting what you have for the second derivative:

y'' = a2Acos(αx) - α2Bsin(αx)

Now can you figure out a so that

y''+y=0

And once you have that what do the two conditions

y(0)=0, y'(0)=1

tell you about A and B?
 
But are my y' and y'' values correct because their wouldn't be any point in starting part 2 of the question if they are not
 
You have a sign mistake in y'' which will become obvious when you try to make y'' + y = 0.
 
y''=-ααBsinαx - ααAcosαx then, yes?
 
Yes. Did you understand about the X2 button so you can write a2 instead of aa?
 
y+yn=0

2Bsinαx - α2Acosαx + Acosαx + Bsinαx=0

Acosαx + Bsinαx=α2Bsinαx + α2Acosαx

Acosαx(1 - α2)=Bsinαx(α2 - 1)

so α=1?

b) 0=Acosα(0) + Bsinα(0)
A=0

c) 1=αBcosα(0) - αAsinα(0)
B=1
 
Last edited:
zombieguy said:
y+yn=0

2Bsinαx - α2Acosαx + Acosαx + Bsinαx=0

Right here, if you collect terms on cos and sin you can see what a has to be.

Acosαx + Bsinαx=α2Bsinαx + α2Acosαx
Divide by cosαx
A + Btanαx=α2Btanαx + α2A

A (1 - α2)=Btanαx(α2 - 1)

so α=1?

Is a = 1 the only solution to a2=1?

b) 0=Acosα(0) + Bsinα(0)
A=0

c) 1=αBcosα(0) - αAsinα(0)
B=1

That's right if a = 1 is the only value for a that works.
 
LCKurtz said:
Is a = 1 the only solution to a2=1?

My bad, a=1 or -1
B=1 or -1
A=0

Thank you very much for the help
 

Similar threads

Replies
3
Views
2K
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 20 ·
Replies
20
Views
1K
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K