Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
Power
  • See Also
    • Sqrt
    • Exp
    • CubeRoot
    • Surd
    • PowerExpand
    • PowerMod
    • Log
    • Log10
    • Log2
    • LogLogPlot
    • FactorialPower
    • PowerRange
    • PolygonalNumber
    • GeneralizedPower
  • Related Guides
    • Arithmetic Functions
    • Matrix Operations
    • Matrices and Linear Algebra
    • Operations on Vectors
    • Elementary Functions
    • Image Processing & Analysis
    • Wolfram Language Syntax
    • Mathematical Functions
    • GPU Computing
    • Audio Editing
    • GPU Computing with NVIDIA
    • GPU Computing with Apple
  • Tech Notes
    • Arithmetic
    • See Also
      • Sqrt
      • Exp
      • CubeRoot
      • Surd
      • PowerExpand
      • PowerMod
      • Log
      • Log10
      • Log2
      • LogLogPlot
      • FactorialPower
      • PowerRange
      • PolygonalNumber
      • GeneralizedPower
    • Related Guides
      • Arithmetic Functions
      • Matrix Operations
      • Matrices and Linear Algebra
      • Operations on Vectors
      • Elementary Functions
      • Image Processing & Analysis
      • Wolfram Language Syntax
      • Mathematical Functions
      • GPU Computing
      • Audio Editing
      • GPU Computing with NVIDIA
      • GPU Computing with Apple
    • Tech Notes
      • Arithmetic

x^y

gives x to the power y.

Details
Details and Options Details and Options
Background & Context
Examples  
Basic Examples  
Scope  
Numerical Evaluation  
Specific Values  
Visualization  
Show More Show More
Function Properties  
Differentiation  
Integration  
Series Expansions  
Function Identities and Simplifications  
Applications  
Properties & Relations  
Possible Issues  
Neat Examples  
See Also
Tech Notes
Related Guides
Related Links
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • Sqrt
    • Exp
    • CubeRoot
    • Surd
    • PowerExpand
    • PowerMod
    • Log
    • Log10
    • Log2
    • LogLogPlot
    • FactorialPower
    • PowerRange
    • PolygonalNumber
    • GeneralizedPower
  • Related Guides
    • Arithmetic Functions
    • Matrix Operations
    • Matrices and Linear Algebra
    • Operations on Vectors
    • Elementary Functions
    • Image Processing & Analysis
    • Wolfram Language Syntax
    • Mathematical Functions
    • GPU Computing
    • Audio Editing
    • GPU Computing with NVIDIA
    • GPU Computing with Apple
  • Tech Notes
    • Arithmetic
    • See Also
      • Sqrt
      • Exp
      • CubeRoot
      • Surd
      • PowerExpand
      • PowerMod
      • Log
      • Log10
      • Log2
      • LogLogPlot
      • FactorialPower
      • PowerRange
      • PolygonalNumber
      • GeneralizedPower
    • Related Guides
      • Arithmetic Functions
      • Matrix Operations
      • Matrices and Linear Algebra
      • Operations on Vectors
      • Elementary Functions
      • Image Processing & Analysis
      • Wolfram Language Syntax
      • Mathematical Functions
      • GPU Computing
      • Audio Editing
      • GPU Computing with NVIDIA
      • GPU Computing with Apple
    • Tech Notes
      • Arithmetic

Power

x^y

gives x to the power y.

Details

  • Mathematical function, suitable for both symbolic and numerical manipulation.
  • Exact rational number results are given when possible for roots of the form .
  • For complex numbers x and y, Power gives the principal value of . »
  • (a b)^c is automatically converted to a^c b^c only if c is an integer.
  • (a^b)^c is automatically converted to a^(b c) only if c is an integer.
  • For certain special arguments, Power automatically evaluates to exact values.
  • Power can be evaluated to arbitrary numerical precision.
  • Power automatically threads over lists.
  • Power[x,y] has a branch cut discontinuity for noninteger y running from to 0 in the complex x plane.
  • Power[x,y,z,…] is taken to be Power[x,Power[y,z,…]].
  • Power can be used with Interval and CenteredInterval objects. »

