ODE with constant coefficient ##b##

In summary, an ordinary differential equation (ODE) with constant coefficient \( b \) typically takes the form \( y'' + by' + cy = 0 \), where \( b \) and \( c \) are constants. The solutions to this type of ODE can be analyzed using characteristic equations, leading to different types of solutions depending on the discriminant of the characteristic polynomial. If the discriminant is positive, it results in distinct real roots; if zero, in a repeated real root; and if negative, in complex conjugate roots. The general solution involves combinations of exponential functions or trigonometric functions, depending on the nature of the roots.
  • #1
member 731016
Homework Statement
Please see below
Relevant Equations
Second order ODE using ansatz $$u = e^{λt}$$
For this problem,
1712895843960.png

I can confused why they don't include the case where ##b = 0## since ##b < 0##.

That is, why don't they include ## λ^2e^{λt} + e^{λt} = 0## when solving the associated homogenous equation? This gives the commentary solution ##u_h = \cos t + \sin t## which is not included in their complex case, even thought it accounts for ##-2 < b < 1##.

Thanks for any help!
 

Attachments

  • 1712895835672.png
    1712895835672.png
    31.1 KB · Views: 40
Physics news on Phys.org
  • #2
It is included in ##-2 < b < 1##. There is no need to create a separate case for it.

There are however numerous typos in the solution.
 
  • Like
  • Love
Likes docnet and member 731016
  • #3
Orodruin said:
It is included in ##-2 < b < 1##. There is no need to create a separate case for it.

There are however numerous typos in the solution.
Thank you for your reply @Orodruin!

Sorry I am still confused. The two complementary solutions are different.

When $$b = 0$$ for $$-2 < b < 1$$, then $$u_h = c_1\cos(2t) + c_2\sin(2t)$$ from the complex case in the solution.

However, from my expression is $$u_h = c_1\cos(t) + c_2\sin(t)$$ from setting the b coefficient zero in the second order ODE.

Do you please know why there is a difference here in the solutions?

Thanks!
 
  • #4
ChiralSuperfields said:
Do you please know why there is a difference here in the solutions?
That would be some of the many many many many typos in the provided solution. The complex root solution contains several of them.

It should be:
$$
u_h = e^{b\color{Red}{t}/2} \left[ c_1 \cos\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)
+ c_2 \sin\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)\right]
$$
 
  • Love
Likes member 731016
  • #5
Orodruin said:
That would be some of the many many many many typos in the provided solution. The complex root solution contains several of them.

It should be:
$$
u_h = e^{b\color{Red}{t}/2} \left[ c_1 \cos\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)
+ c_2 \sin\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)\right]
$$
Thank you for your reply @Orodruin!

You said there are many typos in this solution. Do you please know what the other typos are?

Thanks!
 
  • #6
It is symptomatic of many of the solutions posted with your threads and therefore seemingly of your learning material. Unfortunately, I don’t feel like keeping pointing out those typos is a very fruitful endeavour. I would suggest looking for better learning material.
 
  • Love
Likes member 731016
  • #7
Orodruin said:
It is symptomatic of many of the solutions posted with your threads and therefore seemingly of your learning material. Unfortunately, I don’t feel like keeping pointing out those typos is a very fruitful endeavour. I would suggest looking for better learning material.
Thank you for your reply @Orodruin!

I understand. I would look for better material, however, I still have to use this material since it is from the university course I am taking in ODEs :(

Otherwise I would just read a textbook
 
  • Sad
Likes docnet
  • #8
Orodruin said:
That would be some of the many many many many typos in the provided solution. The complex root solution contains several of them.

It should be:
$$
u_h = e^{b\color{Red}{t}/2} \left[ c_1 \cos\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)
+ c_2 \sin\left( \frac{t}{\color{Red}{2}} \sqrt{4 - b^2}\right)\right]
$$
Thank you for your reply @Orodruin!

I've been in touch with the Prof and there is no typo in the solution (at least the complex case part you said there was). Do you please know why you think this is a typo (I am getting the same solution as you by the way)?

Thanks!
 
  • #9
ChiralSuperfields said:
Thank you for your reply @Orodruin!

I've been in touch with the Prof and there is no typo in the solution (at least the complex case part you said there was). Do you please know why you think this is a typo (I am getting the same solution as you by the way)?

Thanks!
Yes there are. There are obvious typos in the complex solution as pointed out in red in my previous post.

Just try to insert the given solution and you will see that it is, in fact, not a solution. Insert the corrected solution from post #4 and you will see that it is a solution.

Failure to recognise this is a worrying sign. Did you point out exactly where the typos were?

A similar issue, by the way, holds for the real solution, where the ##b/2## is not multiplied by ##t## as it should be. It is furthermore unclear from that solution whether the ##t## after the square root is a multiplication or a division. Your professor should use parentheses to make this clear. The easiest remedy is to put parentheses around the full root expression:
$$
\exp\left([b/2 + \sqrt{b^2 - 4}/2] t\right)
$$
Also note how the root was messed up: Using ##4 - b^2## instead of ##b^2 - 4## in the real (##b < -2##) case would make the square root argument negative and therefore make the square root imaginary.

The correct solutions are:
Complex case:
$$
u_h = e^{b\color{Red}{t}/2} \left[c_1 \cos\left(\frac{t\sqrt{4-b^2}}{\color{Red}{2}}\right) + c_2 \sin\left(\frac{t\sqrt{4-b^2}}{\color{Red}{2}}\right)\right]
$$
Real case:
$$
u_h = c_1 \exp\left( \frac{\color{Red}{t}}{2}[b + \sqrt{\color{Red}{+}b^2 \color{Red}{-} 4}] \right) + c_2 \exp\left( \frac{\color{Red}{t}}{2}[b - \sqrt{\color{Red}{+}b^2 \color{Red}{-} 4}] \right)
$$

