# Reduce order of differential equations to first-order

**URL:** <https://discourse.julialang.org/t/reduce-order-of-differential-equations-to-first-order/56090>\
**Category:** General Usage\
**Created:** [February 26, 2021, 2:31pm UTC](https://discourse.julialang.org/t/reduce-order-of-differential-equations-to-first-order/56090 "2021-02-26T14:31:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fms-1988](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fms-1988/32/20275_2.png) [@fms-1988](https://discourse.julialang.org/u/fms-1988)\
**Post date:** [February 26, 2021, 2:31pm UTC](https://discourse.julialang.org/t/reduce-order-of-differential-equations-to-first-order/56090/1 "2021-02-26T14:31:04Z")

</div>

I am working with differential equations.  
Some of my procedures require me to reduce the order of the ODE.  
Matlab has an efficient algorithm to do this ([here](https://www.mathworks.com/help/symbolic/odetovectorfield.html)).  
My doubt is: is there an algorithm similar to this for Julia?

---

<div class="post-metadata">

**Author:** ![contradict](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@contradict](https://discourse.julialang.org/u/contradict)\
**Post date:** [February 26, 2021, 4:21pm UTC](https://discourse.julialang.org/t/reduce-order-of-differential-equations-to-first-order/56090/2 "2021-02-26T16:21:27Z")

</div>

I think this is the equivalent example: [Automatic Transformation of Nth Order ODEs to 1st Order ODEs · ModelingToolkit.jl](https://mtk.sciml.ai/stable/tutorials/higher_order/)

---

<div class="post-metadata">

**Author:** ![fms-1988](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fms-1988/32/20275_2.png) [@fms-1988](https://discourse.julialang.org/u/fms-1988)\
**Post date:** [February 26, 2021, 5:48pm UTC](https://discourse.julialang.org/t/reduce-order-of-differential-equations-to-first-order/56090/3 "2021-02-26T17:48:56Z")

</div>

Thank you very much!
