Differential equation from general solution

Click For Summary

Discussion Overview

The discussion revolves around the process of deriving a differential equation from a given general solution, specifically focusing on the example of the function y=sin(ax + b), where a and b are constants. Participants explore methods for finding the differential equation associated with this general solution through differentiation and algebraic manipulation.

Discussion Character

  • Exploratory, Technical explanation, Mathematical reasoning

Main Points Raised

  • One participant suggests starting by finding the first and second derivatives of the function to identify a linear combination that equals zero.
  • Another participant calculates the first derivative y' = acos(ax + b) and the second derivative y'' = -a^2sin(ax + b), leading to the differential equation y'' + a^2y = 0.
  • A further reply elaborates on solving the differential equation y'' + a^2y = 0 by assuming a solution of the form y = e^{rx} and deriving the characteristic equation, ultimately confirming that the general solution matches the original function.
  • Another participant emphasizes the goal of eliminating parameters a and b through differentiation and algebraic manipulation, noting that the presence of two parameters suggests a second-order differential equation will result.

Areas of Agreement / Disagreement

Participants generally agree on the approach of differentiating the function and manipulating the resulting equations to derive the differential equation. However, there is no explicit consensus on the methods or steps taken, as different participants contribute varying perspectives and calculations.

Contextual Notes

The discussion involves assumptions about the nature of the parameters and the derivatives. The steps taken by participants depend on the definitions of the derivatives and the algebraic manipulations employed, which may not be universally applicable without further context.

Damidami
Messages
93
Reaction score
0
What if I have the general solution and I want to find the differential equation where it came from?

Say for example my general solution is y=sin(ax + b) with a and b constants.
How could I find the differential equation?
 
Physics news on Phys.org
I don't know any particular pattern, so i am just guessing. Try to find say the first and second derivative of this function.And after that see if you can find any linear combination equal to zero,or to sth else, of second, first and the originall function
 
Like y'=acos(ax+b)

y=sin(ax+b)

y''=-a^2sin(ax+b)

Now one can easily notice that

y''+a^2y=0 so i guess this would be one diff eq whose solution would be

y=sin(ax+b)
 
Now let's try to solve this diff equation


y''+a^2y=0 and pretend that we actually don't know the solution to it. so

let's guess a solution y=e^{rx}
y''=r^2e^{rx} so the char. eq of that diff. eq is

r^2+a^2=0=>r^2=-a^2=>r=\pm a i

We know that the general solution of a diff eq. with complex roots is:

y=e^{\alpha x}(c_1cos(\beta x)+c_2sin(\beta x))

Now we have \alpha =0, \beta=a so the general solution to our diff. eq would be:

y=e^{x0}(acos(ax)+bsin(ax))=c_1cos(ax)+c_2sin(ax) Which is the same as our original answer;

y=sin(ax+b)=sin(ax)cosb+cos(ax)sinb=c_1cos(ax)+c_2sin(ax)

notice that

cos(b)=c_1, sinb=c_2 these are constants.

Wow, it worked out! I'm glad...lol...
 
Basically your objective is to eleminate the parameters, here a and b, by differentiating and algebraically manipulating the equations. Typically, you will need as many derivatives as you have parameters to do that. Since you have two parameters here you would expect to result in a second order differential equation.

Sutupid Math did that quite nicely for you.
 

Similar threads

  • · Replies 52 ·
2
Replies
52
Views
9K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K