I have marked in red where typos of the provided solution have been corrected. The repeated root solutions is free of typos.

Your professor is welcome here to try to argue their piece if they still think that they do not have typos (they would be wrong, but they are free to present it and be corrected).
 
  • Love
Likes member 731016
  • #10
By the way. If your professor does not trust someone else's computations, here are the computations performed by Mathematica:
1713768719066.png

Here, uh[t_] is the expression provided by the solution and uH[t_] is the corrected expression. Inserted into the LHS of the differential equation, it is clear that the corrected expression satisfies the differential equation whereas the provided expression does not.
 
  • Love
Likes member 731016
  • #11
Orodruin said:
Yes there are. There are obvious typos in the complex solution as pointed out in red in my previous post.

Just try to insert the given solution and you will see that it is, in fact, not a solution. Insert the corrected solution from post #4 and you will see that it is a solution.

Failure to recognise this is a worrying sign. Did you point out exactly where the typos were?

A similar issue, by the way, holds for the real solution, where the ##b/2## is not multiplied by ##t## as it should be. It is furthermore unclear from that solution whether the ##t## after the square root is a multiplication or a division. Your professor should use parentheses to make this clear. The easiest remedy is to put parentheses around the full root expression:
$$
\exp\left([b/2 + \sqrt{b^2 - 4}/2] t\right)
$$
Also note how the root was messed up: Using ##4 - b^2## instead of ##b^2 - 4## in the real (##b < -2##) case would make the square root argument negative and therefore make the square root imaginary.

The correct solutions are:
Complex case:
$$
u_h = e^{b\color{Red}{t}/2} \left[c_1 \cos\left(\frac{t\sqrt{4-b^2}}{\color{Red}{2}}\right) + c_2 \sin\left(\frac{t\sqrt{4-b^2}}{\color{Red}{2}}\right)\right]
$$
Real case:
$$
u_h = c_1 \exp\left( \frac{\color{Red}{t}}{2}[b + \sqrt{\color{Red}{+}b^2 \color{Red}{-} 4}] \right) + c_2 \exp\left( \frac{\color{Red}{t}}{2}[b - \sqrt{\color{Red}{+}b^2 \color{Red}{-} 4}] \right)
$$

I have marked in red where typos of the provided solution have been corrected. The repeated root solutions is free of typos.

Your professor is welcome here to try to argue their piece if they still think that they do not have typos (they would be wrong, but they are free to present it and be corrected).
Orodruin said:
By the way. If your professor does not trust someone else's computations, here are the computations performed by Mathematica:
View attachment 343870
Here, uh[t_] is the expression provided by the solution and uH[t_] is the corrected expression. Inserted into the LHS of the differential equation, it is clear that the corrected expression satisfies the differential equation whereas the provided expression does not.
Thank you very much @Orodruin! That is a good idea to consult Mathematica so your solution is definitely the correct one!
 
  • #12
ChiralSuperfields said:
That is a good idea to consult Mathematica so your solution is definitely the correct one!
Oh, I had no doubts. It is just additional weight in the argument. It really shouldn’t be necessary to convince someone who teach the subject for a living that there are obvious typos in the solution.

Sorry to come off as aggressive. It just really rubs me the wrong way. A couple of typos anyone can make, but when they are this abundant and on top you don’t even own up to them when they are pointed out … sorry, but then one is simply not putting any effort into teaching.
 
  • Like
  • Love
Likes member 731016 and SammyS

FAQ: ODE with constant coefficient ##b##

What is an ODE with constant coefficient b?

An ordinary differential equation (ODE) with constant coefficient b refers to a differential equation of the form y'' + by' + cy = f(t), where b is a constant. This type of ODE is characterized by the fact that the coefficients of the derivatives of y do not depend on the independent variable, typically time t.

How do you solve an ODE with constant coefficient b?

To solve an ODE with constant coefficient b, you typically use the characteristic equation method. First, you assume a solution of the form y = e^(rt), where r is a constant. By substituting this assumed solution into the ODE, you derive a characteristic polynomial, which you then solve for r. The roots of this polynomial give you the general solution, which can include exponential, sinusoidal, or polynomial terms depending on the nature of the roots.

What are the types of solutions for ODEs with constant coefficients?

The solutions for ODEs with constant coefficients can be classified based on the nature of the roots of the characteristic equation. If the roots are real and distinct, the solution is a linear combination of exponentials. If the roots are real and repeated, the solution includes a polynomial term multiplied by an exponential. If the roots are complex conjugates, the solution involves oscillatory terms (sine and cosine) along with an exponential decay or growth factor.

What is the significance of the constant b in an ODE?

The constant b in an ODE with constant coefficients affects the damping or growth of the solution. If b is positive, it typically indicates damping, leading to solutions that decay over time. If b is negative, it suggests growth, resulting in solutions that may increase without bound. The specific value of b influences the stability and behavior of the system described by the ODE.

Can ODEs with constant coefficients be solved using Laplace transforms?

Yes, ODEs with constant coefficients can be efficiently solved using Laplace transforms. The Laplace transform converts the differential equation in the time domain into an algebraic equation in the s-domain. By applying the Laplace transform to the entire equation and solving for the transformed variable, you can then use the inverse Laplace transform to obtain the solution in the time domain.

Back
Top