How to Write Math Equation in LaTeX

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












I am new in LaTex and need your help to write the following math equation in LaTeX.



enter image description here










share|improve this question









New contributor




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



















  • Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    2 hours ago















up vote
2
down vote

favorite












I am new in LaTex and need your help to write the following math equation in LaTeX.



enter image description here










share|improve this question









New contributor




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



















  • Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    2 hours ago













up vote
2
down vote

favorite









up vote
2
down vote

favorite











I am new in LaTex and need your help to write the following math equation in LaTeX.



enter image description here










share|improve this question









New contributor




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











I am new in LaTex and need your help to write the following math equation in LaTeX.



enter image description here







math-mode






share|improve this question









New contributor




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











share|improve this question









New contributor




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









share|improve this question




share|improve this question








edited 2 hours ago









Skillmon

18.9k11637




18.9k11637






New contributor




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









asked 2 hours ago









user171686

111




111




New contributor




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





New contributor





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






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











  • Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    2 hours ago

















  • Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    2 hours ago
















Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
– Bobyandbob
2 hours ago





Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
– Bobyandbob
2 hours ago











2 Answers
2






active

oldest

votes

















up vote
3
down vote













One of the simplest ways to input an equation into LaTeX is to write something like



documentclassarticle

begindocument

beginequation
H_k_p=fracY_k_pX_k_p
endequation

enddocument


enter image description here



Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.






share|improve this answer








New contributor




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

















  • You can mark inline code as such by using back ticks: `.
    – Skillmon
    1 hour ago

















up vote
2
down vote













A very simple one. You can use one of the three methods below (among others…)



Edit



Use frac instead of dfrac



documentclassarticle

usepackageamsmath

begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]

Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.

With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument


enter image description here






share|improve this answer


















  • 1




    Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
    – Skillmon
    2 hours ago










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    1 hour ago










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    1 hour ago










  • Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
    – Skillmon
    1 hour ago











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    1 hour ago










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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






user171686 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%2f453663%2fhow-to-write-math-equation-in-latex%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote













One of the simplest ways to input an equation into LaTeX is to write something like



documentclassarticle

begindocument

beginequation
H_k_p=fracY_k_pX_k_p
endequation

enddocument


enter image description here



Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.






share|improve this answer








New contributor




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

















  • You can mark inline code as such by using back ticks: `.
    – Skillmon
    1 hour ago














up vote
3
down vote













One of the simplest ways to input an equation into LaTeX is to write something like



documentclassarticle

begindocument

beginequation
H_k_p=fracY_k_pX_k_p
endequation

enddocument


enter image description here



Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.






share|improve this answer








New contributor




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

















  • You can mark inline code as such by using back ticks: `.
    – Skillmon
    1 hour ago












up vote
3
down vote










up vote
3
down vote









One of the simplest ways to input an equation into LaTeX is to write something like



documentclassarticle

begindocument

beginequation
H_k_p=fracY_k_pX_k_p
endequation

enddocument


enter image description here



Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.






share|improve this answer








New contributor




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









One of the simplest ways to input an equation into LaTeX is to write something like



documentclassarticle

begindocument

beginequation
H_k_p=fracY_k_pX_k_p
endequation

enddocument


enter image description here



Notice how I've used the syntax of LaTeX to format the equation into the way you want - subscripts need the _ key, and I've used to indicate "k_p" should itself be a subscript. Also note how to make fractions by using the frac command.







share|improve this answer








New contributor




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









share|improve this answer



share|improve this answer






New contributor




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









answered 2 hours ago









Garf

1414




1414




New contributor




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





New contributor





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






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











  • You can mark inline code as such by using back ticks: `.
    – Skillmon
    1 hour ago
















  • You can mark inline code as such by using back ticks: `.
    – Skillmon
    1 hour ago















You can mark inline code as such by using back ticks: `.
– Skillmon
1 hour ago




You can mark inline code as such by using back ticks: `.
– Skillmon
1 hour ago










up vote
2
down vote













A very simple one. You can use one of the three methods below (among others…)



Edit



Use frac instead of dfrac



documentclassarticle

usepackageamsmath

begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]

Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.

With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument


enter image description here






share|improve this answer


















  • 1




    Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
    – Skillmon
    2 hours ago










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    1 hour ago










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    1 hour ago










  • Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
    – Skillmon
    1 hour ago











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    1 hour ago














up vote
2
down vote













A very simple one. You can use one of the three methods below (among others…)



Edit



Use frac instead of dfrac



documentclassarticle

usepackageamsmath

begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]

Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.

With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument


enter image description here






share|improve this answer


















  • 1




    Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
    – Skillmon
    2 hours ago










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    1 hour ago










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    1 hour ago










  • Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
    – Skillmon
    1 hour ago











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    1 hour ago












up vote
2
down vote










up vote
2
down vote









A very simple one. You can use one of the three methods below (among others…)



Edit



Use frac instead of dfrac



documentclassarticle

usepackageamsmath

begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]

Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.

With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument


enter image description here






share|improve this answer














A very simple one. You can use one of the three methods below (among others…)



Edit



Use frac instead of dfrac



documentclassarticle

usepackageamsmath

begindocument
In displaystyle
[H_k_p=fracY_k_pX_k_p]

Or inline $H_k_p=dfracY_k_pX_k_p=fracY_k_pX_k_p=tfracY_k_pX_k_p$.

With a numbered and refenced equation (see refeq:1)
beginequation
H_k_p=fracY_k_pX_k_plabeleq:1
endequation
enddocument


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 1 hour ago

























answered 2 hours ago









NBur

1,01312




1,01312







  • 1




    Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
    – Skillmon
    2 hours ago










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    1 hour ago










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    1 hour ago










  • Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
    – Skillmon
    1 hour ago











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    1 hour ago












  • 1




    Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
    – Skillmon
    2 hours ago










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    1 hour ago










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    1 hour ago










  • Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
    – Skillmon
    1 hour ago











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    1 hour ago







1




1




Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
– Skillmon
2 hours ago




Why do you use dfrac? With normal baselineskip this is likely to be too large in inline maths (and in your displayed equation it is the same as frac).
– Skillmon
2 hours ago












Only because I made a copy/paste… :( Answer edited.
– NBur
1 hour ago




Only because I made a copy/paste… :( Answer edited.
– NBur
1 hour ago












@Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
– NBur
1 hour ago




@Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
– NBur
1 hour ago












Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
– Skillmon
1 hour ago





Use the following MWE and you'll instantly see why using dfrac is a bad idea without additional line spread (in fact even a frac is too large here): documentclassarticleusepackageamsmath,duckumentsbegindocumentblindduck$H_k_p=dfracY_k_pX_k_p$blindduckpar blindduck$H_k_p=fracY_k_pX_k_p$blindduckenddocument.
– Skillmon
1 hour ago













Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
– Skillmon
1 hour ago




Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
– Skillmon
1 hour ago










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









 

draft saved


draft discarded


















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












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











user171686 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%2f453663%2fhow-to-write-math-equation-in-latex%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

Installing NextGIS Connect into QGIS 3?

One-line joke