Second order ordinary differential equation to a system of first order

Click For Summary

Discussion Overview

The discussion revolves around the conversion of a second order ordinary differential equation into a system of first order differential equations and its representation in matrix form. Participants are comparing their approaches to a solution presented in a textbook by LM Hocking, specifically in the context of optimal control.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant expresses confusion about differences between their solution and the textbook's solution, seeking clarification on potential errors.
  • Another participant suggests that there is nothing fundamentally wrong with the first participant's approach, noting a specific issue with a constant in their matrix representation.
  • A third participant points out that the discrepancy arises from a different definition of a variable used in the participant's solution compared to the textbook.
  • Participants acknowledge that the textbook author may have specific reasons for their approach, implying that multiple valid methods may exist.

Areas of Agreement / Disagreement

Participants generally agree that the first participant's method is valid, though they note differences in variable definitions and constants. The discussion remains unresolved regarding the specific reasons behind the textbook's approach.

Contextual Notes

Limitations include potential differences in variable definitions and the handling of constants, which may affect the comparison of solutions. The discussion does not resolve these differences.

LSMOG
Messages
62
Reaction score
0
I tried to convert the second order ordinary differential equation to a system of first order differential equations and to write it in a matrix form. I took it from the book by LM Hocking on (Optimal control). What did I do wrong in this attachment because mine
IMG_20180525_211314.jpg
differs from the book?. I've attached both the book solution and mine. Thanks.
 

Attachments

  • IMG_20180525_211314.jpg
    IMG_20180525_211314.jpg
    19.6 KB · Views: 1,940
Physics news on Phys.org
LSMOG said:
I tried to convert the second order ordinary differential equation to a system of first order differential equations and to write it in a matrix form. I took it from the book by LM Hocking on (Optimal control). What did I do wrong in this attachment because mineView attachment 226158 differs from the book?. I've attached both the book solution and mine. Thanks.
I don't think there is anything wrong with your way (except for the ##\frac 1 k## you have penciled in front of the matrix in your equation). It still leads to the same solution to the differential equation. Your way does require fiddling with the constants a little more to get to that solution, which may be why your textbook gives the particular form you found there.
 
You didn't do anything wrong. Just that your definition of ##x_2## is different from that in the book.
When I do this I do it the same way you do, but perhaps the book author has some specific reason for his approach ?
 
Thanks very much
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
8
Views
6K
  • · Replies 11 ·
Replies
11
Views
2K