WOLFRAM

expands out array variables in expr in terms of indexed components.

ComponentExpand[expr,assum]

specifies dimensionality of variables using assumptions assum.

Details and Options

Examples

open allclose all

Basic Examples  (3)Summary of the most common use cases

Expand a symbolic vector:

Out[1]=1

Expand an expression involving a symbolic matrix:

Out[1]=1

Expand a vector inequality:

Out[1]=1

Scope  (5)Survey of the scope of standard use cases

Array variables specified through ArraySymbol, MatrixSymbol and VectorSymbol:

Out[1]=1
Out[2]=2
Out[3]=3

Array variables specified through assumptions:

Out[1]=1
Out[2]=2
Out[3]=3

Expressions involving array variables:

Out[1]=1
Out[2]=2
Out[3]=3

Vector inequalities:

Out[1]=1

You can expand inequalities with explicit vectors:

Out[2]=2

Special symbolic arrays:

Out[1]=1
Out[2]=2

Options  (1)Common values & functionality for each option

Assumptions  (1)

Use the assumptions argument to specify the dimensionality of v:

Out[1]=1

Use the Assumptions option:

Out[2]=2

Use Assuming to specify default assumptions:

Out[3]=3
Wolfram Research (2025), ComponentExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/ComponentExpand.html.
Wolfram Research (2025), ComponentExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/ComponentExpand.html.

Text

Wolfram Research (2025), ComponentExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/ComponentExpand.html.

Wolfram Research (2025), ComponentExpand, Wolfram Language function, https://reference.wolfram.com/language/ref/ComponentExpand.html.

CMS

Wolfram Language. 2025. "ComponentExpand." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ComponentExpand.html.

Wolfram Language. 2025. "ComponentExpand." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ComponentExpand.html.

APA

Wolfram Language. (2025). ComponentExpand. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ComponentExpand.html

Wolfram Language. (2025). ComponentExpand. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ComponentExpand.html

BibTeX

@misc{reference.wolfram_2024_componentexpand, author="Wolfram Research", title="{ComponentExpand}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ComponentExpand.html}", note=[Accessed: 24-January-2025 ]}

@misc{reference.wolfram_2024_componentexpand, author="Wolfram Research", title="{ComponentExpand}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ComponentExpand.html}", note=[Accessed: 24-January-2025 ]}

BibLaTeX

@online{reference.wolfram_2024_componentexpand, organization={Wolfram Research}, title={ComponentExpand}, year={2025}, url={https://reference.wolfram.com/language/ref/ComponentExpand.html}, note=[Accessed: 24-January-2025 ]}

@online{reference.wolfram_2024_componentexpand, organization={Wolfram Research}, title={ComponentExpand}, year={2025}, url={https://reference.wolfram.com/language/ref/ComponentExpand.html}, note=[Accessed: 24-January-2025 ]}