Background & Context

  • Power is a mathematical function that raises an expression to a given power. The expression Power[x,y] is commonly represented using the shorthand syntax x^y or written in 2D typeset form as xy. A number to the first power is equal to itself (), and 1 to any complex power is equal to 1 (). The inverse of a power function is given by Log, so solving the equation for gives a principal solution of .
  • The operation of taking an expression to the second power is known as “squaring” and the operation of taking an expression to the third power is known as “cubing”. The rules for combining quantities containing powers are called the exponent laws, and the process of raising a base to a given power is known as exponentiation. Many expressions involving Power, Exp, Log, and related functions are automatically simplified or else may be simplified using Simplify or FullSimplify. PowerExpand can be used to do formal expansion and associated simplification, and ExpToTrig can be used to get trigonometric forms of Power expressions.
  • The function Sqrt[x] is represented using Power[x,1/2]. Exponentiation using the base of the natural logarithm E can be input as Exp[x] but is represented using Power[E,x].
  • Power[x,y] has a branch cut discontinuity for y running from to 0 in the complex x plane for noninteger y. Because of this branch cut, Power[x,1/n] returns a complex root by default instead of the real one for negative real x and odd positive n. To obtain a real-valued n^(th) root, Surd[x,n] can be used. The special case CubeRoot[x] corresponds to Surd[x,3].

Examples

open all close all

Basic Examples  (6)

Evaluate numerically:

Enter as a superscript using :

Explicit FullForm:

Plot over a subset of the reals:

Plot over a subset of the complexes:

Asymptotic expansion at a singular point:

Scope  (46)

Numerical Evaluation  (9)

Evaluate numerically:

Evaluate to high precision:

Efficiently compute the first million digits of a result:

Complex numbers are generated when necessary:

The principal root is always used:

This follows from the general definition of Power as :

Surd can be used to get the real root:

Complex number inputs:

Power threads elementwise over lists and matrices:

Power can be used with Interval and CenteredInterval objects:

Compute average-case statistical intervals using Around:

Compute the elementwise values of an array:

Or compute the matrix Power function using MatrixFunction:

Specific Values  (4)

Values at zero:

Depending on the real part of , the result can be 0 or infinity:

Hence the following is indeterminate:

Limiting values at infinity:

Evaluate symbolically:

Find a value of x for which the Power[x,3]=0.5:

Visualize the result:

Visualization  (5)

Plot the function over the reals for several integers n:

Plot the real and imaginary parts of over the reals:

Compare the real and imaginary parts of (Power[x,]) and (CubeRoot[x]) over the reals:

Plot the real part of :

Plot the imaginary part of :

Polar plot with :

Function Properties  (11)

is defined for all real when :

It is only defined for integer when :

For nonzero complex , it is an entire function of :

Function range of :

Power is right-associative:

The form on the right-hand side is the preferred form:

Power is periodic in its second argument in the complex plane:

Find limits at branch cuts:

For fixed, positive integer , is an analytic function of :

It is not analytic, but it is still meromorphic for negative integers :

For noninteger , it is not even meromorphic:

For a fixed, nonzero real , is an analytic function of :

As a bivariate function, is neither analytic nor meromorphic:

For , is increasing:

It is decreasing for :

is injective except for :

Visualize for :

is not surjective onto the reals for any value of :

Visualize for :

is positive for :

is non-negative for even :

has in general singularities for or for :

However, it is continuous at when :

is convex for :

is convex for positive even :

Differentiation  (4)

First derivative with respect to x:

Higher derivatives with respect to x:

Plot the higher derivatives with respect to x:

Formula for the ^(th) derivative with respect to x:

Derivative with respect to its second argument:

The ^(th)derivative:

Integration  (3)

Compute the indefinite integral using Integrate:

Verify the anti-derivative:

Definite integral:

More integrals:

Series Expansions  (4)

Find the Taylor expansion using Series:

Plots of the first three approximations around :

General term in the series expansion using SeriesCoefficient:

The first-order Fourier series:

Taylor expansion at a generic point:

Function Identities and Simplifications  (6)

Primary definition:

Euler's formula:

Connection with Exp function:

Nested powers are not always automatically combined:

Use PowerExpand to force cancellation:

This can produce incorrect results:

Alternatively, use Simplify with appropriate assumptions:

Products are automatically combined:

