Linear system of equations for a differential equation

Click For Summary
SUMMARY

The discussion focuses on solving the differential equation m(d²x/dt²) + c(dx/dt) + kx = (ax + b)² + c² for constants m, c, and k using MapleSoft. The user initially attempted to create a linear system of equations but encountered confusion due to the non-linear nature of the equation. It was clarified that the correct approach involves converting the equation into a system of first-order differential equations by defining a new variable y(t) = dx/dt, leading to a matrix representation of the system.

PREREQUISITES
  • Understanding of differential equations, specifically second-order linear differential equations.
  • Familiarity with MapleSoft for mathematical modeling and solving equations.
  • Knowledge of matrix algebra for representing systems of equations.
  • Basic concepts of vibration modeling in mechanical systems.
NEXT STEPS
  • Learn how to convert second-order differential equations into first-order systems.
  • Study the method of solving homogeneous differential equations and characteristic equations.
  • Explore the use of MapleSoft for solving differential equations and matrix representations.
  • Investigate vibration modeling techniques in mechanical engineering.
USEFUL FOR

Students and professionals in engineering, particularly those specializing in mechanical systems, as well as mathematicians and researchers working with differential equations and their applications in modeling dynamic systems.

Abyssnight
Messages
5
Reaction score
0
Solve the equation m\frac{d^{2}x}{dt^{2}} + c\frac{dx}{dt} + kx = (ax + b)^{2} + c^{2} for the constants m, c, k

The right hand side a, b, and c are arbitrary digits. For me they are a = 2, b = 3, and c = 8.
The problem recommends creating a linear system of equations for me to solve. This is to be done using MapleSoft.

I tried making a set of equations using (m*r^2 + c*r + k) = (2+3)^2 + 64 and then using various values of r to get a system of equations. But the result got me m = 0, c = 0 and k equaling some number. However this is incorrect because the left part of the main equations with the constants will be used to make a vibration model that I would solve. With m and c equaling 0, I would not have any derivatives and therefore not being able to solve the equation.

So now I'm at a loss. I also tried converting the equation into 2 systems of first order differentials but that lead to me really nowhere.
 
Physics news on Phys.org
Abyssnight said:
Solve the equation m\frac{d^{2}x}{dt^{2}} + c\frac{dx}{dt} + kx = (ax + b)^{2} + c^{2} for the constants m, c, k

The right hand side a, b, and c are arbitrary digits. For me they are a = 2, b = 3, and c = 8.
The problem recommends creating a linear system of equations for me to solve. This is to be done using MapleSoft.

I tried making a set of equations using (m*r^2 + c*r + k) = (2+3)^2 + 64
I'm afraid you are completely confused as to what you are doing. You titled this "linear system of equations" but this cannot be put into "linear system" form because your equation is NOT linear to begin with: x(t) is the dependent variable and you have a non-linear function of the form (ax+ b)^2.

A linear equation would have to have a function of the independent variable, t, on the right, not a function of the dependent variable x.

That is m d^2x/dt^2+ c dx/dt+ kx= (at+ )^2+ c would be a linear equation, not the equation you have.

The standard method of solution would be to solve the corresponding homogeneous equation first: solve the characteristic equation mr^2+ cr+ k= 0 to get a general solution to the associated homogeneous equation then try to find a solution of the form "x= At^2+ Bt+ C".

and then using various values of r to get a system of equations. But the result got me m = 0, c = 0 and k equaling some number. However this is incorrect because the left part of the main equations with the constants will be used to make a vibration model that I would solve. With m and c equaling 0, I would not have any derivatives and therefore not being able to solve the equation.

So now I'm at a loss. I also tried converting the equation into 2 systems of first order differentials but that lead to me really nowhere.
I'm not sure what you mean by "using various values of r to get a system of equations." You need to get a system of first order differential equations from the orginal equation. To do that defined a new dependent variable, y(t), as the derivative of x: y(t)= dx/dt. Then the second derivative of x is just the first derivative of y and "md^2x/dt+ cdx/dt+ kx" becomes "m dy/dt+ c dx/dt+ kx" and the entire differential equation becomes
mdy/dt+ c dx/dt+ kx= (at+ b)^2+ c
and, of course, dx/dt- y= 0

That could be written as a matrix equation:
m\frac{\begin{pmatrix}x \\ y\end{pmatrix}}{dt}+ \begin{pmatrix}k & c \\ 0 & -1 \end{pmatrix}\begin{pmatrix}x \\ y \end{pmatrix}= \begin{pmatrix}(at+ b)^2+ c \\ 0 \end{pmatrix}
 
Last edited by a moderator:

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
902
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 52 ·
2
Replies
52
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K