Why does the caret symbol work for exponentiation in some languages?

  • Context: High School 
  • Thread starter Thread starter LightbulbSun
  • Start date Start date
  • Tags Tags
    Mean Symbol
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
8 replies · 40K views
LightbulbSun
Messages
64
Reaction score
2
Example:

Acceleration= distance / time ^ 2
 
Mathematics news on Phys.org
In that context it presumably means "to the power of".
 
nicksauce said:
In that context it presumably means "to the power of".

Thanks. :smile:
 
It is NOT a standard mathematics (or physics) symbol but is used on the internet when you aren't able to write superscripts.
 
HallsofIvy said:
It is NOT a standard mathematics (or physics) symbol but is used on the internet when you aren't able to write superscripts.

It's also used on some calculators, and some spreadsheet programs like Microsoft Excel.
 
Math Is Hard said:
It's also used on some calculators, and some spreadsheet programs like Microsoft Excel.
And in TeX and in Matlab and in Mathematica and ...

However, in some computer languages it means exclusive or.
 
HallsofIvy said:
It is NOT a standard mathematics (or physics) symbol but is used on the internet when you aren't able to write superscripts.

It's well enough institutionalized you could call it standard notation. No, Newton and Euler wouldn't know what it meant, but anyone who's ever used a hand calculator would.
 
The ^ notation for exponentiation came out of BASIC. FORTRAN uses ** for the same purpose, but most other high-level programming languages that I know of don't have a corresponding operator.
 
Mark44 said:
The ^ notation for exponentiation came out of BASIC. FORTRAN uses ** for the same purpose, but most other high-level programming languages that I know of don't have a corresponding operator.

Python uses ** for exponentiation.