Solving Second Order Differential Equations with Constant Coefficients

In summary: No, your values for a and b, the coefficient of t and the constant, are wrong. They should be: a = k/3, b = 5/3 - 4k/9. And you forgot that the coefficients of x in the exponential terms are negative. (I have reverted to the variables of the original problem, x and t.)
  • #1
thomas49th
655
0

Homework Statement


I've completed this question but I don't think I've got it right. It's from a 2008 June FP1 further maths paper. There is a second part to the question I don't understand which I will post after I know I have got this part right :)

Find, in terms of k, the general solution of the differential equation:

[tex]\frac{d^{2}x}{dt} + 4 \frac{dx}{dt} + 3x = kt + 5[/tex]


The Attempt at a Solution



First of all i created auxilary equation

[tex]T^{2} + 4T + 3[/tex]

and solved it to get 2 real roots, 3 and 1

2 real roots imply that the complementory soltuion:

is [tex]y = Ae^{çx} + Be^{ßx}[/tex]
i can fill in ç and ß, as it's the roots from the auxilary equation
[tex]y = Ae^{x} + Be^{3x}[/tex]

Now I do need use inspection to find the particular soltution:

[tex]\frac{d^{2}x}{dt} + 4 \frac{dx}{dt} + 3x = kt + 5[/tex]


let x = at + b

[tex]\frac{d^{2}x}{dt} = 0 \frac{dx}{dt} = a[/tex]

try:

[tex] 0 + 4(a) + 3(at +b) \eqiv kt + 5[/tex]

compare coefficients

so 3a = k
4a + 3b = 5

a = k/3
b = (15-4k)/3

so the general solution is:

[tex]y = \frac{k}{3} e^{x} + \frac{15-4k}{3} e^{3x}[/tex]

is that right :) ?!

Cheers :)
 
Physics news on Phys.org
  • #2
thomas49th said:
First of all i created auxilary equation

[tex]T^{2} + 4T + 3[/tex]

and solved it to get 2 real roots, 3 and 1

erm … -3 and -1 :redface:
 
  • #3
Sorry I am being an idiot. I used comleting the square and by habbity i did

(T-2)²
when it should be +

so is the final answer:

[tex]
y = \frac{k}{3} e^{-x} + \frac{15-4k}{3} e^{-3x}
[/tex]
 
  • #4
thomas49th said:
so 3a = k
4a + 3b = 5

a = k/3
b = (15-4k)/3

No! Try again.
so the general solution is:

[tex]y = \frac{k}{3} e^{x} + \frac{15-4k}{3} e^{3x}[/tex]

is that right :) ?!

Cheers :)

No, the particular solution is added to the general solution.
 
  • #5
so where does the complimentry solution come in?

Thanks :)
 
  • #6
thomas49th said:
so where does the complimentry solution come in?

Thanks :)

oh … i meant complementary … i couldn't remember the word :redface:

… the particular solution is added to the complementary solution.
 
  • #7
aha, cool.
so
[tex]
y = Ae^{x} + Be^{3x}
[/tex]
+

a = k/3
b = (15-4k)/3

is that it? How do I find the values of A and B

Thanks :)
 
  • #8
thomas49th said:
How do I find the values of A and B
thomas49th said:
Find, in terms of k, the general solution of the differential equation:

[tex]\frac{d^{2}x}{dt} + 4 \frac{dx}{dt} + 3x = kt + 5[/tex]

You don't need to :biggrin:

the general solution does have two unknown constants.
 
  • #9
so is my final answer:

[tex]

y = Ae^{x} + Be^{3x} + \frac{k}{3} + \frac{15-4k}{3}

[/tex]
 
  • #10
thomas49th said:
so is my final answer:

[tex]

y = Ae^{x} + Be^{3x} + \frac{k}{3} + \frac{15-4k}{3}

[/tex]

No …

see your post #3 …

and i don't think the fractions are right either …

please get into the habit of plugging your solution back into the original equation, to see if it works! :wink:

(if it doesn't, then its wrong! :rolleyes:)
 
  • #11
thomas49th said:
so is my final answer:

[tex]

y = Ae^{x} + Be^{3x} + \frac{k}{3} + \frac{15-4k}{3}

[/tex]

No, your values for a and b, the coefficient of t and the constant, are wrong. They should be: a = k/3, b = 5/3 - 4k/9. And you forgot that the coefficients of x in the exponential terms are negative. (I have reverted to the variables of the original problem, x and t.)

[Answer Removed]

The homogeneous solution (aka complementary solution), [tex]x_h(t)[/tex] is the part of the general solution for which x''(t) + 4x'(t) + 3x(t) = 0. The particular solution is the part of the general solution for which x''(t) + 4x'(t) + 3x(t) = kt + 5.

One thing about differential equations: getting the solutions takes a bit of doing, but if you know how to differentiate, you can check that your answer actually is a solution by verifying that the appropriate combination of x''(t), x'(t), and x(t) actually add up to what they're supposed to.
 
Last edited by a moderator:
  • #12
BTW, for future reference, differential equations are NOT precalculus!
 
  • #13
Mark44 said:
No, your values for a and b, the coefficient of t and the constant, are wrong. …. And you forgot that the coefficients of x in the exponential terms are negative. (I have reverted to the variables of the original problem, x and t.)



The homogeneous solution (aka complementary solution), [tex]x_h(t)[/tex] is the part of the general solution for which x''(t) + 4x'(t) + 3x(t) = 0. The particular solution is the part of the general solution for which x''(t) + 4x'(t) + 3x(t) = kt + 5.

One thing about differential equations: getting the solutions takes a bit of doing, but if you know how to differentiate, you can check that your answer actually is a solution by verifying that the appropriate combination of x''(t), x'(t), and x(t) actually add up to what they're supposed to.

Hey Mark …

no complete solutions, please!

could you edit? :smile:
 

FAQ: Solving Second Order Differential Equations with Constant Coefficients

What is a second order differential equation?

A second order differential equation is a mathematical equation that involves the second derivative of a function. It is commonly used to describe the behavior of physical systems, such as motion and heat transfer.

What is the difference between a first and second order differential equation?

The main difference between a first and second order differential equation is the number of derivatives present. A first order differential equation involves only the first derivative, while a second order differential equation involves the second derivative in addition to the first derivative.

What are some real-world applications of second order differential equations?

Second order differential equations are used in a wide range of fields, including physics, engineering, economics, and biology. Examples of real-world applications include modeling the motion of a pendulum, predicting the spread of diseases, and analyzing the behavior of electrical circuits.

How do you solve a second order differential equation?

The general method for solving a second order differential equation involves finding a particular solution and a complementary solution. The particular solution is found by substituting initial conditions into the equation, while the complementary solution involves finding the roots of the characteristic equation. These two solutions are then combined to form the general solution.

Why are second order differential equations important in science?

Second order differential equations are important in science because they provide a mathematical framework for understanding and predicting the behavior of physical systems. They allow scientists to describe complex phenomena in a precise and quantitative manner, making it easier to make predictions and analyze data.

Back
Top