Math & Scienceplease help me input the column vector

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
dream_big
Posts: 1
Joined: Sat Jan 11, 2014 10:36 pm

please help me input the column vector

Post by dream_big »

I'm quite a newcomer to LaTeX.
Now I'm trying to input a row vector * a column vector see,in the attachment in an align environment.
But I don't know how...
please give me some help
thank you so much
1.jpg
1.jpg (3.56 KiB) Viewed 5388 times

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

please help me input the column vector

Post by cgnieder »

Hi dream_big,

Welcome to the LaTeX community.

Do you mean something like

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
  \begin{bmatrix}
    x_1 & x_2 & \cdots & x_n
  \end{bmatrix}
  \times
  \begin{bmatrix}
    y_1 \\ y_2 \\ \vdots \\ y_n
  \end{bmatrix}
  \]
\end{document}
You might be interested in reading mathmode.

Regards
site moderator & package author
Post Reply