×

How do I write solutions in LaTex?

i want to write $$a^{p}-a$$ ............using the latex tried out several times but failed somebody help....can you just tell how exactly to write it down

[edit: formatting -Sam]

Note by Deep Chanda
4 years, 8 months ago

Sort by:

Update: You can now view Latex codes by hovering over the equation. Read Seeing actual $$\LaTeX$$ for more details!

Staff - 2 years, 10 months ago

test $n^4$ $$n^4$$ $$sqrt{3}$$ $$a^{p-a}$$

- 2 years, 2 months ago

\­[a{x}^{4}+{bx}^{3}+{cx}^{2}+dx+c\­]

- 2 years, 11 months ago

\­(a{x}^{4}+{bx}^{3}+{cx}^{2}+dx+c\­)

- 2 years, 11 months ago

\­(a{ x }^{ 4 }+{ bx }^{ 3 }+{ cx }^{ 2 }+dx+c\­)

- 2 years, 11 months ago

Quite odd! Same latex codes work here but not in previewing a worked solution. Do I need to take some other things into consideration when putting math codes there?! e.g $$x^4$$ or $$2 \times x$$

- 4 years, 6 months ago

Did your LaTex woes with writing up your worked solution resolve themselves?

You shouldn't need to take anything additional into consideration on the worked solutions interface. It might be a bug. Did it just fail to render in the previewer, or did it also act up on you with the final submission as well?

Staff - 4 years, 6 months ago

Hi Deep, I just edited your post so that it is formatted the way you asked. If you click on "Edit this discussion" button you will be able to see what you need to use to make it display correctly in LaTeX.

Staff - 4 years, 8 months ago

hi , I was not able to copy the equations from Daum Equation Editor .. wen pasted in the field , it just shows the corresponding code.. can you pls help ?

[edit -Sam: $$4\sqrt [ 3 ] { 3 } 55$$ ]

- 3 years, 2 months ago

Hi Sandeep,

You take the stuff from the bottom box 4\sqrt [ 3 ] { 3 } 55 as seen here:

and put it inside of \ ( ... \ ) or \ [ ... \ ] (omit the spaces) which gives you: $$4\sqrt [ 3 ] { 3 } 55$$

I've edited your comment to add an example so that you can see how it works.

Staff - 3 years, 2 months ago

\ [ 4\sqrt [ 3 ] { 3 } 55\ ]

\ ( 4\sqrt [ 3 ] { 3 } 55\ )

Hi Sam , Thanks for the reply I tried both , but its not working. . .

- 3 years, 2 months ago

Hi Sandeep, I added the spaces between the \ and ( etc because without the extra spaces it will actually try to render math and will hide those symbols.

Simply remove the space between the \ and the [, ], (, and ) and it should work.

$$\backslash(\ ...\ \backslash)$$ is how it should look.

Staff - 3 years, 2 months ago

$4\sqrt [ 3 ] { 3 } 55$ ok .. thank you once again..

- 3 years, 2 months ago

Did you see the formatting guide? The formatting guide is accessible from the rules and guidelines page and the bottom of every post a discussion or comment box.

When you entered the latex, did you bracket it with \ ( .... \ ) ? I have put spaces between the back slashes and the parentheses to make them appear. To indicate LaTex notation, use them without spaces.

You have to bracket all LaTex notation in a backslash immediately followed by a parentheses, I cannot show you exactly in this comment, because it would just be recognized as a LaTex signal and be invisible.

$$a^{p-a}$$ is \ ( a^{p-a} \ ) without the spaces between the back slashes and the parentheses.

Staff - 4 years, 8 months ago

try:

\ ( a^{p-a} \ )

$$a^{p-a}$$

\a^{p-a}\

- 4 years, 2 months ago