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.















  • 1




    Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    Oct 3 at 16:50











  • Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
    – Ethan Bolker
    Oct 3 at 23:28














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.















  • 1




    Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    Oct 3 at 16:50











  • Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
    – Ethan Bolker
    Oct 3 at 23:28












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 Oct 3 at 16:54









Skillmon

19k11637




19k11637






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 Oct 3 at 16:42









user171686

141




141




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.







  • 1




    Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    Oct 3 at 16:50











  • Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
    – Ethan Bolker
    Oct 3 at 23:28












  • 1




    Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
    – Bobyandbob
    Oct 3 at 16:50











  • Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
    – Ethan Bolker
    Oct 3 at 23:28







1




1




Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
– Bobyandbob
Oct 3 at 16:50





Welcome to TeX.SX! What have you done so far? Try H_k_p=fracY_k_pX_k_p
– Bobyandbob
Oct 3 at 16:50













Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
– Ethan Bolker
Oct 3 at 23:28




Comment not at all an answer. ff you can conveniently write what you mean without using double subscripts many readers will find it easier to understand you.
– Ethan Bolker
Oct 3 at 23:28










2 Answers
2






active

oldest

votes

















up vote
4
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.













  • 1




    You can mark inline code as such by using back ticks: `.
    – Skillmon
    Oct 3 at 16:56

















up vote
3
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
    Oct 3 at 16:55










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    Oct 3 at 16:57










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    Oct 3 at 17:05










  • 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
    Oct 3 at 17:11











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    Oct 3 at 17:12










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













  • 1




    You can mark inline code as such by using back ticks: `.
    – Skillmon
    Oct 3 at 16:56














up vote
4
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.













  • 1




    You can mark inline code as such by using back ticks: `.
    – Skillmon
    Oct 3 at 16:56












up vote
4
down vote










up vote
4
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 Oct 3 at 16:48









Garf

1705




1705




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.







  • 1




    You can mark inline code as such by using back ticks: `.
    – Skillmon
    Oct 3 at 16:56












  • 1




    You can mark inline code as such by using back ticks: `.
    – Skillmon
    Oct 3 at 16:56







1




1




You can mark inline code as such by using back ticks: `.
– Skillmon
Oct 3 at 16:56




You can mark inline code as such by using back ticks: `.
– Skillmon
Oct 3 at 16:56










up vote
3
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
    Oct 3 at 16:55










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    Oct 3 at 16:57










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    Oct 3 at 17:05










  • 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
    Oct 3 at 17:11











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    Oct 3 at 17:12














up vote
3
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
    Oct 3 at 16:55










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    Oct 3 at 16:57










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    Oct 3 at 17:05










  • 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
    Oct 3 at 17:11











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    Oct 3 at 17:12












up vote
3
down vote










up vote
3
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 Oct 3 at 17:03

























answered Oct 3 at 16:47









NBur

1,07812




1,07812







  • 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
    Oct 3 at 16:55










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    Oct 3 at 16:57










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    Oct 3 at 17:05










  • 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
    Oct 3 at 17:11











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    Oct 3 at 17:12












  • 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
    Oct 3 at 16:55










  • Only because I made a copy/paste… :( Answer edited.
    – NBur
    Oct 3 at 16:57










  • @Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
    – NBur
    Oct 3 at 17:05










  • 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
    Oct 3 at 17:11











  • Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
    – Skillmon
    Oct 3 at 17:12







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
Oct 3 at 16:55




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
Oct 3 at 16:55












Only because I made a copy/paste… :( Answer edited.
– NBur
Oct 3 at 16:57




Only because I made a copy/paste… :( Answer edited.
– NBur
Oct 3 at 16:57












@Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
– NBur
Oct 3 at 17:05




@Skillmon However, in inline mode with frac or tfrac, I dislike the numerator touching the line…
– NBur
Oct 3 at 17:05












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
Oct 3 at 17:11





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
Oct 3 at 17:11













Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
– Skillmon
Oct 3 at 17:12




Also the numerator doesn't touch the line, that's the fault of your pdf viewer.
– Skillmon
Oct 3 at 17:12










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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)