Expand assuming real variables x and y:

Applications  (5)

5% compound interest:

Find the radius of a sphere of the same volume as a cube with side :

Contour plot of a complex inverse power:

Find integrals of rational functions in terms of Log:

Solve a differential equation with variable rational coefficients:

Properties & Relations  (27)

Equivalent forms for square roots:

Whole powers of roots are automatically simplified:

Roots of powers cannot be automatically simplified:

Use Power[x,1/n] or to find the principle complex root:

Use Surd[x,n] to find the nth real root:

Simplify with assumptions:

Use PowerExpand to do formal simplification:

Get results valid for all complex :

Use ExpToTrig to get trigonometric forms:

Reduce to single roots:

Use Solve or Root to find all roots:

Use Expand to expand out powers of polynomials:

Powers are automatically applied to series:

Equations involving powers can have infinitely many solutions:

Reciprocals, square roots, etc. are automatically converted to powers:

Exponentials are converted to powers:

Match powers of :

Include the case :

Branch cut structure for fractional powers in the complex plane:

Test whether powers are algebraic:

Integrals:

Integral transforms:

Sums:

Differential equations:

Power appears in special cases of many mathematical functions:

Power can be represented as a DifferenceRoot:

General term in the series expansion of Power:

The generating function for Power:

FindSequenceFunction can recognize the Power sequence:

The exponential generating function for Power:

Use GeneralizedPower to represent an integer power of an arbitrary binary operation:

Power is GeneralizedPower of Times:

Possible Issues  (13)

Power always computes principal roots:

Powers are not generically inverses of roots:

With approximate numbers, imaginary parts can be generated:

Use Chop to remove the small imaginary part:

The branch cut makes this function discontinuous:

Its derivative nevertheless generically gives 0:

Machine precision can give incorrect numerical results on the branch cut:

Machine-number inputs can give arbitrary-precision results:

Powers can be very large:

Some powers are too large for any computer:

Powers can give indeterminate expressions:

The precision of each result is determined by the precision of the zero:

Symbolic powers of 1 are only evaluated when the 1 is an exact or machine-precision number:

Numerical decision procedures with default settings cannot simplify this power:

Machine-precision numerical evaluation is inadequate:

Higher internal precision resolves the result:

Nonrational powers are not absorbed into series:

Power applies elementwise to matrices:

Use MatrixPower for matrix powers:

Neat Examples  (3)

Plot successive powers:

Generate successive power towers:

Contour plot of the argument of such a tower:

Magnitudes of power towers of :

Find the limit:

Solve for the limit:

See Also

Sqrt  Exp  CubeRoot  Surd  PowerExpand  PowerMod  Log  Log10  Log2  LogLogPlot  FactorialPower  PowerRange  PolygonalNumber  GeneralizedPower

Tech Notes

    ▪
  • Arithmetic

Related Guides

    ▪
  • Arithmetic Functions
  • ▪
  • Matrix Operations
  • ▪
  • Matrices and Linear Algebra
  • ▪
  • Operations on Vectors
  • ▪
  • Elementary Functions
  • ▪
  • Image Processing & Analysis
  • ▪
  • Wolfram Language Syntax
  • ▪
  • Mathematical Functions
  • ▪
  • GPU Computing
  • ▪
  • Audio Editing
  • ▪
  • GPU Computing with NVIDIA
  • ▪
  • GPU Computing with Apple

Related Links

  • MathWorld
  • The Wolfram Functions Site
  • An Elementary Introduction to the Wolfram Language : Introducing Functions
  • NKS|Online  (A New Kind of Science)

History

Introduced in 1988 (1.0) | Updated in 2021 (13.0)

Wolfram Research (1988), Power, Wolfram Language function, https://reference.wolfram.com/language/ref/Power.html (updated 2021).

Text

Wolfram Research (1988), Power, Wolfram Language function, https://reference.wolfram.com/language/ref/Power.html (updated 2021).

CMS

Wolfram Language. 1988. "Power." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2021. https://reference.wolfram.com/language/ref/Power.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_power, author="Wolfram Research", title="{Power}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/Power.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_power, organization={Wolfram Research}, title={Power}, year={2021}, url={https://reference.wolfram.com/language/ref/Power.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English