# Questions tagged [vector]

Mathematical vectors, operations on vectors and vectorized programming.

669 questions
Filter by
Sorted by
Tagged with
48 views

### Issues in solving a differential equation for a modified matrix

Following program works fine as it gives a solution to the differential equation here ...
• 143
37 views

### Issue with simplifying an expression with "ConjugateTranspose"

Why does the output [6] have Conjugate in it even when I explicitly mention that $c>b$ and all other parameters are real? ...
• 143
63 views

### Solve Orr–Sommerfeld equation equation and plot a vector plot

I am trying to solve Orr–Sommerfeld equation and trying to plot a vector plot. Can Initial condition be given as a vector v(y,t=0)=[1 2 3]? https://en.wikipedia.org/wiki/Orr%E2%80%...
101 views

...
• 4,531
1 vote
98 views

### How to demonstrate the acceleration using spherical coordinates and spherical unit vectors?

I've been trying to use Mathematica to demonstrate using spherical coordinates and unit vectors the acceleration for a particle moving in a sphere. Nevertheless, I'm actually not that skilled in ...
354 views

### Element-wise vector-matrix exponentiation

I would like to exponentiate the vector x = {x1,x2} element-wise with the non-square matrix A = {{1,0},{1,1},{0,1}} so that the ...
• 83
1 vote
69 views

### What is vector CB expressed in terms of vectors m and n?

In triangle ABC, point D is on AB, and BD is equal to 2 times DA. Let vector CA be equal to vector m, and let vector CD be equal to vector n. What is vector CB expressed in terms of vectors m and n? ...
• 4,531
118 views

### How to call a list of pure functions/pure vector function? [closed]

In one dimension, pure functions work as usual: f = Function[{x}, 2 x] f[a] However, with a list of pure functions / a vector pure function this does not work with ...
• 81
486 views

### How to create an array from all combinations of the vector components?

Say I have vectors {a,b,c} and {w,x,y,z}. How can I get Mathematica to output an array ...
• 225
131 views

### Forcing Explicit Parentheses in Traditional Form

I have an expression in input form for the Cosine of a dihedral angle: ...
• 1,933
57 views

### Optimized and compact code for tensor product

I am calculating products like in mathematica. In the given relations eta's are four vectors, $\gamma$'s are the Dirac matrices, $\sigma^{\mu\nu}$ is the anticommutation of the gamma matrices and ...
• 111
48 views

### Finding coefficient of vector expression when using SuperLie package

I'm using the SuperLie package and using that have defined a Lie superalgebra with an ordered basis: ...
• 133
1 vote
135 views

### RG flow trajctory plot using StreamPlot

I have three flow (beta-function) equations: $\frac{dA}{dl}=-(B^2+C^2)$, $\frac{dB}{dl}=(2-4A)B$, $\frac{dC}{dl}=(2-A)C$, where $A=\pi/(2\arccos(-(x+y)/2)$, $B=(x+y)/2$ and $C=(x-y)/2$. I can make a ...
• 123
91 views

### Easy way to plot a vector as an arrow

Is there an easy way to use the Mathematica command Plot to draw a vector arrow from one point p1 to a second point p2? Like in the plot below where p1=(0,0) and point p2=(4,6)? I got it to work ...
• 91
1 vote
55 views

### Strange behavior when integrating vector valued piecewise function

The following straightforward integral should clearly equal $\{0,0\}$ for any $R\in\mathbb R$: ...
• 156
82 views

### Delete Null factors out of vector components

After running a very long loop, I get the following result given by a very long vector: ...
32 views

### How to find clear solution for iterative problem by condition $<v_k ,v_n>=0$ If $k!=n$

I want to find x[n] by v[n] values without x[n] in solution by iterative below problem: <...
508 views

### Rendering of arrowheads in 3D

I have a vector-valued function and vectors have been drawn with Arrow for visualization purposes. ...
• 56k
2k views

### Mimicking Günther Uecker's nail art

One of my favourite contemporary artists is Günther Uecker (born 13 March 1930 in Crivitz, Germany). He uses hammer and nails to create VectorPlot-like structures. ...
• 81.8k
126 views

• 187
97 views

### put vectors inside a vector

I have an empty vector like U = {}. In an iteration, I get u1 = {a, b} and I want to put the vector in U to have {{},{a,b}}. I can do this simply with U = {U, u1} command. But in another iteration, I ...
90 views

### How to get Mathematica to carry out my computation of a vector norm fully?

I am relatively new to Mathematica, and I have come across the problem where Mathematica often doesn't seem to carry out calculations fully. For example: I have a vector v and want to find its norm, ...
• 15
173 views

### ConjugateTranspose[#] vs Conjugate[Transpose[#]] for lists [duplicate]

Bug introduced in 12.3 or earlier, fixed in 13.0. I'm getting contradictory behavior for eigenvectors of a matrix when using Conjugate, Transpose and ConjugateTranspose. I'll demonstrate using an ...
• 431
1 vote
66 views

### How to keep arrowheads in successive vectors?

I am generating successive arrows to represent vectors, but when they coincide all the arrowheads disappear except the last. But since they are vectors I want to keep all arrowheads to show direction. ...
398 views

### Dot Product and Simplification

How to simplify the expression a b . x/((a b) . x) Where a is a scalar and b and x are vectors. I have tried the usual Simplify, FullSimplify, TensorExpand etc. ...
• 795
1 vote