. - Maple Help

# Online Help

###### All Products    Maple    MapleSim

Student[VectorCalculus]

 DotProduct
 compute the dot product of Vectors and differential operators

 Calling Sequence DotProduct(v1, v2) v1 . v2

Parameters

 v1 - Vector or differential operator v2 - Vector or differential operator

Description

 • The DotProduct(v1, v2) calling sequence computes the dot product (scalar product) of v1 and v2, where v1 and v2 can be Vectors, vector fields, Student[VectorCalculus]:-Del, or Student[VectorCalculus]:-Nabla.
 • The Student[VectorCalculus] package has a . operator that you can use in place of the DotProduct command.  For example, DotProduct(v1, v2) is equivalent to $\mathrm{v1}·\mathrm{v2}$.
 Also, $\mathrm{Del}·F$ is equivalent to Divergence(F).

Examples

 > $\mathrm{with}\left(\mathrm{Student}\left[\mathrm{VectorCalculus}\right]\right):$
 > $\mathrm{DotProduct}\left(⟨a,b⟩,⟨c,d⟩\right)$
 ${a}{}{c}{+}{b}{}{d}$ (1)
 > $\mathrm{SetCoordinates}\left(\mathrm{polar}\left[r,\mathrm{\theta }\right]\right)$
 ${{\mathrm{polar}}}_{{r}{,}{\mathrm{\theta }}}$ (2)
 > $v≔\mathrm{RootedVector}\left(\mathrm{root}=\left[1,2\right],\left[a,b\right]\right)$
 ${v}{≔}\left[\begin{array}{c}{a}\\ {b}\end{array}\right]$ (3)
 > $w≔\mathrm{RootedVector}\left(\mathrm{root}=\left[1,2\right],\left[c,d\right]\right)$
 ${w}{≔}\left[\begin{array}{c}{c}\\ {d}\end{array}\right]$ (4)
 > $v·w$
 ${a}{}{c}{+}{b}{}{d}$ (5)
 > $F≔\mathrm{VectorField}\left(⟨{r}^{2},\mathrm{\theta }⟩\right)$
 ${F}{≔}\left({{r}}^{{2}}\right){\stackrel{{_}}{{e}}}_{{r}}{+}\left({\mathrm{\theta }}\right){\stackrel{{_}}{{e}}}_{{\mathrm{θ}}}$ (6)
 > $\mathrm{Del}·F$
 $\frac{{3}{}{{r}}^{{2}}{+}{1}}{{r}}$ (7)
 > $\mathrm{Divergence}\left(F\right)$
 $\frac{{3}{}{{r}}^{{2}}{+}{1}}{{r}}$ (8)
 > $\mathrm{SetCoordinates}\left(\mathrm{cartesian}\left[x,y,z\right]\right)$
 ${{\mathrm{cartesian}}}_{{x}{,}{y}{,}{z}}$ (9)
 > $L≔\mathrm{VectorField}\left(⟨x,y,z⟩\right)·\mathrm{Del}\left(f\left(x,y,z\right)\right)$
 ${L}{≔}{x}{}\left(\frac{{\partial }}{{\partial }{x}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}{,}{z}\right)\right){+}{y}{}\left(\frac{{\partial }}{{\partial }{y}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}{,}{z}\right)\right){+}{z}{}\left(\frac{{\partial }}{{\partial }{z}}\phantom{\rule[-0.0ex]{0.4em}{0.0ex}}{f}{}\left({x}{,}{y}{,}{z}\right)\right)$ (10)
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 23, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.9986184239387512, "perplexity": 3175.7191870102106}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": false}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2023-14/segments/1679296949573.84/warc/CC-MAIN-20230331051439-20230331081439-00790.warc.gz"}