Help with finding the particular solution to this difference equation

Tygra

New member
Joined
Mar 29, 2021
Messages
22
Hi all,

I have a difference equation that is in the form:

1718278659379.png

The book that I am going through gives the complimentary solution to this equation as:

1718279756645.png

I have the values of g, r, V and C1, and also the values of beta 1 and beta 2. I just need to find the particular solution to add on to the complimentary solution. Then I can solve for the coefficients A1 and A2. I have looked high and low on the internet and cannot find anything that deals with a inhomogenious difference equation that has the form of this equation.

Please can somebody help? Even if you can not, please don't ignore this post. Please let me know your thoughts on it.

Many thanks in advance,

Tygra
 
Last edited:
I have the values of g, r, V and C1, and also the values of beta 1 and beta 2. I just need to find the particular solution to add on to the complimentary solution. Then I can solve for the coefficients A1 and A2. I have looked high and low on the internet and cannot find anything that deals with a inhomogenious difference equation that has the form of this equation.
When you plug in all your known values into the difference equation you left with a family of equations for A1,A2A_1,A_2 which have to hold for all values of ii. Pick a couple of simple values of ii (e.g., 1 and 2), and you get a system of 2 linear equations with 2 variables.
 
Hi blamocur,

Thank you for responding to my question.

I am a not sure if I understood you correctly.

If I plug into to the equations i =1 and i = 2, then I get two equations with three variables. I get θ1\theta 1, θ2\theta2 and θ3 \theta 3. This looks like this when plugged into the equation.

When i = 1:

1718301435990.png
When i = 2:

1718301476313.png

I have probably misunderstood you, so sorry about that.

To give you some context to the problem, the variable θ\theta is for the rotations at the joints of each storey in a multi-storey bulding. Once I have θ\theta at every joint I can calculate the bending moments in the columns and beams.

Thank you for your patience,

Tygra
 
Ah I see, the complimentray function.

Thing is I need boundary conditions. For i = 1 θ1\theta1 = 0, but if I use i = 2, so θ2\theta2 I do not know what this rotation is at this joint - its not zero. The book says for the other boundary condition the sum of the moments at the top most joint = 0. So in a 4 storey building this would be at i = 4. And the complimentray function is a function for θ\theta, not for the moments. I learnt a university that the moment is the first derivitave of the rotation. So I think I might have to differentiate the complimentray function. What do you think?
 
