My Math Forum  

Go Back   My Math Forum > Math Forums > LaTex Help

LaTex Help Help with LaTex and writing math equations


Thanks Tree3Thanks
  • 1 Post By Monox D. I-Fly
  • 1 Post By skipjack
  • 1 Post By MarkFL
Reply
 
LinkBack Thread Tools Display Modes
February 21st, 2015, 02:07 AM   #1
Newbie
 
Joined: Dec 2014
From: Singapore

Posts: 23
Thanks: 0

Align equals signs

Hi I know this has been mentioned many times but I'm still not clear:
What is the exact code for:
If $f(x)=x^{3}$, then
$f'(x)=3x^{2}$
$=600$
but with all 3 equals signs aligned?
Chris A is offline  
 
February 21st, 2015, 02:55 AM   #2
Global Moderator
 
Joined: Dec 2006

Posts: 16,389
Thanks: 1176

If $f(x)=x^{3}$, then
$\,\,\ f'(x)=3x^{2}$
$\,\,\,\ \ \ \ \ \ \ \ \ =600$
skipjack is offline  
February 21st, 2015, 11:20 AM   #3
Math Team
 
topsquark's Avatar
 
Joined: May 2013
From: The Astral plane

Posts: 1,493
Thanks: 561

Math Focus: Wibbly wobbly timey-wimey stuff.
It spreads out a bit, but you could also try this:
$\displaystyle \begin{matrix} f(x) & = & x^3 \\ f'(x) & = & 3x^2 \\ ~ & = & 600
\end{matrix} $

-Dan
topsquark is offline  
February 21st, 2015, 10:21 PM   #4
Newbie
 
Joined: Dec 2014
From: Singapore

Posts: 23
Thanks: 0

What's the code? As in what you typed to get the aligned equals signs?
Chris A is offline  
February 22nd, 2015, 02:10 AM   #5
Senior Member
 
Joined: Nov 2010
From: Indonesia

Posts: 1,161
Thanks: 110

Looks like he means the Latex code, guys. To be honest, I also don't know. But Chris A, you can quote topsquark's post to see what codes he used.
Thanks from topsquark
Monox D. I-Fly is offline  
February 22nd, 2015, 02:13 AM   #6
Senior Member
 
Olinguito's Avatar
 
Joined: Apr 2014
From: Greater London, England, UK

Posts: 320
Thanks: 155

Math Focus: Abstract algebra
Code:
\begin{array}{rcl}
\text{If}\ f(x) & = & x^3,\ \text{then} \\
f'(x) & = & 3x^2 \\
& = & 600
\end{array}
gives

$\displaystyle \begin{array}{rcl}
\text{If}\ f(x) & = & x^3,\ \text{then} \\
f'(x) & = & 3x^2 \\
& = & 600
\end{array}$
Olinguito is offline  
February 22nd, 2015, 03:35 AM   #7
Global Moderator
 
Joined: Dec 2006

Posts: 16,389
Thanks: 1176

You can click on the Quote button of an earlier post to find out what code was used.

Below is another method that works (and I recommend) if you don't want to mix normal text and latex code. Click on the Quote button for this post to see the code I've used.

$\displaystyle \begin{align*}\text{If }f(x) &= x^3,\text{ then} \\
f\,'(x) &= 3x^2 \\
&= 600
\end{align*}$
Thanks from topsquark
skipjack is offline  
February 22nd, 2015, 11:13 AM   #8
Senior Member
 
MarkFL's Avatar
 
Joined: Jul 2010
From: St. Augustine, FL., U.S.A.'s oldest city

Posts: 12,131
Thanks: 440

Math Focus: Calculus/ODEs
Another alternative is to use:

$\displaystyle \begin{array}{rl}f(x)\hspace{-12px}&=x^3\\f'(x)\hspace{-12px}&=3x^2\\&=600\end{array}$

And another way to view the code people are using is to right-click any expression and follow:

Show Math As ► TeX Commands

And a popup will display the code used.

Note: This only works with MathJax rendered $\LaTeX$, but the vast majority here are using it rather than mimetex.
Thanks from topsquark

Last edited by MarkFL; February 22nd, 2015 at 11:16 AM.
MarkFL is offline  
Reply

  My Math Forum > Math Forums > LaTex Help

Tags
align, alignment, equals, latex, signs



Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
inequalities < Signs> SMARTYPANTS Algebra 8 July 28th, 2014 01:08 PM
How do I align equation or simplification? Chikis LaTex Help 3 July 11th, 2014 01:54 AM
Descartes's Rule of Signs Dan154 Algebra 1 October 4th, 2012 07:30 AM
Help understanding signs of fractions Angus147 Linear Algebra 2 November 1st, 2009 07:21 PM





Copyright © 2017 My Math Forum. All rights reserved.