FromSphericalCoordinates[{r,θ,ϕ}]
gives the {x,y,z} Cartesian coordinates corresponding to the spherical coordinates {r,θ,ϕ}.
FromSphericalCoordinates
FromSphericalCoordinates[{r,θ,ϕ}]
gives the {x,y,z} Cartesian coordinates corresponding to the spherical coordinates {r,θ,ϕ}.
Details
- FromSphericalCoordinates converts points in the standard range
,
,
. - FromSphericalCoordinates automatically threads over arrays of {r,θ,ϕ} triples.
Examples
open all close allBasic Examples (2)
Scope (2)
Properties & Relations (5)
FromSphericalCoordinates checks that inputs obey the restrictions of spherical coordinates:
FromSphericalCoordinates[{1, 0, 0}]This point violates the condition on the polar angle
:
CoordinateChartData["Spherical", "CoordinateRangeAssumptions", {r, θ, φ}]Extract the symbolic transform from CoordinateTransformData to apply it to singular points:
transform = CoordinateTransformData["Spherical" -> "Cartesian", "Mapping"];
transform[{1, 0, 0}]The conversion back to spherical coordinates is not well defined:
ToSphericalCoordinates[{0, 0, 1}]FromSphericalCoordinates[pt] is a special case of CoordinateTransform:
CoordinateTransform["Spherical" -> "Cartesian", {r, θ, φ}] == FromSphericalCoordinates[{r, θ, φ}]FromSphericalCoordinates inverts ToSphericalCoordinates:
Simplify[FromSphericalCoordinates[ToSphericalCoordinates[{x, y, z}]], (x | y | z)∈Reals]FromSphericalCoordinates[{x,y,z}] uses spherical coordinates about the
axis:
FromSphericalCoordinates[{r, θ, φ}]FromPolarCoordinates[{x,y,z}] uses spherical coordinates about the
axis:
FromPolarCoordinates[{r, θ, φ}]The spherical coordinates used by FromPolarCoordinates generalize to higher dimensions:
FromPolarCoordinates[{r, ψ, θ, φ}]FromSphericalCoordinates changes the coordinate values of points:
FromPolarCoordinates[{r, θ, φ}]TransformedField changes the coordinate expressions for fields:
TransformedField["Spherical" -> "Cartesian", {r, θ, φ}, {r, θ, φ} -> {x, y, z}]Related Guides
History
Text
Wolfram Research (2015), FromSphericalCoordinates, Wolfram Language function, https://reference.wolfram.com/language/ref/FromSphericalCoordinates.html.
CMS
Wolfram Language. 2015. "FromSphericalCoordinates." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FromSphericalCoordinates.html.
APA
Wolfram Language. (2015). FromSphericalCoordinates. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FromSphericalCoordinates.html
BibTeX
@misc{reference.wolfram_2026_fromsphericalcoordinates, author="Wolfram Research", title="{FromSphericalCoordinates}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/FromSphericalCoordinates.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_fromsphericalcoordinates, organization={Wolfram Research}, title={FromSphericalCoordinates}, year={2015}, url={https://reference.wolfram.com/language/ref/FromSphericalCoordinates.html}, note=[Accessed: 12-June-2026]}