Solving a Diff. Eq. with Orthogonal Vectors

Click For Summary

Homework Help Overview

The discussion revolves around solving a differential equation of the form ##y^{\prime\prime}-3y^{\prime}+2y=x^2+x+3##. Participants explore the reasoning behind equating coefficients of like terms, particularly focusing on the treatment of polynomial terms as orthogonal vectors in function space.

Discussion Character

  • Conceptual clarification, Assumption checking

Approaches and Questions Raised

  • Participants discuss the validity of setting aside terms of equal powers in a polynomial equation and question whether this is analogous to the concept of orthogonal vectors. They explore the implications of equating coefficients and the reasoning behind it.

Discussion Status

Some participants express clarity regarding the concept of equating coefficients, while others seek further understanding of the analogy between polynomial terms and vectors. There is a recognition of the validity of the approach discussed, but no explicit consensus has been reached on all aspects of the analogy.

Contextual Notes

There is a mention of the original problem being presented as an example in class, indicating a potential educational context. Participants also reference the need for deeper understanding rather than simply confirming correctness.

kq6up
Messages
366
Reaction score
13
I am working on a diff eq. that the prof. did as an example in class.

##y^{\prime\prime}-3y^{\prime}+2y=x^2+x+3##

after subbing in I get:

##2a_2-6a_2x-3a_1+2a_2x^2+2a_1x+2a_o=x^2+x+3##

She set aside the ##x^2## terms and set them equal to zero like such:

##2a_2x^2-x^2=0##

I imagine this ok because each order of exponent can be treated like a orthogonal vector in function space? That is why it is ok to pull these out of the original equation? If I had two vectors that I say have to be equal to zero (these for example):

##\mathbf{A}+\mathbf{B}=0##, so ##a_x\hat{x}+a_y\hat{y}+b_x\hat{x}+b_y\hat{y}=0 ## can be simplified to ##a_x=-b_x## and ##a_y=-b_y##.

Are these two examples analogous? If so, I am satisfied that it works. (not saying it doesn't -- I just want to understand things on a deep level).

Thanks,
Chris
 
Physics news on Phys.org
kq6up said:
I am working on a diff eq. that the prof. did as an example in class.

##y^{\prime\prime}-3y^{\prime}+2y=x^2+x+3##

after subbing in I get:

##2a_2-6a_2x-3a_1+2a_2x^2+2a_1x+2a_o=x^2+x+3##

She set aside the ##x^2## terms and set them equal to zero like such:

##2a_2x^2-x^2=0##

I imagine this ok because each order of exponent can be treated like a orthogonal vector in function space? That is why it is ok to pull these out of the original equation? If I had two vectors that I say have to be equal to zero (these for example):

##\mathbf{A}+\mathbf{B}=0##, so ##a_x\hat{x}+a_y\hat{y}+b_x\hat{x}+b_y\hat{y}=0 ## can be simplified to ##a_x=-b_x## and ##a_y=-b_y##.

Are these two examples analogous? If so, I am satisfied that it works. (not saying it doesn't -- I just want to understand things on a deep level).

Thanks,
Chris

You have the right idea. If two polynomials are equal, their corresponding coefficients must be equal, and that is what you are using. You can prove that using derivatives. For example, suppose$$
Ax^2+Bx+C = ax^2+bx+c$$Putting ##x=0## tells you ##C=c##. Now take the derivative:$$
2Ax +B = 2ax + b$$Put ##x=0## in that giving ##B=b##. Differentiate again and you will see ##A=a##. This argument works for higher degress; you just keep differentiating.
 
  • Like
Likes   Reactions: kq6up
Thanks, now it is even more clear to me. That makes perfect sense.

Chris
 
kq6up said:
I am working on a diff eq. that the prof. did as an example in class.

##y^{\prime\prime}-3y^{\prime}+2y=x^2+x+3##

after subbing in I get:

##2a_2-6a_2x-3a_1+2a_2x^2+2a_1x+2a_o=x^2+x+3##

Subbing in what for what and where? :confused:

kq6up said:
She set aside the ##x^2## terms and set them equal to zero like such:

##2a_2x^2-x^2=0##

I imagine this ok because each order of exponent can be treated like a orthogonal vector in function space? That is why it is ok to pull these out of the original equation? If I had two vectors that I say have to be equal to zero (these for example):

##\mathbf{A}+\mathbf{B}=0##, so ##a_x\hat{x}+a_y\hat{y}+b_x\hat{x}+b_y\hat{y}=0 ## can be simplified to ##a_x=-b_x## and ##a_y=-b_y##.

Are these two examples analogous? If so, I am satisfied that it works. (not saying it doesn't -- I just want to understand things on a deep level).

Thanks,
Chris

It is right, the different powers of x can be considered as orthogonal vectors. Two polynomials are identical if the coefficients of all powers of x are the same in both. ehild
 
  • Like
Likes   Reactions: kq6up
Thanks,
Chris
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K