Actually, I was wrong -- sorry, did not pay enough attention to the problem and assumed that the complimentary function is a solution in itself :( Time to start thinking...
 
That's fine, blamocur.

I actually posted this question on the Just Answer UK website, and two maths teacher/tutors couldn't answer it. Im not sure what level they were, but the site claims they were experts. - probably not though

Please dont leave me on here. If you cant solve it let me know. But I am hoping if you can't perhaps you have some friends in high places that can?
 
Unlike Just Answer tutors I do not claim to be an expert in the field of difference equations, no do I know any experts in there. If I had to solve this in practice, and the range of ii is not too big (< 1000?) I would reduce it to a system of linear equations and see if it can be solved numerically. If 1in1\leq i \leq n you will have a system of n2n-2 linear equations plus 2 boundary conditions, which should make the system quite solvable, especially because the resulting n×nn\times n matrix is quite sparse.

You might also have more luck asking this question in Math StackExchange's Recurrence Equation section.
 
I have tried to solve it numerically using the shooting method, but I am getting poor results. The equation is a second order difference equation. Could you claify for me if I am correct in my conversion to first order equations below?

Second Order equation
1718278659379.png


if θ \theta' = zz and θ\theta'' = zz'



1718320349177.png

and

θ\theta' = zz

Are these correct blamocur?
 
Hi all,

I have a difference equation that is in the form:

View attachment 38156

The book that I am going through gives the complimentary solution to this equation as:

View attachment 38160

I have the values of g, r, V and C1, and also the values of beta 1 and beta 2. I just need to find the particular solution to add on to the complimentary solution. Then I can solve for the coefficients A1 and A2. I have looked high and low on the internet and cannot find anything that deals with a inhomogenious difference equation that has the form of this equation.

Please can somebody help? Even if you can not, please don't ignore this post. Please let me know your thoughts on it.

Many thanks in advance,

Tygra
I have an idea to approximate the solution for θ1,θ2,θ3,,θn\theta_1, \theta_2, \theta_3,\cdot \cdot \cdot \cdot \cdot \cdot ,\theta_n if you tell me two things. The first thing that I need to know is that this θ\theta is a function of what variable? is it VV? The second thing that I need to know is that, what are the two boundary conditions?
 
I have an idea to approximate the solution for θ1,θ2,θ3,,θn\theta_1, \theta_2, \theta_3,\cdot \cdot \cdot \cdot \cdot \cdot ,\theta_n if you tell me two things. The first thing that I need to know is that this θ\theta is a function of what variable? is it VV? The second thing that I need to know is that, what are the two boundary conditions?
If my idea worked, you would be able to use, for example, the values of θ1\theta_1 and θ2\theta_2 to find the coefficients A1A_1 and A2A_2 of:

θi=A1β1i+A2β2i\theta_i = A_1 \cdot \beta_1^i + A_2 \cdot \beta_2^i

By solving this system:

θ1=A1β11+A2β21\theta_1 = A_1 \cdot \beta_1^1 + A_2 \cdot \beta_2^1

θ2=A1β12+A2β22\theta_2 = A_1 \cdot \beta_1^2 + A_2 \cdot \beta_2^2
 
I have an idea to approximate the solution for θ1,θ2,θ3,,θn\theta_1, \theta_2, \theta_3,\cdot \cdot \cdot \cdot \cdot \cdot ,\theta_n if you tell me two things. The first thing that I need to know is that this θ\theta is a function of what variable? is it VV? The second thing that I need to know is that, what are the two boundary conditions?
This is a difference equation in i. So you are solving for all θi\theta _i.

Have you encountered difference equations?

-Dan
 
No clue :( What is θ\theta^\prime considering that θ\theta is a discrete variable?
Looks like

θ′ = d/dx [θ] ..... and consequently

θ′′ = d/dx [θ′] = d2/dx2 [θ]
 
Last edited by a moderator:
I have an idea to approximate the solution for θ1,θ2,θ3,,θn\theta_1, \theta_2, \theta_3,\cdot \cdot \cdot \cdot \cdot \cdot ,\theta_n if you tell me two things. The first thing that I need to know is that this θ\theta is a function of what variable? is it VV? The second thing that I need to know is that, what are the two boundary conditions?

Hi Mario,

that is a good question. Knowing what the variable is of the function has been confusing me. I don't believe it is VV, as this is the shear force at each joint in the multi-storey structure. I could be wrong though. Perhaps the variable is the distance from the bottom to the top of the structure which we could call xx. I say this because for the deflection and rotation of a cantilever beam the equations are a function of xx. See below:

deflection-rotation.jpg

As for the boundary conditions, θ1\theta1 equals zero. This is because the rigid connection at the base retrains any rotation. The book gives the second boundary condition as the sum of the moments at the joint at the top of the structure = 0. This has been confusing me also, because the equation is for the rotation θ\theta, not for the moments! However, like I posted previously, the bending moment is the first derivative of the rotation. So my guess is, differentiate the equation and then set the last value of ii equal to zero.

Here is the page from the book. It might help you out more.

Document_2024-06-06_194155.jpg


Thank you for all your help.

Tygra
 
The table that you have sent gives the angle at the free end which is the second boundary condition we are seeking. The general relation between the deflection vv and the angle θ\theta is:

θA=v(0)\theta_A = v'(0)

And

θB=v(L)\theta_B = v'(L)


Can you find θB\theta_B? Either use the table or the general relation.
 
Thing is the rotation for the single cantilever beam will not work for a muiltistorey frame. However, using some approximate methods for deflection I have managed to come up with a value for θB\theta B. Try using a value of 0.00010289 rads.
 
Last edited:
Are you taking a course in "structural mechanics or "numerical analysis"?

Do you know the differential equation/s through which the expressions in the table that you quoted in the response #16?

Can you derive the equations that you quoted in response #16 - using principles of "solid mechanics"?

If this is a "project" in your structural mechanics course - you need to know the derivations!

Then you solve those equations through numerical analysis to get the "approximate" answer. (I know this because I taught structural mechanics at a university)
 
Are you taking a course in "structural mechanics or "numerical analysis"?

Do you know the differential equation/s through which the expressions in the table that you quoted in the response #16?

Can you derive the equations that you quoted in response #16 - using principles of "solid mechanics"?

If this is a "project" in your structural mechanics course - you need to know the derivations!

Then you solve those equations through numerical analysis to get the "approximate" answer. (I know this because I taught structural mechanics at a university)
Hi Khansaheb,

I am actually a graduate Civil Engineer (with more emphasis on structural engineering). I graduated last year. I am not working at the moment so I am trying to go above a beyond what I have already learnt. I am doing a personal project for a seven storey building and want to compute approximate bending moments for the rigid frames of the building. To do this I need the elusive θ\theta values.

We didn't do a module on structural mechanics per se, but did structural analysis and computational mechanics (which is where we learnt numerical methods).

Yes, I do know the differential equations for the expressions in the table that I quoted. You usually start with y=Mx/EIy'' = Mx/EI and integrate once for the rotation and once more for the deflection.

The expressions in the table are for beams, not for 2D rigid frames. The beams don't experience something called shear racking, multi-storey rigid frames do. If the multi storey rigid frame just experienced bending, then I could use the expression in the table. The deflection of the rigid frames defect due to shear racking and bending.
 
Top