# 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
5 years, 2 months ago

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold
- bulleted- list
• bulleted
• list
1. numbered2. list
1. numbered
2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in $$...$$ or $...$ to ensure proper formatting.
2 \times 3 $$2 \times 3$$
2^{34} $$2^{34}$$
a_{i-1} $$a_{i-1}$$
\frac{2}{3} $$\frac{2}{3}$$
\sqrt{2} $$\sqrt{2}$$
\sum_{i=1}^3 $$\sum_{i=1}^3$$
\sin \theta $$\sin \theta$$
\boxed{123} $$\boxed{123}$$

Sort by:

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

Staff - 3 years, 4 months ago

$a^3$

- 1 month, 1 week ago

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

- 2 years, 8 months ago

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

- 3 years, 4 months ago

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

- 3 years, 4 months ago

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

- 3 years, 4 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$$

- 5 years 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 - 5 years 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 - 5 years, 2 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, 8 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, 8 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, 8 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, 8 months ago

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

- 3 years, 8 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 - 5 years, 2 months ago

try:

\ ( a^{p-a} \ )

$$a^{p-a}$$

\a^{p-a}\

- 4 years, 8 months ago