Neglect higher order derivatives in expressionLinearity AssumptionReplace rule with function? Derivatives...

Problems with position of tikzpictures in beamer

Tikz: Perpendicular FROM a line

Why does a single AND gate need 60 transistors?

Do the speed limit reductions due to pollution also apply to electric cars in France?

Is there redundancy between a US Passport Card and an Enhanced Driver's License?

Can you say "leftside right"?

Are all power cords made equal?

What is an explicit bijection in combinatorics?

Expression for "unconsciously using words (or accents) used by a person you often talk with or listen to"?

What does "south of due west" mean?

In the Lost in Space intro why was Dr. Smith actor listed as a special guest star?

What is formjacking?

Why is Shelob considered evil?

My job requires me to shuck oysters

How many copper coins fit inside a cubic foot?

How do I narratively explain how in-game circumstances do not mechanically allow a PC to instantly kill an NPC?

Question from the 2011 IMC (international mathematics competition) key stage III paper, about the evaluation of a+b+c

Is there any way to play D&D without a DM?

Manager has noticed coworker's excessive breaks. Should I warn him?

How do I make my single-minded character more interested in the main story?

What could cause an entire planet of humans to become aphasic?

Could a civilization in medieval fantasy world sustain itself by occupying important trade hubs and taxing trade?

Have any astronauts or cosmonauts died in space?

Why don't you get burned by the wood benches in a sauna?



Neglect higher order derivatives in expression


Linearity AssumptionReplace rule with function? Derivatives don't evaluateTransformation of Derivatives under change of coordinatesReplace function and its derivativesSymbolic derivatives and substitutionReplaceAll and derivativesSetting a function and all its derivatives to zeroReplace functions of an expression by their zeroth derivativeReplaceString on complicated expressionReplace derivatives using vector notationFastest way to replace/evaluate symbols in long expressions













3












$begingroup$


Say I have an expression of this sort:



Derivative[5][x1][t]+Derivative[3][x2][t]+x1[t]+Derivative[2][x1][t] 


and so on...



I would like to ask Mathematica to neglext all expressions having derivatives higher than a given order (say N).



What would be a good solution for that?










share|improve this question











$endgroup$












  • $begingroup$
    Related: mathematica.stackexchange.com/questions/192076/…
    $endgroup$
    – Michael E2
    2 mins ago
















3












$begingroup$


Say I have an expression of this sort:



Derivative[5][x1][t]+Derivative[3][x2][t]+x1[t]+Derivative[2][x1][t] 


and so on...



I would like to ask Mathematica to neglext all expressions having derivatives higher than a given order (say N).



What would be a good solution for that?










share|improve this question











$endgroup$












  • $begingroup$
    Related: mathematica.stackexchange.com/questions/192076/…
    $endgroup$
    – Michael E2
    2 mins ago














3












3








3





$begingroup$


Say I have an expression of this sort:



Derivative[5][x1][t]+Derivative[3][x2][t]+x1[t]+Derivative[2][x1][t] 


and so on...



I would like to ask Mathematica to neglext all expressions having derivatives higher than a given order (say N).



What would be a good solution for that?










share|improve this question











$endgroup$




Say I have an expression of this sort:



Derivative[5][x1][t]+Derivative[3][x2][t]+x1[t]+Derivative[2][x1][t] 


and so on...



I would like to ask Mathematica to neglext all expressions having derivatives higher than a given order (say N).



What would be a good solution for that?







calculus-and-analysis replacement






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 mins ago









Michael E2

147k12198475




147k12198475










asked 25 mins ago









Mirko AvetaMirko Aveta

908617




908617












  • $begingroup$
    Related: mathematica.stackexchange.com/questions/192076/…
    $endgroup$
    – Michael E2
    2 mins ago


















  • $begingroup$
    Related: mathematica.stackexchange.com/questions/192076/…
    $endgroup$
    – Michael E2
    2 mins ago
















$begingroup$
Related: mathematica.stackexchange.com/questions/192076/…
$endgroup$
– Michael E2
2 mins ago




$begingroup$
Related: mathematica.stackexchange.com/questions/192076/…
$endgroup$
– Michael E2
2 mins ago










1 Answer
1






active

oldest

votes


















5












$begingroup$

Derivative[5][x1][t] + Derivative[3][x2][t] + x1[t] + 
Derivative[2][x1][t] /. Derivative[k_][x_][t_] /; k >= 3 :> 0



x1[t] + (x1^[Prime][Prime])[t]




For understanding /; see the documentation of Condition.






share|improve this answer











$endgroup$













    Your Answer





    StackExchange.ifUsing("editor", function () {
    return StackExchange.using("mathjaxEditing", function () {
    StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
    StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
    });
    });
    }, "mathjax-editing");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "387"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f192073%2fneglect-higher-order-derivatives-in-expression%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    5












    $begingroup$

    Derivative[5][x1][t] + Derivative[3][x2][t] + x1[t] + 
    Derivative[2][x1][t] /. Derivative[k_][x_][t_] /; k >= 3 :> 0



    x1[t] + (x1^[Prime][Prime])[t]




    For understanding /; see the documentation of Condition.






    share|improve this answer











    $endgroup$


















      5












      $begingroup$

      Derivative[5][x1][t] + Derivative[3][x2][t] + x1[t] + 
      Derivative[2][x1][t] /. Derivative[k_][x_][t_] /; k >= 3 :> 0



      x1[t] + (x1^[Prime][Prime])[t]




      For understanding /; see the documentation of Condition.






      share|improve this answer











      $endgroup$
















        5












        5








        5





        $begingroup$

        Derivative[5][x1][t] + Derivative[3][x2][t] + x1[t] + 
        Derivative[2][x1][t] /. Derivative[k_][x_][t_] /; k >= 3 :> 0



        x1[t] + (x1^[Prime][Prime])[t]




        For understanding /; see the documentation of Condition.






        share|improve this answer











        $endgroup$



        Derivative[5][x1][t] + Derivative[3][x2][t] + x1[t] + 
        Derivative[2][x1][t] /. Derivative[k_][x_][t_] /; k >= 3 :> 0



        x1[t] + (x1^[Prime][Prime])[t]




        For understanding /; see the documentation of Condition.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 13 mins ago

























        answered 22 mins ago









        Henrik SchumacherHenrik Schumacher

        54.4k472151




        54.4k472151






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Mathematica Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            Use MathJax to format equations. MathJax reference.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f192073%2fneglect-higher-order-derivatives-in-expression%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Szabolcs (Ungheria) Altri progetti | Menu di navigazione48°10′14.56″N 21°29′33.14″E /...

            Discografia di Klaus Schulze Indice Album in studio | Album dal vivo | Singoli | Antologie | Colonne...

            How to make inet_server_addr() return localhost in spite of ::1/128RETURN NEXT in Postgres FunctionConnect to...