Diff Eq: Is it me? Or Wolfram? I know, it's me.

  • Thread starter Saladsamurai
  • Start date
  • Tags
    Diff eq
In summary, the homework statement is 5th-order, linear, HG, with constant coefficients. The characteristic equation is given by: m5 - 2m4 + m3 = 0. The solution is given by: y(x) = C1 + C2*x +C3*x2 + C4*exp(x) + c5*x*exp(x). The Wolfram solution is y(x)=c_5x^2 + c_4x+e^x(c_2x+c_1-3c2)+c3.
  • #1
Saladsamurai
3,020
7

Homework Statement



y(5) - 2y(4) + y(3) = 0

This is 5th-order, linear, HG, with constant coefficients, and hence I used the characteristic equation:

m5 - 2m4 + m3 =

m3(m - 1)(m - 1) = 0

Hence, m = {1,1,0,0,0} and so the solution is given by:

y(x) = C1 + C2*x +C3*x2 + C4*exp(x) + c5*x*exp(x).

This is the Wolfram solution.

They seem to have an extra exponential term inside of the parentheses. Am I missing something?

Thanks!
 
Physics news on Phys.org
  • #2
Hmmm... looking at the characteristic EQ, it would seem that:

m3(m2 - 2m + 1) = 0 and hence:

(m2 - 2m + 1) = 0 and so

y'' - 2y' + y = 0

But when you look at my solution, differentiation will cause my C1 term to drop out of the derivatives altogether, and hence it will not be able to cancel.

I have messed up somehow, but cannot seem to rectify it. I have tunnel vision right now and cannot seem to convince myself that my method is not correct.
 
  • #3
Doesn't the wolfram solution reduce to yours on setting their c_1-3c_2 equal to your C_4?
 
  • #4
In Wolfram's answer, you can just write c1-3c2 as some other symbol and get your same answer. But I am not sure exactly how Wolfram solved it.
 
  • #5
Saladsamurai said:
Hmmm... looking at the characteristic EQ, it would seem that:

m3(m2 - 2m + 1) = 0 and hence:

(m2 - 2m + 1) = 0 and so

y'' - 2y' + y = 0

But when you look at my solution, differentiation will cause my C1 term to drop out of the derivatives altogether, and hence it will not be able to cancel.

I have messed up somehow, but cannot seem to rectify it. I have tunnel vision right now and cannot seem to convince myself that my method is not correct.

I am still not seeing how that rectifies this. Maybe I need a coffee ...
 
  • #6
Your solution would not solve y'' - 2y' + y = 0

it will solve d3/dx3 (y'' - 2y' + y) to give 0.
 
  • #7
Your solution (I changed c5 to C5):

[tex]y(x) = C_1 + C_2x +C_3x^2 + C_4\exp(x) + C_5x\exp(x)[/tex]

Wolfram's solution:

[tex]y(x)=c_5x^2 + c_4x+e^x(c_2x+c_1-3c2)+c3[/tex]

Those solutions are the same. To see this, set

[tex]\aligned
C_1 &= c_3 \\
C_2 &= c_4 \\
C_3 &= c_5 \\
C_4 &= c_1 - 3c_2 \\
C_5 &= c_2
\endaligned[/tex]
 
  • #8
cristo said:
Doesn't the wolfram solution reduce to yours on setting their c_1-3c_2 equal to your C_4?

rock.freak667 said:
In Wolfram's answer, you can just write c1-3c2 as some other symbol and get your same answer. But I am not sure exactly how Wolfram solved it.

D H said:
Your solution (I changed c5 to C5):

[tex]y(x) = C_1 + C_2x +C_3x^2 + C_4\exp(x) + C_5x\exp(x)[/tex]

Wolfram's solution:

[tex]y(x)=c_5x^2 + c_4x+e^x(c_2x+c_1-3c2)+c3[/tex]

Those solutions are the same. To see this, set

[tex]\aligned
C_1 &= c_3 \\
C_2 &= c_4 \\
C_3 &= c_5 \\
C_4 &= c_1 - 3c_2 \\
C_5 &= c_2
\endaligned[/tex]

Ok! Thanks guys :smile:

rock.freak667 said:
Your solution would not solve y'' - 2y' + y = 0

it will solve d3/dx3 (y'' - 2y' + y) to give 0.

Hmmm.

[tex]\frac{d^5y}{dx^5} - 2\frac{d^4y}{dx^4} + \frac{d^3y}{dx^3} = 0[/tex]

[tex]\Rightarrow \frac{d^3y}{dx^3}\left(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} +1\right) = 0[/tex]

Ok. I see that it wil not solve y'' - 2y' + y = 0. But from the above, should it not solve

[tex]\left(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} +1\right) = 0[/tex]

which does not look promising. I know that I am seriously abusing the differential operator, but it should work eh?
 
  • #9
Saladsamurai said:
Ok! Thanks guys :smile:



Hmmm.

[tex]\frac{d^5y}{dx^5} - 2\frac{d^4y}{dx^4} + \frac{d^3y}{dx^3} = 0[/tex]

[tex]\Rightarrow \frac{d^3y}{dx^3}\left(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} +1\right) = 0[/tex]

Ok. I see that it wil not solve y'' - 2y' + y = 0. But from the above, should it not solve

[tex]\left(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} +1\right) = 0[/tex]

which does not look promising. I know that I am seriously abusing the differential operator, but it should work eh?


y'' - 2y' + y = 0

has a solution of y=(Ax+B)e-x, which will solve y'' - 2y' + y = 0

Your general solution which contains more terms, I do not think will solve y'' - 2y' + y = 0.
 
  • #10
rock.freak667 said:
y'' - 2y' + y = 0

has a solution of y=(Ax+B)e-x, which will solve y'' - 2y' + y = 0

Your general solution which contains more terms, I do not think will solve y'' - 2y' + y = 0.

Ah ha. I see. I was trying to plug in my general solution to

[tex]
\frac{d^5y}{dx^5} - 2\frac{d^4y}{dx^4} + \frac{d^3y}{dx^3} = 0
[/tex]

which will of course have more terms than the general solution to just

[tex]
\left(\frac{d^2y}{dx^2} - 2\frac{dy}{dx} +1\right) = 0
[/tex]

Thanks again! :smile:
 

1. What is a differential equation?

A differential equation is an equation that relates a function with its derivatives. It is used to describe the behavior of systems that change over time, such as in physics, engineering, and economics.

2. Why is it called a "differential" equation?

It is called a differential equation because it involves the use of derivatives, which are mathematical operations that represent the rate of change of a function.

3. How is Wolfram used in solving differential equations?

Wolfram is a computational software that uses algorithms and mathematical models to solve complex equations, including differential equations. It can provide both numerical and analytical solutions to differential equations.

4. Do I need to be a math expert to understand differential equations?

While a strong foundation in mathematics is beneficial, it is not necessary to be an expert to understand differential equations. With practice and patience, anyone can learn to solve and interpret these equations.

5. Why am I struggling to understand differential equations?

Differential equations can be complex and abstract, making them challenging to understand for many people. It takes time and effort to develop an intuition for solving and interpreting these equations, so don't get discouraged and keep practicing.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
930
  • Calculus and Beyond Homework Help
Replies
4
Views
917
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
985
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top