LaTeX forum ⇒ Comments & Wishes ⇒ I'm new with LaTex. Hoping someone may be able to help me

General comments, feature, category or forum wishes for this LaTeX community
Gary222
Posts: 2
Joined: Sat Dec 02, 2023 4:44 am

I'm new with LaTex. Hoping someone may be able to help me

Hi, I was wondering if someone could help me write this equation in LaTex. Thanks.
x=2(2^{(a-1)/2} +2^{(a+1)/2})-4.
To make sure it makes sense, it's 2 x (2 to the (a-1)/2 power + 2 to the (a+1)/2 power) -4.
In other words, if a=5, it would be 2 x ( 2^2+2^3)-4.
Hope that makes sense.
Thank you very much,
Gary

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Exclusive June 2024 offer: All LaTeX eBooks (PDF, EPBUB) for \$9.99 or €8.99

Stefan Kottwitz
Posts: 10191
Joined: Mon Mar 10, 2008 9:44 pm

I'm new with LaTex. Hoping someone may be able to help me

Hi Gary,

welcome to the forum!

This would be the LaTeX code:

$x = 2 \left(2^{\frac{a-1}{2}} + 2^{\frac{a+1}{2}}\right) - 4$

equation.png (12.77 KiB) Viewed 13037 times

Would you like to learn LaTeX? An excellent quick start is LearnLaTeX.org, see for example the Math Lesson.

Stefan

Gary222
Posts: 2
Joined: Sat Dec 02, 2023 4:44 am

I'm new with LaTex. Hoping someone may be able to help me

Stefan,
Thank you so much. I really appreciate it.
Yes, I would like to learn LaTeX. I'll look at the link you sent.
Thanks again,
Gary