How to format two equations on the same row but then carry on with one of the equations below?












1














This is my code:



The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
begin{align} label{eq:17}
frac{d}{dt}left(frac{partial L}{partial dot{x}}right) =frac{partial L}{partial x} Rightarrow qquad qquad frac{d}{dt}(mdot{x})=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
mddot{x}=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
ddot{x} = (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
end{align}
The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
begin{align} label{eq:18}
frac{d}{dt}left(frac{partial L}{partial dot{theta}}right) =frac{partial L}{partial theta} Rightarrow qquad qquad frac{d}{dt}[m(l+x)^2dot{theta}] = -mg(l+x)sintheta nonumber \
m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta} = -mg(l+x)sintheta nonumber \
(l+x)ddot{theta}+2dot{x}dot{theta} = -gsintheta nonumber \
ddot{theta}=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
end{align}


which gives this output: enter image description here



I wish for the systems of equations on the right to be aligned (not necessarily with the other system, but within its own) and to not vertically overlap with the equation on the left (as the second system currently does). Would someone please show me how to do this? Apologies if unclear.









share







New contributor




Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1














    This is my code:



    The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
    begin{align} label{eq:17}
    frac{d}{dt}left(frac{partial L}{partial dot{x}}right) =frac{partial L}{partial x} Rightarrow qquad qquad frac{d}{dt}(mdot{x})=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
    mddot{x}=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
    ddot{x} = (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
    end{align}
    The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
    begin{align} label{eq:18}
    frac{d}{dt}left(frac{partial L}{partial dot{theta}}right) =frac{partial L}{partial theta} Rightarrow qquad qquad frac{d}{dt}[m(l+x)^2dot{theta}] = -mg(l+x)sintheta nonumber \
    m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta} = -mg(l+x)sintheta nonumber \
    (l+x)ddot{theta}+2dot{x}dot{theta} = -gsintheta nonumber \
    ddot{theta}=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
    end{align}


    which gives this output: enter image description here



    I wish for the systems of equations on the right to be aligned (not necessarily with the other system, but within its own) and to not vertically overlap with the equation on the left (as the second system currently does). Would someone please show me how to do this? Apologies if unclear.









    share







    New contributor




    Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      1












      1








      1







      This is my code:



      The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
      begin{align} label{eq:17}
      frac{d}{dt}left(frac{partial L}{partial dot{x}}right) =frac{partial L}{partial x} Rightarrow qquad qquad frac{d}{dt}(mdot{x})=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
      mddot{x}=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
      ddot{x} = (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
      end{align}
      The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
      begin{align} label{eq:18}
      frac{d}{dt}left(frac{partial L}{partial dot{theta}}right) =frac{partial L}{partial theta} Rightarrow qquad qquad frac{d}{dt}[m(l+x)^2dot{theta}] = -mg(l+x)sintheta nonumber \
      m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta} = -mg(l+x)sintheta nonumber \
      (l+x)ddot{theta}+2dot{x}dot{theta} = -gsintheta nonumber \
      ddot{theta}=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
      end{align}


      which gives this output: enter image description here



      I wish for the systems of equations on the right to be aligned (not necessarily with the other system, but within its own) and to not vertically overlap with the equation on the left (as the second system currently does). Would someone please show me how to do this? Apologies if unclear.









      share







      New contributor




      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      This is my code:



      The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
      begin{align} label{eq:17}
      frac{d}{dt}left(frac{partial L}{partial dot{x}}right) =frac{partial L}{partial x} Rightarrow qquad qquad frac{d}{dt}(mdot{x})=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
      mddot{x}=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
      ddot{x} = (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
      end{align}
      The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
      begin{align} label{eq:18}
      frac{d}{dt}left(frac{partial L}{partial dot{theta}}right) =frac{partial L}{partial theta} Rightarrow qquad qquad frac{d}{dt}[m(l+x)^2dot{theta}] = -mg(l+x)sintheta nonumber \
      m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta} = -mg(l+x)sintheta nonumber \
      (l+x)ddot{theta}+2dot{x}dot{theta} = -gsintheta nonumber \
      ddot{theta}=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
      end{align}


      which gives this output: enter image description here



      I wish for the systems of equations on the right to be aligned (not necessarily with the other system, but within its own) and to not vertically overlap with the equation on the left (as the second system currently does). Would someone please show me how to do this? Apologies if unclear.







      equations formatting





      share







      New contributor




      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 7 mins ago









      Charlotte Noxon

      61




      61




      New contributor




      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Charlotte Noxon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Welcome to TeX.SE! You already dialed the right environment for that, align, but are not really using it. To use it, you need to set alignment points with &. So to first approximation I'd like to suggest.



          documentclass{article}
          usepackage{mathtools}
          begin{document}
          The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
          begin{align} label{eq:17}
          frac{d}{dt}left(frac{partial L}{partial dot{x}}right)& =frac{partial
          L}{partial x} &Rightarrow qquad qquad frac{d}{dt}(mdot{x})&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
          && mddot{x}&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
          && ddot{x} &= (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
          end{align}
          The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
          begin{align} label{eq:18}
          frac{d}{dt}left(frac{partial L}{partial dot{theta}}right)&
          =frac{partial L}{partial theta} &Rightarrow qquad qquad
          frac{d}{dt}[m(l+x)^2dot{theta}] &= -mg(l+x)sintheta nonumber \
          &&m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta}& = -mg(l+x)sintheta nonumber \
          && (l+x)ddot{theta}+2dot{x}dot{theta} &= -gsintheta nonumber \
          && ddot{theta}&=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
          end{align}
          end{document}


          enter image description here





          share





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            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
            });


            }
            });






            Charlotte Noxon is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467740%2fhow-to-format-two-equations-on-the-same-row-but-then-carry-on-with-one-of-the-eq%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









            0














            Welcome to TeX.SE! You already dialed the right environment for that, align, but are not really using it. To use it, you need to set alignment points with &. So to first approximation I'd like to suggest.



            documentclass{article}
            usepackage{mathtools}
            begin{document}
            The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
            begin{align} label{eq:17}
            frac{d}{dt}left(frac{partial L}{partial dot{x}}right)& =frac{partial
            L}{partial x} &Rightarrow qquad qquad frac{d}{dt}(mdot{x})&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
            && mddot{x}&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
            && ddot{x} &= (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
            end{align}
            The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
            begin{align} label{eq:18}
            frac{d}{dt}left(frac{partial L}{partial dot{theta}}right)&
            =frac{partial L}{partial theta} &Rightarrow qquad qquad
            frac{d}{dt}[m(l+x)^2dot{theta}] &= -mg(l+x)sintheta nonumber \
            &&m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta}& = -mg(l+x)sintheta nonumber \
            && (l+x)ddot{theta}+2dot{x}dot{theta} &= -gsintheta nonumber \
            && ddot{theta}&=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
            end{align}
            end{document}


            enter image description here





            share


























              0














              Welcome to TeX.SE! You already dialed the right environment for that, align, but are not really using it. To use it, you need to set alignment points with &. So to first approximation I'd like to suggest.



              documentclass{article}
              usepackage{mathtools}
              begin{document}
              The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
              begin{align} label{eq:17}
              frac{d}{dt}left(frac{partial L}{partial dot{x}}right)& =frac{partial
              L}{partial x} &Rightarrow qquad qquad frac{d}{dt}(mdot{x})&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
              && mddot{x}&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
              && ddot{x} &= (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
              end{align}
              The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
              begin{align} label{eq:18}
              frac{d}{dt}left(frac{partial L}{partial dot{theta}}right)&
              =frac{partial L}{partial theta} &Rightarrow qquad qquad
              frac{d}{dt}[m(l+x)^2dot{theta}] &= -mg(l+x)sintheta nonumber \
              &&m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta}& = -mg(l+x)sintheta nonumber \
              && (l+x)ddot{theta}+2dot{x}dot{theta} &= -gsintheta nonumber \
              && ddot{theta}&=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
              end{align}
              end{document}


              enter image description here





              share
























                0












                0








                0






                Welcome to TeX.SE! You already dialed the right environment for that, align, but are not really using it. To use it, you need to set alignment points with &. So to first approximation I'd like to suggest.



                documentclass{article}
                usepackage{mathtools}
                begin{document}
                The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
                begin{align} label{eq:17}
                frac{d}{dt}left(frac{partial L}{partial dot{x}}right)& =frac{partial
                L}{partial x} &Rightarrow qquad qquad frac{d}{dt}(mdot{x})&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
                && mddot{x}&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
                && ddot{x} &= (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
                end{align}
                The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
                begin{align} label{eq:18}
                frac{d}{dt}left(frac{partial L}{partial dot{theta}}right)&
                =frac{partial L}{partial theta} &Rightarrow qquad qquad
                frac{d}{dt}[m(l+x)^2dot{theta}] &= -mg(l+x)sintheta nonumber \
                &&m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta}& = -mg(l+x)sintheta nonumber \
                && (l+x)ddot{theta}+2dot{x}dot{theta} &= -gsintheta nonumber \
                && ddot{theta}&=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
                end{align}
                end{document}


                enter image description here





                share












                Welcome to TeX.SE! You already dialed the right environment for that, align, but are not really using it. To use it, you need to set alignment points with &. So to first approximation I'd like to suggest.



                documentclass{article}
                usepackage{mathtools}
                begin{document}
                The Lagrangian eqref{eq:14} differentiated according to eqref{eq:15} gives the equation of motion in terms of linear acceleration $ddot{x}$:
                begin{align} label{eq:17}
                frac{d}{dt}left(frac{partial L}{partial dot{x}}right)& =frac{partial
                L}{partial x} &Rightarrow qquad qquad frac{d}{dt}(mdot{x})&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
                && mddot{x}&=m(l+x)^2dot{theta}^2-kx+mgcostheta nonumber \
                && ddot{x} &= (l+x)^2dot{theta}^2-frac{k}{m}x+gcostheta.
                end{align}
                The same process is done according to eqref{eq:16} to generate the equation of motion with respect to $ddot{theta}$:
                begin{align} label{eq:18}
                frac{d}{dt}left(frac{partial L}{partial dot{theta}}right)&
                =frac{partial L}{partial theta} &Rightarrow qquad qquad
                frac{d}{dt}[m(l+x)^2dot{theta}] &= -mg(l+x)sintheta nonumber \
                &&m(l+x)^2ddot{theta}+2m(l+x)dot{x}dot{theta}& = -mg(l+x)sintheta nonumber \
                && (l+x)ddot{theta}+2dot{x}dot{theta} &= -gsintheta nonumber \
                && ddot{theta}&=frac{-gsintheta-2dot{x}dot{theta}}{l+x}
                end{align}
                end{document}


                enter image description here






                share











                share


                share










                answered 22 secs ago









                marmot

                86.6k499185




                86.6k499185






















                    Charlotte Noxon is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    Charlotte Noxon is a new contributor. Be nice, and check out our Code of Conduct.













                    Charlotte Noxon is a new contributor. Be nice, and check out our Code of Conduct.












                    Charlotte Noxon is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to TeX - LaTeX 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.


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





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2ftex.stackexchange.com%2fquestions%2f467740%2fhow-to-format-two-equations-on-the-same-row-but-then-carry-on-with-one-of-the-eq%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

                    サソリ

                    広島県道265号伴広島線

                    Accessing regular linux commands in Huawei's Dopra Linux