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

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
 
Back
Top